github.com/v2fly/v2ray-core/v4@v4.45.2/transport/internet/tls/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.27.1
     4  // 	protoc        v3.17.3
     5  // source: transport/internet/tls/config.proto
     6  
     7  package tls
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type Certificate_Usage int32
    24  
    25  const (
    26  	Certificate_ENCIPHERMENT            Certificate_Usage = 0
    27  	Certificate_AUTHORITY_VERIFY        Certificate_Usage = 1
    28  	Certificate_AUTHORITY_ISSUE         Certificate_Usage = 2
    29  	Certificate_AUTHORITY_VERIFY_CLIENT Certificate_Usage = 3
    30  )
    31  
    32  // Enum value maps for Certificate_Usage.
    33  var (
    34  	Certificate_Usage_name = map[int32]string{
    35  		0: "ENCIPHERMENT",
    36  		1: "AUTHORITY_VERIFY",
    37  		2: "AUTHORITY_ISSUE",
    38  		3: "AUTHORITY_VERIFY_CLIENT",
    39  	}
    40  	Certificate_Usage_value = map[string]int32{
    41  		"ENCIPHERMENT":            0,
    42  		"AUTHORITY_VERIFY":        1,
    43  		"AUTHORITY_ISSUE":         2,
    44  		"AUTHORITY_VERIFY_CLIENT": 3,
    45  	}
    46  )
    47  
    48  func (x Certificate_Usage) Enum() *Certificate_Usage {
    49  	p := new(Certificate_Usage)
    50  	*p = x
    51  	return p
    52  }
    53  
    54  func (x Certificate_Usage) String() string {
    55  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    56  }
    57  
    58  func (Certificate_Usage) Descriptor() protoreflect.EnumDescriptor {
    59  	return file_transport_internet_tls_config_proto_enumTypes[0].Descriptor()
    60  }
    61  
    62  func (Certificate_Usage) Type() protoreflect.EnumType {
    63  	return &file_transport_internet_tls_config_proto_enumTypes[0]
    64  }
    65  
    66  func (x Certificate_Usage) Number() protoreflect.EnumNumber {
    67  	return protoreflect.EnumNumber(x)
    68  }
    69  
    70  // Deprecated: Use Certificate_Usage.Descriptor instead.
    71  func (Certificate_Usage) EnumDescriptor() ([]byte, []int) {
    72  	return file_transport_internet_tls_config_proto_rawDescGZIP(), []int{0, 0}
    73  }
    74  
    75  type Certificate struct {
    76  	state         protoimpl.MessageState
    77  	sizeCache     protoimpl.SizeCache
    78  	unknownFields protoimpl.UnknownFields
    79  
    80  	// TLS certificate in x509 format.
    81  	Certificate []byte `protobuf:"bytes,1,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
    82  	// TLS key in x509 format.
    83  	Key   []byte            `protobuf:"bytes,2,opt,name=Key,proto3" json:"Key,omitempty"`
    84  	Usage Certificate_Usage `protobuf:"varint,3,opt,name=usage,proto3,enum=v2ray.core.transport.internet.tls.Certificate_Usage" json:"usage,omitempty"`
    85  }
    86  
    87  func (x *Certificate) Reset() {
    88  	*x = Certificate{}
    89  	if protoimpl.UnsafeEnabled {
    90  		mi := &file_transport_internet_tls_config_proto_msgTypes[0]
    91  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    92  		ms.StoreMessageInfo(mi)
    93  	}
    94  }
    95  
    96  func (x *Certificate) String() string {
    97  	return protoimpl.X.MessageStringOf(x)
    98  }
    99  
   100  func (*Certificate) ProtoMessage() {}
   101  
   102  func (x *Certificate) ProtoReflect() protoreflect.Message {
   103  	mi := &file_transport_internet_tls_config_proto_msgTypes[0]
   104  	if protoimpl.UnsafeEnabled && x != nil {
   105  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   106  		if ms.LoadMessageInfo() == nil {
   107  			ms.StoreMessageInfo(mi)
   108  		}
   109  		return ms
   110  	}
   111  	return mi.MessageOf(x)
   112  }
   113  
   114  // Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
   115  func (*Certificate) Descriptor() ([]byte, []int) {
   116  	return file_transport_internet_tls_config_proto_rawDescGZIP(), []int{0}
   117  }
   118  
   119  func (x *Certificate) GetCertificate() []byte {
   120  	if x != nil {
   121  		return x.Certificate
   122  	}
   123  	return nil
   124  }
   125  
   126  func (x *Certificate) GetKey() []byte {
   127  	if x != nil {
   128  		return x.Key
   129  	}
   130  	return nil
   131  }
   132  
   133  func (x *Certificate) GetUsage() Certificate_Usage {
   134  	if x != nil {
   135  		return x.Usage
   136  	}
   137  	return Certificate_ENCIPHERMENT
   138  }
   139  
   140  type Config struct {
   141  	state         protoimpl.MessageState
   142  	sizeCache     protoimpl.SizeCache
   143  	unknownFields protoimpl.UnknownFields
   144  
   145  	// Whether or not to allow self-signed certificates.
   146  	AllowInsecure bool `protobuf:"varint,1,opt,name=allow_insecure,json=allowInsecure,proto3" json:"allow_insecure,omitempty"`
   147  	// List of certificates to be served on server.
   148  	Certificate []*Certificate `protobuf:"bytes,2,rep,name=certificate,proto3" json:"certificate,omitempty"`
   149  	// Override server name.
   150  	ServerName string `protobuf:"bytes,3,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
   151  	// Lists of string as ALPN values.
   152  	NextProtocol []string `protobuf:"bytes,4,rep,name=next_protocol,json=nextProtocol,proto3" json:"next_protocol,omitempty"`
   153  	// Whether or not to enable session (ticket) resumption.
   154  	EnableSessionResumption bool `protobuf:"varint,5,opt,name=enable_session_resumption,json=enableSessionResumption,proto3" json:"enable_session_resumption,omitempty"`
   155  	// If true, root certificates on the system will not be loaded for
   156  	// verification.
   157  	DisableSystemRoot bool `protobuf:"varint,6,opt,name=disable_system_root,json=disableSystemRoot,proto3" json:"disable_system_root,omitempty"`
   158  	// @Document A pinned certificate chain sha256 hash.
   159  	//@Document If the server's hash does not match this value, the connection will be aborted.
   160  	//@Document This value replace allow_insecure.
   161  	//@Critical
   162  	PinnedPeerCertificateChainSha256 [][]byte `protobuf:"bytes,7,rep,name=pinned_peer_certificate_chain_sha256,json=pinnedPeerCertificateChainSha256,proto3" json:"pinned_peer_certificate_chain_sha256,omitempty"`
   163  	// If true, the client is required to present a certificate.
   164  	VerifyClientCertificate bool `protobuf:"varint,8,opt,name=verify_client_certificate,json=verifyClientCertificate,proto3" json:"verify_client_certificate,omitempty"`
   165  }
   166  
   167  func (x *Config) Reset() {
   168  	*x = Config{}
   169  	if protoimpl.UnsafeEnabled {
   170  		mi := &file_transport_internet_tls_config_proto_msgTypes[1]
   171  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   172  		ms.StoreMessageInfo(mi)
   173  	}
   174  }
   175  
   176  func (x *Config) String() string {
   177  	return protoimpl.X.MessageStringOf(x)
   178  }
   179  
   180  func (*Config) ProtoMessage() {}
   181  
   182  func (x *Config) ProtoReflect() protoreflect.Message {
   183  	mi := &file_transport_internet_tls_config_proto_msgTypes[1]
   184  	if protoimpl.UnsafeEnabled && x != nil {
   185  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   186  		if ms.LoadMessageInfo() == nil {
   187  			ms.StoreMessageInfo(mi)
   188  		}
   189  		return ms
   190  	}
   191  	return mi.MessageOf(x)
   192  }
   193  
   194  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
   195  func (*Config) Descriptor() ([]byte, []int) {
   196  	return file_transport_internet_tls_config_proto_rawDescGZIP(), []int{1}
   197  }
   198  
   199  func (x *Config) GetAllowInsecure() bool {
   200  	if x != nil {
   201  		return x.AllowInsecure
   202  	}
   203  	return false
   204  }
   205  
   206  func (x *Config) GetCertificate() []*Certificate {
   207  	if x != nil {
   208  		return x.Certificate
   209  	}
   210  	return nil
   211  }
   212  
   213  func (x *Config) GetServerName() string {
   214  	if x != nil {
   215  		return x.ServerName
   216  	}
   217  	return ""
   218  }
   219  
   220  func (x *Config) GetNextProtocol() []string {
   221  	if x != nil {
   222  		return x.NextProtocol
   223  	}
   224  	return nil
   225  }
   226  
   227  func (x *Config) GetEnableSessionResumption() bool {
   228  	if x != nil {
   229  		return x.EnableSessionResumption
   230  	}
   231  	return false
   232  }
   233  
   234  func (x *Config) GetDisableSystemRoot() bool {
   235  	if x != nil {
   236  		return x.DisableSystemRoot
   237  	}
   238  	return false
   239  }
   240  
   241  func (x *Config) GetPinnedPeerCertificateChainSha256() [][]byte {
   242  	if x != nil {
   243  		return x.PinnedPeerCertificateChainSha256
   244  	}
   245  	return nil
   246  }
   247  
   248  func (x *Config) GetVerifyClientCertificate() bool {
   249  	if x != nil {
   250  		return x.VerifyClientCertificate
   251  	}
   252  	return false
   253  }
   254  
   255  var File_transport_internet_tls_config_proto protoreflect.FileDescriptor
   256  
   257  var file_transport_internet_tls_config_proto_rawDesc = []byte{
   258  	0x0a, 0x23, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
   259  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x74, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   260  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
   261  	0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65,
   262  	0x72, 0x6e, 0x65, 0x74, 0x2e, 0x74, 0x6c, 0x73, 0x22, 0xf0, 0x01, 0x0a, 0x0b, 0x43, 0x65, 0x72,
   263  	0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x65, 0x72, 0x74,
   264  	0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x43,
   265  	0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x65,
   266  	0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x4a, 0x0a, 0x05,
   267  	0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x76, 0x32,
   268  	0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
   269  	0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x74, 0x6c, 0x73, 0x2e,
   270  	0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x55, 0x73, 0x61, 0x67,
   271  	0x65, 0x52, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x22, 0x61, 0x0a, 0x05, 0x55, 0x73, 0x61, 0x67,
   272  	0x65, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x4e, 0x43, 0x49, 0x50, 0x48, 0x45, 0x52, 0x4d, 0x45, 0x4e,
   273  	0x54, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x54, 0x59,
   274  	0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x55, 0x54,
   275  	0x48, 0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x10, 0x02, 0x12, 0x1b,
   276  	0x0a, 0x17, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x56, 0x45, 0x52, 0x49,
   277  	0x46, 0x59, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x22, 0xbf, 0x03, 0x0a, 0x06,
   278  	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f,
   279  	0x69, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d,
   280  	0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x12, 0x50, 0x0a,
   281  	0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x03,
   282  	0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
   283  	0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   284  	0x65, 0x74, 0x2e, 0x74, 0x6c, 0x73, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
   285  	0x74, 0x65, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12,
   286  	0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
   287  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65,
   288  	0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
   289  	0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f,
   290  	0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f,
   291  	0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69,
   292  	0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
   293  	0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69, 0x6f,
   294  	0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x79, 0x73,
   295  	0x74, 0x65, 0x6d, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11,
   296  	0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x6f, 0x6f,
   297  	0x74, 0x12, 0x4e, 0x0a, 0x24, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x65, 0x72,
   298  	0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61,
   299  	0x69, 0x6e, 0x5f, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0c, 0x52,
   300  	0x20, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x50, 0x65, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69,
   301  	0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x68, 0x61, 0x32, 0x35,
   302  	0x36, 0x12, 0x3a, 0x0a, 0x19, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6c, 0x69, 0x65,
   303  	0x6e, 0x74, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x08,
   304  	0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6c, 0x69, 0x65,
   305  	0x6e, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x84, 0x01,
   306  	0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
   307  	0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
   308  	0x6e, 0x65, 0x74, 0x2e, 0x74, 0x6c, 0x73, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75,
   309  	0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61,
   310  	0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
   311  	0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x74, 0x6c, 0x73,
   312  	0xaa, 0x02, 0x21, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72,
   313  	0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
   314  	0x2e, 0x54, 0x6c, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   315  }
   316  
   317  var (
   318  	file_transport_internet_tls_config_proto_rawDescOnce sync.Once
   319  	file_transport_internet_tls_config_proto_rawDescData = file_transport_internet_tls_config_proto_rawDesc
   320  )
   321  
   322  func file_transport_internet_tls_config_proto_rawDescGZIP() []byte {
   323  	file_transport_internet_tls_config_proto_rawDescOnce.Do(func() {
   324  		file_transport_internet_tls_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_tls_config_proto_rawDescData)
   325  	})
   326  	return file_transport_internet_tls_config_proto_rawDescData
   327  }
   328  
   329  var file_transport_internet_tls_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   330  var file_transport_internet_tls_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   331  var file_transport_internet_tls_config_proto_goTypes = []interface{}{
   332  	(Certificate_Usage)(0), // 0: v2ray.core.transport.internet.tls.Certificate.Usage
   333  	(*Certificate)(nil),    // 1: v2ray.core.transport.internet.tls.Certificate
   334  	(*Config)(nil),         // 2: v2ray.core.transport.internet.tls.Config
   335  }
   336  var file_transport_internet_tls_config_proto_depIdxs = []int32{
   337  	0, // 0: v2ray.core.transport.internet.tls.Certificate.usage:type_name -> v2ray.core.transport.internet.tls.Certificate.Usage
   338  	1, // 1: v2ray.core.transport.internet.tls.Config.certificate:type_name -> v2ray.core.transport.internet.tls.Certificate
   339  	2, // [2:2] is the sub-list for method output_type
   340  	2, // [2:2] is the sub-list for method input_type
   341  	2, // [2:2] is the sub-list for extension type_name
   342  	2, // [2:2] is the sub-list for extension extendee
   343  	0, // [0:2] is the sub-list for field type_name
   344  }
   345  
   346  func init() { file_transport_internet_tls_config_proto_init() }
   347  func file_transport_internet_tls_config_proto_init() {
   348  	if File_transport_internet_tls_config_proto != nil {
   349  		return
   350  	}
   351  	if !protoimpl.UnsafeEnabled {
   352  		file_transport_internet_tls_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   353  			switch v := v.(*Certificate); i {
   354  			case 0:
   355  				return &v.state
   356  			case 1:
   357  				return &v.sizeCache
   358  			case 2:
   359  				return &v.unknownFields
   360  			default:
   361  				return nil
   362  			}
   363  		}
   364  		file_transport_internet_tls_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   365  			switch v := v.(*Config); i {
   366  			case 0:
   367  				return &v.state
   368  			case 1:
   369  				return &v.sizeCache
   370  			case 2:
   371  				return &v.unknownFields
   372  			default:
   373  				return nil
   374  			}
   375  		}
   376  	}
   377  	type x struct{}
   378  	out := protoimpl.TypeBuilder{
   379  		File: protoimpl.DescBuilder{
   380  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   381  			RawDescriptor: file_transport_internet_tls_config_proto_rawDesc,
   382  			NumEnums:      1,
   383  			NumMessages:   2,
   384  			NumExtensions: 0,
   385  			NumServices:   0,
   386  		},
   387  		GoTypes:           file_transport_internet_tls_config_proto_goTypes,
   388  		DependencyIndexes: file_transport_internet_tls_config_proto_depIdxs,
   389  		EnumInfos:         file_transport_internet_tls_config_proto_enumTypes,
   390  		MessageInfos:      file_transport_internet_tls_config_proto_msgTypes,
   391  	}.Build()
   392  	File_transport_internet_tls_config_proto = out.File
   393  	file_transport_internet_tls_config_proto_rawDesc = nil
   394  	file_transport_internet_tls_config_proto_goTypes = nil
   395  	file_transport_internet_tls_config_proto_depIdxs = nil
   396  }