config.pb.go 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/app/dns/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package dns is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/app/dns/config.proto
  8. It has these top-level messages:
  9. Config
  10. */
  11. package dns
  12. import proto "github.com/golang/protobuf/proto"
  13. import fmt "fmt"
  14. import math "math"
  15. import v2ray_core_common_net "v2ray.com/core/common/net"
  16. import v2ray_core_common_net2 "v2ray.com/core/common/net"
  17. // Reference imports to suppress errors if they are not otherwise used.
  18. var _ = proto.Marshal
  19. var _ = fmt.Errorf
  20. var _ = math.Inf
  21. // This is a compile-time assertion to ensure that this generated file
  22. // is compatible with the proto package it is being compiled against.
  23. // A compilation error at this line likely means your copy of the
  24. // proto package needs to be updated.
  25. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  26. type Config struct {
  27. NameServers []*v2ray_core_common_net2.Endpoint `protobuf:"bytes,1,rep,name=NameServers" json:"NameServers,omitempty"`
  28. Hosts map[string]*v2ray_core_common_net.IPOrDomain `protobuf:"bytes,2,rep,name=Hosts" json:"Hosts,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  29. }
  30. func (m *Config) Reset() { *m = Config{} }
  31. func (m *Config) String() string { return proto.CompactTextString(m) }
  32. func (*Config) ProtoMessage() {}
  33. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  34. func (m *Config) GetNameServers() []*v2ray_core_common_net2.Endpoint {
  35. if m != nil {
  36. return m.NameServers
  37. }
  38. return nil
  39. }
  40. func (m *Config) GetHosts() map[string]*v2ray_core_common_net.IPOrDomain {
  41. if m != nil {
  42. return m.Hosts
  43. }
  44. return nil
  45. }
  46. func init() {
  47. proto.RegisterType((*Config)(nil), "v2ray.core.app.dns.Config")
  48. }
  49. func init() { proto.RegisterFile("v2ray.com/core/app/dns/config.proto", fileDescriptor0) }
  50. var fileDescriptor0 = []byte{
  51. // 272 bytes of a gzipped FileDescriptorProto
  52. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x90, 0x31, 0x4b, 0xc4, 0x30,
  53. 0x14, 0x80, 0x49, 0xcb, 0x1d, 0x98, 0x2e, 0x92, 0x41, 0x4a, 0x17, 0xab, 0x22, 0x16, 0x85, 0x04,
  54. 0xea, 0xa0, 0xe8, 0xe4, 0xe9, 0x81, 0x2e, 0x7a, 0xd4, 0x4d, 0xa7, 0xd8, 0x44, 0x29, 0x9a, 0xf7,
  55. 0x42, 0x12, 0x0b, 0xfd, 0xc1, 0xfe, 0x0f, 0xb9, 0x06, 0xf1, 0xd0, 0xbb, 0x2d, 0x84, 0xef, 0xcb,
  56. 0xfb, 0xf2, 0xe8, 0x41, 0x5f, 0x3b, 0x39, 0xf0, 0x16, 0x8d, 0x68, 0xd1, 0x69, 0x21, 0xad, 0x15,
  57. 0x0a, 0xbc, 0x68, 0x11, 0x5e, 0xbb, 0x37, 0x6e, 0x1d, 0x06, 0x64, 0xec, 0x07, 0x72, 0x9a, 0x4b,
  58. 0x6b, 0xb9, 0x02, 0x5f, 0x1c, 0xfd, 0x11, 0x5b, 0x34, 0x06, 0x41, 0x80, 0x0e, 0x42, 0x2a, 0xe5,
  59. 0xb4, 0xf7, 0x51, 0x2e, 0x4e, 0x36, 0x83, 0x4a, 0xfb, 0xd0, 0x81, 0x0c, 0x1d, 0x42, 0x84, 0xf7,
  60. 0xbf, 0x08, 0x9d, 0x5e, 0x8f, 0xa3, 0xd9, 0x15, 0xcd, 0xee, 0xa5, 0xd1, 0x8f, 0xda, 0xf5, 0xda,
  61. 0xf9, 0x9c, 0x94, 0x69, 0x95, 0xd5, 0xbb, 0x7c, 0x25, 0x25, 0xbe, 0xc4, 0x41, 0x07, 0x3e, 0x07,
  62. 0x65, 0xb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