grafeas 0.3.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +3 -3
  3. data/LICENSE.md +203 -0
  4. data/MIGRATING.md +366 -0
  5. data/README.md +28 -25
  6. data/lib/grafeas.rb +36 -117
  7. data/lib/grafeas/version.rb +6 -2
  8. metadata +49 -80
  9. data/AUTHENTICATION.md +0 -172
  10. data/LICENSE +0 -201
  11. data/lib/grafeas/v1.rb +0 -155
  12. data/lib/grafeas/v1/attestation_pb.rb +0 -27
  13. data/lib/grafeas/v1/build_pb.rb +0 -23
  14. data/lib/grafeas/v1/common_pb.rb +0 -35
  15. data/lib/grafeas/v1/credentials.rb +0 -37
  16. data/lib/grafeas/v1/cvss_pb.rb +0 -67
  17. data/lib/grafeas/v1/deployment_pb.rb +0 -35
  18. data/lib/grafeas/v1/discovery_pb.rb +0 -43
  19. data/lib/grafeas/v1/doc/google/protobuf/any.rb +0 -131
  20. data/lib/grafeas/v1/doc/google/protobuf/empty.rb +0 -29
  21. data/lib/grafeas/v1/doc/google/protobuf/field_mask.rb +0 -222
  22. data/lib/grafeas/v1/doc/google/protobuf/timestamp.rb +0 -113
  23. data/lib/grafeas/v1/doc/google/rpc/status.rb +0 -39
  24. data/lib/grafeas/v1/doc/grafeas/v1/attestation.rb +0 -64
  25. data/lib/grafeas/v1/doc/grafeas/v1/build.rb +0 -44
  26. data/lib/grafeas/v1/doc/grafeas/v1/common.rb +0 -108
  27. data/lib/grafeas/v1/doc/grafeas/v1/cvss.rb +0 -104
  28. data/lib/grafeas/v1/doc/grafeas/v1/deployment.rb +0 -64
  29. data/lib/grafeas/v1/doc/grafeas/v1/discovery.rb +0 -82
  30. data/lib/grafeas/v1/doc/grafeas/v1/grafeas.rb +0 -328
  31. data/lib/grafeas/v1/doc/grafeas/v1/image.rb +0 -79
  32. data/lib/grafeas/v1/doc/grafeas/v1/package.rb +0 -125
  33. data/lib/grafeas/v1/doc/grafeas/v1/provenance.rb +0 -248
  34. data/lib/grafeas/v1/doc/grafeas/v1/upgrade.rb +0 -126
  35. data/lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb +0 -223
  36. data/lib/grafeas/v1/grafeas_client.rb +0 -964
  37. data/lib/grafeas/v1/grafeas_client_config.json +0 -96
  38. data/lib/grafeas/v1/grafeas_pb.rb +0 -168
  39. data/lib/grafeas/v1/grafeas_services_pb.rb +0 -86
  40. data/lib/grafeas/v1/image_pb.rb +0 -36
  41. data/lib/grafeas/v1/package_pb.rb +0 -59
  42. data/lib/grafeas/v1/provenance_pb.rb +0 -116
  43. data/lib/grafeas/v1/upgrade_pb.rb +0 -56
  44. data/lib/grafeas/v1/vulnerability_pb.rb +0 -84
