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