Debian Codegraph @

googleapis/devtools/containeranalysis/v1beta1/discovery/discovery.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/discovery/discovery.proto
20
21 package discovery
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 common "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common"
28 status "google.golang.org/genproto/googleapis/rpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
32 )
33
34 const (
35 // Verify that this generated code is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37 // Verify that runtime/protoimpl is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 // Whether the resource is continuously analyzed.
42 type Discovered_ContinuousAnalysis int32
43
44 const (
45 // Unknown.
46 Discovered_CONTINUOUS_ANALYSIS_UNSPECIFIED Discovered_ContinuousAnalysis = 0
47 // The resource is continuously analyzed.
48 Discovered_ACTIVE Discovered_ContinuousAnalysis = 1
49 // The resource is ignored for continuous analysis.
50 Discovered_INACTIVE Discovered_ContinuousAnalysis = 2
51 )
52
53 // Enum value maps for Discovered_ContinuousAnalysis.
54 var (
55 Discovered_ContinuousAnalysis_name = map[int32]string{
56 0: "CONTINUOUS_ANALYSIS_UNSPECIFIED",
57 1: "ACTIVE",
58 2: "INACTIVE",
59 }
60 Discovered_ContinuousAnalysis_value = map[string]int32{
61 "CONTINUOUS_ANALYSIS_UNSPECIFIED": 0,
62 "ACTIVE": 1,
63 "INACTIVE": 2,
64 }
65 )
66
67 func (x Discovered_ContinuousAnalysis) Enum() *Discovered_ContinuousAnalysis {
68 p := new(Discovered_ContinuousAnalysis)
69 *p = x
70 return p
71 }
72
73 func (x Discovered_ContinuousAnalysis) String() string {
74 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
75 }
76
77 func (Discovered_ContinuousAnalysis) Descriptor() protoreflect.EnumDescriptor {
78 return file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_enumTypes[0].Descriptor()
79 }
80
81 func (Discovered_ContinuousAnalysis) Type() protoreflect.EnumType {
82 return &file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_enumTypes[0]
83 }
84
85 func (x Discovered_ContinuousAnalysis) Number() protoreflect.EnumNumber {
86 return protoreflect.EnumNumber(x)
87 }
88
89 // Deprecated: Use Discovered_ContinuousAnalysis.Descriptor instead.
90 func (Discovered_ContinuousAnalysis) EnumDescriptor() ([]byte, []int) {
91 return file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescGZIP(), []int{2, 0}
92 }
93
94 // Analysis status for a resource. Currently for initial analysis only (not
95 // updated in continuous analysis).
96 type Discovered_AnalysisStatus int32
97
98 const (
99 // Unknown.
100 Discovered_ANALYSIS_STATUS_UNSPECIFIED Discovered_AnalysisStatus = 0
101 // Resource is known but no action has been taken yet.
102 Discovered_PENDING Discovered_AnalysisStatus = 1
103 // Resource is being analyzed.
104 Discovered_SCANNING Discovered_AnalysisStatus = 2
105 // Analysis has finished successfully.
106 Discovered_FINISHED_SUCCESS Discovered_AnalysisStatus = 3
107 // Analysis has finished unsuccessfully, the analysis itself is in a bad
108 // state.
109 Discovered_FINISHED_FAILED Discovered_AnalysisStatus = 4
110 // The resource is known not to be supported
111 Discovered_FINISHED_UNSUPPORTED Discovered_AnalysisStatus = 5
112 )
113
114 // Enum value maps for Discovered_AnalysisStatus.
115 var (
116 Discovered_AnalysisStatus_name = map[int32]string{
117 0: "ANALYSIS_STATUS_UNSPECIFIED",
118 1: "PENDING",
119 2: "SCANNING",
120 3: "FINISHED_SUCCESS",
121 4: "FINISHED_FAILED",
122 5: "FINISHED_UNSUPPORTED",
123 }
124 Discovered_AnalysisStatus_value = map[string]int32{
125 "ANALYSIS_STATUS_UNSPECIFIED": 0,
126 "PENDING": 1,
127 "SCANNING": 2,
128 "FINISHED_SUCCESS": 3,
129 "FINISHED_FAILED": 4,
130 "FINISHED_UNSUPPORTED": 5,
131 }
132 )
133
134 func (x Discovered_AnalysisStatus) Enum() *Discovered_AnalysisStatus {
135 p := new(Discovered_AnalysisStatus)
136 *p = x
137 return p
138 }
139
140 func (x Discovered_AnalysisStatus) String() string {
141 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
142 }
143
144 func (Discovered_AnalysisStatus) Descriptor() protoreflect.EnumDescriptor {
145 return file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_enumTypes[1].Descriptor()
146 }
147
148 func (Discovered_AnalysisStatus) Type() protoreflect.EnumType {
149 return &file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_enumTypes[1]
150 }
151
152 func (x Discovered_AnalysisStatus) Number() protoreflect.EnumNumber {
153 return protoreflect.EnumNumber(x)
154 }
155
156 // Deprecated: Use Discovered_AnalysisStatus.Descriptor instead.
157 func (Discovered_AnalysisStatus) EnumDescriptor() ([]byte, []int) {
158 return file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescGZIP(), []int{2, 1}
159 }
160
161 // A note that indicates a type of analysis a provider would perform. This note
162 // exists in a provider's project. A `Discovery` occurrence is created in a
163 // consumer's project at the start of analysis.
164 type Discovery struct {
165 state protoimpl.MessageState
166 sizeCache protoimpl.SizeCache
167 unknownFields protoimpl.UnknownFields
168
169 // Required. Immutable. The kind of analysis that is handled by this
170 // discovery.
171 AnalysisKind common.NoteKind `protobuf:"varint,1,opt,name=analysis_kind,json=analysisKind,proto3,enum=grafeas.v1beta1.NoteKind" json:"analysis_kind,omitempty"`
172 }
173
174 func (x *Discovery) Reset() {
175 *x = Discovery{}
176 if protoimpl.UnsafeEnabled {
177 mi := &file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_msgTypes[0]
178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
179 ms.StoreMessageInfo(mi)
180 }
181 }
182
183 func (x *Discovery) String() string {
184 return protoimpl.X.MessageStringOf(x)
185 }
186
187 func (*Discovery) ProtoMessage() {}
188
189 func (x *Discovery) ProtoReflect() protoreflect.Message {
190 mi := &file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_msgTypes[0]
191 if protoimpl.UnsafeEnabled && x != nil {
192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
193 if ms.LoadMessageInfo() == nil {
194 ms.StoreMessageInfo(mi)
195 }
196 return ms
197 }
198 return mi.MessageOf(x)
199 }
200
201 // Deprecated: Use Discovery.ProtoReflect.Descriptor instead.
202 func (*Discovery) Descriptor() ([]byte, []int) {
203 return file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescGZIP(), []int{0}
204 }
205
206 func (x *Discovery) GetAnalysisKind() common.NoteKind {
207 if x != nil {
208 return x.AnalysisKind
209 }
210 return common.NoteKind_NOTE_KIND_UNSPECIFIED
211 }
212
213 // Details of a discovery occurrence.
214 type Details struct {
215 state protoimpl.MessageState
216 sizeCache protoimpl.SizeCache
217 unknownFields protoimpl.UnknownFields
218
219 // Required. Analysis status for the discovered resource.
220 Discovered *Discovered `protobuf:"bytes,1,opt,name=discovered,proto3" json:"discovered,omitempty"`
221 }
222
223 func (x *Details) Reset() {
224 *x = Details{}
225 if protoimpl.UnsafeEnabled {
226 mi := &file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_msgTypes[1]
227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
228 ms.StoreMessageInfo(mi)
229 }
230 }
231
232 func (x *Details) String() string {
233 return protoimpl.X.MessageStringOf(x)
234 }
235
236 func (*Details) ProtoMessage() {}
237
238 func (x *Details) ProtoReflect() protoreflect.Message {
239 mi := &file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_msgTypes[1]
240 if protoimpl.UnsafeEnabled && x != nil {
241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
242 if ms.LoadMessageInfo() == nil {
243 ms.StoreMessageInfo(mi)
244 }
245 return ms
246 }
247 return mi.MessageOf(x)
248 }
249
250 // Deprecated: Use Details.ProtoReflect.Descriptor instead.
251 func (*Details) Descriptor() ([]byte, []int) {
252 return file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescGZIP(), []int{1}
253 }
254
255 func (x *Details) GetDiscovered() *Discovered {
256 if x != nil {
257 return x.Discovered
258 }
259 return nil
260 }
261
262 // Provides information about the analysis status of a discovered resource.
263 type Discovered struct {
264 state protoimpl.MessageState
265 sizeCache protoimpl.SizeCache
266 unknownFields protoimpl.UnknownFields
267
268 // Whether the resource is continuously analyzed.
269 ContinuousAnalysis Discovered_ContinuousAnalysis `protobuf:"varint,1,opt,name=continuous_analysis,json=continuousAnalysis,proto3,enum=grafeas.v1beta1.discovery.Discovered_ContinuousAnalysis" json:"continuous_analysis,omitempty"`
270 // The last time continuous analysis was done for this resource.
271 LastAnalysisTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_analysis_time,json=lastAnalysisTime,proto3" json:"last_analysis_time,omitempty"`
272 // The status of discovery for the resource.
273 AnalysisStatus Discovered_AnalysisStatus `protobuf:"varint,3,opt,name=analysis_status,json=analysisStatus,proto3,enum=grafeas.v1beta1.discovery.Discovered_AnalysisStatus" json:"analysis_status,omitempty"`
274 // When an error is encountered this will contain a LocalizedMessage under
275 // details to show to the user. The LocalizedMessage is output only and
276 // populated by the API.
277 AnalysisStatusError *status.Status `protobuf:"bytes,4,opt,name=analysis_status_error,json=analysisStatusError,proto3" json:"analysis_status_error,omitempty"`
278 }
279
280 func (x *Discovered) Reset() {
281 *x = Discovered{}
282 if protoimpl.UnsafeEnabled {
283 mi := &file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_msgTypes[2]
284 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
285 ms.StoreMessageInfo(mi)
286 }
287 }
288
289 func (x *Discovered) String() string {
290 return protoimpl.X.MessageStringOf(x)
291 }
292
293 func (*Discovered) ProtoMessage() {}
294
295 func (x *Discovered) ProtoReflect() protoreflect.Message {
296 mi := &file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_msgTypes[2]
297 if protoimpl.UnsafeEnabled && x != nil {
298 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
299 if ms.LoadMessageInfo() == nil {
300 ms.StoreMessageInfo(mi)
301 }
302 return ms
303 }
304 return mi.MessageOf(x)
305 }
306
307 // Deprecated: Use Discovered.ProtoReflect.Descriptor instead.
308 func (*Discovered) Descriptor() ([]byte, []int) {
309 return file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescGZIP(), []int{2}
310 }
311
312 func (x *Discovered) GetContinuousAnalysis() Discovered_ContinuousAnalysis {
313 if x != nil {
314 return x.ContinuousAnalysis
315 }
316 return Discovered_CONTINUOUS_ANALYSIS_UNSPECIFIED
317 }
318
319 func (x *Discovered) GetLastAnalysisTime() *timestamppb.Timestamp {
320 if x != nil {
321 return x.LastAnalysisTime
322 }
323 return nil
324 }
325
326 func (x *Discovered) GetAnalysisStatus() Discovered_AnalysisStatus {
327 if x != nil {
328 return x.AnalysisStatus
329 }
330 return Discovered_ANALYSIS_STATUS_UNSPECIFIED
331 }
332
333 func (x *Discovered) GetAnalysisStatusError() *status.Status {
334 if x != nil {
335 return x.AnalysisStatusError
336 }
337 return nil
338 }
339
340 var File_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto protoreflect.FileDescriptor
341
342 var file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDesc = []byte{
343 0x0a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
344 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79,
345 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x69, 0x73, 0x63,
346 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e,
347 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
348 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
349 0x1a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
350 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79,
351 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
352 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
353 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
354 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
355 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61,
356 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x09, 0x44, 0x69, 0x73,
357 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, 0x3e, 0x0a, 0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73,
358 0x69, 0x73, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e,
359 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
360 0x4e, 0x6f, 0x74, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0c, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73,
361 0x69, 0x73, 0x4b, 0x69, 0x6e, 0x64, 0x22, 0x50, 0x0a, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
362 0x73, 0x12, 0x45, 0x0a, 0x0a, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x18,
363 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e,
364 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72,
365 0x79, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x52, 0x0a, 0x64, 0x69,
366 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x22, 0xd1, 0x04, 0x0a, 0x0a, 0x44, 0x69, 0x73,
367 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x12, 0x69, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x69,
368 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x5f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x18, 0x01,
369 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
370 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
371 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x2e, 0x43, 0x6f, 0x6e, 0x74,
372 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x12,
373 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73,
374 0x69, 0x73, 0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x61, 0x6c, 0x79,
375 0x73, 0x69, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
376 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
377 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74,
378 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5d, 0x0a, 0x0f,
379 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
380 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e,
381 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72,
382 0x79, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x2e, 0x41, 0x6e, 0x61,
383 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0e, 0x61, 0x6e, 0x61,
384 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x46, 0x0a, 0x15, 0x61,
385 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x65,
386 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f,
387 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x13,
388 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x72,
389 0x72, 0x6f, 0x72, 0x22, 0x53, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75,
390 0x73, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x23, 0x0a, 0x1f, 0x43, 0x4f, 0x4e,
391 0x54, 0x49, 0x4e, 0x55, 0x4f, 0x55, 0x53, 0x5f, 0x41, 0x4e, 0x41, 0x4c, 0x59, 0x53, 0x49, 0x53,
392 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a,
393 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e,
394 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x22, 0x91, 0x01, 0x0a, 0x0e, 0x41, 0x6e, 0x61,
395 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x1b, 0x41,
396 0x4e, 0x41, 0x4c, 0x59, 0x53, 0x49, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55,
397 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,
398 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x43, 0x41,
399 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x49, 0x4e, 0x49, 0x53,
400 0x48, 0x45, 0x44, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x03, 0x12, 0x13, 0x0a,
401 0x0f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44,
402 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x5f, 0x55,
403 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x05, 0x42, 0x84, 0x01, 0x0a,
404 0x1c, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65,
405 0x74, 0x61, 0x31, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x50, 0x01, 0x5a,
406 0x5c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
407 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
408 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f,
409 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69,
410 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76,
411 0x65, 0x72, 0x79, 0x3b, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0xa2, 0x02, 0x03,
412 0x47, 0x52, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
413 }
414
415 var (
416 file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescOnce sync.Once
417 file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescData = file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDesc
418 )
419
420 func file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescGZIP() []byte {
421 file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescOnce.Do(func() {
422 file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescData)
423 })
424 return file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDescData
425 }
426
427 var file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
428 var file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
429 var file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_goTypes = []interface{}{
430 (Discovered_ContinuousAnalysis)(0), // 0: grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis
431 (Discovered_AnalysisStatus)(0), // 1: grafeas.v1beta1.discovery.Discovered.AnalysisStatus
432 (*Discovery)(nil), // 2: grafeas.v1beta1.discovery.Discovery
433 (*Details)(nil), // 3: grafeas.v1beta1.discovery.Details
434 (*Discovered)(nil), // 4: grafeas.v1beta1.discovery.Discovered
435 (common.NoteKind)(0), // 5: grafeas.v1beta1.NoteKind
436 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
437 (*status.Status)(nil), // 7: google.rpc.Status
438 }
439 var file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_depIdxs = []int32{
440 5, // 0: grafeas.v1beta1.discovery.Discovery.analysis_kind:type_name -> grafeas.v1beta1.NoteKind
441 4, // 1: grafeas.v1beta1.discovery.Details.discovered:type_name -> grafeas.v1beta1.discovery.Discovered
442 0, // 2: grafeas.v1beta1.discovery.Discovered.continuous_analysis:type_name -> grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis
443 6, // 3: grafeas.v1beta1.discovery.Discovered.last_analysis_time:type_name -> google.protobuf.Timestamp
444 1, // 4: grafeas.v1beta1.discovery.Discovered.analysis_status:type_name -> grafeas.v1beta1.discovery.Discovered.AnalysisStatus
445 7, // 5: grafeas.v1beta1.discovery.Discovered.analysis_status_error:type_name -> google.rpc.Status
446 6, // [6:6] is the sub-list for method output_type
447 6, // [6:6] is the sub-list for method input_type
448 6, // [6:6] is the sub-list for extension type_name
449 6, // [6:6] is the sub-list for extension extendee
450 0, // [0:6] is the sub-list for field type_name
451 }
452
453 func init() { file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_init() }
454 func file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_init() {
455 if File_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto != nil {
456 return
457 }
458 if !protoimpl.UnsafeEnabled {
459 file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
460 switch v := v.(*Discovery); i {
461 case 0:
462 return &v.state
463 case 1:
464 return &v.sizeCache
465 case 2:
466 return &v.unknownFields
467 default:
468 return nil
469 }
470 }
471 file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
472 switch v := v.(*Details); i {
473 case 0:
474 return &v.state
475 case 1:
476 return &v.sizeCache
477 case 2:
478 return &v.unknownFields
479 default:
480 return nil
481 }
482 }
483 file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
484 switch v := v.(*Discovered); i {
485 case 0:
486 return &v.state
487 case 1:
488 return &v.sizeCache
489 case 2:
490 return &v.unknownFields
491 default:
492 return nil
493 }
494 }
495 }
496 type x struct{}
497 out := protoimpl.TypeBuilder{
498 File: protoimpl.DescBuilder{
499 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
500 RawDescriptor: file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDesc,
501 NumEnums: 2,
502 NumMessages: 3,
503 NumExtensions: 0,
504 NumServices: 0,
505 },
506 GoTypes: file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_goTypes,
507 DependencyIndexes: file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_depIdxs,
508 EnumInfos: file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_enumTypes,
509 MessageInfos: file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_msgTypes,
510 }.Build()
511 File_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto = out.File
512 file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_rawDesc = nil
513 file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_goTypes = nil
514 file_google_devtools_containeranalysis_v1beta1_discovery_discovery_proto_depIdxs = nil
515 }