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