github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/transport/internet/headers/http/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.13.0 5 // source: transport/internet/headers/http/config.proto 6 7 package http 8 9 import ( 10 proto "github.com/golang/protobuf/proto" 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 // This is a compile-time assertion that a sufficiently up-to-date version 25 // of the legacy proto package is being used. 26 const _ = proto.ProtoPackageIsVersion4 27 28 type Header struct { 29 state protoimpl.MessageState 30 sizeCache protoimpl.SizeCache 31 unknownFields protoimpl.UnknownFields 32 33 // "Accept", "Cookie", etc 34 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 35 // Each entry must be valid in one piece. Random entry will be chosen if 36 // multiple entries present. 37 Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` 38 } 39 40 func (x *Header) Reset() { 41 *x = Header{} 42 if protoimpl.UnsafeEnabled { 43 mi := &file_transport_internet_headers_http_config_proto_msgTypes[0] 44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 45 ms.StoreMessageInfo(mi) 46 } 47 } 48 49 func (x *Header) String() string { 50 return protoimpl.X.MessageStringOf(x) 51 } 52 53 func (*Header) ProtoMessage() {} 54 55 func (x *Header) ProtoReflect() protoreflect.Message { 56 mi := &file_transport_internet_headers_http_config_proto_msgTypes[0] 57 if protoimpl.UnsafeEnabled && x != nil { 58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 59 if ms.LoadMessageInfo() == nil { 60 ms.StoreMessageInfo(mi) 61 } 62 return ms 63 } 64 return mi.MessageOf(x) 65 } 66 67 // Deprecated: Use Header.ProtoReflect.Descriptor instead. 68 func (*Header) Descriptor() ([]byte, []int) { 69 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{0} 70 } 71 72 func (x *Header) GetName() string { 73 if x != nil { 74 return x.Name 75 } 76 return "" 77 } 78 79 func (x *Header) GetValue() []string { 80 if x != nil { 81 return x.Value 82 } 83 return nil 84 } 85 86 // HTTP version. Default value "1.1". 87 type Version struct { 88 state protoimpl.MessageState 89 sizeCache protoimpl.SizeCache 90 unknownFields protoimpl.UnknownFields 91 92 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 93 } 94 95 func (x *Version) Reset() { 96 *x = Version{} 97 if protoimpl.UnsafeEnabled { 98 mi := &file_transport_internet_headers_http_config_proto_msgTypes[1] 99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 100 ms.StoreMessageInfo(mi) 101 } 102 } 103 104 func (x *Version) String() string { 105 return protoimpl.X.MessageStringOf(x) 106 } 107 108 func (*Version) ProtoMessage() {} 109 110 func (x *Version) ProtoReflect() protoreflect.Message { 111 mi := &file_transport_internet_headers_http_config_proto_msgTypes[1] 112 if protoimpl.UnsafeEnabled && x != nil { 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 if ms.LoadMessageInfo() == nil { 115 ms.StoreMessageInfo(mi) 116 } 117 return ms 118 } 119 return mi.MessageOf(x) 120 } 121 122 // Deprecated: Use Version.ProtoReflect.Descriptor instead. 123 func (*Version) Descriptor() ([]byte, []int) { 124 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{1} 125 } 126 127 func (x *Version) GetValue() string { 128 if x != nil { 129 return x.Value 130 } 131 return "" 132 } 133 134 // HTTP method. Default value "GET". 135 type Method struct { 136 state protoimpl.MessageState 137 sizeCache protoimpl.SizeCache 138 unknownFields protoimpl.UnknownFields 139 140 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 141 } 142 143 func (x *Method) Reset() { 144 *x = Method{} 145 if protoimpl.UnsafeEnabled { 146 mi := &file_transport_internet_headers_http_config_proto_msgTypes[2] 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 148 ms.StoreMessageInfo(mi) 149 } 150 } 151 152 func (x *Method) String() string { 153 return protoimpl.X.MessageStringOf(x) 154 } 155 156 func (*Method) ProtoMessage() {} 157 158 func (x *Method) ProtoReflect() protoreflect.Message { 159 mi := &file_transport_internet_headers_http_config_proto_msgTypes[2] 160 if protoimpl.UnsafeEnabled && x != nil { 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 162 if ms.LoadMessageInfo() == nil { 163 ms.StoreMessageInfo(mi) 164 } 165 return ms 166 } 167 return mi.MessageOf(x) 168 } 169 170 // Deprecated: Use Method.ProtoReflect.Descriptor instead. 171 func (*Method) Descriptor() ([]byte, []int) { 172 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{2} 173 } 174 175 func (x *Method) GetValue() string { 176 if x != nil { 177 return x.Value 178 } 179 return "" 180 } 181 182 type RequestConfig struct { 183 state protoimpl.MessageState 184 sizeCache protoimpl.SizeCache 185 unknownFields protoimpl.UnknownFields 186 187 // Full HTTP version like "1.1". 188 Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 189 // GET, POST, CONNECT etc 190 Method *Method `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` 191 // URI like "/login.php" 192 Uri []string `protobuf:"bytes,3,rep,name=uri,proto3" json:"uri,omitempty"` 193 Header []*Header `protobuf:"bytes,4,rep,name=header,proto3" json:"header,omitempty"` 194 } 195 196 func (x *RequestConfig) Reset() { 197 *x = RequestConfig{} 198 if protoimpl.UnsafeEnabled { 199 mi := &file_transport_internet_headers_http_config_proto_msgTypes[3] 200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 201 ms.StoreMessageInfo(mi) 202 } 203 } 204 205 func (x *RequestConfig) String() string { 206 return protoimpl.X.MessageStringOf(x) 207 } 208 209 func (*RequestConfig) ProtoMessage() {} 210 211 func (x *RequestConfig) ProtoReflect() protoreflect.Message { 212 mi := &file_transport_internet_headers_http_config_proto_msgTypes[3] 213 if protoimpl.UnsafeEnabled && x != nil { 214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 215 if ms.LoadMessageInfo() == nil { 216 ms.StoreMessageInfo(mi) 217 } 218 return ms 219 } 220 return mi.MessageOf(x) 221 } 222 223 // Deprecated: Use RequestConfig.ProtoReflect.Descriptor instead. 224 func (*RequestConfig) Descriptor() ([]byte, []int) { 225 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{3} 226 } 227 228 func (x *RequestConfig) GetVersion() *Version { 229 if x != nil { 230 return x.Version 231 } 232 return nil 233 } 234 235 func (x *RequestConfig) GetMethod() *Method { 236 if x != nil { 237 return x.Method 238 } 239 return nil 240 } 241 242 func (x *RequestConfig) GetUri() []string { 243 if x != nil { 244 return x.Uri 245 } 246 return nil 247 } 248 249 func (x *RequestConfig) GetHeader() []*Header { 250 if x != nil { 251 return x.Header 252 } 253 return nil 254 } 255 256 type Status struct { 257 state protoimpl.MessageState 258 sizeCache protoimpl.SizeCache 259 unknownFields protoimpl.UnknownFields 260 261 // Status code. Default "200". 262 Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` 263 // Statue reason. Default "OK". 264 Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` 265 } 266 267 func (x *Status) Reset() { 268 *x = Status{} 269 if protoimpl.UnsafeEnabled { 270 mi := &file_transport_internet_headers_http_config_proto_msgTypes[4] 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 ms.StoreMessageInfo(mi) 273 } 274 } 275 276 func (x *Status) String() string { 277 return protoimpl.X.MessageStringOf(x) 278 } 279 280 func (*Status) ProtoMessage() {} 281 282 func (x *Status) ProtoReflect() protoreflect.Message { 283 mi := &file_transport_internet_headers_http_config_proto_msgTypes[4] 284 if protoimpl.UnsafeEnabled && x != nil { 285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 286 if ms.LoadMessageInfo() == nil { 287 ms.StoreMessageInfo(mi) 288 } 289 return ms 290 } 291 return mi.MessageOf(x) 292 } 293 294 // Deprecated: Use Status.ProtoReflect.Descriptor instead. 295 func (*Status) Descriptor() ([]byte, []int) { 296 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{4} 297 } 298 299 func (x *Status) GetCode() string { 300 if x != nil { 301 return x.Code 302 } 303 return "" 304 } 305 306 func (x *Status) GetReason() string { 307 if x != nil { 308 return x.Reason 309 } 310 return "" 311 } 312 313 type ResponseConfig struct { 314 state protoimpl.MessageState 315 sizeCache protoimpl.SizeCache 316 unknownFields protoimpl.UnknownFields 317 318 Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 319 Status *Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 320 Header []*Header `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"` 321 } 322 323 func (x *ResponseConfig) Reset() { 324 *x = ResponseConfig{} 325 if protoimpl.UnsafeEnabled { 326 mi := &file_transport_internet_headers_http_config_proto_msgTypes[5] 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 ms.StoreMessageInfo(mi) 329 } 330 } 331 332 func (x *ResponseConfig) String() string { 333 return protoimpl.X.MessageStringOf(x) 334 } 335 336 func (*ResponseConfig) ProtoMessage() {} 337 338 func (x *ResponseConfig) ProtoReflect() protoreflect.Message { 339 mi := &file_transport_internet_headers_http_config_proto_msgTypes[5] 340 if protoimpl.UnsafeEnabled && x != nil { 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 if ms.LoadMessageInfo() == nil { 343 ms.StoreMessageInfo(mi) 344 } 345 return ms 346 } 347 return mi.MessageOf(x) 348 } 349 350 // Deprecated: Use ResponseConfig.ProtoReflect.Descriptor instead. 351 func (*ResponseConfig) Descriptor() ([]byte, []int) { 352 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{5} 353 } 354 355 func (x *ResponseConfig) GetVersion() *Version { 356 if x != nil { 357 return x.Version 358 } 359 return nil 360 } 361 362 func (x *ResponseConfig) GetStatus() *Status { 363 if x != nil { 364 return x.Status 365 } 366 return nil 367 } 368 369 func (x *ResponseConfig) GetHeader() []*Header { 370 if x != nil { 371 return x.Header 372 } 373 return nil 374 } 375 376 type Config struct { 377 state protoimpl.MessageState 378 sizeCache protoimpl.SizeCache 379 unknownFields protoimpl.UnknownFields 380 381 // Settings for authenticating requests. If not set, client side will not send 382 // authenication header, and server side will bypass authentication. 383 Request *RequestConfig `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` 384 // Settings for authenticating responses. If not set, client side will bypass 385 // authentication, and server side will not send authentication header. 386 Response *ResponseConfig `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` 387 } 388 389 func (x *Config) Reset() { 390 *x = Config{} 391 if protoimpl.UnsafeEnabled { 392 mi := &file_transport_internet_headers_http_config_proto_msgTypes[6] 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 ms.StoreMessageInfo(mi) 395 } 396 } 397 398 func (x *Config) String() string { 399 return protoimpl.X.MessageStringOf(x) 400 } 401 402 func (*Config) ProtoMessage() {} 403 404 func (x *Config) ProtoReflect() protoreflect.Message { 405 mi := &file_transport_internet_headers_http_config_proto_msgTypes[6] 406 if protoimpl.UnsafeEnabled && x != nil { 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 if ms.LoadMessageInfo() == nil { 409 ms.StoreMessageInfo(mi) 410 } 411 return ms 412 } 413 return mi.MessageOf(x) 414 } 415 416 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 417 func (*Config) Descriptor() ([]byte, []int) { 418 return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{6} 419 } 420 421 func (x *Config) GetRequest() *RequestConfig { 422 if x != nil { 423 return x.Request 424 } 425 return nil 426 } 427 428 func (x *Config) GetResponse() *ResponseConfig { 429 if x != nil { 430 return x.Response 431 } 432 return nil 433 } 434 435 var File_transport_internet_headers_http_config_proto protoreflect.FileDescriptor 436 437 var file_transport_internet_headers_http_config_proto_rawDesc = []byte{ 438 0x0a, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 439 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x68, 0x74, 0x74, 440 0x70, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 441 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 442 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 443 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x22, 0x32, 0x0a, 0x06, 0x48, 0x65, 444 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 445 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 446 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1f, 447 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 448 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 449 0x1e, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 450 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 451 0x88, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 452 0x67, 0x12, 0x4d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 453 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 454 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 455 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 456 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 457 0x12, 0x4a, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 458 0x32, 0x32, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 459 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 460 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x4d, 0x65, 461 0x74, 0x68, 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03, 462 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x4a, 463 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 464 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 465 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 466 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x48, 0x65, 0x61, 0x64, 467 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x34, 0x0a, 0x06, 0x53, 0x74, 468 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 469 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 470 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 471 0x22, 0xf7, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, 472 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 473 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 474 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 475 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 476 0x70, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 477 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 478 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 479 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 480 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 481 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4a, 482 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 483 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 484 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 485 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x48, 0x65, 0x61, 0x64, 486 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0xb5, 0x01, 0x0a, 0x06, 0x43, 487 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x53, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 488 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 489 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 490 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 491 0x74, 0x74, 0x70, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 492 0x67, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x08, 0x72, 0x65, 493 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x76, 494 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 495 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 496 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 497 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 498 0x73, 0x65, 0x42, 0x8f, 0x01, 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 499 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 500 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 501 0x2e, 0x68, 0x74, 0x74, 0x70, 0x50, 0x01, 0x5a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 502 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 503 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 504 0x72, 0x73, 0x2f, 0x68, 0x74, 0x74, 0x70, 0xaa, 0x02, 0x2a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 505 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 506 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 507 0x48, 0x74, 0x74, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 508 } 509 510 var ( 511 file_transport_internet_headers_http_config_proto_rawDescOnce sync.Once 512 file_transport_internet_headers_http_config_proto_rawDescData = file_transport_internet_headers_http_config_proto_rawDesc 513 ) 514 515 func file_transport_internet_headers_http_config_proto_rawDescGZIP() []byte { 516 file_transport_internet_headers_http_config_proto_rawDescOnce.Do(func() { 517 file_transport_internet_headers_http_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_http_config_proto_rawDescData) 518 }) 519 return file_transport_internet_headers_http_config_proto_rawDescData 520 } 521 522 var file_transport_internet_headers_http_config_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 523 var file_transport_internet_headers_http_config_proto_goTypes = []interface{}{ 524 (*Header)(nil), // 0: v2ray.core.transport.internet.headers.http.Header 525 (*Version)(nil), // 1: v2ray.core.transport.internet.headers.http.Version 526 (*Method)(nil), // 2: v2ray.core.transport.internet.headers.http.Method 527 (*RequestConfig)(nil), // 3: v2ray.core.transport.internet.headers.http.RequestConfig 528 (*Status)(nil), // 4: v2ray.core.transport.internet.headers.http.Status 529 (*ResponseConfig)(nil), // 5: v2ray.core.transport.internet.headers.http.ResponseConfig 530 (*Config)(nil), // 6: v2ray.core.transport.internet.headers.http.Config 531 } 532 var file_transport_internet_headers_http_config_proto_depIdxs = []int32{ 533 1, // 0: v2ray.core.transport.internet.headers.http.RequestConfig.version:type_name -> v2ray.core.transport.internet.headers.http.Version 534 2, // 1: v2ray.core.transport.internet.headers.http.RequestConfig.method:type_name -> v2ray.core.transport.internet.headers.http.Method 535 0, // 2: v2ray.core.transport.internet.headers.http.RequestConfig.header:type_name -> v2ray.core.transport.internet.headers.http.Header 536 1, // 3: v2ray.core.transport.internet.headers.http.ResponseConfig.version:type_name -> v2ray.core.transport.internet.headers.http.Version 537 4, // 4: v2ray.core.transport.internet.headers.http.ResponseConfig.status:type_name -> v2ray.core.transport.internet.headers.http.Status 538 0, // 5: v2ray.core.transport.internet.headers.http.ResponseConfig.header:type_name -> v2ray.core.transport.internet.headers.http.Header 539 3, // 6: v2ray.core.transport.internet.headers.http.Config.request:type_name -> v2ray.core.transport.internet.headers.http.RequestConfig 540 5, // 7: v2ray.core.transport.internet.headers.http.Config.response:type_name -> v2ray.core.transport.internet.headers.http.ResponseConfig 541 8, // [8:8] is the sub-list for method output_type 542 8, // [8:8] is the sub-list for method input_type 543 8, // [8:8] is the sub-list for extension type_name 544 8, // [8:8] is the sub-list for extension extendee 545 0, // [0:8] is the sub-list for field type_name 546 } 547 548 func init() { file_transport_internet_headers_http_config_proto_init() } 549 func file_transport_internet_headers_http_config_proto_init() { 550 if File_transport_internet_headers_http_config_proto != nil { 551 return 552 } 553 if !protoimpl.UnsafeEnabled { 554 file_transport_internet_headers_http_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 555 switch v := v.(*Header); i { 556 case 0: 557 return &v.state 558 case 1: 559 return &v.sizeCache 560 case 2: 561 return &v.unknownFields 562 default: 563 return nil 564 } 565 } 566 file_transport_internet_headers_http_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 567 switch v := v.(*Version); i { 568 case 0: 569 return &v.state 570 case 1: 571 return &v.sizeCache 572 case 2: 573 return &v.unknownFields 574 default: 575 return nil 576 } 577 } 578 file_transport_internet_headers_http_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 579 switch v := v.(*Method); i { 580 case 0: 581 return &v.state 582 case 1: 583 return &v.sizeCache 584 case 2: 585 return &v.unknownFields 586 default: 587 return nil 588 } 589 } 590 file_transport_internet_headers_http_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 591 switch v := v.(*RequestConfig); i { 592 case 0: 593 return &v.state 594 case 1: 595 return &v.sizeCache 596 case 2: 597 return &v.unknownFields 598 default: 599 return nil 600 } 601 } 602 file_transport_internet_headers_http_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 603 switch v := v.(*Status); i { 604 case 0: 605 return &v.state 606 case 1: 607 return &v.sizeCache 608 case 2: 609 return &v.unknownFields 610 default: 611 return nil 612 } 613 } 614 file_transport_internet_headers_http_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 615 switch v := v.(*ResponseConfig); i { 616 case 0: 617 return &v.state 618 case 1: 619 return &v.sizeCache 620 case 2: 621 return &v.unknownFields 622 default: 623 return nil 624 } 625 } 626 file_transport_internet_headers_http_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 627 switch v := v.(*Config); i { 628 case 0: 629 return &v.state 630 case 1: 631 return &v.sizeCache 632 case 2: 633 return &v.unknownFields 634 default: 635 return nil 636 } 637 } 638 } 639 type x struct{} 640 out := protoimpl.TypeBuilder{ 641 File: protoimpl.DescBuilder{ 642 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 643 RawDescriptor: file_transport_internet_headers_http_config_proto_rawDesc, 644 NumEnums: 0, 645 NumMessages: 7, 646 NumExtensions: 0, 647 NumServices: 0, 648 }, 649 GoTypes: file_transport_internet_headers_http_config_proto_goTypes, 650 DependencyIndexes: file_transport_internet_headers_http_config_proto_depIdxs, 651 MessageInfos: file_transport_internet_headers_http_config_proto_msgTypes, 652 }.Build() 653 File_transport_internet_headers_http_config_proto = out.File 654 file_transport_internet_headers_http_config_proto_rawDesc = nil 655 file_transport_internet_headers_http_config_proto_goTypes = nil 656 file_transport_internet_headers_http_config_proto_depIdxs = nil 657 }