github.com/xraypb/xray-core@v1.6.6/proxy/vmess/outbound/config.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.18.0 5 // source: proxy/vmess/outbound/config.proto 6 7 package outbound 8 9 import ( 10 protocol "github.com/xraypb/xray-core/common/protocol" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type Config struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Receiver []*protocol.ServerEndpoint `protobuf:"bytes,1,rep,name=Receiver,proto3" json:"Receiver,omitempty"` 30 } 31 32 func (x *Config) Reset() { 33 *x = Config{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_proxy_vmess_outbound_config_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *Config) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*Config) ProtoMessage() {} 46 47 func (x *Config) ProtoReflect() protoreflect.Message { 48 mi := &file_proxy_vmess_outbound_config_proto_msgTypes[0] 49 if protoimpl.UnsafeEnabled && x != nil { 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 if ms.LoadMessageInfo() == nil { 52 ms.StoreMessageInfo(mi) 53 } 54 return ms 55 } 56 return mi.MessageOf(x) 57 } 58 59 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 60 func (*Config) Descriptor() ([]byte, []int) { 61 return file_proxy_vmess_outbound_config_proto_rawDescGZIP(), []int{0} 62 } 63 64 func (x *Config) GetReceiver() []*protocol.ServerEndpoint { 65 if x != nil { 66 return x.Receiver 67 } 68 return nil 69 } 70 71 var File_proxy_vmess_outbound_config_proto protoreflect.FileDescriptor 72 73 var file_proxy_vmess_outbound_config_proto_rawDesc = []byte{ 74 0x0a, 0x21, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6d, 0x65, 0x73, 0x73, 0x2f, 0x6f, 0x75, 75 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 76 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 77 0x76, 0x6d, 0x65, 0x73, 0x73, 0x2e, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x21, 78 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 79 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 80 0x6f, 0x22, 0x4a, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x40, 0x0a, 0x08, 0x52, 81 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 82 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 83 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 84 0x69, 0x6e, 0x74, 0x52, 0x08, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x42, 0x6d, 0x0a, 85 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 86 0x76, 0x6d, 0x65, 0x73, 0x73, 0x2e, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x50, 0x01, 87 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 88 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 89 0x79, 0x2f, 0x76, 0x6d, 0x65, 0x73, 0x73, 0x2f, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 90 0xaa, 0x02, 0x19, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6d, 91 0x65, 0x73, 0x73, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 92 0x6f, 0x74, 0x6f, 0x33, 93 } 94 95 var ( 96 file_proxy_vmess_outbound_config_proto_rawDescOnce sync.Once 97 file_proxy_vmess_outbound_config_proto_rawDescData = file_proxy_vmess_outbound_config_proto_rawDesc 98 ) 99 100 func file_proxy_vmess_outbound_config_proto_rawDescGZIP() []byte { 101 file_proxy_vmess_outbound_config_proto_rawDescOnce.Do(func() { 102 file_proxy_vmess_outbound_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vmess_outbound_config_proto_rawDescData) 103 }) 104 return file_proxy_vmess_outbound_config_proto_rawDescData 105 } 106 107 var file_proxy_vmess_outbound_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 108 var file_proxy_vmess_outbound_config_proto_goTypes = []interface{}{ 109 (*Config)(nil), // 0: xray.proxy.vmess.outbound.Config 110 (*protocol.ServerEndpoint)(nil), // 1: xray.common.protocol.ServerEndpoint 111 } 112 var file_proxy_vmess_outbound_config_proto_depIdxs = []int32{ 113 1, // 0: xray.proxy.vmess.outbound.Config.Receiver:type_name -> xray.common.protocol.ServerEndpoint 114 1, // [1:1] is the sub-list for method output_type 115 1, // [1:1] is the sub-list for method input_type 116 1, // [1:1] is the sub-list for extension type_name 117 1, // [1:1] is the sub-list for extension extendee 118 0, // [0:1] is the sub-list for field type_name 119 } 120 121 func init() { file_proxy_vmess_outbound_config_proto_init() } 122 func file_proxy_vmess_outbound_config_proto_init() { 123 if File_proxy_vmess_outbound_config_proto != nil { 124 return 125 } 126 if !protoimpl.UnsafeEnabled { 127 file_proxy_vmess_outbound_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 128 switch v := v.(*Config); i { 129 case 0: 130 return &v.state 131 case 1: 132 return &v.sizeCache 133 case 2: 134 return &v.unknownFields 135 default: 136 return nil 137 } 138 } 139 } 140 type x struct{} 141 out := protoimpl.TypeBuilder{ 142 File: protoimpl.DescBuilder{ 143 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 144 RawDescriptor: file_proxy_vmess_outbound_config_proto_rawDesc, 145 NumEnums: 0, 146 NumMessages: 1, 147 NumExtensions: 0, 148 NumServices: 0, 149 }, 150 GoTypes: file_proxy_vmess_outbound_config_proto_goTypes, 151 DependencyIndexes: file_proxy_vmess_outbound_config_proto_depIdxs, 152 MessageInfos: file_proxy_vmess_outbound_config_proto_msgTypes, 153 }.Build() 154 File_proxy_vmess_outbound_config_proto = out.File 155 file_proxy_vmess_outbound_config_proto_rawDesc = nil 156 file_proxy_vmess_outbound_config_proto_goTypes = nil 157 file_proxy_vmess_outbound_config_proto_depIdxs = nil 158 }