...

Source file src/google.golang.org/genproto/googleapis/cloud/networksecurity/v1/tls.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/networksecurity/v1

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v3.12.2
    19  // source: google/cloud/networksecurity/v1/tls.proto
    20  
    21  package networksecurity
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // Specification of the GRPC Endpoint.
    40  type GrpcEndpoint struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// Required. The target URI of the gRPC endpoint. Only UDS path is supported, and
    46  	// should start with "unix:".
    47  	TargetUri string `protobuf:"bytes,1,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"`
    48  }
    49  
    50  func (x *GrpcEndpoint) Reset() {
    51  	*x = GrpcEndpoint{}
    52  	if protoimpl.UnsafeEnabled {
    53  		mi := &file_google_cloud_networksecurity_v1_tls_proto_msgTypes[0]
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		ms.StoreMessageInfo(mi)
    56  	}
    57  }
    58  
    59  func (x *GrpcEndpoint) String() string {
    60  	return protoimpl.X.MessageStringOf(x)
    61  }
    62  
    63  func (*GrpcEndpoint) ProtoMessage() {}
    64  
    65  func (x *GrpcEndpoint) ProtoReflect() protoreflect.Message {
    66  	mi := &file_google_cloud_networksecurity_v1_tls_proto_msgTypes[0]
    67  	if protoimpl.UnsafeEnabled && x != nil {
    68  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    69  		if ms.LoadMessageInfo() == nil {
    70  			ms.StoreMessageInfo(mi)
    71  		}
    72  		return ms
    73  	}
    74  	return mi.MessageOf(x)
    75  }
    76  
    77  // Deprecated: Use GrpcEndpoint.ProtoReflect.Descriptor instead.
    78  func (*GrpcEndpoint) Descriptor() ([]byte, []int) {
    79  	return file_google_cloud_networksecurity_v1_tls_proto_rawDescGZIP(), []int{0}
    80  }
    81  
    82  func (x *GrpcEndpoint) GetTargetUri() string {
    83  	if x != nil {
    84  		return x.TargetUri
    85  	}
    86  	return ""
    87  }
    88  
    89  // Specification of ValidationCA. Defines the mechanism to obtain the
    90  // Certificate Authority certificate to validate the peer certificate.
    91  type ValidationCA struct {
    92  	state         protoimpl.MessageState
    93  	sizeCache     protoimpl.SizeCache
    94  	unknownFields protoimpl.UnknownFields
    95  
    96  	// The type of certificate provider which provides the CA certificate.
    97  	//
    98  	// Types that are assignable to Type:
    99  	//	*ValidationCA_GrpcEndpoint
   100  	//	*ValidationCA_CertificateProviderInstance
   101  	Type isValidationCA_Type `protobuf_oneof:"type"`
   102  }
   103  
   104  func (x *ValidationCA) Reset() {
   105  	*x = ValidationCA{}
   106  	if protoimpl.UnsafeEnabled {
   107  		mi := &file_google_cloud_networksecurity_v1_tls_proto_msgTypes[1]
   108  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   109  		ms.StoreMessageInfo(mi)
   110  	}
   111  }
   112  
   113  func (x *ValidationCA) String() string {
   114  	return protoimpl.X.MessageStringOf(x)
   115  }
   116  
   117  func (*ValidationCA) ProtoMessage() {}
   118  
   119  func (x *ValidationCA) ProtoReflect() protoreflect.Message {
   120  	mi := &file_google_cloud_networksecurity_v1_tls_proto_msgTypes[1]
   121  	if protoimpl.UnsafeEnabled && x != nil {
   122  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   123  		if ms.LoadMessageInfo() == nil {
   124  			ms.StoreMessageInfo(mi)
   125  		}
   126  		return ms
   127  	}
   128  	return mi.MessageOf(x)
   129  }
   130  
   131  // Deprecated: Use ValidationCA.ProtoReflect.Descriptor instead.
   132  func (*ValidationCA) Descriptor() ([]byte, []int) {
   133  	return file_google_cloud_networksecurity_v1_tls_proto_rawDescGZIP(), []int{1}
   134  }
   135  
   136  func (m *ValidationCA) GetType() isValidationCA_Type {
   137  	if m != nil {
   138  		return m.Type
   139  	}
   140  	return nil
   141  }
   142  
   143  func (x *ValidationCA) GetGrpcEndpoint() *GrpcEndpoint {
   144  	if x, ok := x.GetType().(*ValidationCA_GrpcEndpoint); ok {
   145  		return x.GrpcEndpoint
   146  	}
   147  	return nil
   148  }
   149  
   150  func (x *ValidationCA) GetCertificateProviderInstance() *CertificateProviderInstance {
   151  	if x, ok := x.GetType().(*ValidationCA_CertificateProviderInstance); ok {
   152  		return x.CertificateProviderInstance
   153  	}
   154  	return nil
   155  }
   156  
   157  type isValidationCA_Type interface {
   158  	isValidationCA_Type()
   159  }
   160  
   161  type ValidationCA_GrpcEndpoint struct {
   162  	// gRPC specific configuration to access the gRPC server to
   163  	// obtain the CA certificate.
   164  	GrpcEndpoint *GrpcEndpoint `protobuf:"bytes,2,opt,name=grpc_endpoint,json=grpcEndpoint,proto3,oneof"`
   165  }
   166  
   167  type ValidationCA_CertificateProviderInstance struct {
   168  	// The certificate provider instance specification that will be passed to
   169  	// the data plane, which will be used to load necessary credential
   170  	// information.
   171  	CertificateProviderInstance *CertificateProviderInstance `protobuf:"bytes,3,opt,name=certificate_provider_instance,json=certificateProviderInstance,proto3,oneof"`
   172  }
   173  
   174  func (*ValidationCA_GrpcEndpoint) isValidationCA_Type() {}
   175  
   176  func (*ValidationCA_CertificateProviderInstance) isValidationCA_Type() {}
   177  
   178  // Specification of a TLS certificate provider instance. Workloads may have one
   179  // or more CertificateProvider instances (plugins) and one of them is enabled
   180  // and configured by specifying this message. Workloads use the values from this
   181  // message to locate and load the CertificateProvider instance configuration.
   182  type CertificateProviderInstance struct {
   183  	state         protoimpl.MessageState
   184  	sizeCache     protoimpl.SizeCache
   185  	unknownFields protoimpl.UnknownFields
   186  
   187  	// Required. Plugin instance name, used to locate and load CertificateProvider instance
   188  	// configuration. Set to "google_cloud_private_spiffe" to use Certificate
   189  	// Authority Service certificate provider instance.
   190  	PluginInstance string `protobuf:"bytes,1,opt,name=plugin_instance,json=pluginInstance,proto3" json:"plugin_instance,omitempty"`
   191  }
   192  
   193  func (x *CertificateProviderInstance) Reset() {
   194  	*x = CertificateProviderInstance{}
   195  	if protoimpl.UnsafeEnabled {
   196  		mi := &file_google_cloud_networksecurity_v1_tls_proto_msgTypes[2]
   197  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   198  		ms.StoreMessageInfo(mi)
   199  	}
   200  }
   201  
   202  func (x *CertificateProviderInstance) String() string {
   203  	return protoimpl.X.MessageStringOf(x)
   204  }
   205  
   206  func (*CertificateProviderInstance) ProtoMessage() {}
   207  
   208  func (x *CertificateProviderInstance) ProtoReflect() protoreflect.Message {
   209  	mi := &file_google_cloud_networksecurity_v1_tls_proto_msgTypes[2]
   210  	if protoimpl.UnsafeEnabled && x != nil {
   211  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   212  		if ms.LoadMessageInfo() == nil {
   213  			ms.StoreMessageInfo(mi)
   214  		}
   215  		return ms
   216  	}
   217  	return mi.MessageOf(x)
   218  }
   219  
   220  // Deprecated: Use CertificateProviderInstance.ProtoReflect.Descriptor instead.
   221  func (*CertificateProviderInstance) Descriptor() ([]byte, []int) {
   222  	return file_google_cloud_networksecurity_v1_tls_proto_rawDescGZIP(), []int{2}
   223  }
   224  
   225  func (x *CertificateProviderInstance) GetPluginInstance() string {
   226  	if x != nil {
   227  		return x.PluginInstance
   228  	}
   229  	return ""
   230  }
   231  
   232  // Specification of certificate provider. Defines the mechanism to obtain the
   233  // certificate and private key for peer to peer authentication.
   234  type CertificateProvider struct {
   235  	state         protoimpl.MessageState
   236  	sizeCache     protoimpl.SizeCache
   237  	unknownFields protoimpl.UnknownFields
   238  
   239  	// The type of certificate provider which provides the certificates and
   240  	// private keys.
   241  	//
   242  	// Types that are assignable to Type:
   243  	//	*CertificateProvider_GrpcEndpoint
   244  	//	*CertificateProvider_CertificateProviderInstance
   245  	Type isCertificateProvider_Type `protobuf_oneof:"type"`
   246  }
   247  
   248  func (x *CertificateProvider) Reset() {
   249  	*x = CertificateProvider{}
   250  	if protoimpl.UnsafeEnabled {
   251  		mi := &file_google_cloud_networksecurity_v1_tls_proto_msgTypes[3]
   252  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   253  		ms.StoreMessageInfo(mi)
   254  	}
   255  }
   256  
   257  func (x *CertificateProvider) String() string {
   258  	return protoimpl.X.MessageStringOf(x)
   259  }
   260  
   261  func (*CertificateProvider) ProtoMessage() {}
   262  
   263  func (x *CertificateProvider) ProtoReflect() protoreflect.Message {
   264  	mi := &file_google_cloud_networksecurity_v1_tls_proto_msgTypes[3]
   265  	if protoimpl.UnsafeEnabled && x != nil {
   266  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   267  		if ms.LoadMessageInfo() == nil {
   268  			ms.StoreMessageInfo(mi)
   269  		}
   270  		return ms
   271  	}
   272  	return mi.MessageOf(x)
   273  }
   274  
   275  // Deprecated: Use CertificateProvider.ProtoReflect.Descriptor instead.
   276  func (*CertificateProvider) Descriptor() ([]byte, []int) {
   277  	return file_google_cloud_networksecurity_v1_tls_proto_rawDescGZIP(), []int{3}
   278  }
   279  
   280  func (m *CertificateProvider) GetType() isCertificateProvider_Type {
   281  	if m != nil {
   282  		return m.Type
   283  	}
   284  	return nil
   285  }
   286  
   287  func (x *CertificateProvider) GetGrpcEndpoint() *GrpcEndpoint {
   288  	if x, ok := x.GetType().(*CertificateProvider_GrpcEndpoint); ok {
   289  		return x.GrpcEndpoint
   290  	}
   291  	return nil
   292  }
   293  
   294  func (x *CertificateProvider) GetCertificateProviderInstance() *CertificateProviderInstance {
   295  	if x, ok := x.GetType().(*CertificateProvider_CertificateProviderInstance); ok {
   296  		return x.CertificateProviderInstance
   297  	}
   298  	return nil
   299  }
   300  
   301  type isCertificateProvider_Type interface {
   302  	isCertificateProvider_Type()
   303  }
   304  
   305  type CertificateProvider_GrpcEndpoint struct {
   306  	// gRPC specific configuration to access the gRPC server to
   307  	// obtain the cert and private key.
   308  	GrpcEndpoint *GrpcEndpoint `protobuf:"bytes,2,opt,name=grpc_endpoint,json=grpcEndpoint,proto3,oneof"`
   309  }
   310  
   311  type CertificateProvider_CertificateProviderInstance struct {
   312  	// The certificate provider instance specification that will be passed to
   313  	// the data plane, which will be used to load necessary credential
   314  	// information.
   315  	CertificateProviderInstance *CertificateProviderInstance `protobuf:"bytes,3,opt,name=certificate_provider_instance,json=certificateProviderInstance,proto3,oneof"`
   316  }
   317  
   318  func (*CertificateProvider_GrpcEndpoint) isCertificateProvider_Type() {}
   319  
   320  func (*CertificateProvider_CertificateProviderInstance) isCertificateProvider_Type() {}
   321  
   322  var File_google_cloud_networksecurity_v1_tls_proto protoreflect.FileDescriptor
   323  
   324  var file_google_cloud_networksecurity_v1_tls_proto_rawDesc = []byte{
   325  	0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e,
   326  	0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x76,
   327  	0x31, 0x2f, 0x74, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f,
   328  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
   329  	0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f,
   330  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
   331  	0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a,
   332  	0x0c, 0x47, 0x72, 0x70, 0x63, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x22, 0x0a,
   333  	0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28,
   334  	0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x72,
   335  	0x69, 0x22, 0xf1, 0x01, 0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   336  	0x43, 0x41, 0x12, 0x54, 0x0a, 0x0d, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f,
   337  	0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   338  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
   339  	0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x70, 0x63,
   340  	0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x67, 0x72, 0x70, 0x63,
   341  	0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x82, 0x01, 0x0a, 0x1d, 0x63, 0x65, 0x72,
   342  	0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
   343  	0x72, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
   344  	0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
   345  	0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e,
   346  	0x76, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x50, 0x72,
   347  	0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x48, 0x00,
   348  	0x52, 0x1b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f,
   349  	0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x06, 0x0a,
   350  	0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4b, 0x0a, 0x1b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
   351  	0x63, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74,
   352  	0x61, 0x6e, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x0f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69,
   353  	0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
   354  	0x41, 0x02, 0x52, 0x0e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
   355  	0x63, 0x65, 0x22, 0xf8, 0x01, 0x0a, 0x13, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
   356  	0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x54, 0x0a, 0x0d, 0x67, 0x72,
   357  	0x70, 0x63, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
   358  	0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   359  	0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
   360  	0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
   361  	0x48, 0x00, 0x52, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
   362  	0x12, 0x82, 0x01, 0x0a, 0x1d, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65,
   363  	0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
   364  	0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   365  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73,
   366  	0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69,
   367  	0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e,
   368  	0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x48, 0x00, 0x52, 0x1b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66,
   369  	0x69, 0x63, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x73,
   370  	0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0xea, 0x01,
   371  	0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
   372  	0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
   373  	0x74, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x54, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
   374  	0x01, 0x5a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
   375  	0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
   376  	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e,
   377  	0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x76,
   378  	0x31, 0x3b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
   379  	0x79, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
   380  	0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
   381  	0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
   382  	0x75, 0x64, 0x5c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69,
   383  	0x74, 0x79, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
   384  	0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65,
   385  	0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   386  	0x6f, 0x33,
   387  }
   388  
   389  var (
   390  	file_google_cloud_networksecurity_v1_tls_proto_rawDescOnce sync.Once
   391  	file_google_cloud_networksecurity_v1_tls_proto_rawDescData = file_google_cloud_networksecurity_v1_tls_proto_rawDesc
   392  )
   393  
   394  func file_google_cloud_networksecurity_v1_tls_proto_rawDescGZIP() []byte {
   395  	file_google_cloud_networksecurity_v1_tls_proto_rawDescOnce.Do(func() {
   396  		file_google_cloud_networksecurity_v1_tls_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_networksecurity_v1_tls_proto_rawDescData)
   397  	})
   398  	return file_google_cloud_networksecurity_v1_tls_proto_rawDescData
   399  }
   400  
   401  var file_google_cloud_networksecurity_v1_tls_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   402  var file_google_cloud_networksecurity_v1_tls_proto_goTypes = []interface{}{
   403  	(*GrpcEndpoint)(nil),                // 0: google.cloud.networksecurity.v1.GrpcEndpoint
   404  	(*ValidationCA)(nil),                // 1: google.cloud.networksecurity.v1.ValidationCA
   405  	(*CertificateProviderInstance)(nil), // 2: google.cloud.networksecurity.v1.CertificateProviderInstance
   406  	(*CertificateProvider)(nil),         // 3: google.cloud.networksecurity.v1.CertificateProvider
   407  }
   408  var file_google_cloud_networksecurity_v1_tls_proto_depIdxs = []int32{
   409  	0, // 0: google.cloud.networksecurity.v1.ValidationCA.grpc_endpoint:type_name -> google.cloud.networksecurity.v1.GrpcEndpoint
   410  	2, // 1: google.cloud.networksecurity.v1.ValidationCA.certificate_provider_instance:type_name -> google.cloud.networksecurity.v1.CertificateProviderInstance
   411  	0, // 2: google.cloud.networksecurity.v1.CertificateProvider.grpc_endpoint:type_name -> google.cloud.networksecurity.v1.GrpcEndpoint
   412  	2, // 3: google.cloud.networksecurity.v1.CertificateProvider.certificate_provider_instance:type_name -> google.cloud.networksecurity.v1.CertificateProviderInstance
   413  	4, // [4:4] is the sub-list for method output_type
   414  	4, // [4:4] is the sub-list for method input_type
   415  	4, // [4:4] is the sub-list for extension type_name
   416  	4, // [4:4] is the sub-list for extension extendee
   417  	0, // [0:4] is the sub-list for field type_name
   418  }
   419  
   420  func init() { file_google_cloud_networksecurity_v1_tls_proto_init() }
   421  func file_google_cloud_networksecurity_v1_tls_proto_init() {
   422  	if File_google_cloud_networksecurity_v1_tls_proto != nil {
   423  		return
   424  	}
   425  	if !protoimpl.UnsafeEnabled {
   426  		file_google_cloud_networksecurity_v1_tls_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   427  			switch v := v.(*GrpcEndpoint); i {
   428  			case 0:
   429  				return &v.state
   430  			case 1:
   431  				return &v.sizeCache
   432  			case 2:
   433  				return &v.unknownFields
   434  			default:
   435  				return nil
   436  			}
   437  		}
   438  		file_google_cloud_networksecurity_v1_tls_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   439  			switch v := v.(*ValidationCA); i {
   440  			case 0:
   441  				return &v.state
   442  			case 1:
   443  				return &v.sizeCache
   444  			case 2:
   445  				return &v.unknownFields
   446  			default:
   447  				return nil
   448  			}
   449  		}
   450  		file_google_cloud_networksecurity_v1_tls_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   451  			switch v := v.(*CertificateProviderInstance); i {
   452  			case 0:
   453  				return &v.state
   454  			case 1:
   455  				return &v.sizeCache
   456  			case 2:
   457  				return &v.unknownFields
   458  			default:
   459  				return nil
   460  			}
   461  		}
   462  		file_google_cloud_networksecurity_v1_tls_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   463  			switch v := v.(*CertificateProvider); i {
   464  			case 0:
   465  				return &v.state
   466  			case 1:
   467  				return &v.sizeCache
   468  			case 2:
   469  				return &v.unknownFields
   470  			default:
   471  				return nil
   472  			}
   473  		}
   474  	}
   475  	file_google_cloud_networksecurity_v1_tls_proto_msgTypes[1].OneofWrappers = []interface{}{
   476  		(*ValidationCA_GrpcEndpoint)(nil),
   477  		(*ValidationCA_CertificateProviderInstance)(nil),
   478  	}
   479  	file_google_cloud_networksecurity_v1_tls_proto_msgTypes[3].OneofWrappers = []interface{}{
   480  		(*CertificateProvider_GrpcEndpoint)(nil),
   481  		(*CertificateProvider_CertificateProviderInstance)(nil),
   482  	}
   483  	type x struct{}
   484  	out := protoimpl.TypeBuilder{
   485  		File: protoimpl.DescBuilder{
   486  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   487  			RawDescriptor: file_google_cloud_networksecurity_v1_tls_proto_rawDesc,
   488  			NumEnums:      0,
   489  			NumMessages:   4,
   490  			NumExtensions: 0,
   491  			NumServices:   0,
   492  		},
   493  		GoTypes:           file_google_cloud_networksecurity_v1_tls_proto_goTypes,
   494  		DependencyIndexes: file_google_cloud_networksecurity_v1_tls_proto_depIdxs,
   495  		MessageInfos:      file_google_cloud_networksecurity_v1_tls_proto_msgTypes,
   496  	}.Build()
   497  	File_google_cloud_networksecurity_v1_tls_proto = out.File
   498  	file_google_cloud_networksecurity_v1_tls_proto_rawDesc = nil
   499  	file_google_cloud_networksecurity_v1_tls_proto_goTypes = nil
   500  	file_google_cloud_networksecurity_v1_tls_proto_depIdxs = nil
   501  }
   502  

View as plain text