github.com/imannamdari/v2ray-core/v5@v5.0.5/proxy/vless/outbound/config.pb.go (about) 1 package outbound 2 3 import ( 4 reflect "reflect" 5 sync "sync" 6 7 net "github.com/imannamdari/v2ray-core/v5/common/net" 8 protocol "github.com/imannamdari/v2ray-core/v5/common/protocol" 9 _ "github.com/imannamdari/v2ray-core/v5/common/protoext" 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 ) 13 14 const ( 15 // Verify that this generated code is sufficiently up-to-date. 16 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 17 // Verify that runtime/protoimpl is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 19 ) 20 21 type Config struct { 22 state protoimpl.MessageState 23 sizeCache protoimpl.SizeCache 24 unknownFields protoimpl.UnknownFields 25 26 Vnext []*protocol.ServerEndpoint `protobuf:"bytes,1,rep,name=vnext,proto3" json:"vnext,omitempty"` 27 } 28 29 func (x *Config) Reset() { 30 *x = Config{} 31 if protoimpl.UnsafeEnabled { 32 mi := &file_proxy_vless_outbound_config_proto_msgTypes[0] 33 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 34 ms.StoreMessageInfo(mi) 35 } 36 } 37 38 func (x *Config) String() string { 39 return protoimpl.X.MessageStringOf(x) 40 } 41 42 func (*Config) ProtoMessage() {} 43 44 func (x *Config) ProtoReflect() protoreflect.Message { 45 mi := &file_proxy_vless_outbound_config_proto_msgTypes[0] 46 if protoimpl.UnsafeEnabled && x != nil { 47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 48 if ms.LoadMessageInfo() == nil { 49 ms.StoreMessageInfo(mi) 50 } 51 return ms 52 } 53 return mi.MessageOf(x) 54 } 55 56 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 57 func (*Config) Descriptor() ([]byte, []int) { 58 return file_proxy_vless_outbound_config_proto_rawDescGZIP(), []int{0} 59 } 60 61 func (x *Config) GetVnext() []*protocol.ServerEndpoint { 62 if x != nil { 63 return x.Vnext 64 } 65 return nil 66 } 67 68 type SimplifiedConfig struct { 69 state protoimpl.MessageState 70 sizeCache protoimpl.SizeCache 71 unknownFields protoimpl.UnknownFields 72 73 Address *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 74 Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` 75 Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` 76 } 77 78 func (x *SimplifiedConfig) Reset() { 79 *x = SimplifiedConfig{} 80 if protoimpl.UnsafeEnabled { 81 mi := &file_proxy_vless_outbound_config_proto_msgTypes[1] 82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 83 ms.StoreMessageInfo(mi) 84 } 85 } 86 87 func (x *SimplifiedConfig) String() string { 88 return protoimpl.X.MessageStringOf(x) 89 } 90 91 func (*SimplifiedConfig) ProtoMessage() {} 92 93 func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { 94 mi := &file_proxy_vless_outbound_config_proto_msgTypes[1] 95 if protoimpl.UnsafeEnabled && x != nil { 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 if ms.LoadMessageInfo() == nil { 98 ms.StoreMessageInfo(mi) 99 } 100 return ms 101 } 102 return mi.MessageOf(x) 103 } 104 105 // Deprecated: Use SimplifiedConfig.ProtoReflect.Descriptor instead. 106 func (*SimplifiedConfig) Descriptor() ([]byte, []int) { 107 return file_proxy_vless_outbound_config_proto_rawDescGZIP(), []int{1} 108 } 109 110 func (x *SimplifiedConfig) GetAddress() *net.IPOrDomain { 111 if x != nil { 112 return x.Address 113 } 114 return nil 115 } 116 117 func (x *SimplifiedConfig) GetPort() uint32 { 118 if x != nil { 119 return x.Port 120 } 121 return 0 122 } 123 124 func (x *SimplifiedConfig) GetUuid() string { 125 if x != nil { 126 return x.Uuid 127 } 128 return "" 129 } 130 131 var File_proxy_vless_outbound_config_proto protoreflect.FileDescriptor 132 133 var file_proxy_vless_outbound_config_proto_rawDesc = []byte{ 134 0x0a, 0x21, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x6f, 0x75, 135 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 136 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 137 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x6f, 0x75, 0x74, 0x62, 138 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 139 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65, 140 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 141 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 142 0x6f, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 143 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 144 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x40, 0x0a, 145 0x05, 0x76, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 146 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 147 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 148 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x6e, 0x65, 0x78, 0x74, 0x22, 149 0x92, 0x01, 0x0a, 0x10, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x43, 0x6f, 150 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 151 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 152 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 153 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 154 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 155 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 156 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x3a, 0x19, 0x82, 0xb5, 0x18, 0x0a, 0x0a, 157 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x82, 0xb5, 0x18, 0x07, 0x12, 0x05, 0x76, 158 0x6c, 0x65, 0x73, 0x73, 0x42, 0x7e, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 159 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 160 0x73, 0x73, 0x2e, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x33, 0x67, 161 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 162 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x70, 0x72, 163 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 164 0x6e, 0x64, 0xaa, 0x02, 0x1f, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 165 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x4f, 0x75, 0x74, 0x62, 166 0x6f, 0x75, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 167 } 168 169 var ( 170 file_proxy_vless_outbound_config_proto_rawDescOnce sync.Once 171 file_proxy_vless_outbound_config_proto_rawDescData = file_proxy_vless_outbound_config_proto_rawDesc 172 ) 173 174 func file_proxy_vless_outbound_config_proto_rawDescGZIP() []byte { 175 file_proxy_vless_outbound_config_proto_rawDescOnce.Do(func() { 176 file_proxy_vless_outbound_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_outbound_config_proto_rawDescData) 177 }) 178 return file_proxy_vless_outbound_config_proto_rawDescData 179 } 180 181 var file_proxy_vless_outbound_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 182 var file_proxy_vless_outbound_config_proto_goTypes = []interface{}{ 183 (*Config)(nil), // 0: v2ray.core.proxy.vless.outbound.Config 184 (*SimplifiedConfig)(nil), // 1: v2ray.core.proxy.vless.outbound.SimplifiedConfig 185 (*protocol.ServerEndpoint)(nil), // 2: v2ray.core.common.protocol.ServerEndpoint 186 (*net.IPOrDomain)(nil), // 3: v2ray.core.common.net.IPOrDomain 187 } 188 var file_proxy_vless_outbound_config_proto_depIdxs = []int32{ 189 2, // 0: v2ray.core.proxy.vless.outbound.Config.vnext:type_name -> v2ray.core.common.protocol.ServerEndpoint 190 3, // 1: v2ray.core.proxy.vless.outbound.SimplifiedConfig.address:type_name -> v2ray.core.common.net.IPOrDomain 191 2, // [2:2] is the sub-list for method output_type 192 2, // [2:2] is the sub-list for method input_type 193 2, // [2:2] is the sub-list for extension type_name 194 2, // [2:2] is the sub-list for extension extendee 195 0, // [0:2] is the sub-list for field type_name 196 } 197 198 func init() { file_proxy_vless_outbound_config_proto_init() } 199 func file_proxy_vless_outbound_config_proto_init() { 200 if File_proxy_vless_outbound_config_proto != nil { 201 return 202 } 203 if !protoimpl.UnsafeEnabled { 204 file_proxy_vless_outbound_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 205 switch v := v.(*Config); i { 206 case 0: 207 return &v.state 208 case 1: 209 return &v.sizeCache 210 case 2: 211 return &v.unknownFields 212 default: 213 return nil 214 } 215 } 216 file_proxy_vless_outbound_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 217 switch v := v.(*SimplifiedConfig); i { 218 case 0: 219 return &v.state 220 case 1: 221 return &v.sizeCache 222 case 2: 223 return &v.unknownFields 224 default: 225 return nil 226 } 227 } 228 } 229 type x struct{} 230 out := protoimpl.TypeBuilder{ 231 File: protoimpl.DescBuilder{ 232 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 233 RawDescriptor: file_proxy_vless_outbound_config_proto_rawDesc, 234 NumEnums: 0, 235 NumMessages: 2, 236 NumExtensions: 0, 237 NumServices: 0, 238 }, 239 GoTypes: file_proxy_vless_outbound_config_proto_goTypes, 240 DependencyIndexes: file_proxy_vless_outbound_config_proto_depIdxs, 241 MessageInfos: file_proxy_vless_outbound_config_proto_msgTypes, 242 }.Build() 243 File_proxy_vless_outbound_config_proto = out.File 244 file_proxy_vless_outbound_config_proto_rawDesc = nil 245 file_proxy_vless_outbound_config_proto_goTypes = nil 246 file_proxy_vless_outbound_config_proto_depIdxs = nil 247 }