| 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/image/image.proto |
| 20 |
|
| 21 |
package image |
| 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 |
// Instructions from Dockerfile. |
| 39 |
type Layer_Directive int32 |
| 40 |
|
| 41 |
const ( |
| 42 |
// Default value for unsupported/missing directive. |
| 43 |
Layer_DIRECTIVE_UNSPECIFIED Layer_Directive = 0 |
| 44 |
// https://docs.docker.com/engine/reference/builder/ |
| 45 |
Layer_MAINTAINER Layer_Directive = 1 |
| 46 |
// https://docs.docker.com/engine/reference/builder/ |
| 47 |
Layer_RUN Layer_Directive = 2 |
| 48 |
// https://docs.docker.com/engine/reference/builder/ |
| 49 |
Layer_CMD Layer_Directive = 3 |
| 50 |
// https://docs.docker.com/engine/reference/builder/ |
| 51 |
Layer_LABEL Layer_Directive = 4 |
| 52 |
// https://docs.docker.com/engine/reference/builder/ |
| 53 |
Layer_EXPOSE Layer_Directive = 5 |
| 54 |
// https://docs.docker.com/engine/reference/builder/ |
| 55 |
Layer_ENV Layer_Directive = 6 |
| 56 |
// https://docs.docker.com/engine/reference/builder/ |
| 57 |
Layer_ADD Layer_Directive = 7 |
| 58 |
// https://docs.docker.com/engine/reference/builder/ |
| 59 |
Layer_COPY Layer_Directive = 8 |
| 60 |
// https://docs.docker.com/engine/reference/builder/ |
| 61 |
Layer_ENTRYPOINT Layer_Directive = 9 |
| 62 |
// https://docs.docker.com/engine/reference/builder/ |
| 63 |
Layer_VOLUME Layer_Directive = 10 |
| 64 |
// https://docs.docker.com/engine/reference/builder/ |
| 65 |
Layer_USER Layer_Directive = 11 |
| 66 |
// https://docs.docker.com/engine/reference/builder/ |
| 67 |
Layer_WORKDIR Layer_Directive = 12 |
| 68 |
// https://docs.docker.com/engine/reference/builder/ |
| 69 |
Layer_ARG Layer_Directive = 13 |
| 70 |
// https://docs.docker.com/engine/reference/builder/ |
| 71 |
Layer_ONBUILD Layer_Directive = 14 |
| 72 |
// https://docs.docker.com/engine/reference/builder/ |
| 73 |
Layer_STOPSIGNAL Layer_Directive = 15 |
| 74 |
// https://docs.docker.com/engine/reference/builder/ |
| 75 |
Layer_HEALTHCHECK Layer_Directive = 16 |
| 76 |
// https://docs.docker.com/engine/reference/builder/ |
| 77 |
Layer_SHELL Layer_Directive = 17 |
| 78 |
) |
| 79 |
|
| 80 |
// Enum value maps for Layer_Directive. |
| 81 |
var ( |
| 82 |
Layer_Directive_name = map[int32]string{ |
| 83 |
0: "DIRECTIVE_UNSPECIFIED", |
| 84 |
1: "MAINTAINER", |
| 85 |
2: "RUN", |
| 86 |
3: "CMD", |
| 87 |
4: "LABEL", |
| 88 |
5: "EXPOSE", |
| 89 |
6: "ENV", |
| 90 |
7: "ADD", |
| 91 |
8: "COPY", |
| 92 |
9: "ENTRYPOINT", |
| 93 |
10: "VOLUME", |
| 94 |
11: "USER", |
| 95 |
12: "WORKDIR", |
| 96 |
13: "ARG", |
| 97 |
14: "ONBUILD", |
| 98 |
15: "STOPSIGNAL", |
| 99 |
16: "HEALTHCHECK", |
| 100 |
17: "SHELL", |
| 101 |
} |
| 102 |
Layer_Directive_value = map[string]int32{ |
| 103 |
"DIRECTIVE_UNSPECIFIED": 0, |
| 104 |
"MAINTAINER": 1, |
| 105 |
"RUN": 2, |
| 106 |
"CMD": 3, |
| 107 |
"LABEL": 4, |
| 108 |
"EXPOSE": 5, |
| 109 |
"ENV": 6, |
| 110 |
"ADD": 7, |
| 111 |
"COPY": 8, |
| 112 |
"ENTRYPOINT": 9, |
| 113 |
"VOLUME": 10, |
| 114 |
"USER": 11, |
| 115 |
"WORKDIR": 12, |
| 116 |
"ARG": 13, |
| 117 |
"ONBUILD": 14, |
| 118 |
"STOPSIGNAL": 15, |
| 119 |
"HEALTHCHECK": 16, |
| 120 |
"SHELL": 17, |
| 121 |
} |
| 122 |
) |
| 123 |
|
| 124 |
func (x Layer_Directive) Enum() *Layer_Directive { |
| 125 |
p := new(Layer_Directive) |
| 126 |
*p = x |
| 127 |
return p |
| 128 |
} |
| 129 |
|
| 130 |
func (x Layer_Directive) String() string { |
| 131 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 132 |
} |
| 133 |
|
| 134 |
func (Layer_Directive) Descriptor() protoreflect.EnumDescriptor { |
| 135 |
return file_google_devtools_containeranalysis_v1beta1_image_image_proto_enumTypes[0].Descriptor() |
| 136 |
} |
| 137 |
|
| 138 |
func (Layer_Directive) Type() protoreflect.EnumType { |
| 139 |
return &file_google_devtools_containeranalysis_v1beta1_image_image_proto_enumTypes[0] |
| 140 |
} |
| 141 |
|
| 142 |
func (x Layer_Directive) Number() protoreflect.EnumNumber { |
| 143 |
return protoreflect.EnumNumber(x) |
| 144 |
} |
| 145 |
|
| 146 |
// Deprecated: Use Layer_Directive.Descriptor instead. |
| 147 |
func (Layer_Directive) EnumDescriptor() ([]byte, []int) { |
| 148 |
return file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescGZIP(), []int{0, 0} |
| 149 |
} |
| 150 |
|
| 151 |
// Layer holds metadata specific to a layer of a Docker image. |
| 152 |
type Layer struct { |
| 153 |
state protoimpl.MessageState |
| 154 |
sizeCache protoimpl.SizeCache |
| 155 |
unknownFields protoimpl.UnknownFields |
| 156 |
|
| 157 |
// Required. The recovered Dockerfile directive used to construct this layer. |
| 158 |
Directive Layer_Directive `protobuf:"varint,1,opt,name=directive,proto3,enum=grafeas.v1beta1.image.Layer_Directive" json:"directive,omitempty"` |
| 159 |
// The recovered arguments to the Dockerfile directive. |
| 160 |
Arguments string `protobuf:"bytes,2,opt,name=arguments,proto3" json:"arguments,omitempty"` |
| 161 |
} |
| 162 |
|
| 163 |
func (x *Layer) Reset() { |
| 164 |
*x = Layer{} |
| 165 |
if protoimpl.UnsafeEnabled { |
| 166 |
mi := &file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[0] |
| 167 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 168 |
ms.StoreMessageInfo(mi) |
| 169 |
} |
| 170 |
} |
| 171 |
|
| 172 |
func (x *Layer) String() string { |
| 173 |
return protoimpl.X.MessageStringOf(x) |
| 174 |
} |
| 175 |
|
| 176 |
func (*Layer) ProtoMessage() {} |
| 177 |
|
| 178 |
func (x *Layer) ProtoReflect() protoreflect.Message { |
| 179 |
mi := &file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[0] |
| 180 |
if protoimpl.UnsafeEnabled && x != nil { |
| 181 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 182 |
if ms.LoadMessageInfo() == nil { |
| 183 |
ms.StoreMessageInfo(mi) |
| 184 |
} |
| 185 |
return ms |
| 186 |
} |
| 187 |
return mi.MessageOf(x) |
| 188 |
} |
| 189 |
|
| 190 |
// Deprecated: Use Layer.ProtoReflect.Descriptor instead. |
| 191 |
func (*Layer) Descriptor() ([]byte, []int) { |
| 192 |
return file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescGZIP(), []int{0} |
| 193 |
} |
| 194 |
|
| 195 |
func (x *Layer) GetDirective() Layer_Directive { |
| 196 |
if x != nil { |
| 197 |
return x.Directive |
| 198 |
} |
| 199 |
return Layer_DIRECTIVE_UNSPECIFIED |
| 200 |
} |
| 201 |
|
| 202 |
func (x *Layer) GetArguments() string { |
| 203 |
if x != nil { |
| 204 |
return x.Arguments |
| 205 |
} |
| 206 |
return "" |
| 207 |
} |
| 208 |
|
| 209 |
// A set of properties that uniquely identify a given Docker image. |
| 210 |
type Fingerprint struct { |
| 211 |
state protoimpl.MessageState |
| 212 |
sizeCache protoimpl.SizeCache |
| 213 |
unknownFields protoimpl.UnknownFields |
| 214 |
|
| 215 |
// Required. The layer ID of the final layer in the Docker image's v1 |
| 216 |
// representation. |
| 217 |
V1Name string `protobuf:"bytes,1,opt,name=v1_name,json=v1Name,proto3" json:"v1_name,omitempty"` |
| 218 |
// Required. The ordered list of v2 blobs that represent a given image. |
| 219 |
V2Blob []string `protobuf:"bytes,2,rep,name=v2_blob,json=v2Blob,proto3" json:"v2_blob,omitempty"` |
| 220 |
// Output only. The name of the image's v2 blobs computed via: |
| 221 |
// [bottom] := v2_blob[bottom] |
| 222 |
// [N] := sha256(v2_blob[N] + " " + v2_name[N+1]) |
| 223 |
// Only the name of the final blob is kept. |
| 224 |
V2Name string `protobuf:"bytes,3,opt,name=v2_name,json=v2Name,proto3" json:"v2_name,omitempty"` |
| 225 |
} |
| 226 |
|
| 227 |
func (x *Fingerprint) Reset() { |
| 228 |
*x = Fingerprint{} |
| 229 |
if protoimpl.UnsafeEnabled { |
| 230 |
mi := &file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[1] |
| 231 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 232 |
ms.StoreMessageInfo(mi) |
| 233 |
} |
| 234 |
} |
| 235 |
|
| 236 |
func (x *Fingerprint) String() string { |
| 237 |
return protoimpl.X.MessageStringOf(x) |
| 238 |
} |
| 239 |
|
| 240 |
func (*Fingerprint) ProtoMessage() {} |
| 241 |
|
| 242 |
func (x *Fingerprint) ProtoReflect() protoreflect.Message { |
| 243 |
mi := &file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[1] |
| 244 |
if protoimpl.UnsafeEnabled && x != nil { |
| 245 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 246 |
if ms.LoadMessageInfo() == nil { |
| 247 |
ms.StoreMessageInfo(mi) |
| 248 |
} |
| 249 |
return ms |
| 250 |
} |
| 251 |
return mi.MessageOf(x) |
| 252 |
} |
| 253 |
|
| 254 |
// Deprecated: Use Fingerprint.ProtoReflect.Descriptor instead. |
| 255 |
func (*Fingerprint) Descriptor() ([]byte, []int) { |
| 256 |
return file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescGZIP(), []int{1} |
| 257 |
} |
| 258 |
|
| 259 |
func (x *Fingerprint) GetV1Name() string { |
| 260 |
if x != nil { |
| 261 |
return x.V1Name |
| 262 |
} |
| 263 |
return "" |
| 264 |
} |
| 265 |
|
| 266 |
func (x *Fingerprint) GetV2Blob() []string { |
| 267 |
if x != nil { |
| 268 |
return x.V2Blob |
| 269 |
} |
| 270 |
return nil |
| 271 |
} |
| 272 |
|
| 273 |
func (x *Fingerprint) GetV2Name() string { |
| 274 |
if x != nil { |
| 275 |
return x.V2Name |
| 276 |
} |
| 277 |
return "" |
| 278 |
} |
| 279 |
|
| 280 |
// Basis describes the base image portion (Note) of the DockerImage |
| 281 |
// relationship. Linked occurrences are derived from this or an |
| 282 |
// equivalent image via: |
| 283 |
// |
| 284 |
// FROM <Basis.resource_url> |
| 285 |
// |
| 286 |
// Or an equivalent reference, e.g. a tag of the resource_url. |
| 287 |
type Basis struct { |
| 288 |
state protoimpl.MessageState |
| 289 |
sizeCache protoimpl.SizeCache |
| 290 |
unknownFields protoimpl.UnknownFields |
| 291 |
|
| 292 |
// Required. Immutable. The resource_url for the resource representing the |
| 293 |
// basis of associated occurrence images. |
| 294 |
ResourceUrl string `protobuf:"bytes,1,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` |
| 295 |
// Required. Immutable. The fingerprint of the base image. |
| 296 |
Fingerprint *Fingerprint `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` |
| 297 |
} |
| 298 |
|
| 299 |
func (x *Basis) Reset() { |
| 300 |
*x = Basis{} |
| 301 |
if protoimpl.UnsafeEnabled { |
| 302 |
mi := &file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[2] |
| 303 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 304 |
ms.StoreMessageInfo(mi) |
| 305 |
} |
| 306 |
} |
| 307 |
|
| 308 |
func (x *Basis) String() string { |
| 309 |
return protoimpl.X.MessageStringOf(x) |
| 310 |
} |
| 311 |
|
| 312 |
func (*Basis) ProtoMessage() {} |
| 313 |
|
| 314 |
func (x *Basis) ProtoReflect() protoreflect.Message { |
| 315 |
mi := &file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[2] |
| 316 |
if protoimpl.UnsafeEnabled && x != nil { |
| 317 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 318 |
if ms.LoadMessageInfo() == nil { |
| 319 |
ms.StoreMessageInfo(mi) |
| 320 |
} |
| 321 |
return ms |
| 322 |
} |
| 323 |
return mi.MessageOf(x) |
| 324 |
} |
| 325 |
|
| 326 |
// Deprecated: Use Basis.ProtoReflect.Descriptor instead. |
| 327 |
func (*Basis) Descriptor() ([]byte, []int) { |
| 328 |
return file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescGZIP(), []int{2} |
| 329 |
} |
| 330 |
|
| 331 |
func (x *Basis) GetResourceUrl() string { |
| 332 |
if x != nil { |
| 333 |
return x.ResourceUrl |
| 334 |
} |
| 335 |
return "" |
| 336 |
} |
| 337 |
|
| 338 |
func (x *Basis) GetFingerprint() *Fingerprint { |
| 339 |
if x != nil { |
| 340 |
return x.Fingerprint |
| 341 |
} |
| 342 |
return nil |
| 343 |
} |
| 344 |
|
| 345 |
// Details of an image occurrence. |
| 346 |
type Details struct { |
| 347 |
state protoimpl.MessageState |
| 348 |
sizeCache protoimpl.SizeCache |
| 349 |
unknownFields protoimpl.UnknownFields |
| 350 |
|
| 351 |
// Required. Immutable. The child image derived from the base image. |
| 352 |
DerivedImage *Derived `protobuf:"bytes,1,opt,name=derived_image,json=derivedImage,proto3" json:"derived_image,omitempty"` |
| 353 |
} |
| 354 |
|
| 355 |
func (x *Details) Reset() { |
| 356 |
*x = Details{} |
| 357 |
if protoimpl.UnsafeEnabled { |
| 358 |
mi := &file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[3] |
| 359 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 360 |
ms.StoreMessageInfo(mi) |
| 361 |
} |
| 362 |
} |
| 363 |
|
| 364 |
func (x *Details) String() string { |
| 365 |
return protoimpl.X.MessageStringOf(x) |
| 366 |
} |
| 367 |
|
| 368 |
func (*Details) ProtoMessage() {} |
| 369 |
|
| 370 |
func (x *Details) ProtoReflect() protoreflect.Message { |
| 371 |
mi := &file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[3] |
| 372 |
if protoimpl.UnsafeEnabled && x != nil { |
| 373 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 374 |
if ms.LoadMessageInfo() == nil { |
| 375 |
ms.StoreMessageInfo(mi) |
| 376 |
} |
| 377 |
return ms |
| 378 |
} |
| 379 |
return mi.MessageOf(x) |
| 380 |
} |
| 381 |
|
| 382 |
// Deprecated: Use Details.ProtoReflect.Descriptor instead. |
| 383 |
func (*Details) Descriptor() ([]byte, []int) { |
| 384 |
return file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescGZIP(), []int{3} |
| 385 |
} |
| 386 |
|
| 387 |
func (x *Details) GetDerivedImage() *Derived { |
| 388 |
if x != nil { |
| 389 |
return x.DerivedImage |
| 390 |
} |
| 391 |
return nil |
| 392 |
} |
| 393 |
|
| 394 |
// Derived describes the derived image portion (Occurrence) of the DockerImage |
| 395 |
// relationship. This image would be produced from a Dockerfile with FROM |
| 396 |
// <DockerImage.Basis in attached Note>. |
| 397 |
type Derived struct { |
| 398 |
state protoimpl.MessageState |
| 399 |
sizeCache protoimpl.SizeCache |
| 400 |
unknownFields protoimpl.UnknownFields |
| 401 |
|
| 402 |
// Required. The fingerprint of the derived image. |
| 403 |
Fingerprint *Fingerprint `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` |
| 404 |
// Output only. The number of layers by which this image differs from the |
| 405 |
// associated image basis. |
| 406 |
Distance int32 `protobuf:"varint,2,opt,name=distance,proto3" json:"distance,omitempty"` |
| 407 |
// This contains layer-specific metadata, if populated it has length |
| 408 |
// "distance" and is ordered with [distance] being the layer immediately |
| 409 |
// following the base image and [1] being the final layer. |
| 410 |
LayerInfo []*Layer `protobuf:"bytes,3,rep,name=layer_info,json=layerInfo,proto3" json:"layer_info,omitempty"` |
| 411 |
// Output only. This contains the base image URL for the derived image |
| 412 |
// occurrence. |
| 413 |
BaseResourceUrl string `protobuf:"bytes,4,opt,name=base_resource_url,json=baseResourceUrl,proto3" json:"base_resource_url,omitempty"` |
| 414 |
} |
| 415 |
|
| 416 |
func (x *Derived) Reset() { |
| 417 |
*x = Derived{} |
| 418 |
if protoimpl.UnsafeEnabled { |
| 419 |
mi := &file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[4] |
| 420 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 421 |
ms.StoreMessageInfo(mi) |
| 422 |
} |
| 423 |
} |
| 424 |
|
| 425 |
func (x *Derived) String() string { |
| 426 |
return protoimpl.X.MessageStringOf(x) |
| 427 |
} |
| 428 |
|
| 429 |
func (*Derived) ProtoMessage() {} |
| 430 |
|
| 431 |
func (x *Derived) ProtoReflect() protoreflect.Message { |
| 432 |
mi := &file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[4] |
| 433 |
if protoimpl.UnsafeEnabled && x != nil { |
| 434 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 435 |
if ms.LoadMessageInfo() == nil { |
| 436 |
ms.StoreMessageInfo(mi) |
| 437 |
} |
| 438 |
return ms |
| 439 |
} |
| 440 |
return mi.MessageOf(x) |
| 441 |
} |
| 442 |
|
| 443 |
// Deprecated: Use Derived.ProtoReflect.Descriptor instead. |
| 444 |
func (*Derived) Descriptor() ([]byte, []int) { |
| 445 |
return file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescGZIP(), []int{4} |
| 446 |
} |
| 447 |
|
| 448 |
func (x *Derived) GetFingerprint() *Fingerprint { |
| 449 |
if x != nil { |
| 450 |
return x.Fingerprint |
| 451 |
} |
| 452 |
return nil |
| 453 |
} |
| 454 |
|
| 455 |
func (x *Derived) GetDistance() int32 { |
| 456 |
if x != nil { |
| 457 |
return x.Distance |
| 458 |
} |
| 459 |
return 0 |
| 460 |
} |
| 461 |
|
| 462 |
func (x *Derived) GetLayerInfo() []*Layer { |
| 463 |
if x != nil { |
| 464 |
return x.LayerInfo |
| 465 |
} |
| 466 |
return nil |
| 467 |
} |
| 468 |
|
| 469 |
func (x *Derived) GetBaseResourceUrl() string { |
| 470 |
if x != nil { |
| 471 |
return x.BaseResourceUrl |
| 472 |
} |
| 473 |
return "" |
| 474 |
} |
| 475 |
|
| 476 |
var File_google_devtools_containeranalysis_v1beta1_image_image_proto protoreflect.FileDescriptor |
| 477 |
|
| 478 |
var file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDesc = []byte{ |
| 479 |
0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 480 |
0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, |
| 481 |
0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6d, 0x61, 0x67, |
| 482 |
0x65, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, |
| 483 |
0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x69, |
| 484 |
0x6d, 0x61, 0x67, 0x65, 0x22, 0xde, 0x02, 0x0a, 0x05, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x44, |
| 485 |
0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 486 |
0x0e, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, |
| 487 |
0x74, 0x61, 0x31, 0x2e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x2e, |
| 488 |
0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, |
| 489 |
0x74, 0x69, 0x76, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, |
| 490 |
0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, |
| 491 |
0x74, 0x73, 0x22, 0xf0, 0x01, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, |
| 492 |
0x12, 0x19, 0x0a, 0x15, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x55, 0x4e, |
| 493 |
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, |
| 494 |
0x41, 0x49, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x52, |
| 495 |
0x55, 0x4e, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x43, 0x4d, 0x44, 0x10, 0x03, 0x12, 0x09, 0x0a, |
| 496 |
0x05, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x58, 0x50, 0x4f, |
| 497 |
0x53, 0x45, 0x10, 0x05, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e, 0x56, 0x10, 0x06, 0x12, 0x07, 0x0a, |
| 498 |
0x03, 0x41, 0x44, 0x44, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, 0x50, 0x59, 0x10, 0x08, |
| 499 |
0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10, 0x09, |
| 500 |
0x12, 0x0a, 0x0a, 0x06, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x10, 0x0a, 0x12, 0x08, 0x0a, 0x04, |
| 501 |
0x55, 0x53, 0x45, 0x52, 0x10, 0x0b, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x4f, 0x52, 0x4b, 0x44, 0x49, |
| 502 |
0x52, 0x10, 0x0c, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x52, 0x47, 0x10, 0x0d, 0x12, 0x0b, 0x0a, 0x07, |
| 503 |
0x4f, 0x4e, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x10, 0x0e, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x54, 0x4f, |
| 504 |
0x50, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x10, 0x0f, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x45, 0x41, |
| 505 |
0x4c, 0x54, 0x48, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x10, 0x10, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x48, |
| 506 |
0x45, 0x4c, 0x4c, 0x10, 0x11, 0x22, 0x58, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, |
| 507 |
0x72, 0x69, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x76, 0x31, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 508 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, 0x31, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, |
| 509 |
0x07, 0x76, 0x32, 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, |
| 510 |
0x76, 0x32, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x17, 0x0a, 0x07, 0x76, 0x32, 0x5f, 0x6e, 0x61, 0x6d, |
| 511 |
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, 0x32, 0x4e, 0x61, 0x6d, 0x65, 0x22, |
| 512 |
0x70, 0x0a, 0x05, 0x42, 0x61, 0x73, 0x69, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, |
| 513 |
0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, |
| 514 |
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x44, 0x0a, 0x0b, 0x66, |
| 515 |
0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 516 |
0x32, 0x22, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 517 |
0x61, 0x31, 0x2e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, |
| 518 |
0x72, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, |
| 519 |
0x74, 0x22, 0x4e, 0x0a, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x43, 0x0a, 0x0d, |
| 520 |
0x64, 0x65, 0x72, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, |
| 521 |
0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, |
| 522 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x72, 0x69, |
| 523 |
0x76, 0x65, 0x64, 0x52, 0x0c, 0x64, 0x65, 0x72, 0x69, 0x76, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, |
| 524 |
0x65, 0x22, 0xd4, 0x01, 0x0a, 0x07, 0x44, 0x65, 0x72, 0x69, 0x76, 0x65, 0x64, 0x12, 0x44, 0x0a, |
| 525 |
0x0b, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, |
| 526 |
0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, |
| 527 |
0x65, 0x74, 0x61, 0x31, 0x2e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x67, 0x65, |
| 528 |
0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, |
| 529 |
0x69, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, |
| 530 |
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, |
| 531 |
0x3b, 0x0a, 0x0a, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, |
| 532 |
0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, |
| 533 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x79, 0x65, |
| 534 |
0x72, 0x52, 0x09, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x11, |
| 535 |
0x62, 0x61, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, |
| 536 |
0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, |
| 537 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x42, 0x78, 0x0a, 0x18, 0x69, 0x6f, 0x2e, 0x67, |
| 538 |
0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x69, |
| 539 |
0x6d, 0x61, 0x67, 0x65, 0x50, 0x01, 0x5a, 0x54, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, |
| 540 |
0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, |
| 541 |
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, |
| 542 |
0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, |
| 543 |
0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 544 |
0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x3b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0xa2, 0x02, 0x03, 0x47, |
| 545 |
0x52, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 546 |
} |
| 547 |
|
| 548 |
var ( |
| 549 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescOnce sync.Once |
| 550 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescData = file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDesc |
| 551 |
) |
| 552 |
|
| 553 |
func file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescGZIP() []byte { |
| 554 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescOnce.Do(func() { |
| 555 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescData) |
| 556 |
}) |
| 557 |
return file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDescData |
| 558 |
} |
| 559 |
|
| 560 |
var file_google_devtools_containeranalysis_v1beta1_image_image_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 561 |
var file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 562 |
var file_google_devtools_containeranalysis_v1beta1_image_image_proto_goTypes = []interface{}{ |
| 563 |
(Layer_Directive)(0), // 0: grafeas.v1beta1.image.Layer.Directive |
| 564 |
(*Layer)(nil), // 1: grafeas.v1beta1.image.Layer |
| 565 |
(*Fingerprint)(nil), // 2: grafeas.v1beta1.image.Fingerprint |
| 566 |
(*Basis)(nil), // 3: grafeas.v1beta1.image.Basis |
| 567 |
(*Details)(nil), // 4: grafeas.v1beta1.image.Details |
| 568 |
(*Derived)(nil), // 5: grafeas.v1beta1.image.Derived |
| 569 |
} |
| 570 |
var file_google_devtools_containeranalysis_v1beta1_image_image_proto_depIdxs = []int32{ |
| 571 |
0, // 0: grafeas.v1beta1.image.Layer.directive:type_name -> grafeas.v1beta1.image.Layer.Directive |
| 572 |
2, // 1: grafeas.v1beta1.image.Basis.fingerprint:type_name -> grafeas.v1beta1.image.Fingerprint |
| 573 |
5, // 2: grafeas.v1beta1.image.Details.derived_image:type_name -> grafeas.v1beta1.image.Derived |
| 574 |
2, // 3: grafeas.v1beta1.image.Derived.fingerprint:type_name -> grafeas.v1beta1.image.Fingerprint |
| 575 |
1, // 4: grafeas.v1beta1.image.Derived.layer_info:type_name -> grafeas.v1beta1.image.Layer |
| 576 |
5, // [5:5] is the sub-list for method output_type |
| 577 |
5, // [5:5] is the sub-list for method input_type |
| 578 |
5, // [5:5] is the sub-list for extension type_name |
| 579 |
5, // [5:5] is the sub-list for extension extendee |
| 580 |
0, // [0:5] is the sub-list for field type_name |
| 581 |
} |
| 582 |
|
| 583 |
func init() { file_google_devtools_containeranalysis_v1beta1_image_image_proto_init() } |
| 584 |
func file_google_devtools_containeranalysis_v1beta1_image_image_proto_init() { |
| 585 |
if File_google_devtools_containeranalysis_v1beta1_image_image_proto != nil { |
| 586 |
return |
| 587 |
} |
| 588 |
if !protoimpl.UnsafeEnabled { |
| 589 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 590 |
switch v := v.(*Layer); i { |
| 591 |
case 0: |
| 592 |
return &v.state |
| 593 |
case 1: |
| 594 |
return &v.sizeCache |
| 595 |
case 2: |
| 596 |
return &v.unknownFields |
| 597 |
default: |
| 598 |
return nil |
| 599 |
} |
| 600 |
} |
| 601 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 602 |
switch v := v.(*Fingerprint); i { |
| 603 |
case 0: |
| 604 |
return &v.state |
| 605 |
case 1: |
| 606 |
return &v.sizeCache |
| 607 |
case 2: |
| 608 |
return &v.unknownFields |
| 609 |
default: |
| 610 |
return nil |
| 611 |
} |
| 612 |
} |
| 613 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 614 |
switch v := v.(*Basis); i { |
| 615 |
case 0: |
| 616 |
return &v.state |
| 617 |
case 1: |
| 618 |
return &v.sizeCache |
| 619 |
case 2: |
| 620 |
return &v.unknownFields |
| 621 |
default: |
| 622 |
return nil |
| 623 |
} |
| 624 |
} |
| 625 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 626 |
switch v := v.(*Details); i { |
| 627 |
case 0: |
| 628 |
return &v.state |
| 629 |
case 1: |
| 630 |
return &v.sizeCache |
| 631 |
case 2: |
| 632 |
return &v.unknownFields |
| 633 |
default: |
| 634 |
return nil |
| 635 |
} |
| 636 |
} |
| 637 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 638 |
switch v := v.(*Derived); i { |
| 639 |
case 0: |
| 640 |
return &v.state |
| 641 |
case 1: |
| 642 |
return &v.sizeCache |
| 643 |
case 2: |
| 644 |
return &v.unknownFields |
| 645 |
default: |
| 646 |
return nil |
| 647 |
} |
| 648 |
} |
| 649 |
} |
| 650 |
type x struct{} |
| 651 |
out := protoimpl.TypeBuilder{ |
| 652 |
File: protoimpl.DescBuilder{ |
| 653 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 654 |
RawDescriptor: file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDesc, |
| 655 |
NumEnums: 1, |
| 656 |
NumMessages: 5, |
| 657 |
NumExtensions: 0, |
| 658 |
NumServices: 0, |
| 659 |
}, |
| 660 |
GoTypes: file_google_devtools_containeranalysis_v1beta1_image_image_proto_goTypes, |
| 661 |
DependencyIndexes: file_google_devtools_containeranalysis_v1beta1_image_image_proto_depIdxs, |
| 662 |
EnumInfos: file_google_devtools_containeranalysis_v1beta1_image_image_proto_enumTypes, |
| 663 |
MessageInfos: file_google_devtools_containeranalysis_v1beta1_image_image_proto_msgTypes, |
| 664 |
}.Build() |
| 665 |
File_google_devtools_containeranalysis_v1beta1_image_image_proto = out.File |
| 666 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_rawDesc = nil |
| 667 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_goTypes = nil |
| 668 |
file_google_devtools_containeranalysis_v1beta1_image_image_proto_depIdxs = nil |
| 669 |
} |