config.pb.go 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/proxy/freedom/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package freedom is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/proxy/freedom/config.proto
  8. It has these top-level messages:
  9. Config
  10. */
  11. package freedom
  12. import proto "github.com/golang/protobuf/proto"
  13. import fmt "fmt"
  14. import math "math"
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var _ = proto.Marshal
  17. var _ = fmt.Errorf
  18. var _ = math.Inf
  19. // This is a compile-time assertion to ensure that this generated file
  20. // is compatible with the proto package it is being compiled against.
  21. // A compilation error at this line likely means your copy of the
  22. // proto package needs to be updated.
  23. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  24. type Config_DomainStrategy int32
  25. const (
  26. Config_AS_IS Config_DomainStrategy = 0
  27. Config_USE_IP Config_DomainStrategy = 1
  28. )
  29. var Config_DomainStrategy_name = map[int32]string{
  30. 0: "AS_IS",
  31. 1: "USE_IP",
  32. }
  33. var Config_DomainStrategy_value = map[string]int32{
  34. "AS_IS": 0,
  35. "USE_IP": 1,
  36. }
  37. func (x Config_DomainStrategy) String() string {
  38. return proto.EnumName(Config_DomainStrategy_name, int32(x))
  39. }
  40. func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
  41. type Config struct {
  42. DomainStrategy Config_DomainStrategy `protobuf:"varint,1,opt,name=domainStrategy,enum=v2ray.core.proxy.freedom.Config_DomainStrategy" json:"domainStrategy,omitempty"`
  43. Timeout uint32 `protobuf:"varint,2,opt,name=timeout" json:"timeout,omitempty"`
  44. }
  45. func (m *Config) Reset() { *m = Config{} }
  46. func (m *Config) String() string { return proto.CompactTextString(m) }
  47. func (*Config) ProtoMessage() {}
  48. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  49. func (m *Config) GetDomainStrategy() Config_DomainStrategy {
  50. if m != nil {
  51. return m.DomainStrategy
  52. }
  53. return Config_AS_IS
  54. }
  55. func (m *Config) GetTimeout() uint32 {
  56. if m != nil {
  57. return m.Timeout
  58. }
  59. return 0
  60. }
  61. func init() {
  62. proto.RegisterType((*Config)(nil), "v2ray.core.proxy.freedom.Config")
  63. proto.RegisterEnum("v2ray.core.proxy.freedom.Config_DomainStrategy", Config_DomainStrategy_name, Config_DomainStrategy_value)
  64. }
  65. func init() { proto.RegisterFile("v2ray.com/core/proxy/freedom/config.proto", fileDescriptor0) }
  66. var fileDescriptor0 = []byte{
  67. // 217 bytes of a gzipped FileDescriptorProto
  68. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xd2, 0x2c, 0x33, 0x2a, 0x4a,
  69. 0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x28, 0xca, 0xaf, 0xa8,
  70. 0xd4, 0x4f, 0x2b, 0x4a, 0x4d, 0x4d, 0x01, 0x0b, 0xe5, 0xa5, 0x65, 0xa6, 0xeb, 0x15, 0x14, 0xe5,
  71. 0x97, 0xe4, 0x0b, 0x49, 0xc0, 0x94, 0x16, 0xa5, 0xea, 0x81, 0x95, 0xe9, 0x41, 0x95, 0x29, 0x2d,
  72. 0x61, 0xe4, 0x62, 0x73, 0x06, 0x2b, 0x15, 0x0a, 0xe7, 0xe2, 0x4b, 0xc9, 0xcf, 0x4d, 0xcc, 0xcc,
  73. 0x0b, 0x2e, 0x29, 0x4a, 0x2c, 0x49, 0x4d, 0xaf, 0x94, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x33, 0xd2,
  74. 0xd7, 0xc3, 0xa5, 0x5b, 0x0f, 0xa2, 0x53, 0xcf, 0x05, 0x45, 0x5b, 0x10, 0x9a, 0x31, 0x42, 0x12,
  75. 0x5c, 0xec, 0x25, 0x99, 0xb9, 0xa9, 0xf9, 0xa5, 0x25, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xbc, 0x41,
  76. 0x30, 0xae, 0x92, 0x3a, 0x17, 0x1f, 0xaa, 0x5e, 0x21, 0x4e, 0x2e, 0x56, 0xc7, 0xe0, 0x78, 0xcf,
  77. 0x60, 0x01, 0x06, 0x21, 0x2e, 0x2e, 0xb6, 0xd0, 0x60, 0xd7, 0x78, 0xcf, 0x00, 0x01, 0x46, 0x27,
  78. 0x7f, 0x2e, 0x99, 0xe4, 0xfc, 0x5c, 0x9c, 0x0e, 0x71, 0xe2, 0x86, 0xb8, 0x24, 0x00, 0xe4, 0xdb,
  79. 0x28, 0x76, 0xa8, 0xe8, 0x2a, 0x26, 0x89, 0x30, 0xa3, 0xa0, 0xc4, 0x4a, 0x3d, 0x67, 0x90, 0x86,
  80. 0x00, 0xb0, 0x06, 0x37, 0x88, 0x54, 0x12, 0x1b, 0x38, 0x60, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff,
  81. 0xff, 0xae, 0x54, 0x8c, 0x36, 0x45, 0x01, 0x00, 0x00,
  82. }