Debian Codegraph @

certificatemanager/apiv1/certificatemanagerpb/trust_config.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/cloud/certificatemanager/v1/trust_config.proto
20
21 package certificatemanagerpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
28 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // Request for the `ListTrustConfigs` method.
41 type ListTrustConfigsRequest struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // Required. The project and location from which the TrustConfigs should be
47 // listed, specified in the format `projects/*/locations/*`.
48 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
49 // Maximum number of TrustConfigs to return per call.
50 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
51 // The value returned by the last `ListTrustConfigsResponse`. Indicates
52 // that this is a continuation of a prior `ListTrustConfigs` call, and that
53 // the system should return the next page of data.
54 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
55 // Filter expression to restrict the TrustConfigs returned.
56 Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
57 // A list of TrustConfig field names used to specify the order of the
58 // returned results. The default sorting order is ascending. To specify
59 // descending order for a field, add a suffix `" desc"`.
60 OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
61 }
62
63 func (x *ListTrustConfigsRequest) Reset() {
64 *x = ListTrustConfigsRequest{}
65 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[0]
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 ms.StoreMessageInfo(mi)
68 }
69
70 func (x *ListTrustConfigsRequest) String() string {
71 return protoimpl.X.MessageStringOf(x)
72 }
73
74 func (*ListTrustConfigsRequest) ProtoMessage() {}
75
76 func (x *ListTrustConfigsRequest) ProtoReflect() protoreflect.Message {
77 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[0]
78 if x != nil {
79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80 if ms.LoadMessageInfo() == nil {
81 ms.StoreMessageInfo(mi)
82 }
83 return ms
84 }
85 return mi.MessageOf(x)
86 }
87
88 // Deprecated: Use ListTrustConfigsRequest.ProtoReflect.Descriptor instead.
89 func (*ListTrustConfigsRequest) Descriptor() ([]byte, []int) {
90 return file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescGZIP(), []int{0}
91 }
92
93 func (x *ListTrustConfigsRequest) GetParent() string {
94 if x != nil {
95 return x.Parent
96 }
97 return ""
98 }
99
100 func (x *ListTrustConfigsRequest) GetPageSize() int32 {
101 if x != nil {
102 return x.PageSize
103 }
104 return 0
105 }
106
107 func (x *ListTrustConfigsRequest) GetPageToken() string {
108 if x != nil {
109 return x.PageToken
110 }
111 return ""
112 }
113
114 func (x *ListTrustConfigsRequest) GetFilter() string {
115 if x != nil {
116 return x.Filter
117 }
118 return ""
119 }
120
121 func (x *ListTrustConfigsRequest) GetOrderBy() string {
122 if x != nil {
123 return x.OrderBy
124 }
125 return ""
126 }
127
128 // Response for the `ListTrustConfigs` method.
129 type ListTrustConfigsResponse struct {
130 state protoimpl.MessageState
131 sizeCache protoimpl.SizeCache
132 unknownFields protoimpl.UnknownFields
133
134 // A list of TrustConfigs for the parent resource.
135 TrustConfigs []*TrustConfig `protobuf:"bytes,1,rep,name=trust_configs,json=trustConfigs,proto3" json:"trust_configs,omitempty"`
136 // If there might be more results than those appearing in this response, then
137 // `next_page_token` is included. To get the next set of results, call this
138 // method again using the value of `next_page_token` as `page_token`.
139 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
140 // Locations that could not be reached.
141 Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
142 }
143
144 func (x *ListTrustConfigsResponse) Reset() {
145 *x = ListTrustConfigsResponse{}
146 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[1]
147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
148 ms.StoreMessageInfo(mi)
149 }
150
151 func (x *ListTrustConfigsResponse) String() string {
152 return protoimpl.X.MessageStringOf(x)
153 }
154
155 func (*ListTrustConfigsResponse) ProtoMessage() {}
156
157 func (x *ListTrustConfigsResponse) ProtoReflect() protoreflect.Message {
158 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[1]
159 if x != nil {
160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
161 if ms.LoadMessageInfo() == nil {
162 ms.StoreMessageInfo(mi)
163 }
164 return ms
165 }
166 return mi.MessageOf(x)
167 }
168
169 // Deprecated: Use ListTrustConfigsResponse.ProtoReflect.Descriptor instead.
170 func (*ListTrustConfigsResponse) Descriptor() ([]byte, []int) {
171 return file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescGZIP(), []int{1}
172 }
173
174 func (x *ListTrustConfigsResponse) GetTrustConfigs() []*TrustConfig {
175 if x != nil {
176 return x.TrustConfigs
177 }
178 return nil
179 }
180
181 func (x *ListTrustConfigsResponse) GetNextPageToken() string {
182 if x != nil {
183 return x.NextPageToken
184 }
185 return ""
186 }
187
188 func (x *ListTrustConfigsResponse) GetUnreachable() []string {
189 if x != nil {
190 return x.Unreachable
191 }
192 return nil
193 }
194
195 // Request for the `GetTrustConfig` method.
196 type GetTrustConfigRequest struct {
197 state protoimpl.MessageState
198 sizeCache protoimpl.SizeCache
199 unknownFields protoimpl.UnknownFields
200
201 // Required. A name of the TrustConfig to describe. Must be in the format
202 // `projects/*/locations/*/trustConfigs/*`.
203 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
204 }
205
206 func (x *GetTrustConfigRequest) Reset() {
207 *x = GetTrustConfigRequest{}
208 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[2]
209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210 ms.StoreMessageInfo(mi)
211 }
212
213 func (x *GetTrustConfigRequest) String() string {
214 return protoimpl.X.MessageStringOf(x)
215 }
216
217 func (*GetTrustConfigRequest) ProtoMessage() {}
218
219 func (x *GetTrustConfigRequest) ProtoReflect() protoreflect.Message {
220 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[2]
221 if x != nil {
222 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
223 if ms.LoadMessageInfo() == nil {
224 ms.StoreMessageInfo(mi)
225 }
226 return ms
227 }
228 return mi.MessageOf(x)
229 }
230
231 // Deprecated: Use GetTrustConfigRequest.ProtoReflect.Descriptor instead.
232 func (*GetTrustConfigRequest) Descriptor() ([]byte, []int) {
233 return file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescGZIP(), []int{2}
234 }
235
236 func (x *GetTrustConfigRequest) GetName() string {
237 if x != nil {
238 return x.Name
239 }
240 return ""
241 }
242
243 // Request for the `CreateTrustConfig` method.
244 type CreateTrustConfigRequest struct {
245 state protoimpl.MessageState
246 sizeCache protoimpl.SizeCache
247 unknownFields protoimpl.UnknownFields
248
249 // Required. The parent resource of the TrustConfig. Must be in the format
250 // `projects/*/locations/*`.
251 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
252 // Required. A user-provided name of the TrustConfig. Must match the regexp
253 // `[a-z0-9-]{1,63}`.
254 TrustConfigId string `protobuf:"bytes,2,opt,name=trust_config_id,json=trustConfigId,proto3" json:"trust_config_id,omitempty"`
255 // Required. A definition of the TrustConfig to create.
256 TrustConfig *TrustConfig `protobuf:"bytes,3,opt,name=trust_config,json=trustConfig,proto3" json:"trust_config,omitempty"`
257 }
258
259 func (x *CreateTrustConfigRequest) Reset() {
260 *x = CreateTrustConfigRequest{}
261 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[3]
262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
263 ms.StoreMessageInfo(mi)
264 }
265
266 func (x *CreateTrustConfigRequest) String() string {
267 return protoimpl.X.MessageStringOf(x)
268 }
269
270 func (*CreateTrustConfigRequest) ProtoMessage() {}
271
272 func (x *CreateTrustConfigRequest) ProtoReflect() protoreflect.Message {
273 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[3]
274 if x != nil {
275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276 if ms.LoadMessageInfo() == nil {
277 ms.StoreMessageInfo(mi)
278 }
279 return ms
280 }
281 return mi.MessageOf(x)
282 }
283
284 // Deprecated: Use CreateTrustConfigRequest.ProtoReflect.Descriptor instead.
285 func (*CreateTrustConfigRequest) Descriptor() ([]byte, []int) {
286 return file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescGZIP(), []int{3}
287 }
288
289 func (x *CreateTrustConfigRequest) GetParent() string {
290 if x != nil {
291 return x.Parent
292 }
293 return ""
294 }
295
296 func (x *CreateTrustConfigRequest) GetTrustConfigId() string {
297 if x != nil {
298 return x.TrustConfigId
299 }
300 return ""
301 }
302
303 func (x *CreateTrustConfigRequest) GetTrustConfig() *TrustConfig {
304 if x != nil {
305 return x.TrustConfig
306 }
307 return nil
308 }
309
310 // Request for the `UpdateTrustConfig` method.
311 type UpdateTrustConfigRequest struct {
312 state protoimpl.MessageState
313 sizeCache protoimpl.SizeCache
314 unknownFields protoimpl.UnknownFields
315
316 // Required. A definition of the TrustConfig to update.
317 TrustConfig *TrustConfig `protobuf:"bytes,1,opt,name=trust_config,json=trustConfig,proto3" json:"trust_config,omitempty"`
318 // Required. The update mask applies to the resource. For the `FieldMask`
319 // definition, see
320 // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
321 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
322 }
323
324 func (x *UpdateTrustConfigRequest) Reset() {
325 *x = UpdateTrustConfigRequest{}
326 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[4]
327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
328 ms.StoreMessageInfo(mi)
329 }
330
331 func (x *UpdateTrustConfigRequest) String() string {
332 return protoimpl.X.MessageStringOf(x)
333 }
334
335 func (*UpdateTrustConfigRequest) ProtoMessage() {}
336
337 func (x *UpdateTrustConfigRequest) ProtoReflect() protoreflect.Message {
338 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[4]
339 if x != nil {
340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
341 if ms.LoadMessageInfo() == nil {
342 ms.StoreMessageInfo(mi)
343 }
344 return ms
345 }
346 return mi.MessageOf(x)
347 }
348
349 // Deprecated: Use UpdateTrustConfigRequest.ProtoReflect.Descriptor instead.
350 func (*UpdateTrustConfigRequest) Descriptor() ([]byte, []int) {
351 return file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescGZIP(), []int{4}
352 }
353
354 func (x *UpdateTrustConfigRequest) GetTrustConfig() *TrustConfig {
355 if x != nil {
356 return x.TrustConfig
357 }
358 return nil
359 }
360
361 func (x *UpdateTrustConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
362 if x != nil {
363 return x.UpdateMask
364 }
365 return nil
366 }
367
368 // Request for the `DeleteTrustConfig` method.
369 type DeleteTrustConfigRequest struct {
370 state protoimpl.MessageState
371 sizeCache protoimpl.SizeCache
372 unknownFields protoimpl.UnknownFields
373
374 // Required. A name of the TrustConfig to delete. Must be in the format
375 // `projects/*/locations/*/trustConfigs/*`.
376 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
377 // The current etag of the TrustConfig.
378 // If an etag is provided and does not match the current etag of the resource,
379 // deletion will be blocked and an ABORTED error will be returned.
380 Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
381 }
382
383 func (x *DeleteTrustConfigRequest) Reset() {
384 *x = DeleteTrustConfigRequest{}
385 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[5]
386 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
387 ms.StoreMessageInfo(mi)
388 }
389
390 func (x *DeleteTrustConfigRequest) String() string {
391 return protoimpl.X.MessageStringOf(x)
392 }
393
394 func (*DeleteTrustConfigRequest) ProtoMessage() {}
395
396 func (x *DeleteTrustConfigRequest) ProtoReflect() protoreflect.Message {
397 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[5]
398 if x != nil {
399 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
400 if ms.LoadMessageInfo() == nil {
401 ms.StoreMessageInfo(mi)
402 }
403 return ms
404 }
405 return mi.MessageOf(x)
406 }
407
408 // Deprecated: Use DeleteTrustConfigRequest.ProtoReflect.Descriptor instead.
409 func (*DeleteTrustConfigRequest) Descriptor() ([]byte, []int) {
410 return file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescGZIP(), []int{5}
411 }
412
413 func (x *DeleteTrustConfigRequest) GetName() string {
414 if x != nil {
415 return x.Name
416 }
417 return ""
418 }
419
420 func (x *DeleteTrustConfigRequest) GetEtag() string {
421 if x != nil {
422 return x.Etag
423 }
424 return ""
425 }
426
427 // Defines a trust config.
428 type TrustConfig struct {
429 state protoimpl.MessageState
430 sizeCache protoimpl.SizeCache
431 unknownFields protoimpl.UnknownFields
432
433 // A user-defined name of the trust config. TrustConfig names must be
434 // unique globally and match pattern
435 // `projects/*/locations/*/trustConfigs/*`.
436 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
437 // Output only. The creation timestamp of a TrustConfig.
438 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
439 // Output only. The last update timestamp of a TrustConfig.
440 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
441 // Set of labels associated with a TrustConfig.
442 Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
443 // One or more paragraphs of text description of a TrustConfig.
444 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
445 // This checksum is computed by the server based on the value of other
446 // fields, and may be sent on update and delete requests to ensure the
447 // client has an up-to-date value before proceeding.
448 Etag string `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"`
449 // Set of trust stores to perform validation against.
450 //
451 // This field is supported when TrustConfig is configured with Load Balancers,
452 // currently not supported for SPIFFE certificate validation.
453 //
454 // Only one TrustStore specified is currently allowed.
455 TrustStores []*TrustConfig_TrustStore `protobuf:"bytes,8,rep,name=trust_stores,json=trustStores,proto3" json:"trust_stores,omitempty"`
456 }
457
458 func (x *TrustConfig) Reset() {
459 *x = TrustConfig{}
460 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[6]
461 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
462 ms.StoreMessageInfo(mi)
463 }
464
465 func (x *TrustConfig) String() string {
466 return protoimpl.X.MessageStringOf(x)
467 }
468
469 func (*TrustConfig) ProtoMessage() {}
470
471 func (x *TrustConfig) ProtoReflect() protoreflect.Message {
472 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[6]
473 if x != nil {
474 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
475 if ms.LoadMessageInfo() == nil {
476 ms.StoreMessageInfo(mi)
477 }
478 return ms
479 }
480 return mi.MessageOf(x)
481 }
482
483 // Deprecated: Use TrustConfig.ProtoReflect.Descriptor instead.
484 func (*TrustConfig) Descriptor() ([]byte, []int) {
485 return file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescGZIP(), []int{6}
486 }
487
488 func (x *TrustConfig) GetName() string {
489 if x != nil {
490 return x.Name
491 }
492 return ""
493 }
494
495 func (x *TrustConfig) GetCreateTime() *timestamppb.Timestamp {
496 if x != nil {
497 return x.CreateTime
498 }
499 return nil
500 }
501
502 func (x *TrustConfig) GetUpdateTime() *timestamppb.Timestamp {
503 if x != nil {
504 return x.UpdateTime
505 }
506 return nil
507 }
508
509 func (x *TrustConfig) GetLabels() map[string]string {
510 if x != nil {
511 return x.Labels
512 }
513 return nil
514 }
515
516 func (x *TrustConfig) GetDescription() string {
517 if x != nil {
518 return x.Description
519 }
520 return ""
521 }
522
523 func (x *TrustConfig) GetEtag() string {
524 if x != nil {
525 return x.Etag
526 }
527 return ""
528 }
529
530 func (x *TrustConfig) GetTrustStores() []*TrustConfig_TrustStore {
531 if x != nil {
532 return x.TrustStores
533 }
534 return nil
535 }
536
537 // Defines a trust anchor.
538 type TrustConfig_TrustAnchor struct {
539 state protoimpl.MessageState
540 sizeCache protoimpl.SizeCache
541 unknownFields protoimpl.UnknownFields
542
543 // Types that are assignable to Kind:
544 //
545 // *TrustConfig_TrustAnchor_PemCertificate
546 Kind isTrustConfig_TrustAnchor_Kind `protobuf_oneof:"kind"`
547 }
548
549 func (x *TrustConfig_TrustAnchor) Reset() {
550 *x = TrustConfig_TrustAnchor{}
551 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[7]
552 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
553 ms.StoreMessageInfo(mi)
554 }
555
556 func (x *TrustConfig_TrustAnchor) String() string {
557 return protoimpl.X.MessageStringOf(x)
558 }
559
560 func (*TrustConfig_TrustAnchor) ProtoMessage() {}
561
562 func (x *TrustConfig_TrustAnchor) ProtoReflect() protoreflect.Message {
563 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[7]
564 if x != nil {
565 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
566 if ms.LoadMessageInfo() == nil {
567 ms.StoreMessageInfo(mi)
568 }
569 return ms
570 }
571 return mi.MessageOf(x)
572 }
573
574 // Deprecated: Use TrustConfig_TrustAnchor.ProtoReflect.Descriptor instead.
575 func (*TrustConfig_TrustAnchor) Descriptor() ([]byte, []int) {
576 return file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescGZIP(), []int{6, 0}
577 }
578
579 func (m *TrustConfig_TrustAnchor) GetKind() isTrustConfig_TrustAnchor_Kind {
580 if m != nil {
581 return m.Kind
582 }
583 return nil
584 }
585
586 func (x *TrustConfig_TrustAnchor) GetPemCertificate() string {
587 if x, ok := x.GetKind().(*TrustConfig_TrustAnchor_PemCertificate); ok {
588 return x.PemCertificate
589 }
590 return ""
591 }
592
593 type isTrustConfig_TrustAnchor_Kind interface {
594 isTrustConfig_TrustAnchor_Kind()
595 }
596
597 type TrustConfig_TrustAnchor_PemCertificate struct {
598 // PEM root certificate of the PKI used for validation.
599 //
600 // Each certificate provided in PEM format may occupy up to 5kB.
601 PemCertificate string `protobuf:"bytes,1,opt,name=pem_certificate,json=pemCertificate,proto3,oneof"`
602 }
603
604 func (*TrustConfig_TrustAnchor_PemCertificate) isTrustConfig_TrustAnchor_Kind() {}
605
606 // Defines an intermediate CA.
607 type TrustConfig_IntermediateCA struct {
608 state protoimpl.MessageState
609 sizeCache protoimpl.SizeCache
610 unknownFields protoimpl.UnknownFields
611
612 // Types that are assignable to Kind:
613 //
614 // *TrustConfig_IntermediateCA_PemCertificate
615 Kind isTrustConfig_IntermediateCA_Kind `protobuf_oneof:"kind"`
616 }
617
618 func (x *TrustConfig_IntermediateCA) Reset() {
619 *x = TrustConfig_IntermediateCA{}
620 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[8]
621 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
622 ms.StoreMessageInfo(mi)
623 }
624
625 func (x *TrustConfig_IntermediateCA) String() string {
626 return protoimpl.X.MessageStringOf(x)
627 }
628
629 func (*TrustConfig_IntermediateCA) ProtoMessage() {}
630
631 func (x *TrustConfig_IntermediateCA) ProtoReflect() protoreflect.Message {
632 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[8]
633 if x != nil {
634 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
635 if ms.LoadMessageInfo() == nil {
636 ms.StoreMessageInfo(mi)
637 }
638 return ms
639 }
640 return mi.MessageOf(x)
641 }
642
643 // Deprecated: Use TrustConfig_IntermediateCA.ProtoReflect.Descriptor instead.
644 func (*TrustConfig_IntermediateCA) Descriptor() ([]byte, []int) {
645 return file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescGZIP(), []int{6, 1}
646 }
647
648 func (m *TrustConfig_IntermediateCA) GetKind() isTrustConfig_IntermediateCA_Kind {
649 if m != nil {
650 return m.Kind
651 }
652 return nil
653 }
654
655 func (x *TrustConfig_IntermediateCA) GetPemCertificate() string {
656 if x, ok := x.GetKind().(*TrustConfig_IntermediateCA_PemCertificate); ok {
657 return x.PemCertificate
658 }
659 return ""
660 }
661
662 type isTrustConfig_IntermediateCA_Kind interface {
663 isTrustConfig_IntermediateCA_Kind()
664 }
665
666 type TrustConfig_IntermediateCA_PemCertificate struct {
667 // PEM intermediate certificate used for building up paths
668 // for validation.
669 //
670 // Each certificate provided in PEM format may occupy up to 5kB.
671 PemCertificate string `protobuf:"bytes,1,opt,name=pem_certificate,json=pemCertificate,proto3,oneof"`
672 }
673
674 func (*TrustConfig_IntermediateCA_PemCertificate) isTrustConfig_IntermediateCA_Kind() {}
675
676 // Defines a trust store.
677 type TrustConfig_TrustStore struct {
678 state protoimpl.MessageState
679 sizeCache protoimpl.SizeCache
680 unknownFields protoimpl.UnknownFields
681
682 // List of Trust Anchors to be used while performing validation
683 // against a given TrustStore.
684 TrustAnchors []*TrustConfig_TrustAnchor `protobuf:"bytes,1,rep,name=trust_anchors,json=trustAnchors,proto3" json:"trust_anchors,omitempty"`
685 // Set of intermediate CA certificates used for the path building
686 // phase of chain validation.
687 //
688 // The field is currently not supported if TrustConfig is used for the
689 // workload certificate feature.
690 IntermediateCas []*TrustConfig_IntermediateCA `protobuf:"bytes,2,rep,name=intermediate_cas,json=intermediateCas,proto3" json:"intermediate_cas,omitempty"`
691 }
692
693 func (x *TrustConfig_TrustStore) Reset() {
694 *x = TrustConfig_TrustStore{}
695 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[9]
696 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
697 ms.StoreMessageInfo(mi)
698 }
699
700 func (x *TrustConfig_TrustStore) String() string {
701 return protoimpl.X.MessageStringOf(x)
702 }
703
704 func (*TrustConfig_TrustStore) ProtoMessage() {}
705
706 func (x *TrustConfig_TrustStore) ProtoReflect() protoreflect.Message {
707 mi := &file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[9]
708 if x != nil {
709 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
710 if ms.LoadMessageInfo() == nil {
711 ms.StoreMessageInfo(mi)
712 }
713 return ms
714 }
715 return mi.MessageOf(x)
716 }
717
718 // Deprecated: Use TrustConfig_TrustStore.ProtoReflect.Descriptor instead.
719 func (*TrustConfig_TrustStore) Descriptor() ([]byte, []int) {
720 return file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescGZIP(), []int{6, 2}
721 }
722
723 func (x *TrustConfig_TrustStore) GetTrustAnchors() []*TrustConfig_TrustAnchor {
724 if x != nil {
725 return x.TrustAnchors
726 }
727 return nil
728 }
729
730 func (x *TrustConfig_TrustStore) GetIntermediateCas() []*TrustConfig_IntermediateCA {
731 if x != nil {
732 return x.IntermediateCas
733 }
734 return nil
735 }
736
737 var File_google_cloud_certificatemanager_v1_trust_config_proto protoreflect.FileDescriptor
738
739 var file_google_cloud_certificatemanager_v1_trust_config_proto_rawDesc = []byte{
740 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63,
741 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
742 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x75, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
743 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
744 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
745 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
746 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
747 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f,
748 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
749 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
750 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d,
751 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
752 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
753 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcb, 0x01, 0x0a, 0x17, 0x4c,
754 0x69, 0x73, 0x74, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52,
755 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
756 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21,
757 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
758 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
759 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
760 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
761 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
762 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65,
763 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,
764 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a,
765 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
766 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0xba, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73,
767 0x74, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73,
768 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x74, 0x72, 0x75, 0x73, 0x74, 0x5f, 0x63,
769 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67,
770 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x65, 0x72, 0x74,
771 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76,
772 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x74,
773 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e,
774 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02,
775 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f,
776 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62,
777 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63,
778 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x62, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x72, 0x75, 0x73,
779 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49,
780 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41,
781 0x02, 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
782 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
783 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e,
784 0x66, 0x69, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xe3, 0x01, 0x0a, 0x18, 0x43, 0x72,
785 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
786 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
787 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21,
788 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
789 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
790 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x0f, 0x74, 0x72, 0x75,
791 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
792 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x74, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f,
793 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x57, 0x0a, 0x0c, 0x74, 0x72, 0x75, 0x73, 0x74, 0x5f,
794 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67,
795 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x65, 0x72, 0x74,
796 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76,
797 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0,
798 0x41, 0x02, 0x52, 0x0b, 0x74, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22,
799 0xb5, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43,
800 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x0c,
801 0x74, 0x72, 0x75, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01,
802 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
803 0x64, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e,
804 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e,
805 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x74, 0x72, 0x75, 0x73, 0x74, 0x43,
806 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
807 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
808 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
809 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64,
810 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x79, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74,
811 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75,
812 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
813 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x63, 0x65, 0x72, 0x74, 0x69,
814 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f,
815 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75,
816 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12,
817 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74,
818 0x61, 0x67, 0x22, 0xa6, 0x07, 0x0a, 0x0b, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66,
819 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
820 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
821 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
822 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
823 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72,
824 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61,
825 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
826 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
827 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a,
828 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x06, 0x6c, 0x61,
829 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f,
830 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66,
831 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
832 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65,
833 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12,
834 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05,
835 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
836 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
837 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x5d, 0x0a, 0x0c, 0x74, 0x72, 0x75, 0x73, 0x74, 0x5f, 0x73,
838 0x74, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f,
839 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x69,
840 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31,
841 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x72, 0x75,
842 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x0b, 0x74, 0x72, 0x75, 0x73, 0x74, 0x53, 0x74,
843 0x6f, 0x72, 0x65, 0x73, 0x1a, 0x40, 0x0a, 0x0b, 0x54, 0x72, 0x75, 0x73, 0x74, 0x41, 0x6e, 0x63,
844 0x68, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x0f, 0x70, 0x65, 0x6d, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69,
845 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e,
846 0x70, 0x65, 0x6d, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x06,
847 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x1a, 0x43, 0x0a, 0x0e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6d,
848 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x41, 0x12, 0x29, 0x0a, 0x0f, 0x70, 0x65, 0x6d, 0x5f,
849 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
850 0x09, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x65, 0x6d, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63,
851 0x61, 0x74, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x1a, 0xd9, 0x01, 0x0a, 0x0a,
852 0x54, 0x72, 0x75, 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x60, 0x0a, 0x0d, 0x74, 0x72,
853 0x75, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
854 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
855 0x2e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61,
856 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66,
857 0x69, 0x67, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x52, 0x0c,
858 0x74, 0x72, 0x75, 0x73, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x73, 0x12, 0x69, 0x0a, 0x10,
859 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x73,
860 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
861 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
862 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73,
863 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64,
864 0x69, 0x61, 0x74, 0x65, 0x43, 0x41, 0x52, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64,
865 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c,
866 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
867 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
868 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
869 0x38, 0x01, 0x3a, 0x77, 0xea, 0x41, 0x74, 0x0a, 0x2d, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
870 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
871 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x73, 0x74,
872 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x43, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
873 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
874 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f,
875 0x74, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x74, 0x72,
876 0x75, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x42, 0x86, 0x02, 0x0a, 0x26,
877 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
878 0x2e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61,
879 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x54, 0x72, 0x75, 0x73, 0x74, 0x43, 0x6f, 0x6e,
880 0x69, 0x66, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x63, 0x6c, 0x6f, 0x75,
881 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
882 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
883 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
884 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x63, 0x65,
885 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
886 0x70, 0x62, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75,
887 0x64, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e,
888 0x61, 0x67, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
889 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
890 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x25, 0x47,
891 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x43, 0x65,
892 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
893 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
894 }
895
896 var (
897 file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescOnce sync.Once
898 file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescData = file_google_cloud_certificatemanager_v1_trust_config_proto_rawDesc
899 )
900
901 func file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescGZIP() []byte {
902 file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescOnce.Do(func() {
903 file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescData)
904 })
905 return file_google_cloud_certificatemanager_v1_trust_config_proto_rawDescData
906 }
907
908 var file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
909 var file_google_cloud_certificatemanager_v1_trust_config_proto_goTypes = []any{
910 (*ListTrustConfigsRequest)(nil), // 0: google.cloud.certificatemanager.v1.ListTrustConfigsRequest
911 (*ListTrustConfigsResponse)(nil), // 1: google.cloud.certificatemanager.v1.ListTrustConfigsResponse
912 (*GetTrustConfigRequest)(nil), // 2: google.cloud.certificatemanager.v1.GetTrustConfigRequest
913 (*CreateTrustConfigRequest)(nil), // 3: google.cloud.certificatemanager.v1.CreateTrustConfigRequest
914 (*UpdateTrustConfigRequest)(nil), // 4: google.cloud.certificatemanager.v1.UpdateTrustConfigRequest
915 (*DeleteTrustConfigRequest)(nil), // 5: google.cloud.certificatemanager.v1.DeleteTrustConfigRequest
916 (*TrustConfig)(nil), // 6: google.cloud.certificatemanager.v1.TrustConfig
917 (*TrustConfig_TrustAnchor)(nil), // 7: google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor
918 (*TrustConfig_IntermediateCA)(nil), // 8: google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA
919 (*TrustConfig_TrustStore)(nil), // 9: google.cloud.certificatemanager.v1.TrustConfig.TrustStore
920 nil, // 10: google.cloud.certificatemanager.v1.TrustConfig.LabelsEntry
921 (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask
922 (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
923 }
924 var file_google_cloud_certificatemanager_v1_trust_config_proto_depIdxs = []int32{
925 6, // 0: google.cloud.certificatemanager.v1.ListTrustConfigsResponse.trust_configs:type_name -> google.cloud.certificatemanager.v1.TrustConfig
926 6, // 1: google.cloud.certificatemanager.v1.CreateTrustConfigRequest.trust_config:type_name -> google.cloud.certificatemanager.v1.TrustConfig
927 6, // 2: google.cloud.certificatemanager.v1.UpdateTrustConfigRequest.trust_config:type_name -> google.cloud.certificatemanager.v1.TrustConfig
928 11, // 3: google.cloud.certificatemanager.v1.UpdateTrustConfigRequest.update_mask:type_name -> google.protobuf.FieldMask
929 12, // 4: google.cloud.certificatemanager.v1.TrustConfig.create_time:type_name -> google.protobuf.Timestamp
930 12, // 5: google.cloud.certificatemanager.v1.TrustConfig.update_time:type_name -> google.protobuf.Timestamp
931 10, // 6: google.cloud.certificatemanager.v1.TrustConfig.labels:type_name -> google.cloud.certificatemanager.v1.TrustConfig.LabelsEntry
932 9, // 7: google.cloud.certificatemanager.v1.TrustConfig.trust_stores:type_name -> google.cloud.certificatemanager.v1.TrustConfig.TrustStore
933 7, // 8: google.cloud.certificatemanager.v1.TrustConfig.TrustStore.trust_anchors:type_name -> google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor
934 8, // 9: google.cloud.certificatemanager.v1.TrustConfig.TrustStore.intermediate_cas:type_name -> google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA
935 10, // [10:10] is the sub-list for method output_type
936 10, // [10:10] is the sub-list for method input_type
937 10, // [10:10] is the sub-list for extension type_name
938 10, // [10:10] is the sub-list for extension extendee
939 0, // [0:10] is the sub-list for field type_name
940 }
941
942 func init() { file_google_cloud_certificatemanager_v1_trust_config_proto_init() }
943 func file_google_cloud_certificatemanager_v1_trust_config_proto_init() {
944 if File_google_cloud_certificatemanager_v1_trust_config_proto != nil {
945 return
946 }
947 file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[7].OneofWrappers = []any{
948 (*TrustConfig_TrustAnchor_PemCertificate)(nil),
949 }
950 file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes[8].OneofWrappers = []any{
951 (*TrustConfig_IntermediateCA_PemCertificate)(nil),
952 }
953 type x struct{}
954 out := protoimpl.TypeBuilder{
955 File: protoimpl.DescBuilder{
956 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
957 RawDescriptor: file_google_cloud_certificatemanager_v1_trust_config_proto_rawDesc,
958 NumEnums: 0,
959 NumMessages: 11,
960 NumExtensions: 0,
961 NumServices: 0,
962 },
963 GoTypes: file_google_cloud_certificatemanager_v1_trust_config_proto_goTypes,
964 DependencyIndexes: file_google_cloud_certificatemanager_v1_trust_config_proto_depIdxs,
965 MessageInfos: file_google_cloud_certificatemanager_v1_trust_config_proto_msgTypes,
966 }.Build()
967 File_google_cloud_certificatemanager_v1_trust_config_proto = out.File
968 file_google_cloud_certificatemanager_v1_trust_config_proto_rawDesc = nil
969 file_google_cloud_certificatemanager_v1_trust_config_proto_goTypes = nil
970 file_google_cloud_certificatemanager_v1_trust_config_proto_depIdxs = nil
971 }