Debian Codegraph @

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

raw
1 // Copyright 2018 The Grafeas Authors. All rights reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.12.2
19 // source: google/devtools/containeranalysis/v1beta1/package/package.proto
20
21 package _package
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 // Instruction set architectures supported by various package managers.
39 type Architecture int32
40
41 const (
42 // Unknown architecture.
43 Architecture_ARCHITECTURE_UNSPECIFIED Architecture = 0
44 // X86 architecture.
45 Architecture_X86 Architecture = 1
46 // X64 architecture.
47 Architecture_X64 Architecture = 2
48 )
49
50 // Enum value maps for Architecture.
51 var (
52 Architecture_name = map[int32]string{
53 0: "ARCHITECTURE_UNSPECIFIED",
54 1: "X86",
55 2: "X64",
56 }
57 Architecture_value = map[string]int32{
58 "ARCHITECTURE_UNSPECIFIED": 0,
59 "X86": 1,
60 "X64": 2,
61 }
62 )
63
64 func (x Architecture) Enum() *Architecture {
65 p := new(Architecture)
66 *p = x
67 return p
68 }
69
70 func (x Architecture) String() string {
71 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
72 }
73
74 func (Architecture) Descriptor() protoreflect.EnumDescriptor {
75 return file_google_devtools_containeranalysis_v1beta1_package_package_proto_enumTypes[0].Descriptor()
76 }
77
78 func (Architecture) Type() protoreflect.EnumType {
79 return &file_google_devtools_containeranalysis_v1beta1_package_package_proto_enumTypes[0]
80 }
81
82 func (x Architecture) Number() protoreflect.EnumNumber {
83 return protoreflect.EnumNumber(x)
84 }
85
86 // Deprecated: Use Architecture.Descriptor instead.
87 func (Architecture) EnumDescriptor() ([]byte, []int) {
88 return file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescGZIP(), []int{0}
89 }
90
91 // Whether this is an ordinary package version or a sentinel MIN/MAX version.
92 type Version_VersionKind int32
93
94 const (
95 // Unknown.
96 Version_VERSION_KIND_UNSPECIFIED Version_VersionKind = 0
97 // A standard package version.
98 Version_NORMAL Version_VersionKind = 1
99 // A special version representing negative infinity.
100 Version_MINIMUM Version_VersionKind = 2
101 // A special version representing positive infinity.
102 Version_MAXIMUM Version_VersionKind = 3
103 )
104
105 // Enum value maps for Version_VersionKind.
106 var (
107 Version_VersionKind_name = map[int32]string{
108 0: "VERSION_KIND_UNSPECIFIED",
109 1: "NORMAL",
110 2: "MINIMUM",
111 3: "MAXIMUM",
112 }
113 Version_VersionKind_value = map[string]int32{
114 "VERSION_KIND_UNSPECIFIED": 0,
115 "NORMAL": 1,
116 "MINIMUM": 2,
117 "MAXIMUM": 3,
118 }
119 )
120
121 func (x Version_VersionKind) Enum() *Version_VersionKind {
122 p := new(Version_VersionKind)
123 *p = x
124 return p
125 }
126
127 func (x Version_VersionKind) String() string {
128 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
129 }
130
131 func (Version_VersionKind) Descriptor() protoreflect.EnumDescriptor {
132 return file_google_devtools_containeranalysis_v1beta1_package_package_proto_enumTypes[1].Descriptor()
133 }
134
135 func (Version_VersionKind) Type() protoreflect.EnumType {
136 return &file_google_devtools_containeranalysis_v1beta1_package_package_proto_enumTypes[1]
137 }
138
139 func (x Version_VersionKind) Number() protoreflect.EnumNumber {
140 return protoreflect.EnumNumber(x)
141 }
142
143 // Deprecated: Use Version_VersionKind.Descriptor instead.
144 func (Version_VersionKind) EnumDescriptor() ([]byte, []int) {
145 return file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescGZIP(), []int{5, 0}
146 }
147
148 // This represents a particular channel of distribution for a given package.
149 // E.g., Debian's jessie-backports dpkg mirror.
150 type Distribution struct {
151 state protoimpl.MessageState
152 sizeCache protoimpl.SizeCache
153 unknownFields protoimpl.UnknownFields
154
155 // Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
156 // denoting the package manager version distributing a package.
157 CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
158 // The CPU architecture for which packages in this distribution channel were
159 // built.
160 Architecture Architecture `protobuf:"varint,2,opt,name=architecture,proto3,enum=grafeas.v1beta1.package.Architecture" json:"architecture,omitempty"`
161 // The latest available version of this package in this distribution channel.
162 LatestVersion *Version `protobuf:"bytes,3,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"`
163 // A freeform string denoting the maintainer of this package.
164 Maintainer string `protobuf:"bytes,4,opt,name=maintainer,proto3" json:"maintainer,omitempty"`
165 // The distribution channel-specific homepage for this package.
166 Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
167 // The distribution channel-specific description of this package.
168 Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
169 }
170
171 func (x *Distribution) Reset() {
172 *x = Distribution{}
173 if protoimpl.UnsafeEnabled {
174 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[0]
175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
176 ms.StoreMessageInfo(mi)
177 }
178 }
179
180 func (x *Distribution) String() string {
181 return protoimpl.X.MessageStringOf(x)
182 }
183
184 func (*Distribution) ProtoMessage() {}
185
186 func (x *Distribution) ProtoReflect() protoreflect.Message {
187 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[0]
188 if protoimpl.UnsafeEnabled && x != nil {
189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190 if ms.LoadMessageInfo() == nil {
191 ms.StoreMessageInfo(mi)
192 }
193 return ms
194 }
195 return mi.MessageOf(x)
196 }
197
198 // Deprecated: Use Distribution.ProtoReflect.Descriptor instead.
199 func (*Distribution) Descriptor() ([]byte, []int) {
200 return file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescGZIP(), []int{0}
201 }
202
203 func (x *Distribution) GetCpeUri() string {
204 if x != nil {
205 return x.CpeUri
206 }
207 return ""
208 }
209
210 func (x *Distribution) GetArchitecture() Architecture {
211 if x != nil {
212 return x.Architecture
213 }
214 return Architecture_ARCHITECTURE_UNSPECIFIED
215 }
216
217 func (x *Distribution) GetLatestVersion() *Version {
218 if x != nil {
219 return x.LatestVersion
220 }
221 return nil
222 }
223
224 func (x *Distribution) GetMaintainer() string {
225 if x != nil {
226 return x.Maintainer
227 }
228 return ""
229 }
230
231 func (x *Distribution) GetUrl() string {
232 if x != nil {
233 return x.Url
234 }
235 return ""
236 }
237
238 func (x *Distribution) GetDescription() string {
239 if x != nil {
240 return x.Description
241 }
242 return ""
243 }
244
245 // An occurrence of a particular package installation found within a system's
246 // filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
247 type Location struct {
248 state protoimpl.MessageState
249 sizeCache protoimpl.SizeCache
250 unknownFields protoimpl.UnknownFields
251
252 // Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
253 // denoting the package manager version distributing a package.
254 CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
255 // The version installed at this location.
256 Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
257 // The path from which we gathered that this package/version is installed.
258 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
259 }
260
261 func (x *Location) Reset() {
262 *x = Location{}
263 if protoimpl.UnsafeEnabled {
264 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[1]
265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
266 ms.StoreMessageInfo(mi)
267 }
268 }
269
270 func (x *Location) String() string {
271 return protoimpl.X.MessageStringOf(x)
272 }
273
274 func (*Location) ProtoMessage() {}
275
276 func (x *Location) ProtoReflect() protoreflect.Message {
277 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[1]
278 if protoimpl.UnsafeEnabled && x != nil {
279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
280 if ms.LoadMessageInfo() == nil {
281 ms.StoreMessageInfo(mi)
282 }
283 return ms
284 }
285 return mi.MessageOf(x)
286 }
287
288 // Deprecated: Use Location.ProtoReflect.Descriptor instead.
289 func (*Location) Descriptor() ([]byte, []int) {
290 return file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescGZIP(), []int{1}
291 }
292
293 func (x *Location) GetCpeUri() string {
294 if x != nil {
295 return x.CpeUri
296 }
297 return ""
298 }
299
300 func (x *Location) GetVersion() *Version {
301 if x != nil {
302 return x.Version
303 }
304 return nil
305 }
306
307 func (x *Location) GetPath() string {
308 if x != nil {
309 return x.Path
310 }
311 return ""
312 }
313
314 // This represents a particular package that is distributed over various
315 // channels. E.g., glibc (aka libc6) is distributed by many, at various
316 // versions.
317 type Package struct {
318 state protoimpl.MessageState
319 sizeCache protoimpl.SizeCache
320 unknownFields protoimpl.UnknownFields
321
322 // Required. Immutable. The name of the package.
323 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
324 // The various channels by which a package is distributed.
325 Distribution []*Distribution `protobuf:"bytes,10,rep,name=distribution,proto3" json:"distribution,omitempty"`
326 }
327
328 func (x *Package) Reset() {
329 *x = Package{}
330 if protoimpl.UnsafeEnabled {
331 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[2]
332 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
333 ms.StoreMessageInfo(mi)
334 }
335 }
336
337 func (x *Package) String() string {
338 return protoimpl.X.MessageStringOf(x)
339 }
340
341 func (*Package) ProtoMessage() {}
342
343 func (x *Package) ProtoReflect() protoreflect.Message {
344 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[2]
345 if protoimpl.UnsafeEnabled && x != nil {
346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
347 if ms.LoadMessageInfo() == nil {
348 ms.StoreMessageInfo(mi)
349 }
350 return ms
351 }
352 return mi.MessageOf(x)
353 }
354
355 // Deprecated: Use Package.ProtoReflect.Descriptor instead.
356 func (*Package) Descriptor() ([]byte, []int) {
357 return file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescGZIP(), []int{2}
358 }
359
360 func (x *Package) GetName() string {
361 if x != nil {
362 return x.Name
363 }
364 return ""
365 }
366
367 func (x *Package) GetDistribution() []*Distribution {
368 if x != nil {
369 return x.Distribution
370 }
371 return nil
372 }
373
374 // Details of a package occurrence.
375 type Details struct {
376 state protoimpl.MessageState
377 sizeCache protoimpl.SizeCache
378 unknownFields protoimpl.UnknownFields
379
380 // Required. Where the package was installed.
381 Installation *Installation `protobuf:"bytes,1,opt,name=installation,proto3" json:"installation,omitempty"`
382 }
383
384 func (x *Details) Reset() {
385 *x = Details{}
386 if protoimpl.UnsafeEnabled {
387 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[3]
388 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
389 ms.StoreMessageInfo(mi)
390 }
391 }
392
393 func (x *Details) String() string {
394 return protoimpl.X.MessageStringOf(x)
395 }
396
397 func (*Details) ProtoMessage() {}
398
399 func (x *Details) ProtoReflect() protoreflect.Message {
400 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[3]
401 if protoimpl.UnsafeEnabled && x != nil {
402 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
403 if ms.LoadMessageInfo() == nil {
404 ms.StoreMessageInfo(mi)
405 }
406 return ms
407 }
408 return mi.MessageOf(x)
409 }
410
411 // Deprecated: Use Details.ProtoReflect.Descriptor instead.
412 func (*Details) Descriptor() ([]byte, []int) {
413 return file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescGZIP(), []int{3}
414 }
415
416 func (x *Details) GetInstallation() *Installation {
417 if x != nil {
418 return x.Installation
419 }
420 return nil
421 }
422
423 // This represents how a particular software package may be installed on a
424 // system.
425 type Installation struct {
426 state protoimpl.MessageState
427 sizeCache protoimpl.SizeCache
428 unknownFields protoimpl.UnknownFields
429
430 // Output only. The name of the installed package.
431 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
432 // Required. All of the places within the filesystem versions of this package
433 // have been found.
434 Location []*Location `protobuf:"bytes,2,rep,name=location,proto3" json:"location,omitempty"`
435 }
436
437 func (x *Installation) Reset() {
438 *x = Installation{}
439 if protoimpl.UnsafeEnabled {
440 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[4]
441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
442 ms.StoreMessageInfo(mi)
443 }
444 }
445
446 func (x *Installation) String() string {
447 return protoimpl.X.MessageStringOf(x)
448 }
449
450 func (*Installation) ProtoMessage() {}
451
452 func (x *Installation) ProtoReflect() protoreflect.Message {
453 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[4]
454 if protoimpl.UnsafeEnabled && x != nil {
455 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
456 if ms.LoadMessageInfo() == nil {
457 ms.StoreMessageInfo(mi)
458 }
459 return ms
460 }
461 return mi.MessageOf(x)
462 }
463
464 // Deprecated: Use Installation.ProtoReflect.Descriptor instead.
465 func (*Installation) Descriptor() ([]byte, []int) {
466 return file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescGZIP(), []int{4}
467 }
468
469 func (x *Installation) GetName() string {
470 if x != nil {
471 return x.Name
472 }
473 return ""
474 }
475
476 func (x *Installation) GetLocation() []*Location {
477 if x != nil {
478 return x.Location
479 }
480 return nil
481 }
482
483 // Version contains structured information about the version of a package.
484 type Version struct {
485 state protoimpl.MessageState
486 sizeCache protoimpl.SizeCache
487 unknownFields protoimpl.UnknownFields
488
489 // Used to correct mistakes in the version numbering scheme.
490 Epoch int32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
491 // Required only when version kind is NORMAL. The main part of the version
492 // name.
493 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
494 // The iteration of the package build from the above version.
495 Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
496 // Required. Distinguishes between sentinel MIN/MAX versions and normal
497 // versions.
498 Kind Version_VersionKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.package.Version_VersionKind" json:"kind,omitempty"`
499 }
500
501 func (x *Version) Reset() {
502 *x = Version{}
503 if protoimpl.UnsafeEnabled {
504 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[5]
505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
506 ms.StoreMessageInfo(mi)
507 }
508 }
509
510 func (x *Version) String() string {
511 return protoimpl.X.MessageStringOf(x)
512 }
513
514 func (*Version) ProtoMessage() {}
515
516 func (x *Version) ProtoReflect() protoreflect.Message {
517 mi := &file_google_devtools_containeranalysis_v1beta1_package_package_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 Version.ProtoReflect.Descriptor instead.
529 func (*Version) Descriptor() ([]byte, []int) {
530 return file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescGZIP(), []int{5}
531 }
532
533 func (x *Version) GetEpoch() int32 {
534 if x != nil {
535 return x.Epoch
536 }
537 return 0
538 }
539
540 func (x *Version) GetName() string {
541 if x != nil {
542 return x.Name
543 }
544 return ""
545 }
546
547 func (x *Version) GetRevision() string {
548 if x != nil {
549 return x.Revision
550 }
551 return ""
552 }
553
554 func (x *Version) GetKind() Version_VersionKind {
555 if x != nil {
556 return x.Kind
557 }
558 return Version_VERSION_KIND_UNSPECIFIED
559 }
560
561 var File_google_devtools_containeranalysis_v1beta1_package_package_proto protoreflect.FileDescriptor
562
563 var file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDesc = []byte{
564 0x0a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
565 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79,
566 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x63, 0x6b,
567 0x61, 0x67, 0x65, 0x2f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
568 0x6f, 0x12, 0x17, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
569 0x61, 0x31, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x22, 0x8f, 0x02, 0x0a, 0x0c, 0x44,
570 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x63,
571 0x70, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x70,
572 0x65, 0x55, 0x72, 0x69, 0x12, 0x49, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63,
573 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x61,
574 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x61, 0x63,
575 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72,
576 0x65, 0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12,
577 0x47, 0x0a, 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
578 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61,
579 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67,
580 0x65, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73,
581 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x69, 0x6e,
582 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61,
583 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18,
584 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
585 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
586 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x73, 0x0a, 0x08,
587 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x70, 0x65, 0x5f,
588 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x70, 0x65, 0x55, 0x72,
589 0x69, 0x12, 0x3a, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
590 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62,
591 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x56, 0x65, 0x72,
592 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
593 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74,
594 0x68, 0x22, 0x68, 0x0a, 0x07, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04,
595 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
596 0x12, 0x49, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e,
597 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73,
598 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,
599 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x64,
600 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x54, 0x0a, 0x07, 0x44,
601 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x49, 0x0a, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c,
602 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67,
603 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70,
604 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74,
605 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f,
606 0x6e, 0x22, 0x61, 0x0a, 0x0c, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f,
607 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
608 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
609 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61,
610 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67,
611 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61,
612 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe4, 0x01, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
613 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
614 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
615 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65,
616 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65,
617 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x04,
618 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
619 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x56,
620 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x69,
621 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x51, 0x0a, 0x0b, 0x56, 0x65, 0x72, 0x73,
622 0x69, 0x6f, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x1c, 0x0a, 0x18, 0x56, 0x45, 0x52, 0x53, 0x49,
623 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
624 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10,
625 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x49, 0x4e, 0x49, 0x4d, 0x55, 0x4d, 0x10, 0x02, 0x12, 0x0b,
626 0x0a, 0x07, 0x4d, 0x41, 0x58, 0x49, 0x4d, 0x55, 0x4d, 0x10, 0x03, 0x2a, 0x3e, 0x0a, 0x0c, 0x41,
627 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x41,
628 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
629 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x38, 0x36,
630 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x36, 0x34, 0x10, 0x02, 0x42, 0x72, 0x0a, 0x16, 0x69,
631 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
632 0x31, 0x2e, 0x70, 0x6b, 0x67, 0x50, 0x01, 0x5a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
633 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
634 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64,
635 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
636 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
637 0x31, 0x2f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62,
638 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
639 }
640
641 var (
642 file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescOnce sync.Once
643 file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescData = file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDesc
644 )
645
646 func file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescGZIP() []byte {
647 file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescOnce.Do(func() {
648 file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescData)
649 })
650 return file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDescData
651 }
652
653 var file_google_devtools_containeranalysis_v1beta1_package_package_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
654 var file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
655 var file_google_devtools_containeranalysis_v1beta1_package_package_proto_goTypes = []interface{}{
656 (Architecture)(0), // 0: grafeas.v1beta1.package.Architecture
657 (Version_VersionKind)(0), // 1: grafeas.v1beta1.package.Version.VersionKind
658 (*Distribution)(nil), // 2: grafeas.v1beta1.package.Distribution
659 (*Location)(nil), // 3: grafeas.v1beta1.package.Location
660 (*Package)(nil), // 4: grafeas.v1beta1.package.Package
661 (*Details)(nil), // 5: grafeas.v1beta1.package.Details
662 (*Installation)(nil), // 6: grafeas.v1beta1.package.Installation
663 (*Version)(nil), // 7: grafeas.v1beta1.package.Version
664 }
665 var file_google_devtools_containeranalysis_v1beta1_package_package_proto_depIdxs = []int32{
666 0, // 0: grafeas.v1beta1.package.Distribution.architecture:type_name -> grafeas.v1beta1.package.Architecture
667 7, // 1: grafeas.v1beta1.package.Distribution.latest_version:type_name -> grafeas.v1beta1.package.Version
668 7, // 2: grafeas.v1beta1.package.Location.version:type_name -> grafeas.v1beta1.package.Version
669 2, // 3: grafeas.v1beta1.package.Package.distribution:type_name -> grafeas.v1beta1.package.Distribution
670 6, // 4: grafeas.v1beta1.package.Details.installation:type_name -> grafeas.v1beta1.package.Installation
671 3, // 5: grafeas.v1beta1.package.Installation.location:type_name -> grafeas.v1beta1.package.Location
672 1, // 6: grafeas.v1beta1.package.Version.kind:type_name -> grafeas.v1beta1.package.Version.VersionKind
673 7, // [7:7] is the sub-list for method output_type
674 7, // [7:7] is the sub-list for method input_type
675 7, // [7:7] is the sub-list for extension type_name
676 7, // [7:7] is the sub-list for extension extendee
677 0, // [0:7] is the sub-list for field type_name
678 }
679
680 func init() { file_google_devtools_containeranalysis_v1beta1_package_package_proto_init() }
681 func file_google_devtools_containeranalysis_v1beta1_package_package_proto_init() {
682 if File_google_devtools_containeranalysis_v1beta1_package_package_proto != nil {
683 return
684 }
685 if !protoimpl.UnsafeEnabled {
686 file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
687 switch v := v.(*Distribution); i {
688 case 0:
689 return &v.state
690 case 1:
691 return &v.sizeCache
692 case 2:
693 return &v.unknownFields
694 default:
695 return nil
696 }
697 }
698 file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
699 switch v := v.(*Location); i {
700 case 0:
701 return &v.state
702 case 1:
703 return &v.sizeCache
704 case 2:
705 return &v.unknownFields
706 default:
707 return nil
708 }
709 }
710 file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
711 switch v := v.(*Package); i {
712 case 0:
713 return &v.state
714 case 1:
715 return &v.sizeCache
716 case 2:
717 return &v.unknownFields
718 default:
719 return nil
720 }
721 }
722 file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
723 switch v := v.(*Details); i {
724 case 0:
725 return &v.state
726 case 1:
727 return &v.sizeCache
728 case 2:
729 return &v.unknownFields
730 default:
731 return nil
732 }
733 }
734 file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
735 switch v := v.(*Installation); i {
736 case 0:
737 return &v.state
738 case 1:
739 return &v.sizeCache
740 case 2:
741 return &v.unknownFields
742 default:
743 return nil
744 }
745 }
746 file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
747 switch v := v.(*Version); i {
748 case 0:
749 return &v.state
750 case 1:
751 return &v.sizeCache
752 case 2:
753 return &v.unknownFields
754 default:
755 return nil
756 }
757 }
758 }
759 type x struct{}
760 out := protoimpl.TypeBuilder{
761 File: protoimpl.DescBuilder{
762 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
763 RawDescriptor: file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDesc,
764 NumEnums: 2,
765 NumMessages: 6,
766 NumExtensions: 0,
767 NumServices: 0,
768 },
769 GoTypes: file_google_devtools_containeranalysis_v1beta1_package_package_proto_goTypes,
770 DependencyIndexes: file_google_devtools_containeranalysis_v1beta1_package_package_proto_depIdxs,
771 EnumInfos: file_google_devtools_containeranalysis_v1beta1_package_package_proto_enumTypes,
772 MessageInfos: file_google_devtools_containeranalysis_v1beta1_package_package_proto_msgTypes,
773 }.Build()
774 File_google_devtools_containeranalysis_v1beta1_package_package_proto = out.File
775 file_google_devtools_containeranalysis_v1beta1_package_package_proto_rawDesc = nil
776 file_google_devtools_containeranalysis_v1beta1_package_package_proto_goTypes = nil
777 file_google_devtools_containeranalysis_v1beta1_package_package_proto_depIdxs = nil
778 }