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