config.pb.go 5.2 KB

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