Debian Codegraph @

googleapis/cloud/networksecurity/v1/server_tls_policy.pb.go

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