@@ -1,96 +0,0 @@
1
- {
2
- "interfaces": {
3
- "grafeas.v1.Grafeas": {
4
- "retry_codes": {
5
- "idempotent": [
6
- "DEADLINE_EXCEEDED",
7
- "UNAVAILABLE"
8
- ],
9
- "non_idempotent": []
10
- },
11
- "retry_params": {
12
- "default": {
13
- "initial_retry_delay_millis": 100,
14
- "retry_delay_multiplier": 1.3,
15
- "max_retry_delay_millis": 60000,
16
- "initial_rpc_timeout_millis": 20000,
17
- "rpc_timeout_multiplier": 1.0,
18
- "max_rpc_timeout_millis": 20000,
19
- "total_timeout_millis": 600000
20
- }
21
- },
22
- "methods": {
23
- "GetOccurrence": {
24
- "timeout_millis": 30000,
25
- "retry_codes_name": "idempotent",
26
- "retry_params_name": "default"
27
- },
28
- "ListOccurrences": {
29
- "timeout_millis": 30000,
30
- "retry_codes_name": "idempotent",
31
- "retry_params_name": "default"
32
- },
33
- "DeleteOccurrence": {
34
- "timeout_millis": 30000,
35
- "retry_codes_name": "idempotent",
36
- "retry_params_name": "default"
37
- },
38
- "CreateOccurrence": {
39
- "timeout_millis": 30000,
40
- "retry_codes_name": "non_idempotent",
41
- "retry_params_name": "default"
42
- },
43
- "BatchCreateOccurrences": {
44
- "timeout_millis": 30000,
45
- "retry_codes_name": "non_idempotent",
46
- "retry_params_name": "default"
47
- },
48
- "UpdateOccurrence": {
49
- "timeout_millis": 30000,
50
- "retry_codes_name": "non_idempotent",
51
- "retry_params_name": "default"
52
- },
53
- "GetOccurrenceNote": {
54
- "timeout_millis": 30000,
55
- "retry_codes_name": "idempotent",
56
- "retry_params_name": "default"
57
- },
58
- "GetNote": {
59
- "timeout_millis": 30000,
60
- "retry_codes_name": "idempotent",
61
- "retry_params_name": "default"
62
- },
63
- "ListNotes": {
64
- "timeout_millis": 30000,
65
- "retry_codes_name": "idempotent",
66
- "retry_params_name": "default"
67
- },
68
- "DeleteNote": {
69
- "timeout_millis": 30000,
70
- "retry_codes_name": "idempotent",
71
- "retry_params_name": "default"
72
- },
73
- "CreateNote": {
74
- "timeout_millis": 30000,
75
- "retry_codes_name": "non_idempotent",
76
- "retry_params_name": "default"
77
- },
78
- "BatchCreateNotes": {
79
- "timeout_millis": 30000,
80
- "retry_codes_name": "non_idempotent",
81
- "retry_params_name": "default"
82
- },
83
- "UpdateNote": {
84
- "timeout_millis": 30000,
85
- "retry_codes_name": "non_idempotent",
86
- "retry_params_name": "default"
87
- },
88
- "ListNoteOccurrences": {
89
- "timeout_millis": 30000,
90
- "retry_codes_name": "idempotent",
91
- "retry_params_name": "default"
92
- }
93
- }
94
- }
95
- }
96
- }
@@ -1,168 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: grafeas/v1/grafeas.proto
3
-
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/api/annotations_pb'
8
- require 'google/api/client_pb'
9
- require 'google/api/field_behavior_pb'
10
- require 'google/api/resource_pb'
11
- require 'google/protobuf/empty_pb'
12
- require 'google/protobuf/field_mask_pb'
13
- require 'google/protobuf/timestamp_pb'
14
- require 'grafeas/v1/attestation_pb'
15
- require 'grafeas/v1/build_pb'
16
- require 'grafeas/v1/common_pb'
17
- require 'grafeas/v1/deployment_pb'
18
- require 'grafeas/v1/discovery_pb'
19
- require 'grafeas/v1/image_pb'
20
- require 'grafeas/v1/package_pb'
21
- require 'grafeas/v1/upgrade_pb'
22
- require 'grafeas/v1/vulnerability_pb'
23
- Google::Protobuf::DescriptorPool.generated_pool.build do
24
- add_message "grafeas.v1.Occurrence" do
25
- optional :name, :string, 1
26
- optional :resource_uri, :string, 2
27
- optional :note_name, :string, 3
28
- optional :kind, :enum, 4, "grafeas.v1.NoteKind"
29
- optional :remediation, :string, 5
30
- optional :create_time, :message, 6, "google.protobuf.Timestamp"
31
- optional :update_time, :message, 7, "google.protobuf.Timestamp"
32
- oneof :details do
33
- optional :vulnerability, :message, 8, "grafeas.v1.VulnerabilityOccurrence"
34
- optional :build, :message, 9, "grafeas.v1.BuildOccurrence"
35
- optional :image, :message, 10, "grafeas.v1.ImageOccurrence"
36
- optional :package, :message, 11, "grafeas.v1.PackageOccurrence"
37
- optional :deployment, :message, 12, "grafeas.v1.DeploymentOccurrence"
38
- optional :discovery, :message, 13, "grafeas.v1.DiscoveryOccurrence"
39
- optional :attestation, :message, 14, "grafeas.v1.AttestationOccurrence"
40
- optional :upgrade, :message, 15, "grafeas.v1.UpgradeOccurrence"
41
- end
42
- end
43
- add_message "grafeas.v1.Note" do
44
- optional :name, :string, 1
45
- optional :short_description, :string, 2
46
- optional :long_description, :string, 3
47
- optional :kind, :enum, 4, "grafeas.v1.NoteKind"
48
- repeated :related_url, :message, 5, "grafeas.v1.RelatedUrl"
49
- optional :expiration_time, :message, 6, "google.protobuf.Timestamp"
50
- optional :create_time, :message, 7, "google.protobuf.Timestamp"
51
- optional :update_time, :message, 8, "google.protobuf.Timestamp"
52
- repeated :related_note_names, :string, 9
53
- oneof :type do
54
- optional :vulnerability, :message, 10, "grafeas.v1.VulnerabilityNote"
55
- optional :build, :message, 11, "grafeas.v1.BuildNote"
56
- optional :image, :message, 12, "grafeas.v1.ImageNote"
57
- optional :package, :message, 13, "grafeas.v1.PackageNote"
58
- optional :deployment, :message, 14, "grafeas.v1.DeploymentNote"
59
- optional :discovery, :message, 15, "grafeas.v1.DiscoveryNote"
60
- optional :attestation, :message, 16, "grafeas.v1.AttestationNote"
61
- optional :upgrade, :message, 17, "grafeas.v1.UpgradeNote"
62
- end
63
- end
64
- add_message "grafeas.v1.GetOccurrenceRequest" do
65
- optional :name, :string, 1
66
- end
67
- add_message "grafeas.v1.ListOccurrencesRequest" do
68
- optional :parent, :string, 1
69
- optional :filter, :string, 2
70
- optional :page_size, :int32, 3
71
- optional :page_token, :string, 4
72
- end
73
- add_message "grafeas.v1.ListOccurrencesResponse" do
74
- repeated :occurrences, :message, 1, "grafeas.v1.Occurrence"
75
- optional :next_page_token, :string, 2
76
- end
77
- add_message "grafeas.v1.DeleteOccurrenceRequest" do
78
- optional :name, :string, 1
79
- end
80
- add_message "grafeas.v1.CreateOccurrenceRequest" do
81
- optional :parent, :string, 1
82
- optional :occurrence, :message, 2, "grafeas.v1.Occurrence"
83
- end
84
- add_message "grafeas.v1.UpdateOccurrenceRequest" do
85
- optional :name, :string, 1
86
- optional :occurrence, :message, 2, "grafeas.v1.Occurrence"
87
- optional :update_mask, :message, 3, "google.protobuf.FieldMask"
88
- end
89
- add_message "grafeas.v1.GetNoteRequest" do
90
- optional :name, :string, 1
91
- end
92
- add_message "grafeas.v1.GetOccurrenceNoteRequest" do
93
- optional :name, :string, 1
94
- end
95
- add_message "grafeas.v1.ListNotesRequest" do
96
- optional :parent, :string, 1
97
- optional :filter, :string, 2
98
- optional :page_size, :int32, 3
99
- optional :page_token, :string, 4
100
- end
101
- add_message "grafeas.v1.ListNotesResponse" do
102
- repeated :notes, :message, 1, "grafeas.v1.Note"
103
- optional :next_page_token, :string, 2
104
- end
105
- add_message "grafeas.v1.DeleteNoteRequest" do
106
- optional :name, :string, 1
107
- end
108
- add_message "grafeas.v1.CreateNoteRequest" do
109
- optional :parent, :string, 1
110
- optional :note_id, :string, 2
111
- optional :note, :message, 3, "grafeas.v1.Note"
112
- end
113
- add_message "grafeas.v1.UpdateNoteRequest" do
114
- optional :name, :string, 1
115
- optional :note, :message, 2, "grafeas.v1.Note"
116
- optional :update_mask, :message, 3, "google.protobuf.FieldMask"
117
- end
118
- add_message "grafeas.v1.ListNoteOccurrencesRequest" do
119
- optional :name, :string, 1
120
- optional :filter, :string, 2
121
- optional :page_size, :int32, 3
122
- optional :page_token, :string, 4
123
- end
124
- add_message "grafeas.v1.ListNoteOccurrencesResponse" do
125
- repeated :occurrences, :message, 1, "grafeas.v1.Occurrence"
126
- optional :next_page_token, :string, 2
127
- end
128
- add_message "grafeas.v1.BatchCreateNotesRequest" do
129
- optional :parent, :string, 1
130
- map :notes, :string, :message, 2, "grafeas.v1.Note"
131
- end
132
- add_message "grafeas.v1.BatchCreateNotesResponse" do
133
- repeated :notes, :message, 1, "grafeas.v1.Note"
134
- end
135
- add_message "grafeas.v1.BatchCreateOccurrencesRequest" do
136
- optional :parent, :string, 1
137
- repeated :occurrences, :message, 2, "grafeas.v1.Occurrence"
138
- end
139
- add_message "grafeas.v1.BatchCreateOccurrencesResponse" do
140
- repeated :occurrences, :message, 1, "grafeas.v1.Occurrence"
141
- end
142
- end
143
-
144
- module Grafeas
145
- module V1
146
- Occurrence = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Occurrence").msgclass
147
- Note = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Note").msgclass
148
- GetOccurrenceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.GetOccurrenceRequest").msgclass
149
- ListOccurrencesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ListOccurrencesRequest").msgclass
150
- ListOccurrencesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ListOccurrencesResponse").msgclass
151
- DeleteOccurrenceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.DeleteOccurrenceRequest").msgclass
152
- CreateOccurrenceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.CreateOccurrenceRequest").msgclass
153
- UpdateOccurrenceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.UpdateOccurrenceRequest").msgclass
154
- GetNoteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.GetNoteRequest").msgclass
155
- GetOccurrenceNoteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.GetOccurrenceNoteRequest").msgclass
156
- ListNotesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ListNotesRequest").msgclass
157
- ListNotesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ListNotesResponse").msgclass
158
- DeleteNoteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.DeleteNoteRequest").msgclass
159
- CreateNoteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.CreateNoteRequest").msgclass
160
- UpdateNoteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.UpdateNoteRequest").msgclass
161
- ListNoteOccurrencesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ListNoteOccurrencesRequest").msgclass
162
- ListNoteOccurrencesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ListNoteOccurrencesResponse").msgclass
163
- BatchCreateNotesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.BatchCreateNotesRequest").msgclass
164
- BatchCreateNotesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.BatchCreateNotesResponse").msgclass
165
- BatchCreateOccurrencesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.BatchCreateOccurrencesRequest").msgclass
166
- BatchCreateOccurrencesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.BatchCreateOccurrencesResponse").msgclass
167
- end
168
- end
@@ -1,86 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: grafeas/v1/grafeas.proto for package 'grafeas.v1'
3
- # Original file comments:
4
- # Copyright 2019 The Grafeas Authors. All rights reserved.
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
-
20
- require 'grpc'
21
- require 'grafeas/v1/grafeas_pb'
22
-
23
- module Grafeas
24
- module V1
25
- module GrafeasService
26
- # [Grafeas](https://grafeas.io) API.
27
- #
28
- # Retrieves analysis results of Cloud components such as Docker container
29
- # images.
30
- #
31
- # Analysis results are stored as a series of occurrences. An `Occurrence`
32
- # contains information about a specific analysis instance on a resource. An
33
- # occurrence refers to a `Note`. A note contains details describing the
34
- # analysis and is generally stored in a separate project, called a `Provider`.
35
- # Multiple occurrences can refer to the same note.
36
- #
37
- # For example, an SSL vulnerability could affect multiple images. In this case,
38
- # there would be one note for the vulnerability and an occurrence for each
39
- # image with the vulnerability referring to that note.
40
- class Service
41
-
42
- include GRPC::GenericService
43
-
44
- self.marshal_class_method = :encode
45
- self.unmarshal_class_method = :decode
46
- self.service_name = 'grafeas.v1.Grafeas'
47
-
48
- # Gets the specified occurrence.
49
- rpc :GetOccurrence, GetOccurrenceRequest, Occurrence
50
- # Lists occurrences for the specified project.
51
- rpc :ListOccurrences, ListOccurrencesRequest, ListOccurrencesResponse
52
- # Deletes the specified occurrence. For example, use this method to delete an
53
- # occurrence when the occurrence is no longer applicable for the given
54
- # resource.
55
- rpc :DeleteOccurrence, DeleteOccurrenceRequest, Google::Protobuf::Empty
56
- # Creates a new occurrence.
57
- rpc :CreateOccurrence, CreateOccurrenceRequest, Occurrence
58
- # Creates new occurrences in batch.
59
- rpc :BatchCreateOccurrences, BatchCreateOccurrencesRequest, BatchCreateOccurrencesResponse
60
- # Updates the specified occurrence.
61
- rpc :UpdateOccurrence, UpdateOccurrenceRequest, Occurrence
62
- # Gets the note attached to the specified occurrence. Consumer projects can
63
- # use this method to get a note that belongs to a provider project.
64
- rpc :GetOccurrenceNote, GetOccurrenceNoteRequest, Note
65
- # Gets the specified note.
66
- rpc :GetNote, GetNoteRequest, Note
67
- # Lists notes for the specified project.
68
- rpc :ListNotes, ListNotesRequest, ListNotesResponse
69
- # Deletes the specified note.
70
- rpc :DeleteNote, DeleteNoteRequest, Google::Protobuf::Empty
71
- # Creates a new note.
72
- rpc :CreateNote, CreateNoteRequest, Note
73
- # Creates new notes in batch.
74
- rpc :BatchCreateNotes, BatchCreateNotesRequest, BatchCreateNotesResponse
75
- # Updates the specified note.
76
- rpc :UpdateNote, UpdateNoteRequest, Note
77
- # Lists occurrences referencing the specified note. Provider projects can use
78
- # this method to get all occurrences across consumer projects referencing the
79
- # specified note.
80
- rpc :ListNoteOccurrences, ListNoteOccurrencesRequest, ListNoteOccurrencesResponse
81
- end
82
-
83
- Stub = Service.rpc_stub_class
84
- end
85
- end
86
- end
@@ -1,36 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: grafeas/v1/image.proto
3
-
4
-
5
- require 'google/protobuf'
6
-
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "grafeas.v1.Layer" do
9
- optional :directive, :string, 1
10
- optional :arguments, :string, 2
11
- end
12
- add_message "grafeas.v1.Fingerprint" do
13
- optional :v1_name, :string, 1
14
- repeated :v2_blob, :string, 2
15
- optional :v2_name, :string, 3
16
- end
17
- add_message "grafeas.v1.ImageNote" do
18
- optional :resource_url, :string, 1
19
- optional :fingerprint, :message, 2, "grafeas.v1.Fingerprint"
20
- end
21
- add_message "grafeas.v1.ImageOccurrence" do
22
- optional :fingerprint, :message, 1, "grafeas.v1.Fingerprint"
23
- optional :distance, :int32, 2
24
- repeated :layer_info, :message, 3, "grafeas.v1.Layer"
25
- optional :base_resource_url, :string, 4
26
- end
27
- end
28
-
29
- module Grafeas
30
- module V1
31
- Layer = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Layer").msgclass
32
- Fingerprint = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Fingerprint").msgclass
33
- ImageNote = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ImageNote").msgclass
34
- ImageOccurrence = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.ImageOccurrence").msgclass
35
- end
36
- end
@@ -1,59 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: grafeas/v1/package.proto
3
-
4
-
5
- require 'google/protobuf'
6
-
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "grafeas.v1.Distribution" do
9
- optional :cpe_uri, :string, 1
10
- optional :architecture, :enum, 2, "grafeas.v1.Architecture"
11
- optional :latest_version, :message, 3, "grafeas.v1.Version"
12
- optional :maintainer, :string, 4
13
- optional :url, :string, 5
14
- optional :description, :string, 6
15
- end
16
- add_message "grafeas.v1.Location" do
17
- optional :cpe_uri, :string, 1
18
- optional :version, :message, 2, "grafeas.v1.Version"
19
- optional :path, :string, 3
20
- end
21
- add_message "grafeas.v1.PackageNote" do
22
- optional :name, :string, 1
23
- repeated :distribution, :message, 10, "grafeas.v1.Distribution"
24
- end
25
- add_message "grafeas.v1.PackageOccurrence" do
26
- optional :name, :string, 1
27
- repeated :location, :message, 2, "grafeas.v1.Location"
28
- end
29
- add_message "grafeas.v1.Version" do
30
- optional :epoch, :int32, 1
31
- optional :name, :string, 2
32
- optional :revision, :string, 3
33
- optional :kind, :enum, 4, "grafeas.v1.Version.VersionKind"
34
- optional :full_name, :string, 5
35
- end
36
- add_enum "grafeas.v1.Version.VersionKind" do
37
- value :VERSION_KIND_UNSPECIFIED, 0
38
- value :NORMAL, 1
39
- value :MINIMUM, 2
40
- value :MAXIMUM, 3
41
- end
42
- add_enum "grafeas.v1.Architecture" do
43
- value :ARCHITECTURE_UNSPECIFIED, 0
44
- value :X86, 1
45
- value :X64, 2
46
- end
47
- end
48
-
49
- module Grafeas
50
- module V1
51
- Distribution = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Distribution").msgclass
52
- Location = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Location").msgclass
53
- PackageNote = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.PackageNote").msgclass
54
- PackageOccurrence = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.PackageOccurrence").msgclass
55
- Version = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Version").msgclass
56
- Version::VersionKind = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Version.VersionKind").enummodule
57
- Architecture = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Architecture").enummodule
58
- end
59
- end