Debian Codegraph @

googleapis/devtools/containeranalysis/v1beta1/attestation/attestation.pb.go

raw
1 // Copyright 2018 The Grafeas Authors. All rights reserved.
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/devtools/containeranalysis/v1beta1/attestation/attestation.proto
20
21 package attestation
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 common "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Type (for example schema) of the attestation payload that was signed.
40 type PgpSignedAttestation_ContentType int32
41
42 const (
43 // `ContentType` is not set.
44 PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED PgpSignedAttestation_ContentType = 0
45 // Atomic format attestation signature. See
46 // https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md
47 // The payload extracted from `signature` is a JSON blob conforming to the
48 // linked schema.
49 PgpSignedAttestation_SIMPLE_SIGNING_JSON PgpSignedAttestation_ContentType = 1
50 )
51
52 // Enum value maps for PgpSignedAttestation_ContentType.
53 var (
54 PgpSignedAttestation_ContentType_name = map[int32]string{
55 0: "CONTENT_TYPE_UNSPECIFIED",
56 1: "SIMPLE_SIGNING_JSON",
57 }
58 PgpSignedAttestation_ContentType_value = map[string]int32{
59 "CONTENT_TYPE_UNSPECIFIED": 0,
60 "SIMPLE_SIGNING_JSON": 1,
61 }
62 )
63
64 func (x PgpSignedAttestation_ContentType) Enum() *PgpSignedAttestation_ContentType {
65 p := new(PgpSignedAttestation_ContentType)
66 *p = x
67 return p
68 }
69
70 func (x PgpSignedAttestation_ContentType) String() string {
71 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
72 }
73
74 func (PgpSignedAttestation_ContentType) Descriptor() protoreflect.EnumDescriptor {
75 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_enumTypes[0].Descriptor()
76 }
77
78 func (PgpSignedAttestation_ContentType) Type() protoreflect.EnumType {
79 return &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_enumTypes[0]
80 }
81
82 func (x PgpSignedAttestation_ContentType) Number() protoreflect.EnumNumber {
83 return protoreflect.EnumNumber(x)
84 }
85
86 // Deprecated: Use PgpSignedAttestation_ContentType.Descriptor instead.
87 func (PgpSignedAttestation_ContentType) EnumDescriptor() ([]byte, []int) {
88 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescGZIP(), []int{0, 0}
89 }
90
91 // Type of the attestation plaintext that was signed.
92 type GenericSignedAttestation_ContentType int32
93
94 const (
95 // `ContentType` is not set.
96 GenericSignedAttestation_CONTENT_TYPE_UNSPECIFIED GenericSignedAttestation_ContentType = 0
97 // Atomic format attestation signature. See
98 // https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md
99 // The payload extracted in `plaintext` is a JSON blob conforming to the
100 // linked schema.
101 GenericSignedAttestation_SIMPLE_SIGNING_JSON GenericSignedAttestation_ContentType = 1
102 )
103
104 // Enum value maps for GenericSignedAttestation_ContentType.
105 var (
106 GenericSignedAttestation_ContentType_name = map[int32]string{
107 0: "CONTENT_TYPE_UNSPECIFIED",
108 1: "SIMPLE_SIGNING_JSON",
109 }
110 GenericSignedAttestation_ContentType_value = map[string]int32{
111 "CONTENT_TYPE_UNSPECIFIED": 0,
112 "SIMPLE_SIGNING_JSON": 1,
113 }
114 )
115
116 func (x GenericSignedAttestation_ContentType) Enum() *GenericSignedAttestation_ContentType {
117 p := new(GenericSignedAttestation_ContentType)
118 *p = x
119 return p
120 }
121
122 func (x GenericSignedAttestation_ContentType) String() string {
123 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
124 }
125
126 func (GenericSignedAttestation_ContentType) Descriptor() protoreflect.EnumDescriptor {
127 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_enumTypes[1].Descriptor()
128 }
129
130 func (GenericSignedAttestation_ContentType) Type() protoreflect.EnumType {
131 return &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_enumTypes[1]
132 }
133
134 func (x GenericSignedAttestation_ContentType) Number() protoreflect.EnumNumber {
135 return protoreflect.EnumNumber(x)
136 }
137
138 // Deprecated: Use GenericSignedAttestation_ContentType.Descriptor instead.
139 func (GenericSignedAttestation_ContentType) EnumDescriptor() ([]byte, []int) {
140 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescGZIP(), []int{1, 0}
141 }
142
143 // An attestation wrapper with a PGP-compatible signature. This message only
144 // supports `ATTACHED` signatures, where the payload that is signed is included
145 // alongside the signature itself in the same file.
146 type PgpSignedAttestation struct {
147 state protoimpl.MessageState
148 sizeCache protoimpl.SizeCache
149 unknownFields protoimpl.UnknownFields
150
151 // Required. The raw content of the signature, as output by GNU Privacy Guard
152 // (GPG) or equivalent. Since this message only supports attached signatures,
153 // the payload that was signed must be attached. While the signature format
154 // supported is dependent on the verification implementation, currently only
155 // ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than
156 // `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor
157 // --output=signature.gpg payload.json` will create the signature content
158 // expected in this field in `signature.gpg` for the `payload.json`
159 // attestation payload.
160 Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
161 // Type (for example schema) of the attestation payload that was signed.
162 // The verifier must ensure that the provided type is one that the verifier
163 // supports, and that the attestation payload is a valid instantiation of that
164 // type (for example by validating a JSON schema).
165 ContentType PgpSignedAttestation_ContentType `protobuf:"varint,3,opt,name=content_type,json=contentType,proto3,enum=grafeas.v1beta1.attestation.PgpSignedAttestation_ContentType" json:"content_type,omitempty"`
166 // This field is used by verifiers to select the public key used to validate
167 // the signature. Note that the policy of the verifier ultimately determines
168 // which public keys verify a signature based on the context of the
169 // verification. There is no guarantee validation will succeed if the
170 // verifier has no key matching this ID, even if it has a key under a
171 // different ID that would verify the signature. Note that this ID should also
172 // be present in the signature content above, but that is not expected to be
173 // used by the verifier.
174 //
175 // Types that are assignable to KeyId:
176 // *PgpSignedAttestation_PgpKeyId
177 KeyId isPgpSignedAttestation_KeyId `protobuf_oneof:"key_id"`
178 }
179
180 func (x *PgpSignedAttestation) Reset() {
181 *x = PgpSignedAttestation{}
182 if protoimpl.UnsafeEnabled {
183 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[0]
184 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
185 ms.StoreMessageInfo(mi)
186 }
187 }
188
189 func (x *PgpSignedAttestation) String() string {
190 return protoimpl.X.MessageStringOf(x)
191 }
192
193 func (*PgpSignedAttestation) ProtoMessage() {}
194
195 func (x *PgpSignedAttestation) ProtoReflect() protoreflect.Message {
196 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[0]
197 if protoimpl.UnsafeEnabled && x != nil {
198 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
199 if ms.LoadMessageInfo() == nil {
200 ms.StoreMessageInfo(mi)
201 }
202 return ms
203 }
204 return mi.MessageOf(x)
205 }
206
207 // Deprecated: Use PgpSignedAttestation.ProtoReflect.Descriptor instead.
208 func (*PgpSignedAttestation) Descriptor() ([]byte, []int) {
209 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescGZIP(), []int{0}
210 }
211
212 func (x *PgpSignedAttestation) GetSignature() string {
213 if x != nil {
214 return x.Signature
215 }
216 return ""
217 }
218
219 func (x *PgpSignedAttestation) GetContentType() PgpSignedAttestation_ContentType {
220 if x != nil {
221 return x.ContentType
222 }
223 return PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED
224 }
225
226 func (m *PgpSignedAttestation) GetKeyId() isPgpSignedAttestation_KeyId {
227 if m != nil {
228 return m.KeyId
229 }
230 return nil
231 }
232
233 func (x *PgpSignedAttestation) GetPgpKeyId() string {
234 if x, ok := x.GetKeyId().(*PgpSignedAttestation_PgpKeyId); ok {
235 return x.PgpKeyId
236 }
237 return ""
238 }
239
240 type isPgpSignedAttestation_KeyId interface {
241 isPgpSignedAttestation_KeyId()
242 }
243
244 type PgpSignedAttestation_PgpKeyId struct {
245 // The cryptographic fingerprint of the key used to generate the signature,
246 // as output by, e.g. `gpg --list-keys`. This should be the version 4, full
247 // 160-bit fingerprint, expressed as a 40 character hexidecimal string. See
248 // https://tools.ietf.org/html/rfc4880#section-12.2 for details.
249 // Implementations may choose to acknowledge "LONG", "SHORT", or other
250 // abbreviated key IDs, but only the full fingerprint is guaranteed to work.
251 // In gpg, the full fingerprint can be retrieved from the `fpr` field
252 // returned when calling --list-keys with --with-colons. For example:
253 // ```
254 // gpg --with-colons --with-fingerprint --force-v4-certs \
255 // --list-keys [email protected]
256 // tru::1:1513631572:0:3:1:5
257 // pub:...<SNIP>...
258 // fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB:
259 // ```
260 // Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
261 PgpKeyId string `protobuf:"bytes,2,opt,name=pgp_key_id,json=pgpKeyId,proto3,oneof"`
262 }
263
264 func (*PgpSignedAttestation_PgpKeyId) isPgpSignedAttestation_KeyId() {}
265
266 // An attestation wrapper that uses the Grafeas `Signature` message.
267 // This attestation must define the `serialized_payload` that the `signatures`
268 // verify and any metadata necessary to interpret that plaintext. The
269 // signatures should always be over the `serialized_payload` bytestring.
270 type GenericSignedAttestation struct {
271 state protoimpl.MessageState
272 sizeCache protoimpl.SizeCache
273 unknownFields protoimpl.UnknownFields
274
275 // Type (for example schema) of the attestation payload that was signed.
276 // The verifier must ensure that the provided type is one that the verifier
277 // supports, and that the attestation payload is a valid instantiation of that
278 // type (for example by validating a JSON schema).
279 ContentType GenericSignedAttestation_ContentType `protobuf:"varint,1,opt,name=content_type,json=contentType,proto3,enum=grafeas.v1beta1.attestation.GenericSignedAttestation_ContentType" json:"content_type,omitempty"`
280 // The serialized payload that is verified by one or more `signatures`.
281 // The encoding and semantic meaning of this payload must match what is set in
282 // `content_type`.
283 SerializedPayload []byte `protobuf:"bytes,2,opt,name=serialized_payload,json=serializedPayload,proto3" json:"serialized_payload,omitempty"`
284 // One or more signatures over `serialized_payload`. Verifier implementations
285 // should consider this attestation message verified if at least one
286 // `signature` verifies `serialized_payload`. See `Signature` in common.proto
287 // for more details on signature structure and verification.
288 Signatures []*common.Signature `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
289 }
290
291 func (x *GenericSignedAttestation) Reset() {
292 *x = GenericSignedAttestation{}
293 if protoimpl.UnsafeEnabled {
294 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[1]
295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
296 ms.StoreMessageInfo(mi)
297 }
298 }
299
300 func (x *GenericSignedAttestation) String() string {
301 return protoimpl.X.MessageStringOf(x)
302 }
303
304 func (*GenericSignedAttestation) ProtoMessage() {}
305
306 func (x *GenericSignedAttestation) ProtoReflect() protoreflect.Message {
307 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[1]
308 if protoimpl.UnsafeEnabled && x != nil {
309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
310 if ms.LoadMessageInfo() == nil {
311 ms.StoreMessageInfo(mi)
312 }
313 return ms
314 }
315 return mi.MessageOf(x)
316 }
317
318 // Deprecated: Use GenericSignedAttestation.ProtoReflect.Descriptor instead.
319 func (*GenericSignedAttestation) Descriptor() ([]byte, []int) {
320 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescGZIP(), []int{1}
321 }
322
323 func (x *GenericSignedAttestation) GetContentType() GenericSignedAttestation_ContentType {
324 if x != nil {
325 return x.ContentType
326 }
327 return GenericSignedAttestation_CONTENT_TYPE_UNSPECIFIED
328 }
329
330 func (x *GenericSignedAttestation) GetSerializedPayload() []byte {
331 if x != nil {
332 return x.SerializedPayload
333 }
334 return nil
335 }
336
337 func (x *GenericSignedAttestation) GetSignatures() []*common.Signature {
338 if x != nil {
339 return x.Signatures
340 }
341 return nil
342 }
343
344 // Note kind that represents a logical attestation "role" or "authority". For
345 // example, an organization might have one `Authority` for "QA" and one for
346 // "build". This note is intended to act strictly as a grouping mechanism for
347 // the attached occurrences (Attestations). This grouping mechanism also
348 // provides a security boundary, since IAM ACLs gate the ability for a principle
349 // to attach an occurrence to a given note. It also provides a single point of
350 // lookup to find all attached attestation occurrences, even if they don't all
351 // live in the same project.
352 type Authority struct {
353 state protoimpl.MessageState
354 sizeCache protoimpl.SizeCache
355 unknownFields protoimpl.UnknownFields
356
357 // Hint hints at the purpose of the attestation authority.
358 Hint *Authority_Hint `protobuf:"bytes,1,opt,name=hint,proto3" json:"hint,omitempty"`
359 }
360
361 func (x *Authority) Reset() {
362 *x = Authority{}
363 if protoimpl.UnsafeEnabled {
364 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[2]
365 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
366 ms.StoreMessageInfo(mi)
367 }
368 }
369
370 func (x *Authority) String() string {
371 return protoimpl.X.MessageStringOf(x)
372 }
373
374 func (*Authority) ProtoMessage() {}
375
376 func (x *Authority) ProtoReflect() protoreflect.Message {
377 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[2]
378 if protoimpl.UnsafeEnabled && x != nil {
379 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
380 if ms.LoadMessageInfo() == nil {
381 ms.StoreMessageInfo(mi)
382 }
383 return ms
384 }
385 return mi.MessageOf(x)
386 }
387
388 // Deprecated: Use Authority.ProtoReflect.Descriptor instead.
389 func (*Authority) Descriptor() ([]byte, []int) {
390 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescGZIP(), []int{2}
391 }
392
393 func (x *Authority) GetHint() *Authority_Hint {
394 if x != nil {
395 return x.Hint
396 }
397 return nil
398 }
399
400 // Details of an attestation occurrence.
401 type Details struct {
402 state protoimpl.MessageState
403 sizeCache protoimpl.SizeCache
404 unknownFields protoimpl.UnknownFields
405
406 // Required. Attestation for the resource.
407 Attestation *Attestation `protobuf:"bytes,1,opt,name=attestation,proto3" json:"attestation,omitempty"`
408 }
409
410 func (x *Details) Reset() {
411 *x = Details{}
412 if protoimpl.UnsafeEnabled {
413 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[3]
414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
415 ms.StoreMessageInfo(mi)
416 }
417 }
418
419 func (x *Details) String() string {
420 return protoimpl.X.MessageStringOf(x)
421 }
422
423 func (*Details) ProtoMessage() {}
424
425 func (x *Details) ProtoReflect() protoreflect.Message {
426 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[3]
427 if protoimpl.UnsafeEnabled && x != nil {
428 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
429 if ms.LoadMessageInfo() == nil {
430 ms.StoreMessageInfo(mi)
431 }
432 return ms
433 }
434 return mi.MessageOf(x)
435 }
436
437 // Deprecated: Use Details.ProtoReflect.Descriptor instead.
438 func (*Details) Descriptor() ([]byte, []int) {
439 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescGZIP(), []int{3}
440 }
441
442 func (x *Details) GetAttestation() *Attestation {
443 if x != nil {
444 return x.Attestation
445 }
446 return nil
447 }
448
449 // Occurrence that represents a single "attestation". The authenticity of an
450 // attestation can be verified using the attached signature. If the verifier
451 // trusts the public key of the signer, then verifying the signature is
452 // sufficient to establish trust. In this circumstance, the authority to which
453 // this attestation is attached is primarily useful for look-up (how to find
454 // this attestation if you already know the authority and artifact to be
455 // verified) and intent (which authority was this attestation intended to sign
456 // for).
457 type Attestation struct {
458 state protoimpl.MessageState
459 sizeCache protoimpl.SizeCache
460 unknownFields protoimpl.UnknownFields
461
462 // Required. The signature, generally over the `resource_url`, that verifies
463 // this attestation. The semantics of the signature veracity are ultimately
464 // determined by the verification engine.
465 //
466 // Types that are assignable to Signature:
467 // *Attestation_PgpSignedAttestation
468 // *Attestation_GenericSignedAttestation
469 Signature isAttestation_Signature `protobuf_oneof:"signature"`
470 }
471
472 func (x *Attestation) Reset() {
473 *x = Attestation{}
474 if protoimpl.UnsafeEnabled {
475 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[4]
476 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
477 ms.StoreMessageInfo(mi)
478 }
479 }
480
481 func (x *Attestation) String() string {
482 return protoimpl.X.MessageStringOf(x)
483 }
484
485 func (*Attestation) ProtoMessage() {}
486
487 func (x *Attestation) ProtoReflect() protoreflect.Message {
488 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[4]
489 if protoimpl.UnsafeEnabled && x != nil {
490 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
491 if ms.LoadMessageInfo() == nil {
492 ms.StoreMessageInfo(mi)
493 }
494 return ms
495 }
496 return mi.MessageOf(x)
497 }
498
499 // Deprecated: Use Attestation.ProtoReflect.Descriptor instead.
500 func (*Attestation) Descriptor() ([]byte, []int) {
501 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescGZIP(), []int{4}
502 }
503
504 func (m *Attestation) GetSignature() isAttestation_Signature {
505 if m != nil {
506 return m.Signature
507 }
508 return nil
509 }
510
511 func (x *Attestation) GetPgpSignedAttestation() *PgpSignedAttestation {
512 if x, ok := x.GetSignature().(*Attestation_PgpSignedAttestation); ok {
513 return x.PgpSignedAttestation
514 }
515 return nil
516 }
517
518 func (x *Attestation) GetGenericSignedAttestation() *GenericSignedAttestation {
519 if x, ok := x.GetSignature().(*Attestation_GenericSignedAttestation); ok {
520 return x.GenericSignedAttestation
521 }
522 return nil
523 }
524
525 type isAttestation_Signature interface {
526 isAttestation_Signature()
527 }
528
529 type Attestation_PgpSignedAttestation struct {
530 // A PGP signed attestation.
531 PgpSignedAttestation *PgpSignedAttestation `protobuf:"bytes,1,opt,name=pgp_signed_attestation,json=pgpSignedAttestation,proto3,oneof"`
532 }
533
534 type Attestation_GenericSignedAttestation struct {
535 GenericSignedAttestation *GenericSignedAttestation `protobuf:"bytes,2,opt,name=generic_signed_attestation,json=genericSignedAttestation,proto3,oneof"`
536 }
537
538 func (*Attestation_PgpSignedAttestation) isAttestation_Signature() {}
539
540 func (*Attestation_GenericSignedAttestation) isAttestation_Signature() {}
541
542 // This submessage provides human-readable hints about the purpose of the
543 // authority. Because the name of a note acts as its resource reference, it is
544 // important to disambiguate the canonical name of the Note (which might be a
545 // UUID for security purposes) from "readable" names more suitable for debug
546 // output. Note that these hints should not be used to look up authorities in
547 // security sensitive contexts, such as when looking up attestations to
548 // verify.
549 type Authority_Hint struct {
550 state protoimpl.MessageState
551 sizeCache protoimpl.SizeCache
552 unknownFields protoimpl.UnknownFields
553
554 // Required. The human readable name of this attestation authority, for
555 // example "qa".
556 HumanReadableName string `protobuf:"bytes,1,opt,name=human_readable_name,json=humanReadableName,proto3" json:"human_readable_name,omitempty"`
557 }
558
559 func (x *Authority_Hint) Reset() {
560 *x = Authority_Hint{}
561 if protoimpl.UnsafeEnabled {
562 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[5]
563 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
564 ms.StoreMessageInfo(mi)
565 }
566 }
567
568 func (x *Authority_Hint) String() string {
569 return protoimpl.X.MessageStringOf(x)
570 }
571
572 func (*Authority_Hint) ProtoMessage() {}
573
574 func (x *Authority_Hint) ProtoReflect() protoreflect.Message {
575 mi := &file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[5]
576 if protoimpl.UnsafeEnabled && x != nil {
577 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
578 if ms.LoadMessageInfo() == nil {
579 ms.StoreMessageInfo(mi)
580 }
581 return ms
582 }
583 return mi.MessageOf(x)
584 }
585
586 // Deprecated: Use Authority_Hint.ProtoReflect.Descriptor instead.
587 func (*Authority_Hint) Descriptor() ([]byte, []int) {
588 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescGZIP(), []int{2, 0}
589 }
590
591 func (x *Authority_Hint) GetHumanReadableName() string {
592 if x != nil {
593 return x.HumanReadableName
594 }
595 return ""
596 }
597
598 var File_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto protoreflect.FileDescriptor
599
600 var file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDesc = []byte{
601 0x0a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
602 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79,
603 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x74, 0x74, 0x65,
604 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74,
605 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x72, 0x61, 0x66, 0x65,
606 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73,
607 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64,
608 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
609 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
610 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
611 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x02, 0x0a, 0x14, 0x50, 0x67, 0x70, 0x53, 0x69, 0x67,
612 0x6e, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c,
613 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
614 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x60, 0x0a, 0x0c,
615 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
616 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62,
617 0x65, 0x74, 0x61, 0x31, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
618 0x2e, 0x50, 0x67, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74,
619 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
620 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e,
621 0x0a, 0x0a, 0x70, 0x67, 0x70, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
622 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x70, 0x67, 0x70, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x22, 0x44,
623 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a,
624 0x18, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
625 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x53,
626 0x49, 0x4d, 0x50, 0x4c, 0x45, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x4a, 0x53,
627 0x4f, 0x4e, 0x10, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x22, 0xb1,
628 0x02, 0x0a, 0x18, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64,
629 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x64, 0x0a, 0x0c, 0x63,
630 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
631 0x0e, 0x32, 0x41, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65,
632 0x74, 0x61, 0x31, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
633 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x74, 0x74,
634 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
635 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
636 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f,
637 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x73,
638 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
639 0x12, 0x3a, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03,
640 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
641 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
642 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0x44, 0x0a, 0x0b,
643 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x43,
644 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
645 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x49, 0x4d,
646 0x50, 0x4c, 0x45, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x4a, 0x53, 0x4f, 0x4e,
647 0x10, 0x01, 0x22, 0x84, 0x01, 0x0a, 0x09, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79,
648 0x12, 0x3f, 0x0a, 0x04, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b,
649 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
650 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74,
651 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x68, 0x69, 0x6e,
652 0x74, 0x1a, 0x36, 0x0a, 0x04, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x68, 0x75, 0x6d,
653 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
654 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61,
655 0x64, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x55, 0x0a, 0x07, 0x44, 0x65, 0x74,
656 0x61, 0x69, 0x6c, 0x73, 0x12, 0x4a, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74,
657 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x72, 0x61, 0x66,
658 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x61, 0x74, 0x74, 0x65,
659 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74,
660 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
661 0x22, 0xfc, 0x01, 0x0a, 0x0b, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
662 0x12, 0x69, 0x0a, 0x16, 0x70, 0x67, 0x70, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x61,
663 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
664 0x32, 0x31, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
665 0x61, 0x31, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50,
666 0x67, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74,
667 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x14, 0x70, 0x67, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64,
668 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x75, 0x0a, 0x1a, 0x67,
669 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x61, 0x74,
670 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
671 0x35, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
672 0x31, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65,
673 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73,
674 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x18, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69,
675 0x63, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69,
676 0x6f, 0x6e, 0x42, 0x0b, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42,
677 0x8a, 0x01, 0x0a, 0x1e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
678 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69,
679 0x6f, 0x6e, 0x50, 0x01, 0x5a, 0x60, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
680 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
681 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74,
682 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e,
683 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61,
684 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x61, 0x74, 0x74, 0x65, 0x73,
685 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62, 0x06, 0x70, 0x72,
686 0x6f, 0x74, 0x6f, 0x33,
687 }
688
689 var (
690 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescOnce sync.Once
691 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescData = file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDesc
692 )
693
694 func file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescGZIP() []byte {
695 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescOnce.Do(func() {
696 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescData)
697 })
698 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescData
699 }
700
701 var file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
702 var file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
703 var file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_goTypes = []interface{}{
704 (PgpSignedAttestation_ContentType)(0), // 0: grafeas.v1beta1.attestation.PgpSignedAttestation.ContentType
705 (GenericSignedAttestation_ContentType)(0), // 1: grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType
706 (*PgpSignedAttestation)(nil), // 2: grafeas.v1beta1.attestation.PgpSignedAttestation
707 (*GenericSignedAttestation)(nil), // 3: grafeas.v1beta1.attestation.GenericSignedAttestation
708 (*Authority)(nil), // 4: grafeas.v1beta1.attestation.Authority
709 (*Details)(nil), // 5: grafeas.v1beta1.attestation.Details
710 (*Attestation)(nil), // 6: grafeas.v1beta1.attestation.Attestation
711 (*Authority_Hint)(nil), // 7: grafeas.v1beta1.attestation.Authority.Hint
712 (*common.Signature)(nil), // 8: grafeas.v1beta1.Signature
713 }
714 var file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_depIdxs = []int32{
715 0, // 0: grafeas.v1beta1.attestation.PgpSignedAttestation.content_type:type_name -> grafeas.v1beta1.attestation.PgpSignedAttestation.ContentType
716 1, // 1: grafeas.v1beta1.attestation.GenericSignedAttestation.content_type:type_name -> grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType
717 8, // 2: grafeas.v1beta1.attestation.GenericSignedAttestation.signatures:type_name -> grafeas.v1beta1.Signature
718 7, // 3: grafeas.v1beta1.attestation.Authority.hint:type_name -> grafeas.v1beta1.attestation.Authority.Hint
719 6, // 4: grafeas.v1beta1.attestation.Details.attestation:type_name -> grafeas.v1beta1.attestation.Attestation
720 2, // 5: grafeas.v1beta1.attestation.Attestation.pgp_signed_attestation:type_name -> grafeas.v1beta1.attestation.PgpSignedAttestation
721 3, // 6: grafeas.v1beta1.attestation.Attestation.generic_signed_attestation:type_name -> grafeas.v1beta1.attestation.GenericSignedAttestation
722 7, // [7:7] is the sub-list for method output_type
723 7, // [7:7] is the sub-list for method input_type
724 7, // [7:7] is the sub-list for extension type_name
725 7, // [7:7] is the sub-list for extension extendee
726 0, // [0:7] is the sub-list for field type_name
727 }
728
729 func init() { file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_init() }
730 func file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_init() {
731 if File_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto != nil {
732 return
733 }
734 if !protoimpl.UnsafeEnabled {
735 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
736 switch v := v.(*PgpSignedAttestation); i {
737 case 0:
738 return &v.state
739 case 1:
740 return &v.sizeCache
741 case 2:
742 return &v.unknownFields
743 default:
744 return nil
745 }
746 }
747 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
748 switch v := v.(*GenericSignedAttestation); i {
749 case 0:
750 return &v.state
751 case 1:
752 return &v.sizeCache
753 case 2:
754 return &v.unknownFields
755 default:
756 return nil
757 }
758 }
759 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
760 switch v := v.(*Authority); i {
761 case 0:
762 return &v.state
763 case 1:
764 return &v.sizeCache
765 case 2:
766 return &v.unknownFields
767 default:
768 return nil
769 }
770 }
771 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
772 switch v := v.(*Details); i {
773 case 0:
774 return &v.state
775 case 1:
776 return &v.sizeCache
777 case 2:
778 return &v.unknownFields
779 default:
780 return nil
781 }
782 }
783 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
784 switch v := v.(*Attestation); i {
785 case 0:
786 return &v.state
787 case 1:
788 return &v.sizeCache
789 case 2:
790 return &v.unknownFields
791 default:
792 return nil
793 }
794 }
795 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
796 switch v := v.(*Authority_Hint); i {
797 case 0:
798 return &v.state
799 case 1:
800 return &v.sizeCache
801 case 2:
802 return &v.unknownFields
803 default:
804 return nil
805 }
806 }
807 }
808 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[0].OneofWrappers = []interface{}{
809 (*PgpSignedAttestation_PgpKeyId)(nil),
810 }
811 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes[4].OneofWrappers = []interface{}{
812 (*Attestation_PgpSignedAttestation)(nil),
813 (*Attestation_GenericSignedAttestation)(nil),
814 }
815 type x struct{}
816 out := protoimpl.TypeBuilder{
817 File: protoimpl.DescBuilder{
818 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
819 RawDescriptor: file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDesc,
820 NumEnums: 2,
821 NumMessages: 6,
822 NumExtensions: 0,
823 NumServices: 0,
824 },
825 GoTypes: file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_goTypes,
826 DependencyIndexes: file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_depIdxs,
827 EnumInfos: file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_enumTypes,
828 MessageInfos: file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_msgTypes,
829 }.Build()
830 File_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto = out.File
831 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDesc = nil
832 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_goTypes = nil
833 file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_depIdxs = nil
834 }