1// Copyright 2021 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/v1beta1/server_tls_policy.proto 20 21package networksecurity 22 23import ( 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 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 31 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// ServerTlsPolicy is a resource that specifies how a server should authenticate 42// incoming requests. This resource itself does not affect configuration unless 43// it is attached to a target https proxy or endpoint config selector resource. 44type ServerTlsPolicy struct { 45 state protoimpl.MessageState 46 sizeCache protoimpl.SizeCache 47 unknownFields protoimpl.UnknownFields 48 49 // Required. Name of the ServerTlsPolicy resource. It matches the pattern 50 // `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}` 51 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 52 // Optional. Free-text description of the resource. 53 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 54 // Output only. The timestamp when the resource was created. 55 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 56 // Output only. The timestamp when the resource was updated. 57 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 58 // Optional. Set of label tags associated with the resource. 59 Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 60 // Optional. Determines if server allows plaintext connections. If set to true, server 61 // allows plain text connections. By default, it is set to false. This setting 62 // is not exclusive of other encryption modes. For example, if allow_open and 63 // mtls_policy are set, server allows both plain text and mTLS connections. 64 // See documentation of other encryption modes to confirm compatibility. 65 AllowOpen bool `protobuf:"varint,6,opt,name=allow_open,json=allowOpen,proto3" json:"allow_open,omitempty"` 66 // Optional. Defines a mechanism to provision server identity (public and private keys). 67 // Cannot be combined with allow_open as a permissive mode that allows both 68 // plain text and TLS is not supported. 69 ServerCertificate *CertificateProvider `protobuf:"bytes,7,opt,name=server_certificate,json=serverCertificate,proto3" json:"server_certificate,omitempty"` 70 // Optional. Defines a mechanism to provision peer validation certificates for peer to 71 // peer authentication (Mutual TLS - mTLS). If not specified, client 72 // certificate will not be requested. The connection is treated as TLS and not 73 // mTLS. If allow_open and mtls_policy are set, server allows both plain text 74 // and mTLS connections. 75 MtlsPolicy *ServerTlsPolicy_MTLSPolicy `protobuf:"bytes,8,opt,name=mtls_policy,json=mtlsPolicy,proto3" json:"mtls_policy,omitempty"` 76} 77 78func (x *ServerTlsPolicy) Reset() { 79 *x = ServerTlsPolicy{} 80 if protoimpl.UnsafeEnabled { 81 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[0] 82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 83 ms.StoreMessageInfo(mi) 84 } 85} 86 87func (x *ServerTlsPolicy) String() string { 88 return protoimpl.X.MessageStringOf(x) 89} 90 91func (*ServerTlsPolicy) ProtoMessage() {} 92 93func (x *ServerTlsPolicy) ProtoReflect() protoreflect.Message { 94 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[0] 95 if protoimpl.UnsafeEnabled && x != nil { 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 if ms.LoadMessageInfo() == nil { 98 ms.StoreMessageInfo(mi) 99 } 100 return ms 101 } 102 return mi.MessageOf(x) 103} 104 105// Deprecated: Use ServerTlsPolicy.ProtoReflect.Descriptor instead. 106func (*ServerTlsPolicy) Descriptor() ([]byte, []int) { 107 return file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescGZIP(), []int{0} 108} 109 110func (x *ServerTlsPolicy) GetName() string { 111 if x != nil { 112 return x.Name 113 } 114 return "" 115} 116 117func (x *ServerTlsPolicy) GetDescription() string { 118 if x != nil { 119 return x.Description 120 } 121 return "" 122} 123 124func (x *ServerTlsPolicy) GetCreateTime() *timestamppb.Timestamp { 125 if x != nil { 126 return x.CreateTime 127 } 128 return nil 129} 130 131func (x *ServerTlsPolicy) GetUpdateTime() *timestamppb.Timestamp { 132 if x != nil { 133 return x.UpdateTime 134 } 135 return nil 136} 137 138func (x *ServerTlsPolicy) GetLabels() map[string]string { 139 if x != nil { 140 return x.Labels 141 } 142 return nil 143} 144 145func (x *ServerTlsPolicy) GetAllowOpen() bool { 146 if x != nil { 147 return x.AllowOpen 148 } 149 return false 150} 151 152func (x *ServerTlsPolicy) GetServerCertificate() *CertificateProvider { 153 if x != nil { 154 return x.ServerCertificate 155 } 156 return nil 157} 158 159func (x *ServerTlsPolicy) GetMtlsPolicy() *ServerTlsPolicy_MTLSPolicy { 160 if x != nil { 161 return x.MtlsPolicy 162 } 163 return nil 164} 165 166// Request used by the ListServerTlsPolicies method. 167type ListServerTlsPoliciesRequest struct { 168 state protoimpl.MessageState 169 sizeCache protoimpl.SizeCache 170 unknownFields protoimpl.UnknownFields 171 172 // Required. The project and location from which the ServerTlsPolicies should 173 // be listed, specified in the format `projects/*/locations/{location}`. 174 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 175 // Maximum number of ServerTlsPolicies to return per call. 176 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 177 // The value returned by the last `ListServerTlsPoliciesResponse` 178 // Indicates that this is a continuation of a prior 179 // `ListServerTlsPolicies` call, and that the system 180 // should return the next page of data. 181 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 182} 183 184func (x *ListServerTlsPoliciesRequest) Reset() { 185 *x = ListServerTlsPoliciesRequest{} 186 if protoimpl.UnsafeEnabled { 187 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[1] 188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 189 ms.StoreMessageInfo(mi) 190 } 191} 192 193func (x *ListServerTlsPoliciesRequest) String() string { 194 return protoimpl.X.MessageStringOf(x) 195} 196 197func (*ListServerTlsPoliciesRequest) ProtoMessage() {} 198 199func (x *ListServerTlsPoliciesRequest) ProtoReflect() protoreflect.Message { 200 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[1] 201 if protoimpl.UnsafeEnabled && x != nil { 202 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 203 if ms.LoadMessageInfo() == nil { 204 ms.StoreMessageInfo(mi) 205 } 206 return ms 207 } 208 return mi.MessageOf(x) 209} 210 211// Deprecated: Use ListServerTlsPoliciesRequest.ProtoReflect.Descriptor instead. 212func (*ListServerTlsPoliciesRequest) Descriptor() ([]byte, []int) { 213 return file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescGZIP(), []int{1} 214} 215 216func (x *ListServerTlsPoliciesRequest) GetParent() string { 217 if x != nil { 218 return x.Parent 219 } 220 return "" 221} 222 223func (x *ListServerTlsPoliciesRequest) GetPageSize() int32 { 224 if x != nil { 225 return x.PageSize 226 } 227 return 0 228} 229 230func (x *ListServerTlsPoliciesRequest) GetPageToken() string { 231 if x != nil { 232 return x.PageToken 233 } 234 return "" 235} 236 237// Response returned by the ListServerTlsPolicies method. 238type ListServerTlsPoliciesResponse struct { 239 state protoimpl.MessageState 240 sizeCache protoimpl.SizeCache 241 unknownFields protoimpl.UnknownFields 242 243 // List of ServerTlsPolicy resources. 244 ServerTlsPolicies []*ServerTlsPolicy `protobuf:"bytes,1,rep,name=server_tls_policies,json=serverTlsPolicies,proto3" json:"server_tls_policies,omitempty"` 245 // If there might be more results than those appearing in this response, then 246 // `next_page_token` is included. To get the next set of results, call this 247 // method again using the value of `next_page_token` as `page_token`. 248 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 249} 250 251func (x *ListServerTlsPoliciesResponse) Reset() { 252 *x = ListServerTlsPoliciesResponse{} 253 if protoimpl.UnsafeEnabled { 254 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[2] 255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 256 ms.StoreMessageInfo(mi) 257 } 258} 259 260func (x *ListServerTlsPoliciesResponse) String() string { 261 return protoimpl.X.MessageStringOf(x) 262} 263 264func (*ListServerTlsPoliciesResponse) ProtoMessage() {} 265 266func (x *ListServerTlsPoliciesResponse) ProtoReflect() protoreflect.Message { 267 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[2] 268 if protoimpl.UnsafeEnabled && x != nil { 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 270 if ms.LoadMessageInfo() == nil { 271 ms.StoreMessageInfo(mi) 272 } 273 return ms 274 } 275 return mi.MessageOf(x) 276} 277 278// Deprecated: Use ListServerTlsPoliciesResponse.ProtoReflect.Descriptor instead. 279func (*ListServerTlsPoliciesResponse) Descriptor() ([]byte, []int) { 280 return file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescGZIP(), []int{2} 281} 282 283func (x *ListServerTlsPoliciesResponse) GetServerTlsPolicies() []*ServerTlsPolicy { 284 if x != nil { 285 return x.ServerTlsPolicies 286 } 287 return nil 288} 289 290func (x *ListServerTlsPoliciesResponse) GetNextPageToken() string { 291 if x != nil { 292 return x.NextPageToken 293 } 294 return "" 295} 296 297// Request used by the GetServerTlsPolicy method. 298type GetServerTlsPolicyRequest struct { 299 state protoimpl.MessageState 300 sizeCache protoimpl.SizeCache 301 unknownFields protoimpl.UnknownFields 302 303 // Required. A name of the ServerTlsPolicy to get. Must be in the format 304 // `projects/*/locations/{location}/serverTlsPolicies/*`. 305 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 306} 307 308func (x *GetServerTlsPolicyRequest) Reset() { 309 *x = GetServerTlsPolicyRequest{} 310 if protoimpl.UnsafeEnabled { 311 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[3] 312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 313 ms.StoreMessageInfo(mi) 314 } 315} 316 317func (x *GetServerTlsPolicyRequest) String() string { 318 return protoimpl.X.MessageStringOf(x) 319} 320 321func (*GetServerTlsPolicyRequest) ProtoMessage() {} 322 323func (x *GetServerTlsPolicyRequest) ProtoReflect() protoreflect.Message { 324 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[3] 325 if protoimpl.UnsafeEnabled && x != nil { 326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 327 if ms.LoadMessageInfo() == nil { 328 ms.StoreMessageInfo(mi) 329 } 330 return ms 331 } 332 return mi.MessageOf(x) 333} 334 335// Deprecated: Use GetServerTlsPolicyRequest.ProtoReflect.Descriptor instead. 336func (*GetServerTlsPolicyRequest) Descriptor() ([]byte, []int) { 337 return file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescGZIP(), []int{3} 338} 339 340func (x *GetServerTlsPolicyRequest) GetName() string { 341 if x != nil { 342 return x.Name 343 } 344 return "" 345} 346 347// Request used by the CreateServerTlsPolicy method. 348type CreateServerTlsPolicyRequest struct { 349 state protoimpl.MessageState 350 sizeCache protoimpl.SizeCache 351 unknownFields protoimpl.UnknownFields 352 353 // Required. The parent resource of the ServerTlsPolicy. Must be in 354 // the format `projects/*/locations/{location}`. 355 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 356 // Required. Short name of the ServerTlsPolicy resource to be created. This value should 357 // be 1-63 characters long, containing only letters, numbers, hyphens, and 358 // underscores, and should not start with a number. E.g. "server_mtls_policy". 359 ServerTlsPolicyId string `protobuf:"bytes,2,opt,name=server_tls_policy_id,json=serverTlsPolicyId,proto3" json:"server_tls_policy_id,omitempty"` 360 // Required. ServerTlsPolicy resource to be created. 361 ServerTlsPolicy *ServerTlsPolicy `protobuf:"bytes,3,opt,name=server_tls_policy,json=serverTlsPolicy,proto3" json:"server_tls_policy,omitempty"` 362} 363 364func (x *CreateServerTlsPolicyRequest) Reset() { 365 *x = CreateServerTlsPolicyRequest{} 366 if protoimpl.UnsafeEnabled { 367 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[4] 368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 369 ms.StoreMessageInfo(mi) 370 } 371} 372 373func (x *CreateServerTlsPolicyRequest) String() string { 374 return protoimpl.X.MessageStringOf(x) 375} 376 377func (*CreateServerTlsPolicyRequest) ProtoMessage() {} 378 379func (x *CreateServerTlsPolicyRequest) ProtoReflect() protoreflect.Message { 380 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[4] 381 if protoimpl.UnsafeEnabled && x != nil { 382 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 383 if ms.LoadMessageInfo() == nil { 384 ms.StoreMessageInfo(mi) 385 } 386 return ms 387 } 388 return mi.MessageOf(x) 389} 390 391// Deprecated: Use CreateServerTlsPolicyRequest.ProtoReflect.Descriptor instead. 392func (*CreateServerTlsPolicyRequest) Descriptor() ([]byte, []int) { 393 return file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescGZIP(), []int{4} 394} 395 396func (x *CreateServerTlsPolicyRequest) GetParent() string { 397 if x != nil { 398 return x.Parent 399 } 400 return "" 401} 402 403func (x *CreateServerTlsPolicyRequest) GetServerTlsPolicyId() string { 404 if x != nil { 405 return x.ServerTlsPolicyId 406 } 407 return "" 408} 409 410func (x *CreateServerTlsPolicyRequest) GetServerTlsPolicy() *ServerTlsPolicy { 411 if x != nil { 412 return x.ServerTlsPolicy 413 } 414 return nil 415} 416 417// Request used by UpdateServerTlsPolicy method. 418type UpdateServerTlsPolicyRequest struct { 419 state protoimpl.MessageState 420 sizeCache protoimpl.SizeCache 421 unknownFields protoimpl.UnknownFields 422 423 // Optional. Field mask is used to specify the fields to be overwritten in the 424 // ServerTlsPolicy resource by the update. The fields 425 // specified in the update_mask are relative to the resource, not 426 // the full request. A field will be overwritten if it is in the 427 // mask. If the user does not provide a mask then all fields will be 428 // overwritten. 429 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 430 // Required. Updated ServerTlsPolicy resource. 431 ServerTlsPolicy *ServerTlsPolicy `protobuf:"bytes,2,opt,name=server_tls_policy,json=serverTlsPolicy,proto3" json:"server_tls_policy,omitempty"` 432} 433 434func (x *UpdateServerTlsPolicyRequest) Reset() { 435 *x = UpdateServerTlsPolicyRequest{} 436 if protoimpl.UnsafeEnabled { 437 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[5] 438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 439 ms.StoreMessageInfo(mi) 440 } 441} 442 443func (x *UpdateServerTlsPolicyRequest) String() string { 444 return protoimpl.X.MessageStringOf(x) 445} 446 447func (*UpdateServerTlsPolicyRequest) ProtoMessage() {} 448 449func (x *UpdateServerTlsPolicyRequest) ProtoReflect() protoreflect.Message { 450 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[5] 451 if protoimpl.UnsafeEnabled && x != nil { 452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 453 if ms.LoadMessageInfo() == nil { 454 ms.StoreMessageInfo(mi) 455 } 456 return ms 457 } 458 return mi.MessageOf(x) 459} 460 461// Deprecated: Use UpdateServerTlsPolicyRequest.ProtoReflect.Descriptor instead. 462func (*UpdateServerTlsPolicyRequest) Descriptor() ([]byte, []int) { 463 return file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescGZIP(), []int{5} 464} 465 466func (x *UpdateServerTlsPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 467 if x != nil { 468 return x.UpdateMask 469 } 470 return nil 471} 472 473func (x *UpdateServerTlsPolicyRequest) GetServerTlsPolicy() *ServerTlsPolicy { 474 if x != nil { 475 return x.ServerTlsPolicy 476 } 477 return nil 478} 479 480// Request used by the DeleteServerTlsPolicy method. 481type DeleteServerTlsPolicyRequest struct { 482 state protoimpl.MessageState 483 sizeCache protoimpl.SizeCache 484 unknownFields protoimpl.UnknownFields 485 486 // Required. A name of the ServerTlsPolicy to delete. Must be in 487 // the format `projects/*/locations/{location}/serverTlsPolicies/*`. 488 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 489} 490 491func (x *DeleteServerTlsPolicyRequest) Reset() { 492 *x = DeleteServerTlsPolicyRequest{} 493 if protoimpl.UnsafeEnabled { 494 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[6] 495 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 496 ms.StoreMessageInfo(mi) 497 } 498} 499 500func (x *DeleteServerTlsPolicyRequest) String() string { 501 return protoimpl.X.MessageStringOf(x) 502} 503 504func (*DeleteServerTlsPolicyRequest) ProtoMessage() {} 505 506func (x *DeleteServerTlsPolicyRequest) ProtoReflect() protoreflect.Message { 507 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[6] 508 if protoimpl.UnsafeEnabled && x != nil { 509 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 510 if ms.LoadMessageInfo() == nil { 511 ms.StoreMessageInfo(mi) 512 } 513 return ms 514 } 515 return mi.MessageOf(x) 516} 517 518// Deprecated: Use DeleteServerTlsPolicyRequest.ProtoReflect.Descriptor instead. 519func (*DeleteServerTlsPolicyRequest) Descriptor() ([]byte, []int) { 520 return file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescGZIP(), []int{6} 521} 522 523func (x *DeleteServerTlsPolicyRequest) GetName() string { 524 if x != nil { 525 return x.Name 526 } 527 return "" 528} 529 530// Specification of the MTLSPolicy. 531type ServerTlsPolicy_MTLSPolicy struct { 532 state protoimpl.MessageState 533 sizeCache protoimpl.SizeCache 534 unknownFields protoimpl.UnknownFields 535 536 // Required. Defines the mechanism to obtain the Certificate Authority certificate to 537 // validate the client certificate. 538 ClientValidationCa []*ValidationCA `protobuf:"bytes,1,rep,name=client_validation_ca,json=clientValidationCa,proto3" json:"client_validation_ca,omitempty"` 539} 540 541func (x *ServerTlsPolicy_MTLSPolicy) Reset() { 542 *x = ServerTlsPolicy_MTLSPolicy{} 543 if protoimpl.UnsafeEnabled { 544 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[7] 545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 546 ms.StoreMessageInfo(mi) 547 } 548} 549 550func (x *ServerTlsPolicy_MTLSPolicy) String() string { 551 return protoimpl.X.MessageStringOf(x) 552} 553 554func (*ServerTlsPolicy_MTLSPolicy) ProtoMessage() {} 555 556func (x *ServerTlsPolicy_MTLSPolicy) ProtoReflect() protoreflect.Message { 557 mi := &file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[7] 558 if protoimpl.UnsafeEnabled && x != nil { 559 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 560 if ms.LoadMessageInfo() == nil { 561 ms.StoreMessageInfo(mi) 562 } 563 return ms 564 } 565 return mi.MessageOf(x) 566} 567 568// Deprecated: Use ServerTlsPolicy_MTLSPolicy.ProtoReflect.Descriptor instead. 569func (*ServerTlsPolicy_MTLSPolicy) Descriptor() ([]byte, []int) { 570 return file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescGZIP(), []int{0, 0} 571} 572 573func (x *ServerTlsPolicy_MTLSPolicy) GetClientValidationCa() []*ValidationCA { 574 if x != nil { 575 return x.ClientValidationCa 576 } 577 return nil 578} 579 580var File_google_cloud_networksecurity_v1beta1_server_tls_policy_proto protoreflect.FileDescriptor 581 582var file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDesc = []byte{ 583 0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 584 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x76, 585 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x6c, 586 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 587 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 588 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x62, 589 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 590 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 591 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 592 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 593 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 594 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x76, 595 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 596 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 597 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 598 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 599 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 600 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 601 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 602 0x6f, 0x22, 0xe9, 0x06, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 603 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 604 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 605 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 606 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 607 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 608 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 609 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 610 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 611 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 612 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 613 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 614 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 615 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 616 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 617 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 618 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 619 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 620 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 621 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 622 0x6f, 0x77, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 623 0x41, 0x01, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x6d, 0x0a, 624 0x12, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 625 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 626 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 627 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 628 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 629 0x69, 0x64, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x65, 630 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x66, 0x0a, 0x0b, 631 0x6d, 0x74, 0x6c, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 632 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 633 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 634 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 635 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4d, 0x54, 0x4c, 0x53, 0x50, 0x6f, 0x6c, 636 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x6d, 0x74, 0x6c, 0x73, 0x50, 0x6f, 637 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x77, 0x0a, 0x0a, 0x4d, 0x54, 0x4c, 0x53, 0x50, 0x6f, 0x6c, 0x69, 638 0x63, 0x79, 0x12, 0x69, 0x0a, 0x14, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 639 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 640 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 641 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 642 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 643 0x6f, 0x6e, 0x43, 0x41, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x12, 0x63, 0x6c, 0x69, 0x65, 0x6e, 644 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x1a, 0x39, 0x0a, 645 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 646 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 647 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 648 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x82, 0x01, 0xea, 0x41, 0x7f, 0x0a, 0x2e, 649 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 650 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 651 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4d, 652 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 653 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 654 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 655 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x65, 656 0x72, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x22, 0x9d, 0x01, 657 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 658 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 659 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 660 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 661 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 662 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 663 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 664 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 665 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 666 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xae, 0x01, 667 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 668 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 669 0x65, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x70, 0x6f, 670 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 671 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 672 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 673 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 674 0x69, 0x63, 0x79, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 675 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 676 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 677 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x67, 678 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 679 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x04, 0x6e, 680 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xe0, 0x41, 0x02, 0xfa, 0x41, 681 0x30, 0x0a, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 682 0x74, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 683 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 684 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8c, 0x02, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 685 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 686 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 687 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x30, 688 0x0a, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 689 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 690 0x2f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 691 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x14, 0x73, 0x65, 0x72, 0x76, 692 0x65, 0x72, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 693 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x11, 0x73, 0x65, 0x72, 694 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x66, 695 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 696 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 697 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 698 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 699 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 700 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 701 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0xc8, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 702 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 703 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 704 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 705 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 706 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 707 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x66, 0x0a, 0x11, 0x73, 0x65, 0x72, 708 0x76, 0x65, 0x72, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 709 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 710 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 711 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 712 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 713 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 714 0x79, 0x22, 0x6a, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 715 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 716 0x74, 0x12, 0x4a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 717 0x36, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x30, 0x0a, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 718 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 719 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 720 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xf9, 0x01, 721 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 722 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 723 0x74, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x6f, 724 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 725 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 726 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 727 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 728 0x31, 0x3b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 729 0x79, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 730 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 731 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 732 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 733 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 734 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 735 0x3a, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 736 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 737 0x33, 738} 739 740var ( 741 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescOnce sync.Once 742 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescData = file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDesc 743) 744 745func file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescGZIP() []byte { 746 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescOnce.Do(func() { 747 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescData) 748 }) 749 return file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDescData 750} 751 752var file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 753var file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_goTypes = []interface{}{ 754 (*ServerTlsPolicy)(nil), // 0: google.cloud.networksecurity.v1beta1.ServerTlsPolicy 755 (*ListServerTlsPoliciesRequest)(nil), // 1: google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest 756 (*ListServerTlsPoliciesResponse)(nil), // 2: google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse 757 (*GetServerTlsPolicyRequest)(nil), // 3: google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest 758 (*CreateServerTlsPolicyRequest)(nil), // 4: google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest 759 (*UpdateServerTlsPolicyRequest)(nil), // 5: google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest 760 (*DeleteServerTlsPolicyRequest)(nil), // 6: google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest 761 (*ServerTlsPolicy_MTLSPolicy)(nil), // 7: google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy 762 nil, // 8: google.cloud.networksecurity.v1beta1.ServerTlsPolicy.LabelsEntry 763 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp 764 (*CertificateProvider)(nil), // 10: google.cloud.networksecurity.v1beta1.CertificateProvider 765 (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask 766 (*ValidationCA)(nil), // 12: google.cloud.networksecurity.v1beta1.ValidationCA 767} 768var file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_depIdxs = []int32{ 769 9, // 0: google.cloud.networksecurity.v1beta1.ServerTlsPolicy.create_time:type_name -> google.protobuf.Timestamp 770 9, // 1: google.cloud.networksecurity.v1beta1.ServerTlsPolicy.update_time:type_name -> google.protobuf.Timestamp 771 8, // 2: google.cloud.networksecurity.v1beta1.ServerTlsPolicy.labels:type_name -> google.cloud.networksecurity.v1beta1.ServerTlsPolicy.LabelsEntry 772 10, // 3: google.cloud.networksecurity.v1beta1.ServerTlsPolicy.server_certificate:type_name -> google.cloud.networksecurity.v1beta1.CertificateProvider 773 7, // 4: google.cloud.networksecurity.v1beta1.ServerTlsPolicy.mtls_policy:type_name -> google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy 774 0, // 5: google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse.server_tls_policies:type_name -> google.cloud.networksecurity.v1beta1.ServerTlsPolicy 775 0, // 6: google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest.server_tls_policy:type_name -> google.cloud.networksecurity.v1beta1.ServerTlsPolicy 776 11, // 7: google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest.update_mask:type_name -> google.protobuf.FieldMask 777 0, // 8: google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest.server_tls_policy:type_name -> google.cloud.networksecurity.v1beta1.ServerTlsPolicy 778 12, // 9: google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy.client_validation_ca:type_name -> google.cloud.networksecurity.v1beta1.ValidationCA 779 10, // [10:10] is the sub-list for method output_type 780 10, // [10:10] is the sub-list for method input_type 781 10, // [10:10] is the sub-list for extension type_name 782 10, // [10:10] is the sub-list for extension extendee 783 0, // [0:10] is the sub-list for field type_name 784} 785 786func init() { file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_init() } 787func file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_init() { 788 if File_google_cloud_networksecurity_v1beta1_server_tls_policy_proto != nil { 789 return 790 } 791 file_google_cloud_networksecurity_v1beta1_tls_proto_init() 792 if !protoimpl.UnsafeEnabled { 793 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 794 switch v := v.(*ServerTlsPolicy); i { 795 case 0: 796 return &v.state 797 case 1: 798 return &v.sizeCache 799 case 2: 800 return &v.unknownFields 801 default: 802 return nil 803 } 804 } 805 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 806 switch v := v.(*ListServerTlsPoliciesRequest); i { 807 case 0: 808 return &v.state 809 case 1: 810 return &v.sizeCache 811 case 2: 812 return &v.unknownFields 813 default: 814 return nil 815 } 816 } 817 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 818 switch v := v.(*ListServerTlsPoliciesResponse); i { 819 case 0: 820 return &v.state 821 case 1: 822 return &v.sizeCache 823 case 2: 824 return &v.unknownFields 825 default: 826 return nil 827 } 828 } 829 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 830 switch v := v.(*GetServerTlsPolicyRequest); i { 831 case 0: 832 return &v.state 833 case 1: 834 return &v.sizeCache 835 case 2: 836 return &v.unknownFields 837 default: 838 return nil 839 } 840 } 841 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 842 switch v := v.(*CreateServerTlsPolicyRequest); i { 843 case 0: 844 return &v.state 845 case 1: 846 return &v.sizeCache 847 case 2: 848 return &v.unknownFields 849 default: 850 return nil 851 } 852 } 853 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 854 switch v := v.(*UpdateServerTlsPolicyRequest); i { 855 case 0: 856 return &v.state 857 case 1: 858 return &v.sizeCache 859 case 2: 860 return &v.unknownFields 861 default: 862 return nil 863 } 864 } 865 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 866 switch v := v.(*DeleteServerTlsPolicyRequest); i { 867 case 0: 868 return &v.state 869 case 1: 870 return &v.sizeCache 871 case 2: 872 return &v.unknownFields 873 default: 874 return nil 875 } 876 } 877 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 878 switch v := v.(*ServerTlsPolicy_MTLSPolicy); i { 879 case 0: 880 return &v.state 881 case 1: 882 return &v.sizeCache 883 case 2: 884 return &v.unknownFields 885 default: 886 return nil 887 } 888 } 889 } 890 type x struct{} 891 out := protoimpl.TypeBuilder{ 892 File: protoimpl.DescBuilder{ 893 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 894 RawDescriptor: file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDesc, 895 NumEnums: 0, 896 NumMessages: 9, 897 NumExtensions: 0, 898 NumServices: 0, 899 }, 900 GoTypes: file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_goTypes, 901 DependencyIndexes: file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_depIdxs, 902 MessageInfos: file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_msgTypes, 903 }.Build() 904 File_google_cloud_networksecurity_v1beta1_server_tls_policy_proto = out.File 905 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_rawDesc = nil 906 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_goTypes = nil 907 file_google_cloud_networksecurity_v1beta1_server_tls_policy_proto_depIdxs = nil 908} 909