| 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/provenance/provenance.proto |
| 20 |
|
| 21 |
package provenance |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
source "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source" |
| 28 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 29 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 30 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 34 |
// Verify that this generated code is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 |
) |
| 39 |
|
| 40 |
// Specifies the hash algorithm. |
| 41 |
type Hash_HashType int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
// Unknown. |
| 45 |
Hash_HASH_TYPE_UNSPECIFIED Hash_HashType = 0 |
| 46 |
// A SHA-256 hash. |
| 47 |
Hash_SHA256 Hash_HashType = 1 |
| 48 |
) |
| 49 |
|
| 50 |
// Enum value maps for Hash_HashType. |
| 51 |
var ( |
| 52 |
Hash_HashType_name = map[int32]string{ |
| 53 |
0: "HASH_TYPE_UNSPECIFIED", |
| 54 |
1: "SHA256", |
| 55 |
} |
| 56 |
Hash_HashType_value = map[string]int32{ |
| 57 |
"HASH_TYPE_UNSPECIFIED": 0, |
| 58 |
"SHA256": 1, |
| 59 |
} |
| 60 |
) |
| 61 |
|
| 62 |
func (x Hash_HashType) Enum() *Hash_HashType { |
| 63 |
p := new(Hash_HashType) |
| 64 |
*p = x |
| 65 |
return p |
| 66 |
} |
| 67 |
|
| 68 |
func (x Hash_HashType) String() string { |
| 69 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 70 |
} |
| 71 |
|
| 72 |
func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor { |
| 73 |
return file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_enumTypes[0].Descriptor() |
| 74 |
} |
| 75 |
|
| 76 |
func (Hash_HashType) Type() protoreflect.EnumType { |
| 77 |
return &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_enumTypes[0] |
| 78 |
} |
| 79 |
|
| 80 |
func (x Hash_HashType) Number() protoreflect.EnumNumber { |
| 81 |
return protoreflect.EnumNumber(x) |
| 82 |
} |
| 83 |
|
| 84 |
// Deprecated: Use Hash_HashType.Descriptor instead. |
| 85 |
func (Hash_HashType) EnumDescriptor() ([]byte, []int) { |
| 86 |
return file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescGZIP(), []int{3, 0} |
| 87 |
} |
| 88 |
|
| 89 |
// Provenance of a build. Contains all information needed to verify the full |
| 90 |
// details about the build from source to completion. |
| 91 |
type BuildProvenance struct { |
| 92 |
state protoimpl.MessageState |
| 93 |
sizeCache protoimpl.SizeCache |
| 94 |
unknownFields protoimpl.UnknownFields |
| 95 |
|
| 96 |
// Required. Unique identifier of the build. |
| 97 |
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 98 |
// ID of the project. |
| 99 |
ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 100 |
// Commands requested by the build. |
| 101 |
Commands []*Command `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"` |
| 102 |
// Output of the build. |
| 103 |
BuiltArtifacts []*Artifact `protobuf:"bytes,4,rep,name=built_artifacts,json=builtArtifacts,proto3" json:"built_artifacts,omitempty"` |
| 104 |
// Time at which the build was created. |
| 105 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 106 |
// Time at which execution of the build was started. |
| 107 |
StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| 108 |
// Time at which execution of the build was finished. |
| 109 |
EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` |
| 110 |
// E-mail address of the user who initiated this build. Note that this was the |
| 111 |
// user's e-mail address at the time the build was initiated; this address may |
| 112 |
// not represent the same end-user for all time. |
| 113 |
Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"` |
| 114 |
// URI where any logs for this provenance were written. |
| 115 |
LogsUri string `protobuf:"bytes,9,opt,name=logs_uri,json=logsUri,proto3" json:"logs_uri,omitempty"` |
| 116 |
// Details of the Source input to the build. |
| 117 |
SourceProvenance *Source `protobuf:"bytes,10,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"` |
| 118 |
// Trigger identifier if the build was triggered automatically; empty if not. |
| 119 |
TriggerId string `protobuf:"bytes,11,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` |
| 120 |
// Special options applied to this build. This is a catch-all field where |
| 121 |
// build providers can enter any desired additional details. |
| 122 |
BuildOptions map[string]string `protobuf:"bytes,12,rep,name=build_options,json=buildOptions,proto3" json:"build_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 123 |
// Version string of the builder at the time this build was executed. |
| 124 |
BuilderVersion string `protobuf:"bytes,13,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"` |
| 125 |
} |
| 126 |
|
| 127 |
func (x *BuildProvenance) Reset() { |
| 128 |
*x = BuildProvenance{} |
| 129 |
if protoimpl.UnsafeEnabled { |
| 130 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[0] |
| 131 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 132 |
ms.StoreMessageInfo(mi) |
| 133 |
} |
| 134 |
} |
| 135 |
|
| 136 |
func (x *BuildProvenance) String() string { |
| 137 |
return protoimpl.X.MessageStringOf(x) |
| 138 |
} |
| 139 |
|
| 140 |
func (*BuildProvenance) ProtoMessage() {} |
| 141 |
|
| 142 |
func (x *BuildProvenance) ProtoReflect() protoreflect.Message { |
| 143 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[0] |
| 144 |
if protoimpl.UnsafeEnabled && x != nil { |
| 145 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 146 |
if ms.LoadMessageInfo() == nil { |
| 147 |
ms.StoreMessageInfo(mi) |
| 148 |
} |
| 149 |
return ms |
| 150 |
} |
| 151 |
return mi.MessageOf(x) |
| 152 |
} |
| 153 |
|
| 154 |
// Deprecated: Use BuildProvenance.ProtoReflect.Descriptor instead. |
| 155 |
func (*BuildProvenance) Descriptor() ([]byte, []int) { |
| 156 |
return file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescGZIP(), []int{0} |
| 157 |
} |
| 158 |
|
| 159 |
func (x *BuildProvenance) GetId() string { |
| 160 |
if x != nil { |
| 161 |
return x.Id |
| 162 |
} |
| 163 |
return "" |
| 164 |
} |
| 165 |
|
| 166 |
func (x *BuildProvenance) GetProjectId() string { |
| 167 |
if x != nil { |
| 168 |
return x.ProjectId |
| 169 |
} |
| 170 |
return "" |
| 171 |
} |
| 172 |
|
| 173 |
func (x *BuildProvenance) GetCommands() []*Command { |
| 174 |
if x != nil { |
| 175 |
return x.Commands |
| 176 |
} |
| 177 |
return nil |
| 178 |
} |
| 179 |
|
| 180 |
func (x *BuildProvenance) GetBuiltArtifacts() []*Artifact { |
| 181 |
if x != nil { |
| 182 |
return x.BuiltArtifacts |
| 183 |
} |
| 184 |
return nil |
| 185 |
} |
| 186 |
|
| 187 |
func (x *BuildProvenance) GetCreateTime() *timestamppb.Timestamp { |
| 188 |
if x != nil { |
| 189 |
return x.CreateTime |
| 190 |
} |
| 191 |
return nil |
| 192 |
} |
| 193 |
|
| 194 |
func (x *BuildProvenance) GetStartTime() *timestamppb.Timestamp { |
| 195 |
if x != nil { |
| 196 |
return x.StartTime |
| 197 |
} |
| 198 |
return nil |
| 199 |
} |
| 200 |
|
| 201 |
func (x *BuildProvenance) GetEndTime() *timestamppb.Timestamp { |
| 202 |
if x != nil { |
| 203 |
return x.EndTime |
| 204 |
} |
| 205 |
return nil |
| 206 |
} |
| 207 |
|
| 208 |
func (x *BuildProvenance) GetCreator() string { |
| 209 |
if x != nil { |
| 210 |
return x.Creator |
| 211 |
} |
| 212 |
return "" |
| 213 |
} |
| 214 |
|
| 215 |
func (x *BuildProvenance) GetLogsUri() string { |
| 216 |
if x != nil { |
| 217 |
return x.LogsUri |
| 218 |
} |
| 219 |
return "" |
| 220 |
} |
| 221 |
|
| 222 |
func (x *BuildProvenance) GetSourceProvenance() *Source { |
| 223 |
if x != nil { |
| 224 |
return x.SourceProvenance |
| 225 |
} |
| 226 |
return nil |
| 227 |
} |
| 228 |
|
| 229 |
func (x *BuildProvenance) GetTriggerId() string { |
| 230 |
if x != nil { |
| 231 |
return x.TriggerId |
| 232 |
} |
| 233 |
return "" |
| 234 |
} |
| 235 |
|
| 236 |
func (x *BuildProvenance) GetBuildOptions() map[string]string { |
| 237 |
if x != nil { |
| 238 |
return x.BuildOptions |
| 239 |
} |
| 240 |
return nil |
| 241 |
} |
| 242 |
|
| 243 |
func (x *BuildProvenance) GetBuilderVersion() string { |
| 244 |
if x != nil { |
| 245 |
return x.BuilderVersion |
| 246 |
} |
| 247 |
return "" |
| 248 |
} |
| 249 |
|
| 250 |
// Source describes the location of the source used for the build. |
| 251 |
type Source struct { |
| 252 |
state protoimpl.MessageState |
| 253 |
sizeCache protoimpl.SizeCache |
| 254 |
unknownFields protoimpl.UnknownFields |
| 255 |
|
| 256 |
// If provided, the input binary artifacts for the build came from this |
| 257 |
// location. |
| 258 |
ArtifactStorageSourceUri string `protobuf:"bytes,1,opt,name=artifact_storage_source_uri,json=artifactStorageSourceUri,proto3" json:"artifact_storage_source_uri,omitempty"` |
| 259 |
// Hash(es) of the build source, which can be used to verify that the original |
| 260 |
// source integrity was maintained in the build. |
| 261 |
// |
| 262 |
// The keys to this map are file paths used as build source and the values |
| 263 |
// contain the hash values for those files. |
| 264 |
// |
| 265 |
// If the build source came in a single package such as a gzipped tarfile |
| 266 |
// (.tar.gz), the FileHash will be for the single path to that file. |
| 267 |
FileHashes map[string]*FileHashes `protobuf:"bytes,2,rep,name=file_hashes,json=fileHashes,proto3" json:"file_hashes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 268 |
// If provided, the source code used for the build came from this location. |
| 269 |
Context *source.SourceContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` |
| 270 |
// If provided, some of the source code used for the build may be found in |
| 271 |
// these locations, in the case where the source repository had multiple |
| 272 |
// remotes or submodules. This list will not include the context specified in |
| 273 |
// the context field. |
| 274 |
AdditionalContexts []*source.SourceContext `protobuf:"bytes,4,rep,name=additional_contexts,json=additionalContexts,proto3" json:"additional_contexts,omitempty"` |
| 275 |
} |
| 276 |
|
| 277 |
func (x *Source) Reset() { |
| 278 |
*x = Source{} |
| 279 |
if protoimpl.UnsafeEnabled { |
| 280 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[1] |
| 281 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 282 |
ms.StoreMessageInfo(mi) |
| 283 |
} |
| 284 |
} |
| 285 |
|
| 286 |
func (x *Source) String() string { |
| 287 |
return protoimpl.X.MessageStringOf(x) |
| 288 |
} |
| 289 |
|
| 290 |
func (*Source) ProtoMessage() {} |
| 291 |
|
| 292 |
func (x *Source) ProtoReflect() protoreflect.Message { |
| 293 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[1] |
| 294 |
if protoimpl.UnsafeEnabled && x != nil { |
| 295 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 296 |
if ms.LoadMessageInfo() == nil { |
| 297 |
ms.StoreMessageInfo(mi) |
| 298 |
} |
| 299 |
return ms |
| 300 |
} |
| 301 |
return mi.MessageOf(x) |
| 302 |
} |
| 303 |
|
| 304 |
// Deprecated: Use Source.ProtoReflect.Descriptor instead. |
| 305 |
func (*Source) Descriptor() ([]byte, []int) { |
| 306 |
return file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescGZIP(), []int{1} |
| 307 |
} |
| 308 |
|
| 309 |
func (x *Source) GetArtifactStorageSourceUri() string { |
| 310 |
if x != nil { |
| 311 |
return x.ArtifactStorageSourceUri |
| 312 |
} |
| 313 |
return "" |
| 314 |
} |
| 315 |
|
| 316 |
func (x *Source) GetFileHashes() map[string]*FileHashes { |
| 317 |
if x != nil { |
| 318 |
return x.FileHashes |
| 319 |
} |
| 320 |
return nil |
| 321 |
} |
| 322 |
|
| 323 |
func (x *Source) GetContext() *source.SourceContext { |
| 324 |
if x != nil { |
| 325 |
return x.Context |
| 326 |
} |
| 327 |
return nil |
| 328 |
} |
| 329 |
|
| 330 |
func (x *Source) GetAdditionalContexts() []*source.SourceContext { |
| 331 |
if x != nil { |
| 332 |
return x.AdditionalContexts |
| 333 |
} |
| 334 |
return nil |
| 335 |
} |
| 336 |
|
| 337 |
// Container message for hashes of byte content of files, used in source |
| 338 |
// messages to verify integrity of source input to the build. |
| 339 |
type FileHashes struct { |
| 340 |
state protoimpl.MessageState |
| 341 |
sizeCache protoimpl.SizeCache |
| 342 |
unknownFields protoimpl.UnknownFields |
| 343 |
|
| 344 |
// Required. Collection of file hashes. |
| 345 |
FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` |
| 346 |
} |
| 347 |
|
| 348 |
func (x *FileHashes) Reset() { |
| 349 |
*x = FileHashes{} |
| 350 |
if protoimpl.UnsafeEnabled { |
| 351 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[2] |
| 352 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 353 |
ms.StoreMessageInfo(mi) |
| 354 |
} |
| 355 |
} |
| 356 |
|
| 357 |
func (x *FileHashes) String() string { |
| 358 |
return protoimpl.X.MessageStringOf(x) |
| 359 |
} |
| 360 |
|
| 361 |
func (*FileHashes) ProtoMessage() {} |
| 362 |
|
| 363 |
func (x *FileHashes) ProtoReflect() protoreflect.Message { |
| 364 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[2] |
| 365 |
if protoimpl.UnsafeEnabled && x != nil { |
| 366 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 367 |
if ms.LoadMessageInfo() == nil { |
| 368 |
ms.StoreMessageInfo(mi) |
| 369 |
} |
| 370 |
return ms |
| 371 |
} |
| 372 |
return mi.MessageOf(x) |
| 373 |
} |
| 374 |
|
| 375 |
// Deprecated: Use FileHashes.ProtoReflect.Descriptor instead. |
| 376 |
func (*FileHashes) Descriptor() ([]byte, []int) { |
| 377 |
return file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescGZIP(), []int{2} |
| 378 |
} |
| 379 |
|
| 380 |
func (x *FileHashes) GetFileHash() []*Hash { |
| 381 |
if x != nil { |
| 382 |
return x.FileHash |
| 383 |
} |
| 384 |
return nil |
| 385 |
} |
| 386 |
|
| 387 |
// Container message for hash values. |
| 388 |
type Hash struct { |
| 389 |
state protoimpl.MessageState |
| 390 |
sizeCache protoimpl.SizeCache |
| 391 |
unknownFields protoimpl.UnknownFields |
| 392 |
|
| 393 |
// Required. The type of hash that was performed. |
| 394 |
Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=grafeas.v1beta1.provenance.Hash_HashType" json:"type,omitempty"` |
| 395 |
// Required. The hash value. |
| 396 |
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 397 |
} |
| 398 |
|
| 399 |
func (x *Hash) Reset() { |
| 400 |
*x = Hash{} |
| 401 |
if protoimpl.UnsafeEnabled { |
| 402 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[3] |
| 403 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 404 |
ms.StoreMessageInfo(mi) |
| 405 |
} |
| 406 |
} |
| 407 |
|
| 408 |
func (x *Hash) String() string { |
| 409 |
return protoimpl.X.MessageStringOf(x) |
| 410 |
} |
| 411 |
|
| 412 |
func (*Hash) ProtoMessage() {} |
| 413 |
|
| 414 |
func (x *Hash) ProtoReflect() protoreflect.Message { |
| 415 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[3] |
| 416 |
if protoimpl.UnsafeEnabled && x != nil { |
| 417 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 418 |
if ms.LoadMessageInfo() == nil { |
| 419 |
ms.StoreMessageInfo(mi) |
| 420 |
} |
| 421 |
return ms |
| 422 |
} |
| 423 |
return mi.MessageOf(x) |
| 424 |
} |
| 425 |
|
| 426 |
// Deprecated: Use Hash.ProtoReflect.Descriptor instead. |
| 427 |
func (*Hash) Descriptor() ([]byte, []int) { |
| 428 |
return file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescGZIP(), []int{3} |
| 429 |
} |
| 430 |
|
| 431 |
func (x *Hash) GetType() Hash_HashType { |
| 432 |
if x != nil { |
| 433 |
return x.Type |
| 434 |
} |
| 435 |
return Hash_HASH_TYPE_UNSPECIFIED |
| 436 |
} |
| 437 |
|
| 438 |
func (x *Hash) GetValue() []byte { |
| 439 |
if x != nil { |
| 440 |
return x.Value |
| 441 |
} |
| 442 |
return nil |
| 443 |
} |
| 444 |
|
| 445 |
// Command describes a step performed as part of the build pipeline. |
| 446 |
type Command struct { |
| 447 |
state protoimpl.MessageState |
| 448 |
sizeCache protoimpl.SizeCache |
| 449 |
unknownFields protoimpl.UnknownFields |
| 450 |
|
| 451 |
// Required. Name of the command, as presented on the command line, or if the |
| 452 |
// command is packaged as a Docker container, as presented to `docker pull`. |
| 453 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 454 |
// Environment variables set before running this command. |
| 455 |
Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"` |
| 456 |
// Command-line arguments used when executing this command. |
| 457 |
Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` |
| 458 |
// Working directory (relative to project source root) used when running this |
| 459 |
// command. |
| 460 |
Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"` |
| 461 |
// Optional unique identifier for this command, used in wait_for to reference |
| 462 |
// this command as a dependency. |
| 463 |
Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` |
| 464 |
// The ID(s) of the command(s) that this command depends on. |
| 465 |
WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"` |
| 466 |
} |
| 467 |
|
| 468 |
func (x *Command) Reset() { |
| 469 |
*x = Command{} |
| 470 |
if protoimpl.UnsafeEnabled { |
| 471 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[4] |
| 472 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 473 |
ms.StoreMessageInfo(mi) |
| 474 |
} |
| 475 |
} |
| 476 |
|
| 477 |
func (x *Command) String() string { |
| 478 |
return protoimpl.X.MessageStringOf(x) |
| 479 |
} |
| 480 |
|
| 481 |
func (*Command) ProtoMessage() {} |
| 482 |
|
| 483 |
func (x *Command) ProtoReflect() protoreflect.Message { |
| 484 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[4] |
| 485 |
if protoimpl.UnsafeEnabled && x != nil { |
| 486 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 487 |
if ms.LoadMessageInfo() == nil { |
| 488 |
ms.StoreMessageInfo(mi) |
| 489 |
} |
| 490 |
return ms |
| 491 |
} |
| 492 |
return mi.MessageOf(x) |
| 493 |
} |
| 494 |
|
| 495 |
// Deprecated: Use Command.ProtoReflect.Descriptor instead. |
| 496 |
func (*Command) Descriptor() ([]byte, []int) { |
| 497 |
return file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescGZIP(), []int{4} |
| 498 |
} |
| 499 |
|
| 500 |
func (x *Command) GetName() string { |
| 501 |
if x != nil { |
| 502 |
return x.Name |
| 503 |
} |
| 504 |
return "" |
| 505 |
} |
| 506 |
|
| 507 |
func (x *Command) GetEnv() []string { |
| 508 |
if x != nil { |
| 509 |
return x.Env |
| 510 |
} |
| 511 |
return nil |
| 512 |
} |
| 513 |
|
| 514 |
func (x *Command) GetArgs() []string { |
| 515 |
if x != nil { |
| 516 |
return x.Args |
| 517 |
} |
| 518 |
return nil |
| 519 |
} |
| 520 |
|
| 521 |
func (x *Command) GetDir() string { |
| 522 |
if x != nil { |
| 523 |
return x.Dir |
| 524 |
} |
| 525 |
return "" |
| 526 |
} |
| 527 |
|
| 528 |
func (x *Command) GetId() string { |
| 529 |
if x != nil { |
| 530 |
return x.Id |
| 531 |
} |
| 532 |
return "" |
| 533 |
} |
| 534 |
|
| 535 |
func (x *Command) GetWaitFor() []string { |
| 536 |
if x != nil { |
| 537 |
return x.WaitFor |
| 538 |
} |
| 539 |
return nil |
| 540 |
} |
| 541 |
|
| 542 |
// Artifact describes a build product. |
| 543 |
type Artifact struct { |
| 544 |
state protoimpl.MessageState |
| 545 |
sizeCache protoimpl.SizeCache |
| 546 |
unknownFields protoimpl.UnknownFields |
| 547 |
|
| 548 |
// Hash or checksum value of a binary, or Docker Registry 2.0 digest of a |
| 549 |
// container. |
| 550 |
Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` |
| 551 |
// Artifact ID, if any; for container images, this will be a URL by digest |
| 552 |
// like `gcr.io/projectID/imagename@sha256:123456`. |
| 553 |
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| 554 |
// Related artifact names. This may be the path to a binary or jar file, or in |
| 555 |
// the case of a container build, the name used to push the container image to |
| 556 |
// Google Container Registry, as presented to `docker push`. Note that a |
| 557 |
// single Artifact ID can have multiple names, for example if two tags are |
| 558 |
// applied to one image. |
| 559 |
Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` |
| 560 |
} |
| 561 |
|
| 562 |
func (x *Artifact) Reset() { |
| 563 |
*x = Artifact{} |
| 564 |
if protoimpl.UnsafeEnabled { |
| 565 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[5] |
| 566 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 567 |
ms.StoreMessageInfo(mi) |
| 568 |
} |
| 569 |
} |
| 570 |
|
| 571 |
func (x *Artifact) String() string { |
| 572 |
return protoimpl.X.MessageStringOf(x) |
| 573 |
} |
| 574 |
|
| 575 |
func (*Artifact) ProtoMessage() {} |
| 576 |
|
| 577 |
func (x *Artifact) ProtoReflect() protoreflect.Message { |
| 578 |
mi := &file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[5] |
| 579 |
if protoimpl.UnsafeEnabled && x != nil { |
| 580 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 581 |
if ms.LoadMessageInfo() == nil { |
| 582 |
ms.StoreMessageInfo(mi) |
| 583 |
} |
| 584 |
return ms |
| 585 |
} |
| 586 |
return mi.MessageOf(x) |
| 587 |
} |
| 588 |
|
| 589 |
// Deprecated: Use Artifact.ProtoReflect.Descriptor instead. |
| 590 |
func (*Artifact) Descriptor() ([]byte, []int) { |
| 591 |
return file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescGZIP(), []int{5} |
| 592 |
} |
| 593 |
|
| 594 |
func (x *Artifact) GetChecksum() string { |
| 595 |
if x != nil { |
| 596 |
return x.Checksum |
| 597 |
} |
| 598 |
return "" |
| 599 |
} |
| 600 |
|
| 601 |
func (x *Artifact) GetId() string { |
| 602 |
if x != nil { |
| 603 |
return x.Id |
| 604 |
} |
| 605 |
return "" |
| 606 |
} |
| 607 |
|
| 608 |
func (x *Artifact) GetNames() []string { |
| 609 |
if x != nil { |
| 610 |
return x.Names |
| 611 |
} |
| 612 |
return nil |
| 613 |
} |
| 614 |
|
| 615 |
var File_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto protoreflect.FileDescriptor |
| 616 |
|
| 617 |
var file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDesc = []byte{ |
| 618 |
0x0a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 619 |
0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, |
| 620 |
0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, |
| 621 |
0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, |
| 622 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, |
| 623 |
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, |
| 624 |
0x6e, 0x63, 0x65, 0x1a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, |
| 625 |
0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, |
| 626 |
0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, |
| 627 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 628 |
0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 629 |
0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, |
| 630 |
0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x05, 0x0a, 0x0f, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, |
| 631 |
0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, |
| 632 |
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 633 |
0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, |
| 634 |
0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, |
| 635 |
0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, |
| 636 |
0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x65, |
| 637 |
0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x08, 0x63, |
| 638 |
0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x4d, 0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x74, |
| 639 |
0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, |
| 640 |
0x32, 0x24, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 641 |
0x61, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x41, 0x72, |
| 642 |
0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x41, 0x72, 0x74, |
| 643 |
0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, |
| 644 |
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 645 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, |
| 646 |
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, |
| 647 |
0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, |
| 648 |
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 649 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, |
| 650 |
0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, |
| 651 |
0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, |
| 652 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 653 |
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, |
| 654 |
0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, |
| 655 |
0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, |
| 656 |
0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x09, 0x20, 0x01, 0x28, |
| 657 |
0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x73, 0x55, 0x72, 0x69, 0x12, 0x4f, 0x0a, 0x11, 0x73, 0x6f, |
| 658 |
0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, |
| 659 |
0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, |
| 660 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, |
| 661 |
0x63, 0x65, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 662 |
0x65, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, |
| 663 |
0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 664 |
0x09, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x49, 0x64, 0x12, 0x62, 0x0a, 0x0d, 0x62, 0x75, |
| 665 |
0x69, 0x6c, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, |
| 666 |
0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, |
| 667 |
0x74, 0x61, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x42, |
| 668 |
0x75, 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x42, |
| 669 |
0x75, 0x69, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, |
| 670 |
0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, |
| 671 |
0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, |
| 672 |
0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, |
| 673 |
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x3f, 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, |
| 674 |
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, |
| 675 |
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, |
| 676 |
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, |
| 677 |
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9c, 0x03, 0x0a, 0x06, 0x53, 0x6f, 0x75, |
| 678 |
0x72, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x1b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, |
| 679 |
0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, |
| 680 |
0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, |
| 681 |
0x63, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, |
| 682 |
0x72, 0x69, 0x12, 0x53, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, |
| 683 |
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, |
| 684 |
0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, |
| 685 |
0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, |
| 686 |
0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x66, 0x69, 0x6c, |
| 687 |
0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, |
| 688 |
0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, |
| 689 |
0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 690 |
0x65, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, |
| 691 |
0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x56, 0x0a, 0x13, 0x61, 0x64, 0x64, 0x69, |
| 692 |
0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, |
| 693 |
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, |
| 694 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, |
| 695 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x12, 0x61, 0x64, |
| 696 |
0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, |
| 697 |
0x1a, 0x65, 0x0a, 0x0f, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x45, 0x6e, |
| 698 |
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 699 |
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, |
| 700 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, |
| 701 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, |
| 702 |
0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, |
| 703 |
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x48, |
| 704 |
0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x68, 0x61, |
| 705 |
0x73, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, |
| 706 |
0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x65, |
| 707 |
0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, |
| 708 |
0x48, 0x61, 0x73, 0x68, 0x22, 0x8e, 0x01, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3d, 0x0a, |
| 709 |
0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x72, |
| 710 |
0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x72, |
| 711 |
0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x2e, 0x48, 0x61, |
| 712 |
0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, |
| 713 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, |
| 714 |
0x75, 0x65, 0x22, 0x31, 0x0a, 0x08, 0x48, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, |
| 715 |
0x0a, 0x15, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, |
| 716 |
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x48, 0x41, |
| 717 |
0x32, 0x35, 0x36, 0x10, 0x01, 0x22, 0x80, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, |
| 718 |
0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 719 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x02, 0x20, 0x03, |
| 720 |
0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, |
| 721 |
0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x64, |
| 722 |
0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x72, 0x12, 0x0e, 0x0a, |
| 723 |
0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, |
| 724 |
0x08, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 725 |
0x07, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x22, 0x4c, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, |
| 726 |
0x66, 0x61, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, |
| 727 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, |
| 728 |
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, |
| 729 |
0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 730 |
0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x42, 0x87, 0x01, 0x0a, 0x1d, 0x69, 0x6f, 0x2e, 0x67, 0x72, |
| 731 |
0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x72, |
| 732 |
0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, |
| 733 |
0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, |
| 734 |
0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 735 |
0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, |
| 736 |
0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, |
| 737 |
0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x3b, |
| 738 |
0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, |
| 739 |
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 740 |
} |
| 741 |
|
| 742 |
var ( |
| 743 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescOnce sync.Once |
| 744 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescData = file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDesc |
| 745 |
) |
| 746 |
|
| 747 |
func file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescGZIP() []byte { |
| 748 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescOnce.Do(func() { |
| 749 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescData) |
| 750 |
}) |
| 751 |
return file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDescData |
| 752 |
} |
| 753 |
|
| 754 |
var file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 755 |
var file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| 756 |
var file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_goTypes = []interface{}{ |
| 757 |
(Hash_HashType)(0), // 0: grafeas.v1beta1.provenance.Hash.HashType |
| 758 |
(*BuildProvenance)(nil), // 1: grafeas.v1beta1.provenance.BuildProvenance |
| 759 |
(*Source)(nil), // 2: grafeas.v1beta1.provenance.Source |
| 760 |
(*FileHashes)(nil), // 3: grafeas.v1beta1.provenance.FileHashes |
| 761 |
(*Hash)(nil), // 4: grafeas.v1beta1.provenance.Hash |
| 762 |
(*Command)(nil), // 5: grafeas.v1beta1.provenance.Command |
| 763 |
(*Artifact)(nil), // 6: grafeas.v1beta1.provenance.Artifact |
| 764 |
nil, // 7: grafeas.v1beta1.provenance.BuildProvenance.BuildOptionsEntry |
| 765 |
nil, // 8: grafeas.v1beta1.provenance.Source.FileHashesEntry |
| 766 |
(*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp |
| 767 |
(*source.SourceContext)(nil), // 10: grafeas.v1beta1.source.SourceContext |
| 768 |
} |
| 769 |
var file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_depIdxs = []int32{ |
| 770 |
5, // 0: grafeas.v1beta1.provenance.BuildProvenance.commands:type_name -> grafeas.v1beta1.provenance.Command |
| 771 |
6, // 1: grafeas.v1beta1.provenance.BuildProvenance.built_artifacts:type_name -> grafeas.v1beta1.provenance.Artifact |
| 772 |
9, // 2: grafeas.v1beta1.provenance.BuildProvenance.create_time:type_name -> google.protobuf.Timestamp |
| 773 |
9, // 3: grafeas.v1beta1.provenance.BuildProvenance.start_time:type_name -> google.protobuf.Timestamp |
| 774 |
9, // 4: grafeas.v1beta1.provenance.BuildProvenance.end_time:type_name -> google.protobuf.Timestamp |
| 775 |
2, // 5: grafeas.v1beta1.provenance.BuildProvenance.source_provenance:type_name -> grafeas.v1beta1.provenance.Source |
| 776 |
7, // 6: grafeas.v1beta1.provenance.BuildProvenance.build_options:type_name -> grafeas.v1beta1.provenance.BuildProvenance.BuildOptionsEntry |
| 777 |
8, // 7: grafeas.v1beta1.provenance.Source.file_hashes:type_name -> grafeas.v1beta1.provenance.Source.FileHashesEntry |
| 778 |
10, // 8: grafeas.v1beta1.provenance.Source.context:type_name -> grafeas.v1beta1.source.SourceContext |
| 779 |
10, // 9: grafeas.v1beta1.provenance.Source.additional_contexts:type_name -> grafeas.v1beta1.source.SourceContext |
| 780 |
4, // 10: grafeas.v1beta1.provenance.FileHashes.file_hash:type_name -> grafeas.v1beta1.provenance.Hash |
| 781 |
0, // 11: grafeas.v1beta1.provenance.Hash.type:type_name -> grafeas.v1beta1.provenance.Hash.HashType |
| 782 |
3, // 12: grafeas.v1beta1.provenance.Source.FileHashesEntry.value:type_name -> grafeas.v1beta1.provenance.FileHashes |
| 783 |
13, // [13:13] is the sub-list for method output_type |
| 784 |
13, // [13:13] is the sub-list for method input_type |
| 785 |
13, // [13:13] is the sub-list for extension type_name |
| 786 |
13, // [13:13] is the sub-list for extension extendee |
| 787 |
0, // [0:13] is the sub-list for field type_name |
| 788 |
} |
| 789 |
|
| 790 |
func init() { file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_init() } |
| 791 |
func file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_init() { |
| 792 |
if File_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto != nil { |
| 793 |
return |
| 794 |
} |
| 795 |
if !protoimpl.UnsafeEnabled { |
| 796 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 797 |
switch v := v.(*BuildProvenance); i { |
| 798 |
case 0: |
| 799 |
return &v.state |
| 800 |
case 1: |
| 801 |
return &v.sizeCache |
| 802 |
case 2: |
| 803 |
return &v.unknownFields |
| 804 |
default: |
| 805 |
return nil |
| 806 |
} |
| 807 |
} |
| 808 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 809 |
switch v := v.(*Source); i { |
| 810 |
case 0: |
| 811 |
return &v.state |
| 812 |
case 1: |
| 813 |
return &v.sizeCache |
| 814 |
case 2: |
| 815 |
return &v.unknownFields |
| 816 |
default: |
| 817 |
return nil |
| 818 |
} |
| 819 |
} |
| 820 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 821 |
switch v := v.(*FileHashes); i { |
| 822 |
case 0: |
| 823 |
return &v.state |
| 824 |
case 1: |
| 825 |
return &v.sizeCache |
| 826 |
case 2: |
| 827 |
return &v.unknownFields |
| 828 |
default: |
| 829 |
return nil |
| 830 |
} |
| 831 |
} |
| 832 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 833 |
switch v := v.(*Hash); i { |
| 834 |
case 0: |
| 835 |
return &v.state |
| 836 |
case 1: |
| 837 |
return &v.sizeCache |
| 838 |
case 2: |
| 839 |
return &v.unknownFields |
| 840 |
default: |
| 841 |
return nil |
| 842 |
} |
| 843 |
} |
| 844 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 845 |
switch v := v.(*Command); i { |
| 846 |
case 0: |
| 847 |
return &v.state |
| 848 |
case 1: |
| 849 |
return &v.sizeCache |
| 850 |
case 2: |
| 851 |
return &v.unknownFields |
| 852 |
default: |
| 853 |
return nil |
| 854 |
} |
| 855 |
} |
| 856 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 857 |
switch v := v.(*Artifact); i { |
| 858 |
case 0: |
| 859 |
return &v.state |
| 860 |
case 1: |
| 861 |
return &v.sizeCache |
| 862 |
case 2: |
| 863 |
return &v.unknownFields |
| 864 |
default: |
| 865 |
return nil |
| 866 |
} |
| 867 |
} |
| 868 |
} |
| 869 |
type x struct{} |
| 870 |
out := protoimpl.TypeBuilder{ |
| 871 |
File: protoimpl.DescBuilder{ |
| 872 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 873 |
RawDescriptor: file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDesc, |
| 874 |
NumEnums: 1, |
| 875 |
NumMessages: 8, |
| 876 |
NumExtensions: 0, |
| 877 |
NumServices: 0, |
| 878 |
}, |
| 879 |
GoTypes: file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_goTypes, |
| 880 |
DependencyIndexes: file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_depIdxs, |
| 881 |
EnumInfos: file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_enumTypes, |
| 882 |
MessageInfos: file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_msgTypes, |
| 883 |
}.Build() |
| 884 |
File_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto = out.File |
| 885 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_rawDesc = nil |
| 886 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_goTypes = nil |
| 887 |
file_google_devtools_containeranalysis_v1beta1_provenance_provenance_proto_depIdxs = nil |
| 888 |
} |