config.pb.go 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. package loopback
  2. import (
  3. _ "github.com/v2fly/v2ray-core/v5/common/protoext"
  4. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  5. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  6. reflect "reflect"
  7. sync "sync"
  8. )
  9. const (
  10. // Verify that this generated code is sufficiently up-to-date.
  11. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  12. // Verify that runtime/protoimpl is sufficiently up-to-date.
  13. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  14. )
  15. type Config struct {
  16. state protoimpl.MessageState
  17. sizeCache protoimpl.SizeCache
  18. unknownFields protoimpl.UnknownFields
  19. InboundTag string `protobuf:"bytes,1,opt,name=inbound_tag,json=inboundTag,proto3" json:"inbound_tag,omitempty"`
  20. }
  21. func (x *Config) Reset() {
  22. *x = Config{}
  23. if protoimpl.UnsafeEnabled {
  24. mi := &file_proxy_loopback_config_proto_msgTypes[0]
  25. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  26. ms.StoreMessageInfo(mi)
  27. }
  28. }
  29. func (x *Config) String() string {
  30. return protoimpl.X.MessageStringOf(x)
  31. }
  32. func (*Config) ProtoMessage() {}
  33. func (x *Config) ProtoReflect() protoreflect.Message {
  34. mi := &file_proxy_loopback_config_proto_msgTypes[0]
  35. if protoimpl.UnsafeEnabled && x != nil {
  36. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  37. if ms.LoadMessageInfo() == nil {
  38. ms.StoreMessageInfo(mi)
  39. }
  40. return ms
  41. }
  42. return mi.MessageOf(x)
  43. }
  44. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  45. func (*Config) Descriptor() ([]byte, []int) {
  46. return file_proxy_loopback_config_proto_rawDescGZIP(), []int{0}
  47. }
  48. func (x *Config) GetInboundTag() string {
  49. if x != nil {
  50. return x.InboundTag
  51. }
  52. return ""
  53. }
  54. var File_proxy_loopback_config_proto protoreflect.FileDescriptor
  55. var file_proxy_loopback_config_proto_rawDesc = []byte{
  56. 0x0a, 0x1b, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x6c, 0x6f, 0x6f, 0x70, 0x62, 0x61, 0x63, 0x6b,
  57. 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x76,
  58. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
  59. 0x6c, 0x6f, 0x6f, 0x70, 0x62, 0x61, 0x63, 0x6b, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  60. 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
  61. 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x06, 0x43, 0x6f,
  62. 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f,
  63. 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x62, 0x6f, 0x75,
  64. 0x6e, 0x64, 0x54, 0x61, 0x67, 0x3a, 0x1c, 0x82, 0xb5, 0x18, 0x0a, 0x0a, 0x08, 0x6f, 0x75, 0x74,
  65. 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x82, 0xb5, 0x18, 0x0a, 0x12, 0x08, 0x6c, 0x6f, 0x6f, 0x70, 0x62,
  66. 0x61, 0x63, 0x6b, 0x42, 0x6c, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  67. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x6c, 0x6f, 0x6f, 0x70,
  68. 0x62, 0x61, 0x63, 0x6b, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  69. 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63,
  70. 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x6c, 0x6f, 0x6f,
  71. 0x70, 0x62, 0x61, 0x63, 0x6b, 0xaa, 0x02, 0x19, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f,
  72. 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x4c, 0x6f, 0x6f, 0x70, 0x62, 0x61, 0x63,
  73. 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  74. }
  75. var (
  76. file_proxy_loopback_config_proto_rawDescOnce sync.Once
  77. file_proxy_loopback_config_proto_rawDescData = file_proxy_loopback_config_proto_rawDesc
  78. )
  79. func file_proxy_loopback_config_proto_rawDescGZIP() []byte {
  80. file_proxy_loopback_config_proto_rawDescOnce.Do(func() {
  81. file_proxy_loopback_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_loopback_config_proto_rawDescData)
  82. })
  83. return file_proxy_loopback_config_proto_rawDescData
  84. }
  85. var file_proxy_loopback_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  86. var file_proxy_loopback_config_proto_goTypes = []interface{}{
  87. (*Config)(nil), // 0: v2ray.core.proxy.loopback.Config
  88. }
  89. var file_proxy_loopback_config_proto_depIdxs = []int32{
  90. 0, // [0:0] is the sub-list for method output_type
  91. 0, // [0:0] is the sub-list for method input_type
  92. 0, // [0:0] is the sub-list for extension type_name
  93. 0, // [0:0] is the sub-list for extension extendee
  94. 0, // [0:0] is the sub-list for field type_name
  95. }
  96. func init() { file_proxy_loopback_config_proto_init() }
  97. func file_proxy_loopback_config_proto_init() {
  98. if File_proxy_loopback_config_proto != nil {
  99. return
  100. }
  101. if !protoimpl.UnsafeEnabled {
  102. file_proxy_loopback_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  103. switch v := v.(*Config); i {
  104. case 0:
  105. return &v.state
  106. case 1:
  107. return &v.sizeCache
  108. case 2:
  109. return &v.unknownFields
  110. default:
  111. return nil
  112. }
  113. }
  114. }
  115. type x struct{}
  116. out := protoimpl.TypeBuilder{
  117. File: protoimpl.DescBuilder{
  118. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  119. RawDescriptor: file_proxy_loopback_config_proto_rawDesc,
  120. NumEnums: 0,
  121. NumMessages: 1,
  122. NumExtensions: 0,
  123. NumServices: 0,
  124. },
  125. GoTypes: file_proxy_loopback_config_proto_goTypes,
  126. DependencyIndexes: file_proxy_loopback_config_proto_depIdxs,
  127. MessageInfos: file_proxy_loopback_config_proto_msgTypes,
  128. }.Build()
  129. File_proxy_loopback_config_proto = out.File
  130. file_proxy_loopback_config_proto_rawDesc = nil
  131. file_proxy_loopback_config_proto_goTypes = nil
  132. file_proxy_loopback_config_proto_depIdxs = nil
  133. }