1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type PgpSignedAttestation_ContentType int32
41
42 const (
43
44 PgpSignedAttestation_CONTENT_TYPE_UNSPECIFIED PgpSignedAttestation_ContentType = 0
45
46
47
48
49 PgpSignedAttestation_SIMPLE_SIGNING_JSON PgpSignedAttestation_ContentType = 1
50 )
51
52
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
87 func (PgpSignedAttestation_ContentType) EnumDescriptor() ([]byte, []int) {
88 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescGZIP(), []int{0, 0}
89 }
90
91
92 type GenericSignedAttestation_ContentType int32
93
94 const (
95
96 GenericSignedAttestation_CONTENT_TYPE_UNSPECIFIED GenericSignedAttestation_ContentType = 0
97
98
99
100
101 GenericSignedAttestation_SIMPLE_SIGNING_JSON GenericSignedAttestation_ContentType = 1
102 )
103
104
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
139 func (GenericSignedAttestation_ContentType) EnumDescriptor() ([]byte, []int) {
140 return file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_rawDescGZIP(), []int{1, 0}
141 }
142
143
144
145
146 type PgpSignedAttestation struct {
147 state protoimpl.MessageState
148 sizeCache protoimpl.SizeCache
149 unknownFields protoimpl.UnknownFields
150
151
152
153
154
155
156
157
158
159
160 Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
161
162
163
164
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
167
168
169
170
171
172
173
174
175
176
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
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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
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
267
268
269
270 type GenericSignedAttestation struct {
271 state protoimpl.MessageState
272 sizeCache protoimpl.SizeCache
273 unknownFields protoimpl.UnknownFields
274
275
276
277
278
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
281
282
283 SerializedPayload []byte `protobuf:"bytes,2,opt,name=serialized_payload,json=serializedPayload,proto3" json:"serialized_payload,omitempty"`
284
285
286
287
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
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
345
346
347
348
349
350
351
352 type Authority struct {
353 state protoimpl.MessageState
354 sizeCache protoimpl.SizeCache
355 unknownFields protoimpl.UnknownFields
356
357
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
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
401 type Details struct {
402 state protoimpl.MessageState
403 sizeCache protoimpl.SizeCache
404 unknownFields protoimpl.UnknownFields
405
406
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
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
450
451
452
453
454
455
456
457 type Attestation struct {
458 state protoimpl.MessageState
459 sizeCache protoimpl.SizeCache
460 unknownFields protoimpl.UnknownFields
461
462
463
464
465
466
467
468
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
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
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
543
544
545
546
547
548
549 type Authority_Hint struct {
550 state protoimpl.MessageState
551 sizeCache protoimpl.SizeCache
552 unknownFields protoimpl.UnknownFields
553
554
555
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
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),
705 (GenericSignedAttestation_ContentType)(0),
706 (*PgpSignedAttestation)(nil),
707 (*GenericSignedAttestation)(nil),
708 (*Authority)(nil),
709 (*Details)(nil),
710 (*Attestation)(nil),
711 (*Authority_Hint)(nil),
712 (*common.Signature)(nil),
713 }
714 var file_google_devtools_containeranalysis_v1beta1_attestation_attestation_proto_depIdxs = []int32{
715 0,
716 1,
717 8,
718 7,
719 6,
720 2,
721 3,
722 7,
723 7,
724 7,
725 7,
726 0,
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 }
835
View as plain text