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

     1  package httprt
     2  
     3  import (
     4  	_ "github.com/v2fly/v2ray-core/v5/common/protoext"
     5  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
     6  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
     7  	reflect "reflect"
     8  	sync "sync"
     9  )
    10  
    11  const (
    12  	// Verify that this generated code is sufficiently up-to-date.
    13  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    14  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    15  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    16  )
    17  
    18  type ClientConfig struct {
    19  	state         protoimpl.MessageState
    20  	sizeCache     protoimpl.SizeCache
    21  	unknownFields protoimpl.UnknownFields
    22  
    23  	Http *HTTPConfig `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
    24  }
    25  
    26  func (x *ClientConfig) Reset() {
    27  	*x = ClientConfig{}
    28  	if protoimpl.UnsafeEnabled {
    29  		mi := &file_transport_internet_request_roundtripper_httprt_config_proto_msgTypes[0]
    30  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    31  		ms.StoreMessageInfo(mi)
    32  	}
    33  }
    34  
    35  func (x *ClientConfig) String() string {
    36  	return protoimpl.X.MessageStringOf(x)
    37  }
    38  
    39  func (*ClientConfig) ProtoMessage() {}
    40  
    41  func (x *ClientConfig) ProtoReflect() protoreflect.Message {
    42  	mi := &file_transport_internet_request_roundtripper_httprt_config_proto_msgTypes[0]
    43  	if protoimpl.UnsafeEnabled && x != nil {
    44  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    45  		if ms.LoadMessageInfo() == nil {
    46  			ms.StoreMessageInfo(mi)
    47  		}
    48  		return ms
    49  	}
    50  	return mi.MessageOf(x)
    51  }
    52  
    53  // Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.
    54  func (*ClientConfig) Descriptor() ([]byte, []int) {
    55  	return file_transport_internet_request_roundtripper_httprt_config_proto_rawDescGZIP(), []int{0}
    56  }
    57  
    58  func (x *ClientConfig) GetHttp() *HTTPConfig {
    59  	if x != nil {
    60  		return x.Http
    61  	}
    62  	return nil
    63  }
    64  
    65  type ServerConfig struct {
    66  	state         protoimpl.MessageState
    67  	sizeCache     protoimpl.SizeCache
    68  	unknownFields protoimpl.UnknownFields
    69  
    70  	Http                 *HTTPConfig `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
    71  	NoDecodingSessionTag bool        `protobuf:"varint,2,opt,name=no_decoding_session_tag,json=noDecodingSessionTag,proto3" json:"no_decoding_session_tag,omitempty"`
    72  }
    73  
    74  func (x *ServerConfig) Reset() {
    75  	*x = ServerConfig{}
    76  	if protoimpl.UnsafeEnabled {
    77  		mi := &file_transport_internet_request_roundtripper_httprt_config_proto_msgTypes[1]
    78  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    79  		ms.StoreMessageInfo(mi)
    80  	}
    81  }
    82  
    83  func (x *ServerConfig) String() string {
    84  	return protoimpl.X.MessageStringOf(x)
    85  }
    86  
    87  func (*ServerConfig) ProtoMessage() {}
    88  
    89  func (x *ServerConfig) ProtoReflect() protoreflect.Message {
    90  	mi := &file_transport_internet_request_roundtripper_httprt_config_proto_msgTypes[1]
    91  	if protoimpl.UnsafeEnabled && x != nil {
    92  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    93  		if ms.LoadMessageInfo() == nil {
    94  			ms.StoreMessageInfo(mi)
    95  		}
    96  		return ms
    97  	}
    98  	return mi.MessageOf(x)
    99  }
   100  
   101  // Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
   102  func (*ServerConfig) Descriptor() ([]byte, []int) {
   103  	return file_transport_internet_request_roundtripper_httprt_config_proto_rawDescGZIP(), []int{1}
   104  }
   105  
   106  func (x *ServerConfig) GetHttp() *HTTPConfig {
   107  	if x != nil {
   108  		return x.Http
   109  	}
   110  	return nil
   111  }
   112  
   113  func (x *ServerConfig) GetNoDecodingSessionTag() bool {
   114  	if x != nil {
   115  		return x.NoDecodingSessionTag
   116  	}
   117  	return false
   118  }
   119  
   120  type HTTPConfig struct {
   121  	state         protoimpl.MessageState
   122  	sizeCache     protoimpl.SizeCache
   123  	unknownFields protoimpl.UnknownFields
   124  
   125  	Path      string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
   126  	UrlPrefix string `protobuf:"bytes,2,opt,name=urlPrefix,proto3" json:"urlPrefix,omitempty"`
   127  }
   128  
   129  func (x *HTTPConfig) Reset() {
   130  	*x = HTTPConfig{}
   131  	if protoimpl.UnsafeEnabled {
   132  		mi := &file_transport_internet_request_roundtripper_httprt_config_proto_msgTypes[2]
   133  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   134  		ms.StoreMessageInfo(mi)
   135  	}
   136  }
   137  
   138  func (x *HTTPConfig) String() string {
   139  	return protoimpl.X.MessageStringOf(x)
   140  }
   141  
   142  func (*HTTPConfig) ProtoMessage() {}
   143  
   144  func (x *HTTPConfig) ProtoReflect() protoreflect.Message {
   145  	mi := &file_transport_internet_request_roundtripper_httprt_config_proto_msgTypes[2]
   146  	if protoimpl.UnsafeEnabled && x != nil {
   147  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   148  		if ms.LoadMessageInfo() == nil {
   149  			ms.StoreMessageInfo(mi)
   150  		}
   151  		return ms
   152  	}
   153  	return mi.MessageOf(x)
   154  }
   155  
   156  // Deprecated: Use HTTPConfig.ProtoReflect.Descriptor instead.
   157  func (*HTTPConfig) Descriptor() ([]byte, []int) {
   158  	return file_transport_internet_request_roundtripper_httprt_config_proto_rawDescGZIP(), []int{2}
   159  }
   160  
   161  func (x *HTTPConfig) GetPath() string {
   162  	if x != nil {
   163  		return x.Path
   164  	}
   165  	return ""
   166  }
   167  
   168  func (x *HTTPConfig) GetUrlPrefix() string {
   169  	if x != nil {
   170  		return x.UrlPrefix
   171  	}
   172  	return ""
   173  }
   174  
   175  var File_transport_internet_request_roundtripper_httprt_config_proto protoreflect.FileDescriptor
   176  
   177  var file_transport_internet_request_roundtripper_httprt_config_proto_rawDesc = []byte{
   178  	0x0a, 0x3b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
   179  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x72, 0x6f, 0x75,
   180  	0x6e, 0x64, 0x74, 0x72, 0x69, 0x70, 0x70, 0x65, 0x72, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x72, 0x74,
   181  	0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x39, 0x76,
   182  	0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
   183  	0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x72, 0x65, 0x71,
   184  	0x75, 0x65, 0x73, 0x74, 0x2e, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x74, 0x72, 0x69, 0x70, 0x70, 0x65,
   185  	0x72, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x72, 0x74, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
   186  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
   187  	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x0c, 0x43,
   188  	0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x59, 0x0a, 0x04, 0x68,
   189  	0x74, 0x74, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x76, 0x32, 0x72, 0x61,
   190  	0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
   191  	0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
   192  	0x74, 0x2e, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x74, 0x72, 0x69, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x68,
   193  	0x74, 0x74, 0x70, 0x72, 0x74, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   194  	0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x33, 0x82, 0xb5, 0x18, 0x2f, 0x0a, 0x25, 0x74, 0x72,
   195  	0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
   196  	0x72, 0x6f, 0x75, 0x6e, 0x64, 0x74, 0x72, 0x69, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x63, 0x6c, 0x69,
   197  	0x65, 0x6e, 0x74, 0x12, 0x06, 0x68, 0x74, 0x74, 0x70, 0x72, 0x74, 0x22, 0xd5, 0x01, 0x0a, 0x0c,
   198  	0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x59, 0x0a, 0x04,
   199  	0x68, 0x74, 0x74, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x76, 0x32, 0x72,
   200  	0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
   201  	0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65,
   202  	0x73, 0x74, 0x2e, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x74, 0x72, 0x69, 0x70, 0x70, 0x65, 0x72, 0x2e,
   203  	0x68, 0x74, 0x74, 0x70, 0x72, 0x74, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   204  	0x67, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x12, 0x35, 0x0a, 0x17, 0x6e, 0x6f, 0x5f, 0x64, 0x65,
   205  	0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
   206  	0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x6e, 0x6f, 0x44, 0x65, 0x63, 0x6f,
   207  	0x64, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x3a, 0x33,
   208  	0x82, 0xb5, 0x18, 0x2f, 0x0a, 0x25, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
   209  	0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x74, 0x72, 0x69,
   210  	0x70, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x06, 0x68, 0x74, 0x74,
   211  	0x70, 0x72, 0x74, 0x22, 0x3e, 0x0a, 0x0a, 0x48, 0x54, 0x54, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   212  	0x67, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   213  	0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x72, 0x6c, 0x50, 0x72, 0x65, 0x66,
   214  	0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x72, 0x6c, 0x50, 0x72, 0x65,
   215  	0x66, 0x69, 0x78, 0x42, 0xcc, 0x01, 0x0a, 0x3d, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61,
   216  	0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
   217  	0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
   218  	0x74, 0x2e, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x74, 0x72, 0x69, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x68,
   219  	0x74, 0x74, 0x70, 0x72, 0x74, 0x50, 0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
   220  	0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d,
   221  	0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
   222  	0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65,
   223  	0x73, 0x74, 0x2f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x74, 0x72, 0x69, 0x70, 0x70, 0x65, 0x72, 0x2f,
   224  	0x68, 0x74, 0x74, 0x70, 0x72, 0x74, 0xaa, 0x02, 0x39, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43,
   225  	0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e,
   226  	0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52,
   227  	0x6f, 0x75, 0x6e, 0x64, 0x74, 0x72, 0x69, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x74, 0x70,
   228  	0x72, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   229  }
   230  
   231  var (
   232  	file_transport_internet_request_roundtripper_httprt_config_proto_rawDescOnce sync.Once
   233  	file_transport_internet_request_roundtripper_httprt_config_proto_rawDescData = file_transport_internet_request_roundtripper_httprt_config_proto_rawDesc
   234  )
   235  
   236  func file_transport_internet_request_roundtripper_httprt_config_proto_rawDescGZIP() []byte {
   237  	file_transport_internet_request_roundtripper_httprt_config_proto_rawDescOnce.Do(func() {
   238  		file_transport_internet_request_roundtripper_httprt_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_request_roundtripper_httprt_config_proto_rawDescData)
   239  	})
   240  	return file_transport_internet_request_roundtripper_httprt_config_proto_rawDescData
   241  }
   242  
   243  var file_transport_internet_request_roundtripper_httprt_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   244  var file_transport_internet_request_roundtripper_httprt_config_proto_goTypes = []interface{}{
   245  	(*ClientConfig)(nil), // 0: v2ray.core.transport.internet.request.roundtripper.httprt.ClientConfig
   246  	(*ServerConfig)(nil), // 1: v2ray.core.transport.internet.request.roundtripper.httprt.ServerConfig
   247  	(*HTTPConfig)(nil),   // 2: v2ray.core.transport.internet.request.roundtripper.httprt.HTTPConfig
   248  }
   249  var file_transport_internet_request_roundtripper_httprt_config_proto_depIdxs = []int32{
   250  	2, // 0: v2ray.core.transport.internet.request.roundtripper.httprt.ClientConfig.http:type_name -> v2ray.core.transport.internet.request.roundtripper.httprt.HTTPConfig
   251  	2, // 1: v2ray.core.transport.internet.request.roundtripper.httprt.ServerConfig.http:type_name -> v2ray.core.transport.internet.request.roundtripper.httprt.HTTPConfig
   252  	2, // [2:2] is the sub-list for method output_type
   253  	2, // [2:2] is the sub-list for method input_type
   254  	2, // [2:2] is the sub-list for extension type_name
   255  	2, // [2:2] is the sub-list for extension extendee
   256  	0, // [0:2] is the sub-list for field type_name
   257  }
   258  
   259  func init() { file_transport_internet_request_roundtripper_httprt_config_proto_init() }
   260  func file_transport_internet_request_roundtripper_httprt_config_proto_init() {
   261  	if File_transport_internet_request_roundtripper_httprt_config_proto != nil {
   262  		return
   263  	}
   264  	if !protoimpl.UnsafeEnabled {
   265  		file_transport_internet_request_roundtripper_httprt_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   266  			switch v := v.(*ClientConfig); i {
   267  			case 0:
   268  				return &v.state
   269  			case 1:
   270  				return &v.sizeCache
   271  			case 2:
   272  				return &v.unknownFields
   273  			default:
   274  				return nil
   275  			}
   276  		}
   277  		file_transport_internet_request_roundtripper_httprt_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   278  			switch v := v.(*ServerConfig); i {
   279  			case 0:
   280  				return &v.state
   281  			case 1:
   282  				return &v.sizeCache
   283  			case 2:
   284  				return &v.unknownFields
   285  			default:
   286  				return nil
   287  			}
   288  		}
   289  		file_transport_internet_request_roundtripper_httprt_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   290  			switch v := v.(*HTTPConfig); i {
   291  			case 0:
   292  				return &v.state
   293  			case 1:
   294  				return &v.sizeCache
   295  			case 2:
   296  				return &v.unknownFields
   297  			default:
   298  				return nil
   299  			}
   300  		}
   301  	}
   302  	type x struct{}
   303  	out := protoimpl.TypeBuilder{
   304  		File: protoimpl.DescBuilder{
   305  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   306  			RawDescriptor: file_transport_internet_request_roundtripper_httprt_config_proto_rawDesc,
   307  			NumEnums:      0,
   308  			NumMessages:   3,
   309  			NumExtensions: 0,
   310  			NumServices:   0,
   311  		},
   312  		GoTypes:           file_transport_internet_request_roundtripper_httprt_config_proto_goTypes,
   313  		DependencyIndexes: file_transport_internet_request_roundtripper_httprt_config_proto_depIdxs,
   314  		MessageInfos:      file_transport_internet_request_roundtripper_httprt_config_proto_msgTypes,
   315  	}.Build()
   316  	File_transport_internet_request_roundtripper_httprt_config_proto = out.File
   317  	file_transport_internet_request_roundtripper_httprt_config_proto_rawDesc = nil
   318  	file_transport_internet_request_roundtripper_httprt_config_proto_goTypes = nil
   319  	file_transport_internet_request_roundtripper_httprt_config_proto_depIdxs = nil
   320  }