github.com/v2fly/v2ray-core/v4@v4.45.2/proxy/vless/inbound/config.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.17.3 5 // source: proxy/vless/inbound/config.proto 6 7 package inbound 8 9 import ( 10 protocol "github.com/v2fly/v2ray-core/v4/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 Fallback struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Alpn string `protobuf:"bytes,1,opt,name=alpn,proto3" json:"alpn,omitempty"` 30 Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` 31 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` 32 Dest string `protobuf:"bytes,4,opt,name=dest,proto3" json:"dest,omitempty"` 33 Xver uint64 `protobuf:"varint,5,opt,name=xver,proto3" json:"xver,omitempty"` 34 } 35 36 func (x *Fallback) Reset() { 37 *x = Fallback{} 38 if protoimpl.UnsafeEnabled { 39 mi := &file_proxy_vless_inbound_config_proto_msgTypes[0] 40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 41 ms.StoreMessageInfo(mi) 42 } 43 } 44 45 func (x *Fallback) String() string { 46 return protoimpl.X.MessageStringOf(x) 47 } 48 49 func (*Fallback) ProtoMessage() {} 50 51 func (x *Fallback) ProtoReflect() protoreflect.Message { 52 mi := &file_proxy_vless_inbound_config_proto_msgTypes[0] 53 if protoimpl.UnsafeEnabled && x != nil { 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 if ms.LoadMessageInfo() == nil { 56 ms.StoreMessageInfo(mi) 57 } 58 return ms 59 } 60 return mi.MessageOf(x) 61 } 62 63 // Deprecated: Use Fallback.ProtoReflect.Descriptor instead. 64 func (*Fallback) Descriptor() ([]byte, []int) { 65 return file_proxy_vless_inbound_config_proto_rawDescGZIP(), []int{0} 66 } 67 68 func (x *Fallback) GetAlpn() string { 69 if x != nil { 70 return x.Alpn 71 } 72 return "" 73 } 74 75 func (x *Fallback) GetPath() string { 76 if x != nil { 77 return x.Path 78 } 79 return "" 80 } 81 82 func (x *Fallback) GetType() string { 83 if x != nil { 84 return x.Type 85 } 86 return "" 87 } 88 89 func (x *Fallback) GetDest() string { 90 if x != nil { 91 return x.Dest 92 } 93 return "" 94 } 95 96 func (x *Fallback) GetXver() uint64 { 97 if x != nil { 98 return x.Xver 99 } 100 return 0 101 } 102 103 type Config struct { 104 state protoimpl.MessageState 105 sizeCache protoimpl.SizeCache 106 unknownFields protoimpl.UnknownFields 107 108 Clients []*protocol.User `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"` 109 // Decryption settings. Only applies to server side, and only accepts "none" 110 // for now. 111 Decryption string `protobuf:"bytes,2,opt,name=decryption,proto3" json:"decryption,omitempty"` 112 Fallbacks []*Fallback `protobuf:"bytes,3,rep,name=fallbacks,proto3" json:"fallbacks,omitempty"` 113 } 114 115 func (x *Config) Reset() { 116 *x = Config{} 117 if protoimpl.UnsafeEnabled { 118 mi := &file_proxy_vless_inbound_config_proto_msgTypes[1] 119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 120 ms.StoreMessageInfo(mi) 121 } 122 } 123 124 func (x *Config) String() string { 125 return protoimpl.X.MessageStringOf(x) 126 } 127 128 func (*Config) ProtoMessage() {} 129 130 func (x *Config) ProtoReflect() protoreflect.Message { 131 mi := &file_proxy_vless_inbound_config_proto_msgTypes[1] 132 if protoimpl.UnsafeEnabled && x != nil { 133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 134 if ms.LoadMessageInfo() == nil { 135 ms.StoreMessageInfo(mi) 136 } 137 return ms 138 } 139 return mi.MessageOf(x) 140 } 141 142 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 143 func (*Config) Descriptor() ([]byte, []int) { 144 return file_proxy_vless_inbound_config_proto_rawDescGZIP(), []int{1} 145 } 146 147 func (x *Config) GetClients() []*protocol.User { 148 if x != nil { 149 return x.Clients 150 } 151 return nil 152 } 153 154 func (x *Config) GetDecryption() string { 155 if x != nil { 156 return x.Decryption 157 } 158 return "" 159 } 160 161 func (x *Config) GetFallbacks() []*Fallback { 162 if x != nil { 163 return x.Fallbacks 164 } 165 return nil 166 } 167 168 var File_proxy_vless_inbound_config_proto protoreflect.FileDescriptor 169 170 var file_proxy_vless_inbound_config_proto_rawDesc = []byte{ 171 0x0a, 0x20, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x69, 0x6e, 172 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 173 0x74, 0x6f, 0x12, 0x1e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 174 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x69, 0x6e, 0x62, 0x6f, 0x75, 175 0x6e, 0x64, 0x1a, 0x1a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 176 0x63, 0x6f, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 177 0x0a, 0x08, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x6c, 178 0x70, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x6c, 0x70, 0x6e, 0x12, 0x12, 179 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 180 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 181 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x74, 0x18, 0x04, 182 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x78, 0x76, 183 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x78, 0x76, 0x65, 0x72, 0x22, 0xac, 184 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x07, 0x63, 0x6c, 0x69, 185 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x32, 0x72, 186 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 187 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 188 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 189 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x63, 0x72, 0x79, 190 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x09, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 191 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 192 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 193 0x73, 0x2e, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 194 0x63, 0x6b, 0x52, 0x09, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x73, 0x42, 0x7b, 0x0a, 195 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 196 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x69, 0x6e, 0x62, 0x6f, 197 0x75, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 198 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 199 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 200 0x73, 0x2f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0xaa, 0x02, 0x1e, 0x56, 0x32, 0x52, 0x61, 201 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 202 0x73, 0x73, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 203 0x6f, 0x33, 204 } 205 206 var ( 207 file_proxy_vless_inbound_config_proto_rawDescOnce sync.Once 208 file_proxy_vless_inbound_config_proto_rawDescData = file_proxy_vless_inbound_config_proto_rawDesc 209 ) 210 211 func file_proxy_vless_inbound_config_proto_rawDescGZIP() []byte { 212 file_proxy_vless_inbound_config_proto_rawDescOnce.Do(func() { 213 file_proxy_vless_inbound_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_inbound_config_proto_rawDescData) 214 }) 215 return file_proxy_vless_inbound_config_proto_rawDescData 216 } 217 218 var file_proxy_vless_inbound_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 219 var file_proxy_vless_inbound_config_proto_goTypes = []interface{}{ 220 (*Fallback)(nil), // 0: v2ray.core.proxy.vless.inbound.Fallback 221 (*Config)(nil), // 1: v2ray.core.proxy.vless.inbound.Config 222 (*protocol.User)(nil), // 2: v2ray.core.common.protocol.User 223 } 224 var file_proxy_vless_inbound_config_proto_depIdxs = []int32{ 225 2, // 0: v2ray.core.proxy.vless.inbound.Config.clients:type_name -> v2ray.core.common.protocol.User 226 0, // 1: v2ray.core.proxy.vless.inbound.Config.fallbacks:type_name -> v2ray.core.proxy.vless.inbound.Fallback 227 2, // [2:2] is the sub-list for method output_type 228 2, // [2:2] is the sub-list for method input_type 229 2, // [2:2] is the sub-list for extension type_name 230 2, // [2:2] is the sub-list for extension extendee 231 0, // [0:2] is the sub-list for field type_name 232 } 233 234 func init() { file_proxy_vless_inbound_config_proto_init() } 235 func file_proxy_vless_inbound_config_proto_init() { 236 if File_proxy_vless_inbound_config_proto != nil { 237 return 238 } 239 if !protoimpl.UnsafeEnabled { 240 file_proxy_vless_inbound_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 241 switch v := v.(*Fallback); i { 242 case 0: 243 return &v.state 244 case 1: 245 return &v.sizeCache 246 case 2: 247 return &v.unknownFields 248 default: 249 return nil 250 } 251 } 252 file_proxy_vless_inbound_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 253 switch v := v.(*Config); i { 254 case 0: 255 return &v.state 256 case 1: 257 return &v.sizeCache 258 case 2: 259 return &v.unknownFields 260 default: 261 return nil 262 } 263 } 264 } 265 type x struct{} 266 out := protoimpl.TypeBuilder{ 267 File: protoimpl.DescBuilder{ 268 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 269 RawDescriptor: file_proxy_vless_inbound_config_proto_rawDesc, 270 NumEnums: 0, 271 NumMessages: 2, 272 NumExtensions: 0, 273 NumServices: 0, 274 }, 275 GoTypes: file_proxy_vless_inbound_config_proto_goTypes, 276 DependencyIndexes: file_proxy_vless_inbound_config_proto_depIdxs, 277 MessageInfos: file_proxy_vless_inbound_config_proto_msgTypes, 278 }.Build() 279 File_proxy_vless_inbound_config_proto = out.File 280 file_proxy_vless_inbound_config_proto_rawDesc = nil 281 file_proxy_vless_inbound_config_proto_goTypes = nil 282 file_proxy_vless_inbound_config_proto_depIdxs = nil 283 }