github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/transport/internet/headers/http/config.pb.go (about)

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