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