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