Debian Codegraph @

googleapis/grafeas/v1/common.pb.go

raw
1 // Copyright 2019 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 v4.24.4
19 // source: grafeas/v1/common.proto
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 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Kind represents the kinds of notes supported.
39 type NoteKind int32
40
41 const (
42 // Default value. This value is unused.
43 NoteKind_NOTE_KIND_UNSPECIFIED NoteKind = 0
44 // The note and occurrence represent a package vulnerability.
45 NoteKind_VULNERABILITY NoteKind = 1
46 // The note and occurrence assert build provenance.
47 NoteKind_BUILD NoteKind = 2
48 // This represents an image basis relationship.
49 NoteKind_IMAGE NoteKind = 3
50 // This represents a package installed via a package manager.
51 NoteKind_PACKAGE NoteKind = 4
52 // The note and occurrence track deployment events.
53 NoteKind_DEPLOYMENT NoteKind = 5
54 // The note and occurrence track the initial discovery status of a resource.
55 NoteKind_DISCOVERY NoteKind = 6
56 // This represents a logical "role" that can attest to artifacts.
57 NoteKind_ATTESTATION NoteKind = 7
58 // This represents an available package upgrade.
59 NoteKind_UPGRADE NoteKind = 8
60 // This represents a Compliance Note
61 NoteKind_COMPLIANCE NoteKind = 9
62 // This represents a DSSE attestation Note
63 NoteKind_DSSE_ATTESTATION NoteKind = 10
64 // This represents a Vulnerability Assessment.
65 NoteKind_VULNERABILITY_ASSESSMENT NoteKind = 11
66 // This represents an SBOM Reference.
67 NoteKind_SBOM_REFERENCE NoteKind = 12
68 // This represents a secret.
69 NoteKind_SECRET NoteKind = 13
70 )
71
72 // Enum value maps for NoteKind.
73 var (
74 NoteKind_name = map[int32]string{
75 0: "NOTE_KIND_UNSPECIFIED",
76 1: "VULNERABILITY",
77 2: "BUILD",
78 3: "IMAGE",
79 4: "PACKAGE",
80 5: "DEPLOYMENT",
81 6: "DISCOVERY",
82 7: "ATTESTATION",
83 8: "UPGRADE",
84 9: "COMPLIANCE",
85 10: "DSSE_ATTESTATION",
86 11: "VULNERABILITY_ASSESSMENT",
87 12: "SBOM_REFERENCE",
88 13: "SECRET",
89 }
90 NoteKind_value = map[string]int32{
91 "NOTE_KIND_UNSPECIFIED": 0,
92 "VULNERABILITY": 1,
93 "BUILD": 2,
94 "IMAGE": 3,
95 "PACKAGE": 4,
96 "DEPLOYMENT": 5,
97 "DISCOVERY": 6,
98 "ATTESTATION": 7,
99 "UPGRADE": 8,
100 "COMPLIANCE": 9,
101 "DSSE_ATTESTATION": 10,
102 "VULNERABILITY_ASSESSMENT": 11,
103 "SBOM_REFERENCE": 12,
104 "SECRET": 13,
105 }
106 )
107
108 func (x NoteKind) Enum() *NoteKind {
109 p := new(NoteKind)
110 *p = x
111 return p
112 }
113
114 func (x NoteKind) String() string {
115 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
116 }
117
118 func (NoteKind) Descriptor() protoreflect.EnumDescriptor {
119 return file_grafeas_v1_common_proto_enumTypes[0].Descriptor()
120 }
121
122 func (NoteKind) Type() protoreflect.EnumType {
123 return &file_grafeas_v1_common_proto_enumTypes[0]
124 }
125
126 func (x NoteKind) Number() protoreflect.EnumNumber {
127 return protoreflect.EnumNumber(x)
128 }
129
130 // Deprecated: Use NoteKind.Descriptor instead.
131 func (NoteKind) EnumDescriptor() ([]byte, []int) {
132 return file_grafeas_v1_common_proto_rawDescGZIP(), []int{0}
133 }
134
135 // Metadata for any related URL information.
136 type RelatedUrl struct {
137 state protoimpl.MessageState
138 sizeCache protoimpl.SizeCache
139 unknownFields protoimpl.UnknownFields
140
141 // Specific URL associated with the resource.
142 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
143 // Label to describe usage of the URL.
144 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
145 }
146
147 func (x *RelatedUrl) Reset() {
148 *x = RelatedUrl{}
149 if protoimpl.UnsafeEnabled {
150 mi := &file_grafeas_v1_common_proto_msgTypes[0]
151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
152 ms.StoreMessageInfo(mi)
153 }
154 }
155
156 func (x *RelatedUrl) String() string {
157 return protoimpl.X.MessageStringOf(x)
158 }
159
160 func (*RelatedUrl) ProtoMessage() {}
161
162 func (x *RelatedUrl) ProtoReflect() protoreflect.Message {
163 mi := &file_grafeas_v1_common_proto_msgTypes[0]
164 if protoimpl.UnsafeEnabled && x != nil {
165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
166 if ms.LoadMessageInfo() == nil {
167 ms.StoreMessageInfo(mi)
168 }
169 return ms
170 }
171 return mi.MessageOf(x)
172 }
173
174 // Deprecated: Use RelatedUrl.ProtoReflect.Descriptor instead.
175 func (*RelatedUrl) Descriptor() ([]byte, []int) {
176 return file_grafeas_v1_common_proto_rawDescGZIP(), []int{0}
177 }
178
179 func (x *RelatedUrl) GetUrl() string {
180 if x != nil {
181 return x.Url
182 }
183 return ""
184 }
185
186 func (x *RelatedUrl) GetLabel() string {
187 if x != nil {
188 return x.Label
189 }
190 return ""
191 }
192
193 // Verifiers (e.g. Kritis implementations) MUST verify signatures
194 // with respect to the trust anchors defined in policy (e.g. a Kritis policy).
195 // Typically this means that the verifier has been configured with a map from
196 // `public_key_id` to public key material (and any required parameters, e.g.
197 // signing algorithm).
198 //
199 // In particular, verification implementations MUST NOT treat the signature
200 // `public_key_id` as anything more than a key lookup hint. The `public_key_id`
201 // DOES NOT validate or authenticate a public key; it only provides a mechanism
202 // for quickly selecting a public key ALREADY CONFIGURED on the verifier through
203 // a trusted channel. Verification implementations MUST reject signatures in any
204 // of the following circumstances:
205 // - The `public_key_id` is not recognized by the verifier.
206 // - The public key that `public_key_id` refers to does not verify the
207 // signature with respect to the payload.
208 //
209 // The `signature` contents SHOULD NOT be "attached" (where the payload is
210 // included with the serialized `signature` bytes). Verifiers MUST ignore any
211 // "attached" payload and only verify signatures with respect to explicitly
212 // provided payload (e.g. a `payload` field on the proto message that holds
213 // this Signature, or the canonical serialization of the proto message that
214 // holds this signature).
215 type Signature struct {
216 state protoimpl.MessageState
217 sizeCache protoimpl.SizeCache
218 unknownFields protoimpl.UnknownFields
219
220 // The content of the signature, an opaque bytestring.
221 // The payload that this signature verifies MUST be unambiguously provided
222 // with the Signature during verification. A wrapper message might provide
223 // the payload explicitly. Alternatively, a message might have a canonical
224 // serialization that can always be unambiguously computed to derive the
225 // payload.
226 Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
227 // The identifier for the public key that verifies this signature.
228 // - The `public_key_id` is required.
229 // - The `public_key_id` SHOULD be an RFC3986 conformant URI.
230 // - When possible, the `public_key_id` SHOULD be an immutable reference,
231 // such as a cryptographic digest.
232 //
233 // Examples of valid `public_key_id`s:
234 //
235 // OpenPGP V4 public key fingerprint:
236 // - "openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA"
237 //
238 // See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more
239 // details on this scheme.
240 //
241 // RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER
242 // serialization):
243 // - "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU"
244 // - "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5"
245 PublicKeyId string `protobuf:"bytes,2,opt,name=public_key_id,json=publicKeyId,proto3" json:"public_key_id,omitempty"`
246 }
247
248 func (x *Signature) Reset() {
249 *x = Signature{}
250 if protoimpl.UnsafeEnabled {
251 mi := &file_grafeas_v1_common_proto_msgTypes[1]
252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
253 ms.StoreMessageInfo(mi)
254 }
255 }
256
257 func (x *Signature) String() string {
258 return protoimpl.X.MessageStringOf(x)
259 }
260
261 func (*Signature) ProtoMessage() {}
262
263 func (x *Signature) ProtoReflect() protoreflect.Message {
264 mi := &file_grafeas_v1_common_proto_msgTypes[1]
265 if protoimpl.UnsafeEnabled && x != nil {
266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
267 if ms.LoadMessageInfo() == nil {
268 ms.StoreMessageInfo(mi)
269 }
270 return ms
271 }
272 return mi.MessageOf(x)
273 }
274
275 // Deprecated: Use Signature.ProtoReflect.Descriptor instead.
276 func (*Signature) Descriptor() ([]byte, []int) {
277 return file_grafeas_v1_common_proto_rawDescGZIP(), []int{1}
278 }
279
280 func (x *Signature) GetSignature() []byte {
281 if x != nil {
282 return x.Signature
283 }
284 return nil
285 }
286
287 func (x *Signature) GetPublicKeyId() string {
288 if x != nil {
289 return x.PublicKeyId
290 }
291 return ""
292 }
293
294 // MUST match
295 // https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An
296 // authenticated message of arbitrary type.
297 type Envelope struct {
298 state protoimpl.MessageState
299 sizeCache protoimpl.SizeCache
300 unknownFields protoimpl.UnknownFields
301
302 Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
303 PayloadType string `protobuf:"bytes,2,opt,name=payload_type,json=payloadType,proto3" json:"payload_type,omitempty"`
304 Signatures []*EnvelopeSignature `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
305 }
306
307 func (x *Envelope) Reset() {
308 *x = Envelope{}
309 if protoimpl.UnsafeEnabled {
310 mi := &file_grafeas_v1_common_proto_msgTypes[2]
311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312 ms.StoreMessageInfo(mi)
313 }
314 }
315
316 func (x *Envelope) String() string {
317 return protoimpl.X.MessageStringOf(x)
318 }
319
320 func (*Envelope) ProtoMessage() {}
321
322 func (x *Envelope) ProtoReflect() protoreflect.Message {
323 mi := &file_grafeas_v1_common_proto_msgTypes[2]
324 if protoimpl.UnsafeEnabled && x != nil {
325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
326 if ms.LoadMessageInfo() == nil {
327 ms.StoreMessageInfo(mi)
328 }
329 return ms
330 }
331 return mi.MessageOf(x)
332 }
333
334 // Deprecated: Use Envelope.ProtoReflect.Descriptor instead.
335 func (*Envelope) Descriptor() ([]byte, []int) {
336 return file_grafeas_v1_common_proto_rawDescGZIP(), []int{2}
337 }
338
339 func (x *Envelope) GetPayload() []byte {
340 if x != nil {
341 return x.Payload
342 }
343 return nil
344 }
345
346 func (x *Envelope) GetPayloadType() string {
347 if x != nil {
348 return x.PayloadType
349 }
350 return ""
351 }
352
353 func (x *Envelope) GetSignatures() []*EnvelopeSignature {
354 if x != nil {
355 return x.Signatures
356 }
357 return nil
358 }
359
360 type EnvelopeSignature struct {
361 state protoimpl.MessageState
362 sizeCache protoimpl.SizeCache
363 unknownFields protoimpl.UnknownFields
364
365 Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"`
366 Keyid string `protobuf:"bytes,2,opt,name=keyid,proto3" json:"keyid,omitempty"`
367 }
368
369 func (x *EnvelopeSignature) Reset() {
370 *x = EnvelopeSignature{}
371 if protoimpl.UnsafeEnabled {
372 mi := &file_grafeas_v1_common_proto_msgTypes[3]
373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
374 ms.StoreMessageInfo(mi)
375 }
376 }
377
378 func (x *EnvelopeSignature) String() string {
379 return protoimpl.X.MessageStringOf(x)
380 }
381
382 func (*EnvelopeSignature) ProtoMessage() {}
383
384 func (x *EnvelopeSignature) ProtoReflect() protoreflect.Message {
385 mi := &file_grafeas_v1_common_proto_msgTypes[3]
386 if protoimpl.UnsafeEnabled && x != nil {
387 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
388 if ms.LoadMessageInfo() == nil {
389 ms.StoreMessageInfo(mi)
390 }
391 return ms
392 }
393 return mi.MessageOf(x)
394 }
395
396 // Deprecated: Use EnvelopeSignature.ProtoReflect.Descriptor instead.
397 func (*EnvelopeSignature) Descriptor() ([]byte, []int) {
398 return file_grafeas_v1_common_proto_rawDescGZIP(), []int{3}
399 }
400
401 func (x *EnvelopeSignature) GetSig() []byte {
402 if x != nil {
403 return x.Sig
404 }
405 return nil
406 }
407
408 func (x *EnvelopeSignature) GetKeyid() string {
409 if x != nil {
410 return x.Keyid
411 }
412 return ""
413 }
414
415 // Indicates the location at which a package was found.
416 type FileLocation struct {
417 state protoimpl.MessageState
418 sizeCache protoimpl.SizeCache
419 unknownFields protoimpl.UnknownFields
420
421 // For jars that are contained inside .war files, this filepath
422 // can indicate the path to war file combined with the path to jar file.
423 FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
424 // Each package found in a file should have its own layer metadata (that is,
425 // information from the origin layer of the package).
426 LayerDetails *LayerDetails `protobuf:"bytes,2,opt,name=layer_details,json=layerDetails,proto3" json:"layer_details,omitempty"`
427 // Line number in the file where the package was found.
428 // Optional field that only applies to source repository scanning.
429 LineNumber int32 `protobuf:"varint,3,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
430 }
431
432 func (x *FileLocation) Reset() {
433 *x = FileLocation{}
434 if protoimpl.UnsafeEnabled {
435 mi := &file_grafeas_v1_common_proto_msgTypes[4]
436 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
437 ms.StoreMessageInfo(mi)
438 }
439 }
440
441 func (x *FileLocation) String() string {
442 return protoimpl.X.MessageStringOf(x)
443 }
444
445 func (*FileLocation) ProtoMessage() {}
446
447 func (x *FileLocation) ProtoReflect() protoreflect.Message {
448 mi := &file_grafeas_v1_common_proto_msgTypes[4]
449 if protoimpl.UnsafeEnabled && x != nil {
450 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
451 if ms.LoadMessageInfo() == nil {
452 ms.StoreMessageInfo(mi)
453 }
454 return ms
455 }
456 return mi.MessageOf(x)
457 }
458
459 // Deprecated: Use FileLocation.ProtoReflect.Descriptor instead.
460 func (*FileLocation) Descriptor() ([]byte, []int) {
461 return file_grafeas_v1_common_proto_rawDescGZIP(), []int{4}
462 }
463
464 func (x *FileLocation) GetFilePath() string {
465 if x != nil {
466 return x.FilePath
467 }
468 return ""
469 }
470
471 func (x *FileLocation) GetLayerDetails() *LayerDetails {
472 if x != nil {
473 return x.LayerDetails
474 }
475 return nil
476 }
477
478 func (x *FileLocation) GetLineNumber() int32 {
479 if x != nil {
480 return x.LineNumber
481 }
482 return 0
483 }
484
485 // BaseImage describes a base image of a container image.
486 type BaseImage struct {
487 state protoimpl.MessageState
488 sizeCache protoimpl.SizeCache
489 unknownFields protoimpl.UnknownFields
490
491 // The name of the base image.
492 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
493 // The repository name in which the base image is from.
494 Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
495 // The number of layers that the base image is composed of.
496 LayerCount int32 `protobuf:"varint,3,opt,name=layer_count,json=layerCount,proto3" json:"layer_count,omitempty"`
497 // The registry in which the base image is from.
498 Registry string `protobuf:"bytes,4,opt,name=registry,proto3" json:"registry,omitempty"`
499 }
500
501 func (x *BaseImage) Reset() {
502 *x = BaseImage{}
503 if protoimpl.UnsafeEnabled {
504 mi := &file_grafeas_v1_common_proto_msgTypes[5]
505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
506 ms.StoreMessageInfo(mi)
507 }
508 }
509
510 func (x *BaseImage) String() string {
511 return protoimpl.X.MessageStringOf(x)
512 }
513
514 func (*BaseImage) ProtoMessage() {}
515
516 func (x *BaseImage) ProtoReflect() protoreflect.Message {
517 mi := &file_grafeas_v1_common_proto_msgTypes[5]
518 if protoimpl.UnsafeEnabled && x != nil {
519 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
520 if ms.LoadMessageInfo() == nil {
521 ms.StoreMessageInfo(mi)
522 }
523 return ms
524 }
525 return mi.MessageOf(x)
526 }
527
528 // Deprecated: Use BaseImage.ProtoReflect.Descriptor instead.
529 func (*BaseImage) Descriptor() ([]byte, []int) {
530 return file_grafeas_v1_common_proto_rawDescGZIP(), []int{5}
531 }
532
533 func (x *BaseImage) GetName() string {
534 if x != nil {
535 return x.Name
536 }
537 return ""
538 }
539
540 func (x *BaseImage) GetRepository() string {
541 if x != nil {
542 return x.Repository
543 }
544 return ""
545 }
546
547 func (x *BaseImage) GetLayerCount() int32 {
548 if x != nil {
549 return x.LayerCount
550 }
551 return 0
552 }
553
554 func (x *BaseImage) GetRegistry() string {
555 if x != nil {
556 return x.Registry
557 }
558 return ""
559 }
560
561 // Details about the layer a package was found in.
562 type LayerDetails struct {
563 state protoimpl.MessageState
564 sizeCache protoimpl.SizeCache
565 unknownFields protoimpl.UnknownFields
566
567 // The index of the layer in the container image.
568 Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
569 // The diff ID (typically a sha256 hash) of the layer in the container image.
570 DiffId string `protobuf:"bytes,2,opt,name=diff_id,json=diffId,proto3" json:"diff_id,omitempty"`
571 // The layer chain ID (sha256 hash) of the layer in the container image.
572 // https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
573 ChainId string `protobuf:"bytes,5,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
574 // The layer build command that was used to build the layer. This may not be
575 // found in all layers depending on how the container image is built.
576 Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
577 // The base images the layer is found within.
578 BaseImages []*BaseImage `protobuf:"bytes,4,rep,name=base_images,json=baseImages,proto3" json:"base_images,omitempty"`
579 }
580
581 func (x *LayerDetails) Reset() {
582 *x = LayerDetails{}
583 if protoimpl.UnsafeEnabled {
584 mi := &file_grafeas_v1_common_proto_msgTypes[6]
585 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
586 ms.StoreMessageInfo(mi)
587 }
588 }
589
590 func (x *LayerDetails) String() string {
591 return protoimpl.X.MessageStringOf(x)
592 }
593
594 func (*LayerDetails) ProtoMessage() {}
595
596 func (x *LayerDetails) ProtoReflect() protoreflect.Message {
597 mi := &file_grafeas_v1_common_proto_msgTypes[6]
598 if protoimpl.UnsafeEnabled && x != nil {
599 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
600 if ms.LoadMessageInfo() == nil {
601 ms.StoreMessageInfo(mi)
602 }
603 return ms
604 }
605 return mi.MessageOf(x)
606 }
607
608 // Deprecated: Use LayerDetails.ProtoReflect.Descriptor instead.
609 func (*LayerDetails) Descriptor() ([]byte, []int) {
610 return file_grafeas_v1_common_proto_rawDescGZIP(), []int{6}
611 }
612
613 func (x *LayerDetails) GetIndex() int32 {
614 if x != nil {
615 return x.Index
616 }
617 return 0
618 }
619
620 func (x *LayerDetails) GetDiffId() string {
621 if x != nil {
622 return x.DiffId
623 }
624 return ""
625 }
626
627 func (x *LayerDetails) GetChainId() string {
628 if x != nil {
629 return x.ChainId
630 }
631 return ""
632 }
633
634 func (x *LayerDetails) GetCommand() string {
635 if x != nil {
636 return x.Command
637 }
638 return ""
639 }
640
641 func (x *LayerDetails) GetBaseImages() []*BaseImage {
642 if x != nil {
643 return x.BaseImages
644 }
645 return nil
646 }
647
648 // License information.
649 type License struct {
650 state protoimpl.MessageState
651 sizeCache protoimpl.SizeCache
652 unknownFields protoimpl.UnknownFields
653
654 // Often a single license can be used to represent the licensing terms.
655 // Sometimes it is necessary to include a choice of one or more licenses
656 // or some combination of license identifiers.
657 // Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT",
658 // "GPL-2.0-or-later WITH Bison-exception-2.2".
659 Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"`
660 // Comments
661 Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"`
662 }
663
664 func (x *License) Reset() {
665 *x = License{}
666 if protoimpl.UnsafeEnabled {
667 mi := &file_grafeas_v1_common_proto_msgTypes[7]
668 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
669 ms.StoreMessageInfo(mi)
670 }
671 }
672
673 func (x *License) String() string {
674 return protoimpl.X.MessageStringOf(x)
675 }
676
677 func (*License) ProtoMessage() {}
678
679 func (x *License) ProtoReflect() protoreflect.Message {
680 mi := &file_grafeas_v1_common_proto_msgTypes[7]
681 if protoimpl.UnsafeEnabled && x != nil {
682 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
683 if ms.LoadMessageInfo() == nil {
684 ms.StoreMessageInfo(mi)
685 }
686 return ms
687 }
688 return mi.MessageOf(x)
689 }
690
691 // Deprecated: Use License.ProtoReflect.Descriptor instead.
692 func (*License) Descriptor() ([]byte, []int) {
693 return file_grafeas_v1_common_proto_rawDescGZIP(), []int{7}
694 }
695
696 func (x *License) GetExpression() string {
697 if x != nil {
698 return x.Expression
699 }
700 return ""
701 }
702
703 func (x *License) GetComments() string {
704 if x != nil {
705 return x.Comments
706 }
707 return ""
708 }
709
710 // Digest information.
711 type Digest struct {
712 state protoimpl.MessageState
713 sizeCache protoimpl.SizeCache
714 unknownFields protoimpl.UnknownFields
715
716 // `SHA1`, `SHA512` etc.
717 Algo string `protobuf:"bytes,1,opt,name=algo,proto3" json:"algo,omitempty"`
718 // Value of the digest.
719 DigestBytes []byte `protobuf:"bytes,2,opt,name=digest_bytes,json=digestBytes,proto3" json:"digest_bytes,omitempty"`
720 }
721
722 func (x *Digest) Reset() {
723 *x = Digest{}
724 if protoimpl.UnsafeEnabled {
725 mi := &file_grafeas_v1_common_proto_msgTypes[8]
726 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
727 ms.StoreMessageInfo(mi)
728 }
729 }
730
731 func (x *Digest) String() string {
732 return protoimpl.X.MessageStringOf(x)
733 }
734
735 func (*Digest) ProtoMessage() {}
736
737 func (x *Digest) ProtoReflect() protoreflect.Message {
738 mi := &file_grafeas_v1_common_proto_msgTypes[8]
739 if protoimpl.UnsafeEnabled && x != nil {
740 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
741 if ms.LoadMessageInfo() == nil {
742 ms.StoreMessageInfo(mi)
743 }
744 return ms
745 }
746 return mi.MessageOf(x)
747 }
748
749 // Deprecated: Use Digest.ProtoReflect.Descriptor instead.
750 func (*Digest) Descriptor() ([]byte, []int) {
751 return file_grafeas_v1_common_proto_rawDescGZIP(), []int{8}
752 }
753
754 func (x *Digest) GetAlgo() string {
755 if x != nil {
756 return x.Algo
757 }
758 return ""
759 }
760
761 func (x *Digest) GetDigestBytes() []byte {
762 if x != nil {
763 return x.DigestBytes
764 }
765 return nil
766 }
767
768 var File_grafeas_v1_common_proto protoreflect.FileDescriptor
769
770 var file_grafeas_v1_common_proto_rawDesc = []byte{
771 0x0a, 0x17, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d,
772 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x72, 0x61, 0x66, 0x65,
773 0x61, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x34, 0x0a, 0x0a, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64,
774 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
775 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02,
776 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x4d, 0x0a, 0x09, 0x53,
777 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e,
778 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67,
779 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
780 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70,
781 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x22, 0x86, 0x01, 0x0a, 0x08, 0x45,
782 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f,
783 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61,
784 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x74, 0x79, 0x70,
785 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
786 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
787 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65,
788 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x53, 0x69,
789 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
790 0x72, 0x65, 0x73, 0x22, 0x3b, 0x0a, 0x11, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x53,
791 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x67, 0x18,
792 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, 0x69, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6b, 0x65,
793 0x79, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x69, 0x64,
794 0x22, 0x8b, 0x01, 0x0a, 0x0c, 0x46, 0x69, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
795 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01,
796 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x3d,
797 0x0a, 0x0d, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18,
798 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e,
799 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52,
800 0x0c, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1f, 0x0a,
801 0x0b, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01,
802 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x7c,
803 0x0a, 0x09, 0x42, 0x61, 0x73, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
804 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
805 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20,
806 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12,
807 0x1f, 0x0a, 0x0b, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
808 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74,
809 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01,
810 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x22, 0xaa, 0x01, 0x0a,
811 0x0c, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x14, 0x0a,
812 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e,
813 0x64, 0x65, 0x78, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x02,
814 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x66, 0x66, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08,
815 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
816 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
817 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
818 0x64, 0x12, 0x36, 0x0a, 0x0b, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73,
819 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73,
820 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x0a, 0x62,
821 0x61, 0x73, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x22, 0x45, 0x0a, 0x07, 0x4c, 0x69, 0x63,
822 0x65, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69,
823 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73,
824 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73,
825 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73,
826 0x22, 0x3f, 0x0a, 0x06, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x6c,
827 0x67, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x6c, 0x67, 0x6f, 0x12, 0x21,
828 0x0a, 0x0c, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02,
829 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x42, 0x79, 0x74, 0x65,
830 0x73, 0x2a, 0xfc, 0x01, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x19,
831 0x0a, 0x15, 0x4e, 0x4f, 0x54, 0x45, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50,
832 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x56, 0x55, 0x4c,
833 0x4e, 0x45, 0x52, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
834 0x42, 0x55, 0x49, 0x4c, 0x44, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4d, 0x41, 0x47, 0x45,
835 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x41, 0x43, 0x4b, 0x41, 0x47, 0x45, 0x10, 0x04, 0x12,
836 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x50, 0x4c, 0x4f, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x05, 0x12,
837 0x0d, 0x0a, 0x09, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x59, 0x10, 0x06, 0x12, 0x0f,
838 0x0a, 0x0b, 0x41, 0x54, 0x54, 0x45, 0x53, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x07, 0x12,
839 0x0b, 0x0a, 0x07, 0x55, 0x50, 0x47, 0x52, 0x41, 0x44, 0x45, 0x10, 0x08, 0x12, 0x0e, 0x0a, 0x0a,
840 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x49, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10,
841 0x44, 0x53, 0x53, 0x45, 0x5f, 0x41, 0x54, 0x54, 0x45, 0x53, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e,
842 0x10, 0x0a, 0x12, 0x1c, 0x0a, 0x18, 0x56, 0x55, 0x4c, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x49, 0x4c,
843 0x49, 0x54, 0x59, 0x5f, 0x41, 0x53, 0x53, 0x45, 0x53, 0x53, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x0b,
844 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x42, 0x4f, 0x4d, 0x5f, 0x52, 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e,
845 0x43, 0x45, 0x10, 0x0c, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x0d,
846 0x42, 0x51, 0x0a, 0x0d, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
847 0x31, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
848 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
849 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65,
850 0x61, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0xa2, 0x02, 0x03,
851 0x47, 0x52, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
852 }
853
854 var (
855 file_grafeas_v1_common_proto_rawDescOnce sync.Once
856 file_grafeas_v1_common_proto_rawDescData = file_grafeas_v1_common_proto_rawDesc
857 )
858
859 func file_grafeas_v1_common_proto_rawDescGZIP() []byte {
860 file_grafeas_v1_common_proto_rawDescOnce.Do(func() {
861 file_grafeas_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_common_proto_rawDescData)
862 })
863 return file_grafeas_v1_common_proto_rawDescData
864 }
865
866 var file_grafeas_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
867 var file_grafeas_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
868 var file_grafeas_v1_common_proto_goTypes = []interface{}{
869 (NoteKind)(0), // 0: grafeas.v1.NoteKind
870 (*RelatedUrl)(nil), // 1: grafeas.v1.RelatedUrl
871 (*Signature)(nil), // 2: grafeas.v1.Signature
872 (*Envelope)(nil), // 3: grafeas.v1.Envelope
873 (*EnvelopeSignature)(nil), // 4: grafeas.v1.EnvelopeSignature
874 (*FileLocation)(nil), // 5: grafeas.v1.FileLocation
875 (*BaseImage)(nil), // 6: grafeas.v1.BaseImage
876 (*LayerDetails)(nil), // 7: grafeas.v1.LayerDetails
877 (*License)(nil), // 8: grafeas.v1.License
878 (*Digest)(nil), // 9: grafeas.v1.Digest
879 }
880 var file_grafeas_v1_common_proto_depIdxs = []int32{
881 4, // 0: grafeas.v1.Envelope.signatures:type_name -> grafeas.v1.EnvelopeSignature
882 7, // 1: grafeas.v1.FileLocation.layer_details:type_name -> grafeas.v1.LayerDetails
883 6, // 2: grafeas.v1.LayerDetails.base_images:type_name -> grafeas.v1.BaseImage
884 3, // [3:3] is the sub-list for method output_type
885 3, // [3:3] is the sub-list for method input_type
886 3, // [3:3] is the sub-list for extension type_name
887 3, // [3:3] is the sub-list for extension extendee
888 0, // [0:3] is the sub-list for field type_name
889 }
890
891 func init() { file_grafeas_v1_common_proto_init() }
892 func file_grafeas_v1_common_proto_init() {
893 if File_grafeas_v1_common_proto != nil {
894 return
895 }
896 if !protoimpl.UnsafeEnabled {
897 file_grafeas_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
898 switch v := v.(*RelatedUrl); i {
899 case 0:
900 return &v.state
901 case 1:
902 return &v.sizeCache
903 case 2:
904 return &v.unknownFields
905 default:
906 return nil
907 }
908 }
909 file_grafeas_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
910 switch v := v.(*Signature); i {
911 case 0:
912 return &v.state
913 case 1:
914 return &v.sizeCache
915 case 2:
916 return &v.unknownFields
917 default:
918 return nil
919 }
920 }
921 file_grafeas_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
922 switch v := v.(*Envelope); i {
923 case 0:
924 return &v.state
925 case 1:
926 return &v.sizeCache
927 case 2:
928 return &v.unknownFields
929 default:
930 return nil
931 }
932 }
933 file_grafeas_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
934 switch v := v.(*EnvelopeSignature); i {
935 case 0:
936 return &v.state
937 case 1:
938 return &v.sizeCache
939 case 2:
940 return &v.unknownFields
941 default:
942 return nil
943 }
944 }
945 file_grafeas_v1_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
946 switch v := v.(*FileLocation); i {
947 case 0:
948 return &v.state
949 case 1:
950 return &v.sizeCache
951 case 2:
952 return &v.unknownFields
953 default:
954 return nil
955 }
956 }
957 file_grafeas_v1_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
958 switch v := v.(*BaseImage); i {
959 case 0:
960 return &v.state
961 case 1:
962 return &v.sizeCache
963 case 2:
964 return &v.unknownFields
965 default:
966 return nil
967 }
968 }
969 file_grafeas_v1_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
970 switch v := v.(*LayerDetails); i {
971 case 0:
972 return &v.state
973 case 1:
974 return &v.sizeCache
975 case 2:
976 return &v.unknownFields
977 default:
978 return nil
979 }
980 }
981 file_grafeas_v1_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
982 switch v := v.(*License); i {
983 case 0:
984 return &v.state
985 case 1:
986 return &v.sizeCache
987 case 2:
988 return &v.unknownFields
989 default:
990 return nil
991 }
992 }
993 file_grafeas_v1_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
994 switch v := v.(*Digest); i {
995 case 0:
996 return &v.state
997 case 1:
998 return &v.sizeCache
999 case 2:
1000 return &v.unknownFields
1001 default:
1002 return nil
1003 }
1004 }
1005 }
1006 type x struct{}
1007 out := protoimpl.TypeBuilder{
1008 File: protoimpl.DescBuilder{
1009 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1010 RawDescriptor: file_grafeas_v1_common_proto_rawDesc,
1011 NumEnums: 1,
1012 NumMessages: 9,
1013 NumExtensions: 0,
1014 NumServices: 0,
1015 },
1016 GoTypes: file_grafeas_v1_common_proto_goTypes,
1017 DependencyIndexes: file_grafeas_v1_common_proto_depIdxs,
1018 EnumInfos: file_grafeas_v1_common_proto_enumTypes,
1019 MessageInfos: file_grafeas_v1_common_proto_msgTypes,
1020 }.Build()
1021 File_grafeas_v1_common_proto = out.File
1022 file_grafeas_v1_common_proto_rawDesc = nil
1023 file_grafeas_v1_common_proto_goTypes = nil
1024 file_grafeas_v1_common_proto_depIdxs = nil
1025 }