1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package grafeas
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 structpb "google.golang.org/protobuf/types/known/structpb"
30 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41
42
43
44 type InTotoStatement struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49
50 Type string `protobuf:"bytes,1,opt,name=type,json=_type,proto3" json:"type,omitempty"`
51 Subject []*Subject `protobuf:"bytes,2,rep,name=subject,proto3" json:"subject,omitempty"`
52
53 PredicateType string `protobuf:"bytes,3,opt,name=predicate_type,json=predicateType,proto3" json:"predicate_type,omitempty"`
54
55
56
57
58
59 Predicate isInTotoStatement_Predicate `protobuf_oneof:"predicate"`
60 }
61
62 func (x *InTotoStatement) Reset() {
63 *x = InTotoStatement{}
64 if protoimpl.UnsafeEnabled {
65 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[0]
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 ms.StoreMessageInfo(mi)
68 }
69 }
70
71 func (x *InTotoStatement) String() string {
72 return protoimpl.X.MessageStringOf(x)
73 }
74
75 func (*InTotoStatement) ProtoMessage() {}
76
77 func (x *InTotoStatement) ProtoReflect() protoreflect.Message {
78 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[0]
79 if protoimpl.UnsafeEnabled && x != nil {
80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81 if ms.LoadMessageInfo() == nil {
82 ms.StoreMessageInfo(mi)
83 }
84 return ms
85 }
86 return mi.MessageOf(x)
87 }
88
89
90 func (*InTotoStatement) Descriptor() ([]byte, []int) {
91 return file_grafeas_v1_intoto_statement_proto_rawDescGZIP(), []int{0}
92 }
93
94 func (x *InTotoStatement) GetType() string {
95 if x != nil {
96 return x.Type
97 }
98 return ""
99 }
100
101 func (x *InTotoStatement) GetSubject() []*Subject {
102 if x != nil {
103 return x.Subject
104 }
105 return nil
106 }
107
108 func (x *InTotoStatement) GetPredicateType() string {
109 if x != nil {
110 return x.PredicateType
111 }
112 return ""
113 }
114
115 func (m *InTotoStatement) GetPredicate() isInTotoStatement_Predicate {
116 if m != nil {
117 return m.Predicate
118 }
119 return nil
120 }
121
122 func (x *InTotoStatement) GetProvenance() *InTotoProvenance {
123 if x, ok := x.GetPredicate().(*InTotoStatement_Provenance); ok {
124 return x.Provenance
125 }
126 return nil
127 }
128
129 func (x *InTotoStatement) GetSlsaProvenance() *SlsaProvenance {
130 if x, ok := x.GetPredicate().(*InTotoStatement_SlsaProvenance); ok {
131 return x.SlsaProvenance
132 }
133 return nil
134 }
135
136 func (x *InTotoStatement) GetSlsaProvenanceZeroTwo() *SlsaProvenanceZeroTwo {
137 if x, ok := x.GetPredicate().(*InTotoStatement_SlsaProvenanceZeroTwo); ok {
138 return x.SlsaProvenanceZeroTwo
139 }
140 return nil
141 }
142
143 type isInTotoStatement_Predicate interface {
144 isInTotoStatement_Predicate()
145 }
146
147 type InTotoStatement_Provenance struct {
148 Provenance *InTotoProvenance `protobuf:"bytes,4,opt,name=provenance,proto3,oneof"`
149 }
150
151 type InTotoStatement_SlsaProvenance struct {
152 SlsaProvenance *SlsaProvenance `protobuf:"bytes,5,opt,name=slsa_provenance,json=slsaProvenance,proto3,oneof"`
153 }
154
155 type InTotoStatement_SlsaProvenanceZeroTwo struct {
156 SlsaProvenanceZeroTwo *SlsaProvenanceZeroTwo `protobuf:"bytes,6,opt,name=slsa_provenance_zero_two,json=slsaProvenanceZeroTwo,proto3,oneof"`
157 }
158
159 func (*InTotoStatement_Provenance) isInTotoStatement_Predicate() {}
160
161 func (*InTotoStatement_SlsaProvenance) isInTotoStatement_Predicate() {}
162
163 func (*InTotoStatement_SlsaProvenanceZeroTwo) isInTotoStatement_Predicate() {}
164
165 type Subject struct {
166 state protoimpl.MessageState
167 sizeCache protoimpl.SizeCache
168 unknownFields protoimpl.UnknownFields
169
170 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
171
172
173
174
175 Digest map[string]string `protobuf:"bytes,2,rep,name=digest,proto3" json:"digest,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
176 }
177
178 func (x *Subject) Reset() {
179 *x = Subject{}
180 if protoimpl.UnsafeEnabled {
181 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[1]
182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
183 ms.StoreMessageInfo(mi)
184 }
185 }
186
187 func (x *Subject) String() string {
188 return protoimpl.X.MessageStringOf(x)
189 }
190
191 func (*Subject) ProtoMessage() {}
192
193 func (x *Subject) ProtoReflect() protoreflect.Message {
194 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[1]
195 if protoimpl.UnsafeEnabled && x != nil {
196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
197 if ms.LoadMessageInfo() == nil {
198 ms.StoreMessageInfo(mi)
199 }
200 return ms
201 }
202 return mi.MessageOf(x)
203 }
204
205
206 func (*Subject) Descriptor() ([]byte, []int) {
207 return file_grafeas_v1_intoto_statement_proto_rawDescGZIP(), []int{1}
208 }
209
210 func (x *Subject) GetName() string {
211 if x != nil {
212 return x.Name
213 }
214 return ""
215 }
216
217 func (x *Subject) GetDigest() map[string]string {
218 if x != nil {
219 return x.Digest
220 }
221 return nil
222 }
223
224 type InTotoSlsaProvenanceV1 struct {
225 state protoimpl.MessageState
226 sizeCache protoimpl.SizeCache
227 unknownFields protoimpl.UnknownFields
228
229
230
231 Type string `protobuf:"bytes,1,opt,name=type,json=_type,proto3" json:"type,omitempty"`
232 Subject []*Subject `protobuf:"bytes,2,rep,name=subject,proto3" json:"subject,omitempty"`
233 PredicateType string `protobuf:"bytes,3,opt,name=predicate_type,json=predicateType,proto3" json:"predicate_type,omitempty"`
234 Predicate *InTotoSlsaProvenanceV1_SlsaProvenanceV1 `protobuf:"bytes,4,opt,name=predicate,proto3" json:"predicate,omitempty"`
235 }
236
237 func (x *InTotoSlsaProvenanceV1) Reset() {
238 *x = InTotoSlsaProvenanceV1{}
239 if protoimpl.UnsafeEnabled {
240 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[2]
241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
242 ms.StoreMessageInfo(mi)
243 }
244 }
245
246 func (x *InTotoSlsaProvenanceV1) String() string {
247 return protoimpl.X.MessageStringOf(x)
248 }
249
250 func (*InTotoSlsaProvenanceV1) ProtoMessage() {}
251
252 func (x *InTotoSlsaProvenanceV1) ProtoReflect() protoreflect.Message {
253 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[2]
254 if protoimpl.UnsafeEnabled && x != nil {
255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
256 if ms.LoadMessageInfo() == nil {
257 ms.StoreMessageInfo(mi)
258 }
259 return ms
260 }
261 return mi.MessageOf(x)
262 }
263
264
265 func (*InTotoSlsaProvenanceV1) Descriptor() ([]byte, []int) {
266 return file_grafeas_v1_intoto_statement_proto_rawDescGZIP(), []int{2}
267 }
268
269 func (x *InTotoSlsaProvenanceV1) GetType() string {
270 if x != nil {
271 return x.Type
272 }
273 return ""
274 }
275
276 func (x *InTotoSlsaProvenanceV1) GetSubject() []*Subject {
277 if x != nil {
278 return x.Subject
279 }
280 return nil
281 }
282
283 func (x *InTotoSlsaProvenanceV1) GetPredicateType() string {
284 if x != nil {
285 return x.PredicateType
286 }
287 return ""
288 }
289
290 func (x *InTotoSlsaProvenanceV1) GetPredicate() *InTotoSlsaProvenanceV1_SlsaProvenanceV1 {
291 if x != nil {
292 return x.Predicate
293 }
294 return nil
295 }
296
297
298
299
300 type InTotoSlsaProvenanceV1_SlsaProvenanceV1 struct {
301 state protoimpl.MessageState
302 sizeCache protoimpl.SizeCache
303 unknownFields protoimpl.UnknownFields
304
305 BuildDefinition *InTotoSlsaProvenanceV1_BuildDefinition `protobuf:"bytes,1,opt,name=build_definition,json=buildDefinition,proto3" json:"build_definition,omitempty"`
306 RunDetails *InTotoSlsaProvenanceV1_RunDetails `protobuf:"bytes,2,opt,name=run_details,json=runDetails,proto3" json:"run_details,omitempty"`
307 }
308
309 func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) Reset() {
310 *x = InTotoSlsaProvenanceV1_SlsaProvenanceV1{}
311 if protoimpl.UnsafeEnabled {
312 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[4]
313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
314 ms.StoreMessageInfo(mi)
315 }
316 }
317
318 func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) String() string {
319 return protoimpl.X.MessageStringOf(x)
320 }
321
322 func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) ProtoMessage() {}
323
324 func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) ProtoReflect() protoreflect.Message {
325 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[4]
326 if protoimpl.UnsafeEnabled && x != nil {
327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
328 if ms.LoadMessageInfo() == nil {
329 ms.StoreMessageInfo(mi)
330 }
331 return ms
332 }
333 return mi.MessageOf(x)
334 }
335
336
337 func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) Descriptor() ([]byte, []int) {
338 return file_grafeas_v1_intoto_statement_proto_rawDescGZIP(), []int{2, 0}
339 }
340
341 func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) GetBuildDefinition() *InTotoSlsaProvenanceV1_BuildDefinition {
342 if x != nil {
343 return x.BuildDefinition
344 }
345 return nil
346 }
347
348 func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) GetRunDetails() *InTotoSlsaProvenanceV1_RunDetails {
349 if x != nil {
350 return x.RunDetails
351 }
352 return nil
353 }
354
355 type InTotoSlsaProvenanceV1_BuildDefinition struct {
356 state protoimpl.MessageState
357 sizeCache protoimpl.SizeCache
358 unknownFields protoimpl.UnknownFields
359
360 BuildType string `protobuf:"bytes,1,opt,name=build_type,json=buildType,proto3" json:"build_type,omitempty"`
361 ExternalParameters *structpb.Struct `protobuf:"bytes,2,opt,name=external_parameters,json=externalParameters,proto3" json:"external_parameters,omitempty"`
362 InternalParameters *structpb.Struct `protobuf:"bytes,3,opt,name=internal_parameters,json=internalParameters,proto3" json:"internal_parameters,omitempty"`
363 ResolvedDependencies []*InTotoSlsaProvenanceV1_ResourceDescriptor `protobuf:"bytes,4,rep,name=resolved_dependencies,json=resolvedDependencies,proto3" json:"resolved_dependencies,omitempty"`
364 }
365
366 func (x *InTotoSlsaProvenanceV1_BuildDefinition) Reset() {
367 *x = InTotoSlsaProvenanceV1_BuildDefinition{}
368 if protoimpl.UnsafeEnabled {
369 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[5]
370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371 ms.StoreMessageInfo(mi)
372 }
373 }
374
375 func (x *InTotoSlsaProvenanceV1_BuildDefinition) String() string {
376 return protoimpl.X.MessageStringOf(x)
377 }
378
379 func (*InTotoSlsaProvenanceV1_BuildDefinition) ProtoMessage() {}
380
381 func (x *InTotoSlsaProvenanceV1_BuildDefinition) ProtoReflect() protoreflect.Message {
382 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[5]
383 if protoimpl.UnsafeEnabled && x != nil {
384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
385 if ms.LoadMessageInfo() == nil {
386 ms.StoreMessageInfo(mi)
387 }
388 return ms
389 }
390 return mi.MessageOf(x)
391 }
392
393
394 func (*InTotoSlsaProvenanceV1_BuildDefinition) Descriptor() ([]byte, []int) {
395 return file_grafeas_v1_intoto_statement_proto_rawDescGZIP(), []int{2, 1}
396 }
397
398 func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetBuildType() string {
399 if x != nil {
400 return x.BuildType
401 }
402 return ""
403 }
404
405 func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetExternalParameters() *structpb.Struct {
406 if x != nil {
407 return x.ExternalParameters
408 }
409 return nil
410 }
411
412 func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetInternalParameters() *structpb.Struct {
413 if x != nil {
414 return x.InternalParameters
415 }
416 return nil
417 }
418
419 func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetResolvedDependencies() []*InTotoSlsaProvenanceV1_ResourceDescriptor {
420 if x != nil {
421 return x.ResolvedDependencies
422 }
423 return nil
424 }
425
426 type InTotoSlsaProvenanceV1_ResourceDescriptor struct {
427 state protoimpl.MessageState
428 sizeCache protoimpl.SizeCache
429 unknownFields protoimpl.UnknownFields
430
431 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
432 Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
433 Digest map[string]string `protobuf:"bytes,3,rep,name=digest,proto3" json:"digest,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
434 Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
435 DownloadLocation string `protobuf:"bytes,5,opt,name=download_location,json=downloadLocation,proto3" json:"download_location,omitempty"`
436 MediaType string `protobuf:"bytes,6,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
437 Annotations map[string]*structpb.Value `protobuf:"bytes,7,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
438 }
439
440 func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) Reset() {
441 *x = InTotoSlsaProvenanceV1_ResourceDescriptor{}
442 if protoimpl.UnsafeEnabled {
443 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[6]
444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
445 ms.StoreMessageInfo(mi)
446 }
447 }
448
449 func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) String() string {
450 return protoimpl.X.MessageStringOf(x)
451 }
452
453 func (*InTotoSlsaProvenanceV1_ResourceDescriptor) ProtoMessage() {}
454
455 func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) ProtoReflect() protoreflect.Message {
456 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[6]
457 if protoimpl.UnsafeEnabled && x != nil {
458 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
459 if ms.LoadMessageInfo() == nil {
460 ms.StoreMessageInfo(mi)
461 }
462 return ms
463 }
464 return mi.MessageOf(x)
465 }
466
467
468 func (*InTotoSlsaProvenanceV1_ResourceDescriptor) Descriptor() ([]byte, []int) {
469 return file_grafeas_v1_intoto_statement_proto_rawDescGZIP(), []int{2, 2}
470 }
471
472 func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetName() string {
473 if x != nil {
474 return x.Name
475 }
476 return ""
477 }
478
479 func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetUri() string {
480 if x != nil {
481 return x.Uri
482 }
483 return ""
484 }
485
486 func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetDigest() map[string]string {
487 if x != nil {
488 return x.Digest
489 }
490 return nil
491 }
492
493 func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetContent() []byte {
494 if x != nil {
495 return x.Content
496 }
497 return nil
498 }
499
500 func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetDownloadLocation() string {
501 if x != nil {
502 return x.DownloadLocation
503 }
504 return ""
505 }
506
507 func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetMediaType() string {
508 if x != nil {
509 return x.MediaType
510 }
511 return ""
512 }
513
514 func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetAnnotations() map[string]*structpb.Value {
515 if x != nil {
516 return x.Annotations
517 }
518 return nil
519 }
520
521 type InTotoSlsaProvenanceV1_RunDetails struct {
522 state protoimpl.MessageState
523 sizeCache protoimpl.SizeCache
524 unknownFields protoimpl.UnknownFields
525
526 Builder *InTotoSlsaProvenanceV1_ProvenanceBuilder `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"`
527 Metadata *InTotoSlsaProvenanceV1_BuildMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
528 Byproducts []*InTotoSlsaProvenanceV1_ResourceDescriptor `protobuf:"bytes,3,rep,name=byproducts,proto3" json:"byproducts,omitempty"`
529 }
530
531 func (x *InTotoSlsaProvenanceV1_RunDetails) Reset() {
532 *x = InTotoSlsaProvenanceV1_RunDetails{}
533 if protoimpl.UnsafeEnabled {
534 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[7]
535 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
536 ms.StoreMessageInfo(mi)
537 }
538 }
539
540 func (x *InTotoSlsaProvenanceV1_RunDetails) String() string {
541 return protoimpl.X.MessageStringOf(x)
542 }
543
544 func (*InTotoSlsaProvenanceV1_RunDetails) ProtoMessage() {}
545
546 func (x *InTotoSlsaProvenanceV1_RunDetails) ProtoReflect() protoreflect.Message {
547 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[7]
548 if protoimpl.UnsafeEnabled && x != nil {
549 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
550 if ms.LoadMessageInfo() == nil {
551 ms.StoreMessageInfo(mi)
552 }
553 return ms
554 }
555 return mi.MessageOf(x)
556 }
557
558
559 func (*InTotoSlsaProvenanceV1_RunDetails) Descriptor() ([]byte, []int) {
560 return file_grafeas_v1_intoto_statement_proto_rawDescGZIP(), []int{2, 3}
561 }
562
563 func (x *InTotoSlsaProvenanceV1_RunDetails) GetBuilder() *InTotoSlsaProvenanceV1_ProvenanceBuilder {
564 if x != nil {
565 return x.Builder
566 }
567 return nil
568 }
569
570 func (x *InTotoSlsaProvenanceV1_RunDetails) GetMetadata() *InTotoSlsaProvenanceV1_BuildMetadata {
571 if x != nil {
572 return x.Metadata
573 }
574 return nil
575 }
576
577 func (x *InTotoSlsaProvenanceV1_RunDetails) GetByproducts() []*InTotoSlsaProvenanceV1_ResourceDescriptor {
578 if x != nil {
579 return x.Byproducts
580 }
581 return nil
582 }
583
584 type InTotoSlsaProvenanceV1_ProvenanceBuilder struct {
585 state protoimpl.MessageState
586 sizeCache protoimpl.SizeCache
587 unknownFields protoimpl.UnknownFields
588
589 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
590 Version map[string]string `protobuf:"bytes,2,rep,name=version,proto3" json:"version,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
591 BuilderDependencies []*InTotoSlsaProvenanceV1_ResourceDescriptor `protobuf:"bytes,3,rep,name=builder_dependencies,json=builderDependencies,proto3" json:"builder_dependencies,omitempty"`
592 }
593
594 func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) Reset() {
595 *x = InTotoSlsaProvenanceV1_ProvenanceBuilder{}
596 if protoimpl.UnsafeEnabled {
597 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[8]
598 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
599 ms.StoreMessageInfo(mi)
600 }
601 }
602
603 func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) String() string {
604 return protoimpl.X.MessageStringOf(x)
605 }
606
607 func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) ProtoMessage() {}
608
609 func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) ProtoReflect() protoreflect.Message {
610 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[8]
611 if protoimpl.UnsafeEnabled && x != nil {
612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
613 if ms.LoadMessageInfo() == nil {
614 ms.StoreMessageInfo(mi)
615 }
616 return ms
617 }
618 return mi.MessageOf(x)
619 }
620
621
622 func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) Descriptor() ([]byte, []int) {
623 return file_grafeas_v1_intoto_statement_proto_rawDescGZIP(), []int{2, 4}
624 }
625
626 func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) GetId() string {
627 if x != nil {
628 return x.Id
629 }
630 return ""
631 }
632
633 func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) GetVersion() map[string]string {
634 if x != nil {
635 return x.Version
636 }
637 return nil
638 }
639
640 func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) GetBuilderDependencies() []*InTotoSlsaProvenanceV1_ResourceDescriptor {
641 if x != nil {
642 return x.BuilderDependencies
643 }
644 return nil
645 }
646
647 type InTotoSlsaProvenanceV1_BuildMetadata struct {
648 state protoimpl.MessageState
649 sizeCache protoimpl.SizeCache
650 unknownFields protoimpl.UnknownFields
651
652 InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"`
653 StartedOn *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started_on,json=startedOn,proto3" json:"started_on,omitempty"`
654 FinishedOn *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finished_on,json=finishedOn,proto3" json:"finished_on,omitempty"`
655 }
656
657 func (x *InTotoSlsaProvenanceV1_BuildMetadata) Reset() {
658 *x = InTotoSlsaProvenanceV1_BuildMetadata{}
659 if protoimpl.UnsafeEnabled {
660 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[9]
661 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
662 ms.StoreMessageInfo(mi)
663 }
664 }
665
666 func (x *InTotoSlsaProvenanceV1_BuildMetadata) String() string {
667 return protoimpl.X.MessageStringOf(x)
668 }
669
670 func (*InTotoSlsaProvenanceV1_BuildMetadata) ProtoMessage() {}
671
672 func (x *InTotoSlsaProvenanceV1_BuildMetadata) ProtoReflect() protoreflect.Message {
673 mi := &file_grafeas_v1_intoto_statement_proto_msgTypes[9]
674 if protoimpl.UnsafeEnabled && x != nil {
675 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
676 if ms.LoadMessageInfo() == nil {
677 ms.StoreMessageInfo(mi)
678 }
679 return ms
680 }
681 return mi.MessageOf(x)
682 }
683
684
685 func (*InTotoSlsaProvenanceV1_BuildMetadata) Descriptor() ([]byte, []int) {
686 return file_grafeas_v1_intoto_statement_proto_rawDescGZIP(), []int{2, 5}
687 }
688
689 func (x *InTotoSlsaProvenanceV1_BuildMetadata) GetInvocationId() string {
690 if x != nil {
691 return x.InvocationId
692 }
693 return ""
694 }
695
696 func (x *InTotoSlsaProvenanceV1_BuildMetadata) GetStartedOn() *timestamppb.Timestamp {
697 if x != nil {
698 return x.StartedOn
699 }
700 return nil
701 }
702
703 func (x *InTotoSlsaProvenanceV1_BuildMetadata) GetFinishedOn() *timestamppb.Timestamp {
704 if x != nil {
705 return x.FinishedOn
706 }
707 return nil
708 }
709
710 var File_grafeas_v1_intoto_statement_proto protoreflect.FileDescriptor
711
712 var file_grafeas_v1_intoto_statement_proto_rawDesc = []byte{
713 0x0a, 0x21, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74,
714 0x6f, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72,
715 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x1a,
716 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
717 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
718 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
719 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22,
720 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x6f, 0x74,
721 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
722 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73,
723 0x6c, 0x73, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70,
724 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31,
725 0x2f, 0x73, 0x6c, 0x73, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65,
726 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x74, 0x77, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
727 0xee, 0x02, 0x0a, 0x0f, 0x49, 0x6e, 0x54, 0x6f, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d,
728 0x65, 0x6e, 0x74, 0x12, 0x13, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
729 0x09, 0x52, 0x05, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a,
730 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x61, 0x66,
731 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07,
732 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x64, 0x69,
733 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
734 0x0d, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e,
735 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01,
736 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e,
737 0x49, 0x6e, 0x54, 0x6f, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65,
738 0x48, 0x00, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x45,
739 0x0a, 0x0f, 0x73, 0x6c, 0x73, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63,
740 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61,
741 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61,
742 0x6e, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65,
743 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x18, 0x73, 0x6c, 0x73, 0x61, 0x5f, 0x70, 0x72,
744 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x74, 0x77,
745 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61,
746 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61,
747 0x6e, 0x63, 0x65, 0x5a, 0x65, 0x72, 0x6f, 0x54, 0x77, 0x6f, 0x48, 0x00, 0x52, 0x15, 0x73, 0x6c,
748 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x5a, 0x65, 0x72, 0x6f,
749 0x54, 0x77, 0x6f, 0x42, 0x0b, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65,
750 0x22, 0x91, 0x01, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04,
751 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
752 0x12, 0x37, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
753 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75,
754 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72,
755 0x79, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x44, 0x69, 0x67,
756 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
757 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
758 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
759 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa4, 0x0f, 0x0a, 0x16, 0x49, 0x6e, 0x54, 0x6f, 0x74, 0x6f, 0x53,
760 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x31, 0x12,
761 0x13, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x5f,
762 0x74, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18,
763 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e,
764 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a,
765 0x65, 0x63, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65,
766 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x65,
767 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x51, 0x0a, 0x09, 0x70, 0x72,
768 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e,
769 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x54, 0x6f, 0x74,
770 0x6f, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x56,
771 0x31, 0x2e, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65,
772 0x56, 0x31, 0x52, 0x09, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x1a, 0xc1, 0x01,
773 0x0a, 0x10, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65,
774 0x56, 0x31, 0x12, 0x5d, 0x0a, 0x10, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x65, 0x66, 0x69,
775 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67,
776 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x54, 0x6f, 0x74, 0x6f,
777 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x31,
778 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
779 0x52, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,
780 0x6e, 0x12, 0x4e, 0x0a, 0x0b, 0x72, 0x75, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
781 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73,
782 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x54, 0x6f, 0x74, 0x6f, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72,
783 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x44, 0x65,
784 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0a, 0x72, 0x75, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
785 0x73, 0x1a, 0xb0, 0x02, 0x0a, 0x0f, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x66, 0x69, 0x6e,
786 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74,
787 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64,
788 0x54, 0x79, 0x70, 0x65, 0x12, 0x48, 0x0a, 0x13, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
789 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
790 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
791 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65,
792 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x48,
793 0x0a, 0x13, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d,
794 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f,
795 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74,
796 0x72, 0x75, 0x63, 0x74, 0x52, 0x12, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x61,
797 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x6a, 0x0a, 0x15, 0x72, 0x65, 0x73, 0x6f,
798 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65,
799 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61,
800 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x54, 0x6f, 0x74, 0x6f, 0x53, 0x6c, 0x73, 0x61, 0x50,
801 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f,
802 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x14,
803 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,
804 0x63, 0x69, 0x65, 0x73, 0x1a, 0xf8, 0x03, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
805 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e,
806 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
807 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
808 0x69, 0x12, 0x59, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28,
809 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49,
810 0x6e, 0x54, 0x6f, 0x74, 0x6f, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61,
811 0x6e, 0x63, 0x65, 0x56, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65,
812 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45,
813 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07,
814 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63,
815 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f,
816 0x61, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28,
817 0x09, 0x52, 0x10, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74,
818 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x74, 0x79, 0x70,
819 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79,
820 0x70, 0x65, 0x12, 0x68, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
821 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61,
822 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x54, 0x6f, 0x74, 0x6f, 0x53, 0x6c, 0x73, 0x61, 0x50,
823 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f,
824 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x41,
825 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
826 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x39, 0x0a, 0x0b,
827 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
828 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
829 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
830 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x56, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
831 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
832 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a,
833 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67,
834 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56,
835 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a,
836 0x81, 0x02, 0x0a, 0x0a, 0x52, 0x75, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x4e,
837 0x0a, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
838 0x34, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x54,
839 0x6f, 0x74, 0x6f, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63,
840 0x65, 0x56, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x75,
841 0x69, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x4c,
842 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
843 0x32, 0x30, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e,
844 0x54, 0x6f, 0x74, 0x6f, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e,
845 0x63, 0x65, 0x56, 0x31, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
846 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x55, 0x0a, 0x0a,
847 0x62, 0x79, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
848 0x32, 0x35, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e,
849 0x54, 0x6f, 0x74, 0x6f, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e,
850 0x63, 0x65, 0x56, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x73,
851 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x0a, 0x62, 0x79, 0x70, 0x72, 0x6f, 0x64, 0x75,
852 0x63, 0x74, 0x73, 0x1a, 0xa6, 0x02, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e,
853 0x63, 0x65, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
854 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x5b, 0x0a, 0x07, 0x76, 0x65, 0x72,
855 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x72, 0x61,
856 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x54, 0x6f, 0x74, 0x6f, 0x53, 0x6c,
857 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x31, 0x2e, 0x50,
858 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72,
859 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x76,
860 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x68, 0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65,
861 0x72, 0x5f, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x03,
862 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
863 0x31, 0x2e, 0x49, 0x6e, 0x54, 0x6f, 0x74, 0x6f, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76,
864 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
865 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x13, 0x62, 0x75, 0x69,
866 0x6c, 0x64, 0x65, 0x72, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73,
867 0x1a, 0x3a, 0x0a, 0x0c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79,
868 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
869 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
870 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xac, 0x01, 0x0a,
871 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x23,
872 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
873 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
874 0x6e, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x6f,
875 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
876 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
877 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x3b,
878 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 0x20,
879 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
880 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
881 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x4f, 0x6e, 0x42, 0x67, 0x0a, 0x0d, 0x69,
882 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x49, 0x6e,
883 0x54, 0x6f, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f,
884 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
885 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
886 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66,
887 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0xa2, 0x02,
888 0x03, 0x47, 0x52, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
889 }
890
891 var (
892 file_grafeas_v1_intoto_statement_proto_rawDescOnce sync.Once
893 file_grafeas_v1_intoto_statement_proto_rawDescData = file_grafeas_v1_intoto_statement_proto_rawDesc
894 )
895
896 func file_grafeas_v1_intoto_statement_proto_rawDescGZIP() []byte {
897 file_grafeas_v1_intoto_statement_proto_rawDescOnce.Do(func() {
898 file_grafeas_v1_intoto_statement_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_intoto_statement_proto_rawDescData)
899 })
900 return file_grafeas_v1_intoto_statement_proto_rawDescData
901 }
902
903 var file_grafeas_v1_intoto_statement_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
904 var file_grafeas_v1_intoto_statement_proto_goTypes = []interface{}{
905 (*InTotoStatement)(nil),
906 (*Subject)(nil),
907 (*InTotoSlsaProvenanceV1)(nil),
908 nil,
909 (*InTotoSlsaProvenanceV1_SlsaProvenanceV1)(nil),
910 (*InTotoSlsaProvenanceV1_BuildDefinition)(nil),
911 (*InTotoSlsaProvenanceV1_ResourceDescriptor)(nil),
912 (*InTotoSlsaProvenanceV1_RunDetails)(nil),
913 (*InTotoSlsaProvenanceV1_ProvenanceBuilder)(nil),
914 (*InTotoSlsaProvenanceV1_BuildMetadata)(nil),
915 nil,
916 nil,
917 nil,
918 (*InTotoProvenance)(nil),
919 (*SlsaProvenance)(nil),
920 (*SlsaProvenanceZeroTwo)(nil),
921 (*structpb.Struct)(nil),
922 (*timestamppb.Timestamp)(nil),
923 (*structpb.Value)(nil),
924 }
925 var file_grafeas_v1_intoto_statement_proto_depIdxs = []int32{
926 1,
927 13,
928 14,
929 15,
930 3,
931 1,
932 4,
933 5,
934 7,
935 16,
936 16,
937 6,
938 10,
939 11,
940 8,
941 9,
942 6,
943 12,
944 6,
945 17,
946 17,
947 18,
948 22,
949 22,
950 22,
951 22,
952 0,
953 }
954
955 func init() { file_grafeas_v1_intoto_statement_proto_init() }
956 func file_grafeas_v1_intoto_statement_proto_init() {
957 if File_grafeas_v1_intoto_statement_proto != nil {
958 return
959 }
960 file_grafeas_v1_intoto_provenance_proto_init()
961 file_grafeas_v1_slsa_provenance_proto_init()
962 file_grafeas_v1_slsa_provenance_zero_two_proto_init()
963 if !protoimpl.UnsafeEnabled {
964 file_grafeas_v1_intoto_statement_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
965 switch v := v.(*InTotoStatement); i {
966 case 0:
967 return &v.state
968 case 1:
969 return &v.sizeCache
970 case 2:
971 return &v.unknownFields
972 default:
973 return nil
974 }
975 }
976 file_grafeas_v1_intoto_statement_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
977 switch v := v.(*Subject); i {
978 case 0:
979 return &v.state
980 case 1:
981 return &v.sizeCache
982 case 2:
983 return &v.unknownFields
984 default:
985 return nil
986 }
987 }
988 file_grafeas_v1_intoto_statement_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
989 switch v := v.(*InTotoSlsaProvenanceV1); i {
990 case 0:
991 return &v.state
992 case 1:
993 return &v.sizeCache
994 case 2:
995 return &v.unknownFields
996 default:
997 return nil
998 }
999 }
1000 file_grafeas_v1_intoto_statement_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1001 switch v := v.(*InTotoSlsaProvenanceV1_SlsaProvenanceV1); i {
1002 case 0:
1003 return &v.state
1004 case 1:
1005 return &v.sizeCache
1006 case 2:
1007 return &v.unknownFields
1008 default:
1009 return nil
1010 }
1011 }
1012 file_grafeas_v1_intoto_statement_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1013 switch v := v.(*InTotoSlsaProvenanceV1_BuildDefinition); i {
1014 case 0:
1015 return &v.state
1016 case 1:
1017 return &v.sizeCache
1018 case 2:
1019 return &v.unknownFields
1020 default:
1021 return nil
1022 }
1023 }
1024 file_grafeas_v1_intoto_statement_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1025 switch v := v.(*InTotoSlsaProvenanceV1_ResourceDescriptor); i {
1026 case 0:
1027 return &v.state
1028 case 1:
1029 return &v.sizeCache
1030 case 2:
1031 return &v.unknownFields
1032 default:
1033 return nil
1034 }
1035 }
1036 file_grafeas_v1_intoto_statement_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1037 switch v := v.(*InTotoSlsaProvenanceV1_RunDetails); i {
1038 case 0:
1039 return &v.state
1040 case 1:
1041 return &v.sizeCache
1042 case 2:
1043 return &v.unknownFields
1044 default:
1045 return nil
1046 }
1047 }
1048 file_grafeas_v1_intoto_statement_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1049 switch v := v.(*InTotoSlsaProvenanceV1_ProvenanceBuilder); i {
1050 case 0:
1051 return &v.state
1052 case 1:
1053 return &v.sizeCache
1054 case 2:
1055 return &v.unknownFields
1056 default:
1057 return nil
1058 }
1059 }
1060 file_grafeas_v1_intoto_statement_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1061 switch v := v.(*InTotoSlsaProvenanceV1_BuildMetadata); i {
1062 case 0:
1063 return &v.state
1064 case 1:
1065 return &v.sizeCache
1066 case 2:
1067 return &v.unknownFields
1068 default:
1069 return nil
1070 }
1071 }
1072 }
1073 file_grafeas_v1_intoto_statement_proto_msgTypes[0].OneofWrappers = []interface{}{
1074 (*InTotoStatement_Provenance)(nil),
1075 (*InTotoStatement_SlsaProvenance)(nil),
1076 (*InTotoStatement_SlsaProvenanceZeroTwo)(nil),
1077 }
1078 type x struct{}
1079 out := protoimpl.TypeBuilder{
1080 File: protoimpl.DescBuilder{
1081 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1082 RawDescriptor: file_grafeas_v1_intoto_statement_proto_rawDesc,
1083 NumEnums: 0,
1084 NumMessages: 13,
1085 NumExtensions: 0,
1086 NumServices: 0,
1087 },
1088 GoTypes: file_grafeas_v1_intoto_statement_proto_goTypes,
1089 DependencyIndexes: file_grafeas_v1_intoto_statement_proto_depIdxs,
1090 MessageInfos: file_grafeas_v1_intoto_statement_proto_msgTypes,
1091 }.Build()
1092 File_grafeas_v1_intoto_statement_proto = out.File
1093 file_grafeas_v1_intoto_statement_proto_rawDesc = nil
1094 file_grafeas_v1_intoto_statement_proto_goTypes = nil
1095 file_grafeas_v1_intoto_statement_proto_depIdxs = nil
1096 }
1097
View as plain text