github.com/eagleql/xray-core@v1.4.4/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.14.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, 0x24, 441 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 442 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 443 0x68, 0x74, 0x74, 0x70, 0x22, 0x32, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 444 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 445 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 446 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1f, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 447 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 448 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1e, 0x0a, 0x06, 0x4d, 0x65, 0x74, 449 0x68, 0x6f, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 450 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xf6, 0x01, 0x0a, 0x0d, 0x52, 0x65, 451 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, 0x07, 0x76, 452 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x78, 453 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 454 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 455 0x74, 0x74, 0x70, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 456 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 457 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 458 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 459 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x4d, 0x65, 0x74, 0x68, 460 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 461 0x69, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x44, 0x0a, 0x06, 462 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x78, 463 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 464 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 465 0x74, 0x74, 0x70, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 466 0x65, 0x72, 0x22, 0x34, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 467 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 468 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 469 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x73, 470 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, 0x07, 0x76, 471 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x78, 472 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 473 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 474 0x74, 0x74, 0x70, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 475 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 476 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 477 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 478 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 479 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x44, 0x0a, 0x06, 0x68, 0x65, 480 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x78, 0x72, 0x61, 481 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 482 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 483 0x70, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 484 0x22, 0xa9, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x07, 0x72, 485 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x78, 486 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 487 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 488 0x74, 0x74, 0x70, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 489 0x67, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x08, 0x72, 0x65, 490 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x78, 491 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 492 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 493 0x74, 0x74, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 494 0x69, 0x67, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x8e, 0x01, 0x0a, 495 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 496 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 497 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 498 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 499 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 500 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 501 0x73, 0x2f, 0x68, 0x74, 0x74, 0x70, 0xaa, 0x02, 0x24, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x54, 0x72, 502 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 503 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x62, 0x06, 0x70, 504 0x72, 0x6f, 0x74, 0x6f, 0x33, 505 } 506 507 var ( 508 file_transport_internet_headers_http_config_proto_rawDescOnce sync.Once 509 file_transport_internet_headers_http_config_proto_rawDescData = file_transport_internet_headers_http_config_proto_rawDesc 510 ) 511 512 func file_transport_internet_headers_http_config_proto_rawDescGZIP() []byte { 513 file_transport_internet_headers_http_config_proto_rawDescOnce.Do(func() { 514 file_transport_internet_headers_http_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_http_config_proto_rawDescData) 515 }) 516 return file_transport_internet_headers_http_config_proto_rawDescData 517 } 518 519 var file_transport_internet_headers_http_config_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 520 var file_transport_internet_headers_http_config_proto_goTypes = []interface{}{ 521 (*Header)(nil), // 0: xray.transport.internet.headers.http.Header 522 (*Version)(nil), // 1: xray.transport.internet.headers.http.Version 523 (*Method)(nil), // 2: xray.transport.internet.headers.http.Method 524 (*RequestConfig)(nil), // 3: xray.transport.internet.headers.http.RequestConfig 525 (*Status)(nil), // 4: xray.transport.internet.headers.http.Status 526 (*ResponseConfig)(nil), // 5: xray.transport.internet.headers.http.ResponseConfig 527 (*Config)(nil), // 6: xray.transport.internet.headers.http.Config 528 } 529 var file_transport_internet_headers_http_config_proto_depIdxs = []int32{ 530 1, // 0: xray.transport.internet.headers.http.RequestConfig.version:type_name -> xray.transport.internet.headers.http.Version 531 2, // 1: xray.transport.internet.headers.http.RequestConfig.method:type_name -> xray.transport.internet.headers.http.Method 532 0, // 2: xray.transport.internet.headers.http.RequestConfig.header:type_name -> xray.transport.internet.headers.http.Header 533 1, // 3: xray.transport.internet.headers.http.ResponseConfig.version:type_name -> xray.transport.internet.headers.http.Version 534 4, // 4: xray.transport.internet.headers.http.ResponseConfig.status:type_name -> xray.transport.internet.headers.http.Status 535 0, // 5: xray.transport.internet.headers.http.ResponseConfig.header:type_name -> xray.transport.internet.headers.http.Header 536 3, // 6: xray.transport.internet.headers.http.Config.request:type_name -> xray.transport.internet.headers.http.RequestConfig 537 5, // 7: xray.transport.internet.headers.http.Config.response:type_name -> xray.transport.internet.headers.http.ResponseConfig 538 8, // [8:8] is the sub-list for method output_type 539 8, // [8:8] is the sub-list for method input_type 540 8, // [8:8] is the sub-list for extension type_name 541 8, // [8:8] is the sub-list for extension extendee 542 0, // [0:8] is the sub-list for field type_name 543 } 544 545 func init() { file_transport_internet_headers_http_config_proto_init() } 546 func file_transport_internet_headers_http_config_proto_init() { 547 if File_transport_internet_headers_http_config_proto != nil { 548 return 549 } 550 if !protoimpl.UnsafeEnabled { 551 file_transport_internet_headers_http_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 552 switch v := v.(*Header); i { 553 case 0: 554 return &v.state 555 case 1: 556 return &v.sizeCache 557 case 2: 558 return &v.unknownFields 559 default: 560 return nil 561 } 562 } 563 file_transport_internet_headers_http_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 564 switch v := v.(*Version); i { 565 case 0: 566 return &v.state 567 case 1: 568 return &v.sizeCache 569 case 2: 570 return &v.unknownFields 571 default: 572 return nil 573 } 574 } 575 file_transport_internet_headers_http_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 576 switch v := v.(*Method); i { 577 case 0: 578 return &v.state 579 case 1: 580 return &v.sizeCache 581 case 2: 582 return &v.unknownFields 583 default: 584 return nil 585 } 586 } 587 file_transport_internet_headers_http_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 588 switch v := v.(*RequestConfig); i { 589 case 0: 590 return &v.state 591 case 1: 592 return &v.sizeCache 593 case 2: 594 return &v.unknownFields 595 default: 596 return nil 597 } 598 } 599 file_transport_internet_headers_http_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 600 switch v := v.(*Status); i { 601 case 0: 602 return &v.state 603 case 1: 604 return &v.sizeCache 605 case 2: 606 return &v.unknownFields 607 default: 608 return nil 609 } 610 } 611 file_transport_internet_headers_http_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 612 switch v := v.(*ResponseConfig); i { 613 case 0: 614 return &v.state 615 case 1: 616 return &v.sizeCache 617 case 2: 618 return &v.unknownFields 619 default: 620 return nil 621 } 622 } 623 file_transport_internet_headers_http_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 624 switch v := v.(*Config); i { 625 case 0: 626 return &v.state 627 case 1: 628 return &v.sizeCache 629 case 2: 630 return &v.unknownFields 631 default: 632 return nil 633 } 634 } 635 } 636 type x struct{} 637 out := protoimpl.TypeBuilder{ 638 File: protoimpl.DescBuilder{ 639 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 640 RawDescriptor: file_transport_internet_headers_http_config_proto_rawDesc, 641 NumEnums: 0, 642 NumMessages: 7, 643 NumExtensions: 0, 644 NumServices: 0, 645 }, 646 GoTypes: file_transport_internet_headers_http_config_proto_goTypes, 647 DependencyIndexes: file_transport_internet_headers_http_config_proto_depIdxs, 648 MessageInfos: file_transport_internet_headers_http_config_proto_msgTypes, 649 }.Build() 650 File_transport_internet_headers_http_config_proto = out.File 651 file_transport_internet_headers_http_config_proto_rawDesc = nil 652 file_transport_internet_headers_http_config_proto_goTypes = nil 653 file_transport_internet_headers_http_config_proto_depIdxs = nil 654 }