2020-08-24 08:10:26 -04:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.25.0
|
2021-03-07 16:12:27 -05:00
|
|
|
// protoc v3.15.5
|
2020-08-24 08:10:26 -04:00
|
|
|
// source: transport/internet/headers/http/config.proto
|
|
|
|
|
2017-01-02 14:52:45 -05:00
|
|
|
package http
|
|
|
|
|
2018-09-17 09:12:58 -04:00
|
|
|
import (
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
2020-06-08 04:16:32 -04:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2018-09-17 09:12:58 -04:00
|
|
|
)
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
|
// of the legacy proto package is being used.
|
|
|
|
const _ = proto.ProtoPackageIsVersion4
|
2017-01-02 14:52:45 -05:00
|
|
|
|
|
|
|
type Header struct {
|
2020-06-08 04:16:32 -04:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2017-01-02 14:52:45 -05:00
|
|
|
// "Accept", "Cookie", etc
|
2018-06-26 10:28:54 -04:00
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
2020-10-04 20:36:40 -04:00
|
|
|
// Each entry must be valid in one piece. Random entry will be chosen if
|
|
|
|
// multiple entries present.
|
2020-06-08 04:16:32 -04:00
|
|
|
Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"`
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Header) Reset() {
|
|
|
|
*x = Header{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[0]
|
2020-06-08 04:16:32 -04:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2018-09-30 12:39:28 -04:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Header) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2020-06-08 04:16:32 -04:00
|
|
|
|
|
|
|
func (*Header) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Header) ProtoReflect() protoreflect.Message {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[0]
|
2020-06-08 04:16:32 -04:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
// Deprecated: Use Header.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Header) Descriptor() ([]byte, []int) {
|
2020-08-24 08:10:26 -04:00
|
|
|
return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{0}
|
2020-06-08 04:16:32 -04:00
|
|
|
}
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Header) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Header) GetValue() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Value
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// HTTP version. Default value "1.1".
|
|
|
|
type Version struct {
|
2020-06-08 04:16:32 -04:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2018-09-30 12:39:28 -04:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Version) Reset() {
|
|
|
|
*x = Version{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[1]
|
2020-06-08 04:16:32 -04:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2020-06-08 04:16:32 -04:00
|
|
|
|
|
|
|
func (x *Version) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2020-06-08 04:16:32 -04:00
|
|
|
|
|
|
|
func (*Version) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Version) ProtoReflect() protoreflect.Message {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[1]
|
2020-06-08 04:16:32 -04:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
// Deprecated: Use Version.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Version) Descriptor() ([]byte, []int) {
|
2020-08-24 08:10:26 -04:00
|
|
|
return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{1}
|
2020-06-08 04:16:32 -04:00
|
|
|
}
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Version) GetValue() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Value
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
// HTTP method. Default value "GET".
|
|
|
|
type Method struct {
|
2020-06-08 04:16:32 -04:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-25 05:56:01 -04:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2018-09-30 12:39:28 -04:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Method) Reset() {
|
|
|
|
*x = Method{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[2]
|
2020-06-08 04:16:32 -04:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2020-06-08 04:16:32 -04:00
|
|
|
|
|
|
|
func (x *Method) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2020-06-08 04:16:32 -04:00
|
|
|
|
|
|
|
func (*Method) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Method) ProtoReflect() protoreflect.Message {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[2]
|
2020-06-08 04:16:32 -04:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
// Deprecated: Use Method.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Method) Descriptor() ([]byte, []int) {
|
2020-08-24 08:10:26 -04:00
|
|
|
return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{2}
|
2020-06-08 04:16:32 -04:00
|
|
|
}
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Method) GetValue() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Value
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type RequestConfig struct {
|
2020-06-08 04:16:32 -04:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2017-01-02 14:52:45 -05:00
|
|
|
// Full HTTP version like "1.1".
|
2018-06-26 10:28:54 -04:00
|
|
|
Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
2017-01-02 14:52:45 -05:00
|
|
|
// GET, POST, CONNECT etc
|
2018-06-26 10:28:54 -04:00
|
|
|
Method *Method `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
|
2017-01-02 14:52:45 -05:00
|
|
|
// URI like "/login.php"
|
2020-06-08 04:16:32 -04:00
|
|
|
Uri []string `protobuf:"bytes,3,rep,name=uri,proto3" json:"uri,omitempty"`
|
|
|
|
Header []*Header `protobuf:"bytes,4,rep,name=header,proto3" json:"header,omitempty"`
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *RequestConfig) Reset() {
|
|
|
|
*x = RequestConfig{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[3]
|
2020-06-08 04:16:32 -04:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2018-09-30 12:39:28 -04:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *RequestConfig) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2020-06-08 04:16:32 -04:00
|
|
|
|
|
|
|
func (*RequestConfig) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *RequestConfig) ProtoReflect() protoreflect.Message {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[3]
|
2020-06-08 04:16:32 -04:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
// Deprecated: Use RequestConfig.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RequestConfig) Descriptor() ([]byte, []int) {
|
2020-08-24 08:10:26 -04:00
|
|
|
return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{3}
|
2020-06-08 04:16:32 -04:00
|
|
|
}
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *RequestConfig) GetVersion() *Version {
|
|
|
|
if x != nil {
|
|
|
|
return x.Version
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *RequestConfig) GetMethod() *Method {
|
|
|
|
if x != nil {
|
|
|
|
return x.Method
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *RequestConfig) GetUri() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Uri
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *RequestConfig) GetHeader() []*Header {
|
|
|
|
if x != nil {
|
|
|
|
return x.Header
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Status struct {
|
2020-06-08 04:16:32 -04:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2017-01-02 14:52:45 -05:00
|
|
|
// Status code. Default "200".
|
2018-06-26 10:28:54 -04:00
|
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
2017-01-02 14:52:45 -05:00
|
|
|
// Statue reason. Default "OK".
|
2020-06-08 04:16:32 -04:00
|
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Status) Reset() {
|
|
|
|
*x = Status{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[4]
|
2020-06-08 04:16:32 -04:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2018-09-30 12:39:28 -04:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Status) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2020-06-08 04:16:32 -04:00
|
|
|
|
|
|
|
func (*Status) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Status) ProtoReflect() protoreflect.Message {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[4]
|
2020-06-08 04:16:32 -04:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
// Deprecated: Use Status.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Status) Descriptor() ([]byte, []int) {
|
2020-08-24 08:10:26 -04:00
|
|
|
return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{4}
|
2020-06-08 04:16:32 -04:00
|
|
|
}
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Status) GetCode() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Code
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Status) GetReason() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Reason
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResponseConfig struct {
|
2020-06-08 04:16:32 -04:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-25 05:56:01 -04:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
Status *Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
|
Header []*Header `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"`
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2018-09-30 12:39:28 -04:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *ResponseConfig) Reset() {
|
|
|
|
*x = ResponseConfig{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[5]
|
2020-06-08 04:16:32 -04:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2020-06-08 04:16:32 -04:00
|
|
|
|
|
|
|
func (x *ResponseConfig) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2020-06-08 04:16:32 -04:00
|
|
|
|
|
|
|
func (*ResponseConfig) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ResponseConfig) ProtoReflect() protoreflect.Message {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[5]
|
2020-06-08 04:16:32 -04:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
// Deprecated: Use ResponseConfig.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ResponseConfig) Descriptor() ([]byte, []int) {
|
2020-08-24 08:10:26 -04:00
|
|
|
return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{5}
|
2020-06-08 04:16:32 -04:00
|
|
|
}
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *ResponseConfig) GetVersion() *Version {
|
|
|
|
if x != nil {
|
|
|
|
return x.Version
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *ResponseConfig) GetStatus() *Status {
|
|
|
|
if x != nil {
|
|
|
|
return x.Status
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *ResponseConfig) GetHeader() []*Header {
|
|
|
|
if x != nil {
|
|
|
|
return x.Header
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Config struct {
|
2020-06-08 04:16:32 -04:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2020-10-04 20:36:40 -04:00
|
|
|
// Settings for authenticating requests. If not set, client side will not send
|
|
|
|
// authenication header, and server side will bypass authentication.
|
2018-06-26 10:28:54 -04:00
|
|
|
Request *RequestConfig `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
|
2020-10-04 20:36:40 -04:00
|
|
|
// Settings for authenticating responses. If not set, client side will bypass
|
|
|
|
// authentication, and server side will not send authentication header.
|
2020-06-08 04:16:32 -04:00
|
|
|
Response *ResponseConfig `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Config) Reset() {
|
|
|
|
*x = Config{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[6]
|
2020-06-08 04:16:32 -04:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2018-09-30 12:39:28 -04:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Config) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2020-06-08 04:16:32 -04:00
|
|
|
|
|
|
|
func (*Config) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Config) ProtoReflect() protoreflect.Message {
|
2020-08-24 08:10:26 -04:00
|
|
|
mi := &file_transport_internet_headers_http_config_proto_msgTypes[6]
|
2020-06-08 04:16:32 -04:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
// Deprecated: Use Config.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Config) Descriptor() ([]byte, []int) {
|
2020-08-24 08:10:26 -04:00
|
|
|
return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{6}
|
2020-06-08 04:16:32 -04:00
|
|
|
}
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Config) GetRequest() *RequestConfig {
|
|
|
|
if x != nil {
|
|
|
|
return x.Request
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-08 04:16:32 -04:00
|
|
|
func (x *Config) GetResponse() *ResponseConfig {
|
|
|
|
if x != nil {
|
|
|
|
return x.Response
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-08-24 08:10:26 -04:00
|
|
|
var File_transport_internet_headers_http_config_proto protoreflect.FileDescriptor
|
2020-06-08 04:16:32 -04:00
|
|
|
|
2020-08-24 08:10:26 -04:00
|
|
|
var file_transport_internet_headers_http_config_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
|
|
|
|
0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x68, 0x74, 0x74,
|
|
|
|
0x70, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a,
|
2020-06-08 04:16:32 -04:00
|
|
|
0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
|
|
|
|
0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65,
|
2020-08-24 08:10:26 -04:00
|
|
|
0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x22, 0x32, 0x0a, 0x06, 0x48, 0x65,
|
|
|
|
0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1f,
|
|
|
|
0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
|
|
0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
|
|
|
|
0x1e, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
|
|
0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
|
|
|
|
0x88, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
|
|
0x67, 0x12, 0x4d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
|
|
|
|
0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
|
|
|
|
0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e,
|
|
|
|
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
|
|
0x12, 0x4a, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x32, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72,
|
|
|
|
0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
|
|
|
|
0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x4d, 0x65,
|
|
|
|
0x74, 0x68, 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03,
|
|
|
|
0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x4a,
|
|
|
|
0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32,
|
|
|
|
0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e,
|
|
|
|
0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68,
|
|
|
|
0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x48, 0x65, 0x61, 0x64,
|
|
|
|
0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x34, 0x0a, 0x06, 0x53, 0x74,
|
|
|
|
0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73,
|
|
|
|
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e,
|
|
|
|
0x22, 0xf7, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e,
|
|
|
|
0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
|
|
|
|
0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65,
|
|
|
|
0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74,
|
|
|
|
0x70, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
|
|
|
|
0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
|
|
|
|
0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
|
|
|
|
0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e,
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4a,
|
|
|
|
0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32,
|
|
|
|
0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e,
|
|
|
|
0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68,
|
|
|
|
0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x48, 0x65, 0x61, 0x64,
|
|
|
|
0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0xb5, 0x01, 0x0a, 0x06, 0x43,
|
|
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x53, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
|
2020-06-08 04:16:32 -04:00
|
|
|
0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e,
|
|
|
|
0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68,
|
2020-08-24 08:10:26 -04:00
|
|
|
0x74, 0x74, 0x70, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
|
|
0x67, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x08, 0x72, 0x65,
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x76,
|
|
|
|
0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
|
|
|
|
0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61,
|
|
|
|
0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
2021-02-16 15:31:50 -05:00
|
|
|
0x73, 0x65, 0x42, 0x9f, 0x01, 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
|
2020-08-24 08:10:26 -04:00
|
|
|
0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
|
|
|
|
0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
|
2021-02-16 15:31:50 -05:00
|
|
|
0x2e, 0x68, 0x74, 0x74, 0x70, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
|
|
|
0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d,
|
|
|
|
0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
|
2020-08-24 08:10:26 -04:00
|
|
|
0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65,
|
|
|
|
0x72, 0x73, 0x2f, 0x68, 0x74, 0x74, 0x70, 0xaa, 0x02, 0x2a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e,
|
|
|
|
0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49,
|
|
|
|
0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e,
|
|
|
|
0x48, 0x74, 0x74, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2020-06-08 04:16:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
2020-08-24 08:10:26 -04:00
|
|
|
file_transport_internet_headers_http_config_proto_rawDescOnce sync.Once
|
|
|
|
file_transport_internet_headers_http_config_proto_rawDescData = file_transport_internet_headers_http_config_proto_rawDesc
|
2020-06-08 04:16:32 -04:00
|
|
|
)
|
|
|
|
|
2020-08-24 08:10:26 -04:00
|
|
|
func file_transport_internet_headers_http_config_proto_rawDescGZIP() []byte {
|
|
|
|
file_transport_internet_headers_http_config_proto_rawDescOnce.Do(func() {
|
|
|
|
file_transport_internet_headers_http_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_http_config_proto_rawDescData)
|
2020-06-08 04:16:32 -04:00
|
|
|
})
|
2020-08-24 08:10:26 -04:00
|
|
|
return file_transport_internet_headers_http_config_proto_rawDescData
|
2020-06-08 04:16:32 -04:00
|
|
|
}
|
|
|
|
|
2020-08-24 08:10:26 -04:00
|
|
|
var file_transport_internet_headers_http_config_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
|
|
var file_transport_internet_headers_http_config_proto_goTypes = []interface{}{
|
2020-06-08 04:16:32 -04:00
|
|
|
(*Header)(nil), // 0: v2ray.core.transport.internet.headers.http.Header
|
|
|
|
(*Version)(nil), // 1: v2ray.core.transport.internet.headers.http.Version
|
|
|
|
(*Method)(nil), // 2: v2ray.core.transport.internet.headers.http.Method
|
|
|
|
(*RequestConfig)(nil), // 3: v2ray.core.transport.internet.headers.http.RequestConfig
|
|
|
|
(*Status)(nil), // 4: v2ray.core.transport.internet.headers.http.Status
|
|
|
|
(*ResponseConfig)(nil), // 5: v2ray.core.transport.internet.headers.http.ResponseConfig
|
|
|
|
(*Config)(nil), // 6: v2ray.core.transport.internet.headers.http.Config
|
|
|
|
}
|
2020-08-24 08:10:26 -04:00
|
|
|
var file_transport_internet_headers_http_config_proto_depIdxs = []int32{
|
2020-06-08 04:16:32 -04:00
|
|
|
1, // 0: v2ray.core.transport.internet.headers.http.RequestConfig.version:type_name -> v2ray.core.transport.internet.headers.http.Version
|
|
|
|
2, // 1: v2ray.core.transport.internet.headers.http.RequestConfig.method:type_name -> v2ray.core.transport.internet.headers.http.Method
|
|
|
|
0, // 2: v2ray.core.transport.internet.headers.http.RequestConfig.header:type_name -> v2ray.core.transport.internet.headers.http.Header
|
|
|
|
1, // 3: v2ray.core.transport.internet.headers.http.ResponseConfig.version:type_name -> v2ray.core.transport.internet.headers.http.Version
|
|
|
|
4, // 4: v2ray.core.transport.internet.headers.http.ResponseConfig.status:type_name -> v2ray.core.transport.internet.headers.http.Status
|
|
|
|
0, // 5: v2ray.core.transport.internet.headers.http.ResponseConfig.header:type_name -> v2ray.core.transport.internet.headers.http.Header
|
|
|
|
3, // 6: v2ray.core.transport.internet.headers.http.Config.request:type_name -> v2ray.core.transport.internet.headers.http.RequestConfig
|
|
|
|
5, // 7: v2ray.core.transport.internet.headers.http.Config.response:type_name -> v2ray.core.transport.internet.headers.http.ResponseConfig
|
|
|
|
8, // [8:8] is the sub-list for method output_type
|
|
|
|
8, // [8:8] is the sub-list for method input_type
|
|
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
|
|
0, // [0:8] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
|
2020-08-24 08:10:26 -04:00
|
|
|
func init() { file_transport_internet_headers_http_config_proto_init() }
|
|
|
|
func file_transport_internet_headers_http_config_proto_init() {
|
|
|
|
if File_transport_internet_headers_http_config_proto != nil {
|
2020-06-08 04:16:32 -04:00
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
2020-08-24 08:10:26 -04:00
|
|
|
file_transport_internet_headers_http_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
2020-06-08 04:16:32 -04:00
|
|
|
switch v := v.(*Header); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-08-24 08:10:26 -04:00
|
|
|
file_transport_internet_headers_http_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2020-06-08 04:16:32 -04:00
|
|
|
switch v := v.(*Version); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-08-24 08:10:26 -04:00
|
|
|
file_transport_internet_headers_http_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2020-06-08 04:16:32 -04:00
|
|
|
switch v := v.(*Method); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-08-24 08:10:26 -04:00
|
|
|
file_transport_internet_headers_http_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2020-06-08 04:16:32 -04:00
|
|
|
switch v := v.(*RequestConfig); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-08-24 08:10:26 -04:00
|
|
|
file_transport_internet_headers_http_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2020-06-08 04:16:32 -04:00
|
|
|
switch v := v.(*Status); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-08-24 08:10:26 -04:00
|
|
|
file_transport_internet_headers_http_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2020-06-08 04:16:32 -04:00
|
|
|
switch v := v.(*ResponseConfig); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-08-24 08:10:26 -04:00
|
|
|
file_transport_internet_headers_http_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2020-06-08 04:16:32 -04:00
|
|
|
switch v := v.(*Config); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
2020-08-24 08:10:26 -04:00
|
|
|
RawDescriptor: file_transport_internet_headers_http_config_proto_rawDesc,
|
2020-06-08 04:16:32 -04:00
|
|
|
NumEnums: 0,
|
|
|
|
NumMessages: 7,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
2020-08-24 08:10:26 -04:00
|
|
|
GoTypes: file_transport_internet_headers_http_config_proto_goTypes,
|
|
|
|
DependencyIndexes: file_transport_internet_headers_http_config_proto_depIdxs,
|
|
|
|
MessageInfos: file_transport_internet_headers_http_config_proto_msgTypes,
|
2020-06-08 04:16:32 -04:00
|
|
|
}.Build()
|
2020-08-24 08:10:26 -04:00
|
|
|
File_transport_internet_headers_http_config_proto = out.File
|
|
|
|
file_transport_internet_headers_http_config_proto_rawDesc = nil
|
|
|
|
file_transport_internet_headers_http_config_proto_goTypes = nil
|
|
|
|
file_transport_internet_headers_http_config_proto_depIdxs = nil
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|