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 _ "google.golang.org/genproto/googleapis/api/annotations"
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 Architecture int32
41
42 const (
43
44 Architecture_ARCHITECTURE_UNSPECIFIED Architecture = 0
45
46 Architecture_X86 Architecture = 1
47
48 Architecture_X64 Architecture = 2
49 )
50
51
52 var (
53 Architecture_name = map[int32]string{
54 0: "ARCHITECTURE_UNSPECIFIED",
55 1: "X86",
56 2: "X64",
57 }
58 Architecture_value = map[string]int32{
59 "ARCHITECTURE_UNSPECIFIED": 0,
60 "X86": 1,
61 "X64": 2,
62 }
63 )
64
65 func (x Architecture) Enum() *Architecture {
66 p := new(Architecture)
67 *p = x
68 return p
69 }
70
71 func (x Architecture) String() string {
72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73 }
74
75 func (Architecture) Descriptor() protoreflect.EnumDescriptor {
76 return file_grafeas_v1_package_proto_enumTypes[0].Descriptor()
77 }
78
79 func (Architecture) Type() protoreflect.EnumType {
80 return &file_grafeas_v1_package_proto_enumTypes[0]
81 }
82
83 func (x Architecture) Number() protoreflect.EnumNumber {
84 return protoreflect.EnumNumber(x)
85 }
86
87
88 func (Architecture) EnumDescriptor() ([]byte, []int) {
89 return file_grafeas_v1_package_proto_rawDescGZIP(), []int{0}
90 }
91
92
93 type Version_VersionKind int32
94
95 const (
96
97 Version_VERSION_KIND_UNSPECIFIED Version_VersionKind = 0
98
99 Version_NORMAL Version_VersionKind = 1
100
101 Version_MINIMUM Version_VersionKind = 2
102
103 Version_MAXIMUM Version_VersionKind = 3
104 )
105
106
107 var (
108 Version_VersionKind_name = map[int32]string{
109 0: "VERSION_KIND_UNSPECIFIED",
110 1: "NORMAL",
111 2: "MINIMUM",
112 3: "MAXIMUM",
113 }
114 Version_VersionKind_value = map[string]int32{
115 "VERSION_KIND_UNSPECIFIED": 0,
116 "NORMAL": 1,
117 "MINIMUM": 2,
118 "MAXIMUM": 3,
119 }
120 )
121
122 func (x Version_VersionKind) Enum() *Version_VersionKind {
123 p := new(Version_VersionKind)
124 *p = x
125 return p
126 }
127
128 func (x Version_VersionKind) String() string {
129 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
130 }
131
132 func (Version_VersionKind) Descriptor() protoreflect.EnumDescriptor {
133 return file_grafeas_v1_package_proto_enumTypes[1].Descriptor()
134 }
135
136 func (Version_VersionKind) Type() protoreflect.EnumType {
137 return &file_grafeas_v1_package_proto_enumTypes[1]
138 }
139
140 func (x Version_VersionKind) Number() protoreflect.EnumNumber {
141 return protoreflect.EnumNumber(x)
142 }
143
144
145 func (Version_VersionKind) EnumDescriptor() ([]byte, []int) {
146 return file_grafeas_v1_package_proto_rawDescGZIP(), []int{4, 0}
147 }
148
149
150
151 type Distribution struct {
152 state protoimpl.MessageState
153 sizeCache protoimpl.SizeCache
154 unknownFields protoimpl.UnknownFields
155
156
157
158 CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
159
160
161 Architecture Architecture `protobuf:"varint,2,opt,name=architecture,proto3,enum=grafeas.v1.Architecture" json:"architecture,omitempty"`
162
163 LatestVersion *Version `protobuf:"bytes,3,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"`
164
165 Maintainer string `protobuf:"bytes,4,opt,name=maintainer,proto3" json:"maintainer,omitempty"`
166
167 Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
168
169 Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
170 }
171
172 func (x *Distribution) Reset() {
173 *x = Distribution{}
174 if protoimpl.UnsafeEnabled {
175 mi := &file_grafeas_v1_package_proto_msgTypes[0]
176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
177 ms.StoreMessageInfo(mi)
178 }
179 }
180
181 func (x *Distribution) String() string {
182 return protoimpl.X.MessageStringOf(x)
183 }
184
185 func (*Distribution) ProtoMessage() {}
186
187 func (x *Distribution) ProtoReflect() protoreflect.Message {
188 mi := &file_grafeas_v1_package_proto_msgTypes[0]
189 if protoimpl.UnsafeEnabled && x != nil {
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 if ms.LoadMessageInfo() == nil {
192 ms.StoreMessageInfo(mi)
193 }
194 return ms
195 }
196 return mi.MessageOf(x)
197 }
198
199
200 func (*Distribution) Descriptor() ([]byte, []int) {
201 return file_grafeas_v1_package_proto_rawDescGZIP(), []int{0}
202 }
203
204 func (x *Distribution) GetCpeUri() string {
205 if x != nil {
206 return x.CpeUri
207 }
208 return ""
209 }
210
211 func (x *Distribution) GetArchitecture() Architecture {
212 if x != nil {
213 return x.Architecture
214 }
215 return Architecture_ARCHITECTURE_UNSPECIFIED
216 }
217
218 func (x *Distribution) GetLatestVersion() *Version {
219 if x != nil {
220 return x.LatestVersion
221 }
222 return nil
223 }
224
225 func (x *Distribution) GetMaintainer() string {
226 if x != nil {
227 return x.Maintainer
228 }
229 return ""
230 }
231
232 func (x *Distribution) GetUrl() string {
233 if x != nil {
234 return x.Url
235 }
236 return ""
237 }
238
239 func (x *Distribution) GetDescription() string {
240 if x != nil {
241 return x.Description
242 }
243 return ""
244 }
245
246
247
248 type Location struct {
249 state protoimpl.MessageState
250 sizeCache protoimpl.SizeCache
251 unknownFields protoimpl.UnknownFields
252
253
254
255 CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
256
257
258 Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
259
260 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
261 }
262
263 func (x *Location) Reset() {
264 *x = Location{}
265 if protoimpl.UnsafeEnabled {
266 mi := &file_grafeas_v1_package_proto_msgTypes[1]
267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268 ms.StoreMessageInfo(mi)
269 }
270 }
271
272 func (x *Location) String() string {
273 return protoimpl.X.MessageStringOf(x)
274 }
275
276 func (*Location) ProtoMessage() {}
277
278 func (x *Location) ProtoReflect() protoreflect.Message {
279 mi := &file_grafeas_v1_package_proto_msgTypes[1]
280 if protoimpl.UnsafeEnabled && x != nil {
281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
282 if ms.LoadMessageInfo() == nil {
283 ms.StoreMessageInfo(mi)
284 }
285 return ms
286 }
287 return mi.MessageOf(x)
288 }
289
290
291 func (*Location) Descriptor() ([]byte, []int) {
292 return file_grafeas_v1_package_proto_rawDescGZIP(), []int{1}
293 }
294
295 func (x *Location) GetCpeUri() string {
296 if x != nil {
297 return x.CpeUri
298 }
299 return ""
300 }
301
302 func (x *Location) GetVersion() *Version {
303 if x != nil {
304 return x.Version
305 }
306 return nil
307 }
308
309 func (x *Location) GetPath() string {
310 if x != nil {
311 return x.Path
312 }
313 return ""
314 }
315
316
317 type PackageNote struct {
318 state protoimpl.MessageState
319 sizeCache protoimpl.SizeCache
320 unknownFields protoimpl.UnknownFields
321
322
323 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
324
325
326 Distribution []*Distribution `protobuf:"bytes,10,rep,name=distribution,proto3" json:"distribution,omitempty"`
327
328
329 PackageType string `protobuf:"bytes,11,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`
330
331
332
333 CpeUri string `protobuf:"bytes,12,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
334
335
336 Architecture Architecture `protobuf:"varint,13,opt,name=architecture,proto3,enum=grafeas.v1.Architecture" json:"architecture,omitempty"`
337
338 Version *Version `protobuf:"bytes,14,opt,name=version,proto3" json:"version,omitempty"`
339
340 Maintainer string `protobuf:"bytes,15,opt,name=maintainer,proto3" json:"maintainer,omitempty"`
341
342 Url string `protobuf:"bytes,16,opt,name=url,proto3" json:"url,omitempty"`
343
344 Description string `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty"`
345
346 License *License `protobuf:"bytes,18,opt,name=license,proto3" json:"license,omitempty"`
347
348
349 Digest []*Digest `protobuf:"bytes,19,rep,name=digest,proto3" json:"digest,omitempty"`
350 }
351
352 func (x *PackageNote) Reset() {
353 *x = PackageNote{}
354 if protoimpl.UnsafeEnabled {
355 mi := &file_grafeas_v1_package_proto_msgTypes[2]
356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
357 ms.StoreMessageInfo(mi)
358 }
359 }
360
361 func (x *PackageNote) String() string {
362 return protoimpl.X.MessageStringOf(x)
363 }
364
365 func (*PackageNote) ProtoMessage() {}
366
367 func (x *PackageNote) ProtoReflect() protoreflect.Message {
368 mi := &file_grafeas_v1_package_proto_msgTypes[2]
369 if protoimpl.UnsafeEnabled && x != nil {
370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371 if ms.LoadMessageInfo() == nil {
372 ms.StoreMessageInfo(mi)
373 }
374 return ms
375 }
376 return mi.MessageOf(x)
377 }
378
379
380 func (*PackageNote) Descriptor() ([]byte, []int) {
381 return file_grafeas_v1_package_proto_rawDescGZIP(), []int{2}
382 }
383
384 func (x *PackageNote) GetName() string {
385 if x != nil {
386 return x.Name
387 }
388 return ""
389 }
390
391 func (x *PackageNote) GetDistribution() []*Distribution {
392 if x != nil {
393 return x.Distribution
394 }
395 return nil
396 }
397
398 func (x *PackageNote) GetPackageType() string {
399 if x != nil {
400 return x.PackageType
401 }
402 return ""
403 }
404
405 func (x *PackageNote) GetCpeUri() string {
406 if x != nil {
407 return x.CpeUri
408 }
409 return ""
410 }
411
412 func (x *PackageNote) GetArchitecture() Architecture {
413 if x != nil {
414 return x.Architecture
415 }
416 return Architecture_ARCHITECTURE_UNSPECIFIED
417 }
418
419 func (x *PackageNote) GetVersion() *Version {
420 if x != nil {
421 return x.Version
422 }
423 return nil
424 }
425
426 func (x *PackageNote) GetMaintainer() string {
427 if x != nil {
428 return x.Maintainer
429 }
430 return ""
431 }
432
433 func (x *PackageNote) GetUrl() string {
434 if x != nil {
435 return x.Url
436 }
437 return ""
438 }
439
440 func (x *PackageNote) GetDescription() string {
441 if x != nil {
442 return x.Description
443 }
444 return ""
445 }
446
447 func (x *PackageNote) GetLicense() *License {
448 if x != nil {
449 return x.License
450 }
451 return nil
452 }
453
454 func (x *PackageNote) GetDigest() []*Digest {
455 if x != nil {
456 return x.Digest
457 }
458 return nil
459 }
460
461
462 type PackageOccurrence struct {
463 state protoimpl.MessageState
464 sizeCache protoimpl.SizeCache
465 unknownFields protoimpl.UnknownFields
466
467
468 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
469
470
471 Location []*Location `protobuf:"bytes,2,rep,name=location,proto3" json:"location,omitempty"`
472
473
474 PackageType string `protobuf:"bytes,3,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`
475
476
477
478 CpeUri string `protobuf:"bytes,4,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
479
480
481 Architecture Architecture `protobuf:"varint,5,opt,name=architecture,proto3,enum=grafeas.v1.Architecture" json:"architecture,omitempty"`
482
483 License *License `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"`
484
485 Version *Version `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
486 }
487
488 func (x *PackageOccurrence) Reset() {
489 *x = PackageOccurrence{}
490 if protoimpl.UnsafeEnabled {
491 mi := &file_grafeas_v1_package_proto_msgTypes[3]
492 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
493 ms.StoreMessageInfo(mi)
494 }
495 }
496
497 func (x *PackageOccurrence) String() string {
498 return protoimpl.X.MessageStringOf(x)
499 }
500
501 func (*PackageOccurrence) ProtoMessage() {}
502
503 func (x *PackageOccurrence) ProtoReflect() protoreflect.Message {
504 mi := &file_grafeas_v1_package_proto_msgTypes[3]
505 if protoimpl.UnsafeEnabled && x != nil {
506 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
507 if ms.LoadMessageInfo() == nil {
508 ms.StoreMessageInfo(mi)
509 }
510 return ms
511 }
512 return mi.MessageOf(x)
513 }
514
515
516 func (*PackageOccurrence) Descriptor() ([]byte, []int) {
517 return file_grafeas_v1_package_proto_rawDescGZIP(), []int{3}
518 }
519
520 func (x *PackageOccurrence) GetName() string {
521 if x != nil {
522 return x.Name
523 }
524 return ""
525 }
526
527 func (x *PackageOccurrence) GetLocation() []*Location {
528 if x != nil {
529 return x.Location
530 }
531 return nil
532 }
533
534 func (x *PackageOccurrence) GetPackageType() string {
535 if x != nil {
536 return x.PackageType
537 }
538 return ""
539 }
540
541 func (x *PackageOccurrence) GetCpeUri() string {
542 if x != nil {
543 return x.CpeUri
544 }
545 return ""
546 }
547
548 func (x *PackageOccurrence) GetArchitecture() Architecture {
549 if x != nil {
550 return x.Architecture
551 }
552 return Architecture_ARCHITECTURE_UNSPECIFIED
553 }
554
555 func (x *PackageOccurrence) GetLicense() *License {
556 if x != nil {
557 return x.License
558 }
559 return nil
560 }
561
562 func (x *PackageOccurrence) GetVersion() *Version {
563 if x != nil {
564 return x.Version
565 }
566 return nil
567 }
568
569
570 type Version struct {
571 state protoimpl.MessageState
572 sizeCache protoimpl.SizeCache
573 unknownFields protoimpl.UnknownFields
574
575
576 Epoch int32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
577
578
579 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
580
581 Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
582
583
584
585
586
587
588 Inclusive bool `protobuf:"varint,6,opt,name=inclusive,proto3" json:"inclusive,omitempty"`
589
590
591 Kind Version_VersionKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1.Version_VersionKind" json:"kind,omitempty"`
592
593
594 FullName string `protobuf:"bytes,5,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
595 }
596
597 func (x *Version) Reset() {
598 *x = Version{}
599 if protoimpl.UnsafeEnabled {
600 mi := &file_grafeas_v1_package_proto_msgTypes[4]
601 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
602 ms.StoreMessageInfo(mi)
603 }
604 }
605
606 func (x *Version) String() string {
607 return protoimpl.X.MessageStringOf(x)
608 }
609
610 func (*Version) ProtoMessage() {}
611
612 func (x *Version) ProtoReflect() protoreflect.Message {
613 mi := &file_grafeas_v1_package_proto_msgTypes[4]
614 if protoimpl.UnsafeEnabled && x != nil {
615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
616 if ms.LoadMessageInfo() == nil {
617 ms.StoreMessageInfo(mi)
618 }
619 return ms
620 }
621 return mi.MessageOf(x)
622 }
623
624
625 func (*Version) Descriptor() ([]byte, []int) {
626 return file_grafeas_v1_package_proto_rawDescGZIP(), []int{4}
627 }
628
629 func (x *Version) GetEpoch() int32 {
630 if x != nil {
631 return x.Epoch
632 }
633 return 0
634 }
635
636 func (x *Version) GetName() string {
637 if x != nil {
638 return x.Name
639 }
640 return ""
641 }
642
643 func (x *Version) GetRevision() string {
644 if x != nil {
645 return x.Revision
646 }
647 return ""
648 }
649
650 func (x *Version) GetInclusive() bool {
651 if x != nil {
652 return x.Inclusive
653 }
654 return false
655 }
656
657 func (x *Version) GetKind() Version_VersionKind {
658 if x != nil {
659 return x.Kind
660 }
661 return Version_VERSION_KIND_UNSPECIFIED
662 }
663
664 func (x *Version) GetFullName() string {
665 if x != nil {
666 return x.FullName
667 }
668 return ""
669 }
670
671 var File_grafeas_v1_package_proto protoreflect.FileDescriptor
672
673 var file_grafeas_v1_package_proto_rawDesc = []byte{
674 0x0a, 0x18, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x63,
675 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x72, 0x61, 0x66,
676 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
677 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
678 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73,
679 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
680 0x22, 0xfa, 0x01, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f,
681 0x6e, 0x12, 0x1c, 0x0a, 0x07, 0x63, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01,
682 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x63, 0x70, 0x65, 0x55, 0x72, 0x69, 0x12,
683 0x3c, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18,
684 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e,
685 0x76, 0x31, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52,
686 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x3a, 0x0a,
687 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
688 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e,
689 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65,
690 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x69,
691 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d,
692 0x61, 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c,
693 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64,
694 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
695 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x66, 0x0a,
696 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x70, 0x65,
697 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x70, 0x65, 0x55,
698 0x72, 0x69, 0x12, 0x2d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
699 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31,
700 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
701 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
702 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0xbf, 0x03, 0x0a, 0x0b, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67,
703 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
704 0x01, 0x28, 0x09, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d,
705 0x65, 0x12, 0x3c, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f,
706 0x6e, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61,
707 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f,
708 0x6e, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12,
709 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
710 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79,
711 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x0c, 0x20,
712 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x70, 0x65, 0x55, 0x72, 0x69, 0x12, 0x3c, 0x0a, 0x0c, 0x61,
713 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28,
714 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41,
715 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0c, 0x61, 0x72, 0x63,
716 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x76, 0x65, 0x72,
717 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x61,
718 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52,
719 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x69, 0x6e,
720 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61,
721 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18,
722 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
723 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52,
724 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x07,
725 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
726 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x63, 0x65, 0x6e,
727 0x73, 0x65, 0x52, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x64,
728 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72,
729 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x52,
730 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x22, 0xcd, 0x02, 0x0a, 0x11, 0x50, 0x61, 0x63, 0x6b,
731 0x61, 0x67, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a,
732 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe0, 0x41, 0x02,
733 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x6c, 0x6f, 0x63,
734 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72,
735 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
736 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0c, 0x70,
737 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
738 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54,
739 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x07, 0x63, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04,
740 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x63, 0x70, 0x65, 0x55, 0x72,
741 0x69, 0x12, 0x41, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72,
742 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61,
743 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72,
744 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63,
745 0x74, 0x75, 0x72, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x18,
746 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e,
747 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x07, 0x6c, 0x69, 0x63, 0x65,
748 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07,
749 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
750 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07,
751 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x92, 0x02, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73,
752 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01,
753 0x28, 0x05, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
754 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
755 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
756 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x63,
757 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x6e,
758 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18,
759 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e,
760 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69,
761 0x6f, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09,
762 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
763 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x0b, 0x56, 0x65, 0x72,
764 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x1c, 0x0a, 0x18, 0x56, 0x45, 0x52, 0x53,
765 0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
766 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c,
767 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x49, 0x4e, 0x49, 0x4d, 0x55, 0x4d, 0x10, 0x02, 0x12,
768 0x0b, 0x0a, 0x07, 0x4d, 0x41, 0x58, 0x49, 0x4d, 0x55, 0x4d, 0x10, 0x03, 0x2a, 0x3e, 0x0a, 0x0c,
769 0x41, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x18,
770 0x41, 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x55, 0x4e, 0x53,
771 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x38,
772 0x36, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x36, 0x34, 0x10, 0x02, 0x42, 0x51, 0x0a, 0x0d,
773 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a,
774 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
775 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
776 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76,
777 0x31, 0x3b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62,
778 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
779 }
780
781 var (
782 file_grafeas_v1_package_proto_rawDescOnce sync.Once
783 file_grafeas_v1_package_proto_rawDescData = file_grafeas_v1_package_proto_rawDesc
784 )
785
786 func file_grafeas_v1_package_proto_rawDescGZIP() []byte {
787 file_grafeas_v1_package_proto_rawDescOnce.Do(func() {
788 file_grafeas_v1_package_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_package_proto_rawDescData)
789 })
790 return file_grafeas_v1_package_proto_rawDescData
791 }
792
793 var file_grafeas_v1_package_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
794 var file_grafeas_v1_package_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
795 var file_grafeas_v1_package_proto_goTypes = []interface{}{
796 (Architecture)(0),
797 (Version_VersionKind)(0),
798 (*Distribution)(nil),
799 (*Location)(nil),
800 (*PackageNote)(nil),
801 (*PackageOccurrence)(nil),
802 (*Version)(nil),
803 (*License)(nil),
804 (*Digest)(nil),
805 }
806 var file_grafeas_v1_package_proto_depIdxs = []int32{
807 0,
808 6,
809 6,
810 2,
811 0,
812 6,
813 7,
814 8,
815 3,
816 0,
817 7,
818 6,
819 1,
820 13,
821 13,
822 13,
823 13,
824 0,
825 }
826
827 func init() { file_grafeas_v1_package_proto_init() }
828 func file_grafeas_v1_package_proto_init() {
829 if File_grafeas_v1_package_proto != nil {
830 return
831 }
832 file_grafeas_v1_common_proto_init()
833 if !protoimpl.UnsafeEnabled {
834 file_grafeas_v1_package_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
835 switch v := v.(*Distribution); i {
836 case 0:
837 return &v.state
838 case 1:
839 return &v.sizeCache
840 case 2:
841 return &v.unknownFields
842 default:
843 return nil
844 }
845 }
846 file_grafeas_v1_package_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
847 switch v := v.(*Location); i {
848 case 0:
849 return &v.state
850 case 1:
851 return &v.sizeCache
852 case 2:
853 return &v.unknownFields
854 default:
855 return nil
856 }
857 }
858 file_grafeas_v1_package_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
859 switch v := v.(*PackageNote); i {
860 case 0:
861 return &v.state
862 case 1:
863 return &v.sizeCache
864 case 2:
865 return &v.unknownFields
866 default:
867 return nil
868 }
869 }
870 file_grafeas_v1_package_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
871 switch v := v.(*PackageOccurrence); i {
872 case 0:
873 return &v.state
874 case 1:
875 return &v.sizeCache
876 case 2:
877 return &v.unknownFields
878 default:
879 return nil
880 }
881 }
882 file_grafeas_v1_package_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
883 switch v := v.(*Version); i {
884 case 0:
885 return &v.state
886 case 1:
887 return &v.sizeCache
888 case 2:
889 return &v.unknownFields
890 default:
891 return nil
892 }
893 }
894 }
895 type x struct{}
896 out := protoimpl.TypeBuilder{
897 File: protoimpl.DescBuilder{
898 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
899 RawDescriptor: file_grafeas_v1_package_proto_rawDesc,
900 NumEnums: 2,
901 NumMessages: 5,
902 NumExtensions: 0,
903 NumServices: 0,
904 },
905 GoTypes: file_grafeas_v1_package_proto_goTypes,
906 DependencyIndexes: file_grafeas_v1_package_proto_depIdxs,
907 EnumInfos: file_grafeas_v1_package_proto_enumTypes,
908 MessageInfos: file_grafeas_v1_package_proto_msgTypes,
909 }.Build()
910 File_grafeas_v1_package_proto = out.File
911 file_grafeas_v1_package_proto_rawDesc = nil
912 file_grafeas_v1_package_proto_goTypes = nil
913 file_grafeas_v1_package_proto_depIdxs = nil
914 }
915
View as plain text