config.pb.go 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/app/dispatcher/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package dispatcher is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/app/dispatcher/config.proto
  8. It has these top-level messages:
  9. Config
  10. */
  11. package dispatcher
  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_FixDestination int32
  25. const (
  26. Config_Auto Config_FixDestination = 0
  27. Config_Enabled Config_FixDestination = 1
  28. Config_Disabled Config_FixDestination = 2
  29. )
  30. var Config_FixDestination_name = map[int32]string{
  31. 0: "Auto",
  32. 1: "Enabled",
  33. 2: "Disabled",
  34. }
  35. var Config_FixDestination_value = map[string]int32{
  36. "Auto": 0,
  37. "Enabled": 1,
  38. "Disabled": 2,
  39. }
  40. func (x Config_FixDestination) String() string {
  41. return proto.EnumName(Config_FixDestination_name, int32(x))
  42. }
  43. func (Config_FixDestination) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
  44. type Config struct {
  45. FixDestination Config_FixDestination `protobuf:"varint,1,opt,name=fix_destination,json=fixDestination,enum=v2ray.core.app.dispatcher.Config_FixDestination" json:"fix_destination,omitempty"`
  46. }
  47. func (m *Config) Reset() { *m = Config{} }
  48. func (m *Config) String() string { return proto.CompactTextString(m) }
  49. func (*Config) ProtoMessage() {}
  50. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  51. func (m *Config) GetFixDestination() Config_FixDestination {
  52. if m != nil {
  53. return m.FixDestination
  54. }
  55. return Config_Auto
  56. }
  57. func init() {
  58. proto.RegisterType((*Config)(nil), "v2ray.core.app.dispatcher.Config")
  59. proto.RegisterEnum("v2ray.core.app.dispatcher.Config_FixDestination", Config_FixDestination_name, Config_FixDestination_value)
  60. }
  61. func init() { proto.RegisterFile("v2ray.com/core/app/dispatcher/config.proto", fileDescriptor0) }
  62. var fileDescriptor0 = []byte{
  63. // 218 bytes of a gzipped FileDescriptorProto
  64. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xd2, 0x2a, 0x33, 0x2a, 0x4a,
  65. 0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0x2c, 0x28, 0xd0, 0x4f,
  66. 0xc9, 0x2c, 0x2e, 0x48, 0x2c, 0x49, 0xce, 0x48, 0x2d, 0xd2, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c,
  67. 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x84, 0xa9, 0x2d, 0x4a, 0xd5, 0x4b, 0x2c, 0x28,
  68. 0xd0, 0x43, 0xa8, 0x53, 0x9a, 0xc5, 0xc8, 0xc5, 0xe6, 0x0c, 0x56, 0x2b, 0x14, 0xc9, 0xc5, 0x9f,
  69. 0x96, 0x59, 0x11, 0x9f, 0x92, 0x5a, 0x5c, 0x92, 0x99, 0x97, 0x58, 0x92, 0x99, 0x9f, 0x27, 0xc1,
  70. 0xa8, 0xc0, 0xa8, 0xc1, 0x67, 0x64, 0xa0, 0x87, 0x53, 0xbf, 0x1e, 0x44, 0xaf, 0x9e, 0x5b, 0x66,
  71. 0x85, 0x0b, 0x42, 0x5f, 0x10, 0x5f, 0x1a, 0x0a, 0x5f, 0xc9, 0x94, 0x8b, 0x0f, 0x55, 0x85, 0x10,
  72. 0x07, 0x17, 0x8b, 0x63, 0x69, 0x49, 0xbe, 0x00, 0x83, 0x10, 0x37, 0x17, 0xbb, 0x6b, 0x5e, 0x62,
  73. 0x52, 0x4e, 0x6a, 0x8a, 0x00, 0xa3, 0x10, 0x0f, 0x17, 0x87, 0x4b, 0x66, 0x31, 0x84, 0xc7, 0xe4,
  74. 0x14, 0xc2, 0x25, 0x9b, 0x9c, 0x9f, 0x8b, 0xdb, 0x76, 0x27, 0x6e, 0x88, 0xf5, 0x01, 0x20, 0x5f,
  75. 0x46, 0x71, 0x21, 0x24, 0x56, 0x31, 0x49, 0x86, 0x19, 0x05, 0x25, 0x56, 0xea, 0x39, 0x83, 0x34,
  76. 0x39, 0x16, 0x14, 0xe8, 0xb9, 0xc0, 0xe5, 0x92, 0xd8, 0xc0, 0x81, 0x62, 0x0c, 0x08, 0x00, 0x00,
  77. 0xff, 0xff, 0x63, 0xfd, 0xa7, 0xdb, 0x42, 0x01, 0x00, 0x00,
  78. }