| 1 |
// Copyright 2019 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.13.0 |
| 19 |
// source: grafeas/v1/provenance.proto |
| 20 |
|
| 21 |
package grafeas |
| 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 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 30 |
) |
| 31 |
|
| 32 |
const ( |
| 33 |
// Verify that this generated code is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 35 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 37 |
) |
| 38 |
|
| 39 |
// The type of an alias. |
| 40 |
type AliasContext_Kind int32 |
| 41 |
|
| 42 |
const ( |
| 43 |
// Unknown. |
| 44 |
AliasContext_KIND_UNSPECIFIED AliasContext_Kind = 0 |
| 45 |
// Git tag. |
| 46 |
AliasContext_FIXED AliasContext_Kind = 1 |
| 47 |
// Git branch. |
| 48 |
AliasContext_MOVABLE AliasContext_Kind = 2 |
| 49 |
// Used to specify non-standard aliases. For example, if a Git repo has a |
| 50 |
// ref named "refs/foo/bar". |
| 51 |
AliasContext_OTHER AliasContext_Kind = 4 |
| 52 |
) |
| 53 |
|
| 54 |
// Enum value maps for AliasContext_Kind. |
| 55 |
var ( |
| 56 |
AliasContext_Kind_name = map[int32]string{ |
| 57 |
0: "KIND_UNSPECIFIED", |
| 58 |
1: "FIXED", |
| 59 |
2: "MOVABLE", |
| 60 |
4: "OTHER", |
| 61 |
} |
| 62 |
AliasContext_Kind_value = map[string]int32{ |
| 63 |
"KIND_UNSPECIFIED": 0, |
| 64 |
"FIXED": 1, |
| 65 |
"MOVABLE": 2, |
| 66 |
"OTHER": 4, |
| 67 |
} |
| 68 |
) |
| 69 |
|
| 70 |
func (x AliasContext_Kind) Enum() *AliasContext_Kind { |
| 71 |
p := new(AliasContext_Kind) |
| 72 |
*p = x |
| 73 |
return p |
| 74 |
} |
| 75 |
|
| 76 |
func (x AliasContext_Kind) String() string { |
| 77 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 78 |
} |
| 79 |
|
| 80 |
func (AliasContext_Kind) Descriptor() protoreflect.EnumDescriptor { |
| 81 |
return file_grafeas_v1_provenance_proto_enumTypes[0].Descriptor() |
| 82 |
} |
| 83 |
|
| 84 |
func (AliasContext_Kind) Type() protoreflect.EnumType { |
| 85 |
return &file_grafeas_v1_provenance_proto_enumTypes[0] |
| 86 |
} |
| 87 |
|
| 88 |
func (x AliasContext_Kind) Number() protoreflect.EnumNumber { |
| 89 |
return protoreflect.EnumNumber(x) |
| 90 |
} |
| 91 |
|
| 92 |
// Deprecated: Use AliasContext_Kind.Descriptor instead. |
| 93 |
func (AliasContext_Kind) EnumDescriptor() ([]byte, []int) { |
| 94 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{7, 0} |
| 95 |
} |
| 96 |
|
| 97 |
// Provenance of a build. Contains all information needed to verify the full |
| 98 |
// details about the build from source to completion. |
| 99 |
type BuildProvenance struct { |
| 100 |
state protoimpl.MessageState |
| 101 |
sizeCache protoimpl.SizeCache |
| 102 |
unknownFields protoimpl.UnknownFields |
| 103 |
|
| 104 |
// Required. Unique identifier of the build. |
| 105 |
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 106 |
// ID of the project. |
| 107 |
ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 108 |
// Commands requested by the build. |
| 109 |
Commands []*Command `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"` |
| 110 |
// Output of the build. |
| 111 |
BuiltArtifacts []*Artifact `protobuf:"bytes,4,rep,name=built_artifacts,json=builtArtifacts,proto3" json:"built_artifacts,omitempty"` |
| 112 |
// Time at which the build was created. |
| 113 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 114 |
// Time at which execution of the build was started. |
| 115 |
StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| 116 |
// Time at which execution of the build was finished. |
| 117 |
EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` |
| 118 |
// E-mail address of the user who initiated this build. Note that this was the |
| 119 |
// user's e-mail address at the time the build was initiated; this address may |
| 120 |
// not represent the same end-user for all time. |
| 121 |
Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"` |
| 122 |
// URI where any logs for this provenance were written. |
| 123 |
LogsUri string `protobuf:"bytes,9,opt,name=logs_uri,json=logsUri,proto3" json:"logs_uri,omitempty"` |
| 124 |
// Details of the Source input to the build. |
| 125 |
SourceProvenance *Source `protobuf:"bytes,10,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"` |
| 126 |
// Trigger identifier if the build was triggered automatically; empty if not. |
| 127 |
TriggerId string `protobuf:"bytes,11,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` |
| 128 |
// Special options applied to this build. This is a catch-all field where |
| 129 |
// build providers can enter any desired additional details. |
| 130 |
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"` |
| 131 |
// Version string of the builder at the time this build was executed. |
| 132 |
BuilderVersion string `protobuf:"bytes,13,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"` |
| 133 |
} |
| 134 |
|
| 135 |
func (x *BuildProvenance) Reset() { |
| 136 |
*x = BuildProvenance{} |
| 137 |
if protoimpl.UnsafeEnabled { |
| 138 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[0] |
| 139 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 140 |
ms.StoreMessageInfo(mi) |
| 141 |
} |
| 142 |
} |
| 143 |
|
| 144 |
func (x *BuildProvenance) String() string { |
| 145 |
return protoimpl.X.MessageStringOf(x) |
| 146 |
} |
| 147 |
|
| 148 |
func (*BuildProvenance) ProtoMessage() {} |
| 149 |
|
| 150 |
func (x *BuildProvenance) ProtoReflect() protoreflect.Message { |
| 151 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[0] |
| 152 |
if protoimpl.UnsafeEnabled && x != nil { |
| 153 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 154 |
if ms.LoadMessageInfo() == nil { |
| 155 |
ms.StoreMessageInfo(mi) |
| 156 |
} |
| 157 |
return ms |
| 158 |
} |
| 159 |
return mi.MessageOf(x) |
| 160 |
} |
| 161 |
|
| 162 |
// Deprecated: Use BuildProvenance.ProtoReflect.Descriptor instead. |
| 163 |
func (*BuildProvenance) Descriptor() ([]byte, []int) { |
| 164 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{0} |
| 165 |
} |
| 166 |
|
| 167 |
func (x *BuildProvenance) GetId() string { |
| 168 |
if x != nil { |
| 169 |
return x.Id |
| 170 |
} |
| 171 |
return "" |
| 172 |
} |
| 173 |
|
| 174 |
func (x *BuildProvenance) GetProjectId() string { |
| 175 |
if x != nil { |
| 176 |
return x.ProjectId |
| 177 |
} |
| 178 |
return "" |
| 179 |
} |
| 180 |
|
| 181 |
func (x *BuildProvenance) GetCommands() []*Command { |
| 182 |
if x != nil { |
| 183 |
return x.Commands |
| 184 |
} |
| 185 |
return nil |
| 186 |
} |
| 187 |
|
| 188 |
func (x *BuildProvenance) GetBuiltArtifacts() []*Artifact { |
| 189 |
if x != nil { |
| 190 |
return x.BuiltArtifacts |
| 191 |
} |
| 192 |
return nil |
| 193 |
} |
| 194 |
|
| 195 |
func (x *BuildProvenance) GetCreateTime() *timestamppb.Timestamp { |
| 196 |
if x != nil { |
| 197 |
return x.CreateTime |
| 198 |
} |
| 199 |
return nil |
| 200 |
} |
| 201 |
|
| 202 |
func (x *BuildProvenance) GetStartTime() *timestamppb.Timestamp { |
| 203 |
if x != nil { |
| 204 |
return x.StartTime |
| 205 |
} |
| 206 |
return nil |
| 207 |
} |
| 208 |
|
| 209 |
func (x *BuildProvenance) GetEndTime() *timestamppb.Timestamp { |
| 210 |
if x != nil { |
| 211 |
return x.EndTime |
| 212 |
} |
| 213 |
return nil |
| 214 |
} |
| 215 |
|
| 216 |
func (x *BuildProvenance) GetCreator() string { |
| 217 |
if x != nil { |
| 218 |
return x.Creator |
| 219 |
} |
| 220 |
return "" |
| 221 |
} |
| 222 |
|
| 223 |
func (x *BuildProvenance) GetLogsUri() string { |
| 224 |
if x != nil { |
| 225 |
return x.LogsUri |
| 226 |
} |
| 227 |
return "" |
| 228 |
} |
| 229 |
|
| 230 |
func (x *BuildProvenance) GetSourceProvenance() *Source { |
| 231 |
if x != nil { |
| 232 |
return x.SourceProvenance |
| 233 |
} |
| 234 |
return nil |
| 235 |
} |
| 236 |
|
| 237 |
func (x *BuildProvenance) GetTriggerId() string { |
| 238 |
if x != nil { |
| 239 |
return x.TriggerId |
| 240 |
} |
| 241 |
return "" |
| 242 |
} |
| 243 |
|
| 244 |
func (x *BuildProvenance) GetBuildOptions() map[string]string { |
| 245 |
if x != nil { |
| 246 |
return x.BuildOptions |
| 247 |
} |
| 248 |
return nil |
| 249 |
} |
| 250 |
|
| 251 |
func (x *BuildProvenance) GetBuilderVersion() string { |
| 252 |
if x != nil { |
| 253 |
return x.BuilderVersion |
| 254 |
} |
| 255 |
return "" |
| 256 |
} |
| 257 |
|
| 258 |
// Source describes the location of the source used for the build. |
| 259 |
type Source struct { |
| 260 |
state protoimpl.MessageState |
| 261 |
sizeCache protoimpl.SizeCache |
| 262 |
unknownFields protoimpl.UnknownFields |
| 263 |
|
| 264 |
// If provided, the input binary artifacts for the build came from this |
| 265 |
// location. |
| 266 |
ArtifactStorageSourceUri string `protobuf:"bytes,1,opt,name=artifact_storage_source_uri,json=artifactStorageSourceUri,proto3" json:"artifact_storage_source_uri,omitempty"` |
| 267 |
// Hash(es) of the build source, which can be used to verify that the original |
| 268 |
// source integrity was maintained in the build. |
| 269 |
// |
| 270 |
// The keys to this map are file paths used as build source and the values |
| 271 |
// contain the hash values for those files. |
| 272 |
// |
| 273 |
// If the build source came in a single package such as a gzipped tarfile |
| 274 |
// (.tar.gz), the FileHash will be for the single path to that file. |
| 275 |
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"` |
| 276 |
// If provided, the source code used for the build came from this location. |
| 277 |
Context *SourceContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` |
| 278 |
// If provided, some of the source code used for the build may be found in |
| 279 |
// these locations, in the case where the source repository had multiple |
| 280 |
// remotes or submodules. This list will not include the context specified in |
| 281 |
// the context field. |
| 282 |
AdditionalContexts []*SourceContext `protobuf:"bytes,4,rep,name=additional_contexts,json=additionalContexts,proto3" json:"additional_contexts,omitempty"` |
| 283 |
} |
| 284 |
|
| 285 |
func (x *Source) Reset() { |
| 286 |
*x = Source{} |
| 287 |
if protoimpl.UnsafeEnabled { |
| 288 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[1] |
| 289 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 290 |
ms.StoreMessageInfo(mi) |
| 291 |
} |
| 292 |
} |
| 293 |
|
| 294 |
func (x *Source) String() string { |
| 295 |
return protoimpl.X.MessageStringOf(x) |
| 296 |
} |
| 297 |
|
| 298 |
func (*Source) ProtoMessage() {} |
| 299 |
|
| 300 |
func (x *Source) ProtoReflect() protoreflect.Message { |
| 301 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[1] |
| 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 Source.ProtoReflect.Descriptor instead. |
| 313 |
func (*Source) Descriptor() ([]byte, []int) { |
| 314 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{1} |
| 315 |
} |
| 316 |
|
| 317 |
func (x *Source) GetArtifactStorageSourceUri() string { |
| 318 |
if x != nil { |
| 319 |
return x.ArtifactStorageSourceUri |
| 320 |
} |
| 321 |
return "" |
| 322 |
} |
| 323 |
|
| 324 |
func (x *Source) GetFileHashes() map[string]*FileHashes { |
| 325 |
if x != nil { |
| 326 |
return x.FileHashes |
| 327 |
} |
| 328 |
return nil |
| 329 |
} |
| 330 |
|
| 331 |
func (x *Source) GetContext() *SourceContext { |
| 332 |
if x != nil { |
| 333 |
return x.Context |
| 334 |
} |
| 335 |
return nil |
| 336 |
} |
| 337 |
|
| 338 |
func (x *Source) GetAdditionalContexts() []*SourceContext { |
| 339 |
if x != nil { |
| 340 |
return x.AdditionalContexts |
| 341 |
} |
| 342 |
return nil |
| 343 |
} |
| 344 |
|
| 345 |
// Container message for hashes of byte content of files, used in source |
| 346 |
// messages to verify integrity of source input to the build. |
| 347 |
type FileHashes struct { |
| 348 |
state protoimpl.MessageState |
| 349 |
sizeCache protoimpl.SizeCache |
| 350 |
unknownFields protoimpl.UnknownFields |
| 351 |
|
| 352 |
// Required. Collection of file hashes. |
| 353 |
FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` |
| 354 |
} |
| 355 |
|
| 356 |
func (x *FileHashes) Reset() { |
| 357 |
*x = FileHashes{} |
| 358 |
if protoimpl.UnsafeEnabled { |
| 359 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[2] |
| 360 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 361 |
ms.StoreMessageInfo(mi) |
| 362 |
} |
| 363 |
} |
| 364 |
|
| 365 |
func (x *FileHashes) String() string { |
| 366 |
return protoimpl.X.MessageStringOf(x) |
| 367 |
} |
| 368 |
|
| 369 |
func (*FileHashes) ProtoMessage() {} |
| 370 |
|
| 371 |
func (x *FileHashes) ProtoReflect() protoreflect.Message { |
| 372 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[2] |
| 373 |
if protoimpl.UnsafeEnabled && x != nil { |
| 374 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 375 |
if ms.LoadMessageInfo() == nil { |
| 376 |
ms.StoreMessageInfo(mi) |
| 377 |
} |
| 378 |
return ms |
| 379 |
} |
| 380 |
return mi.MessageOf(x) |
| 381 |
} |
| 382 |
|
| 383 |
// Deprecated: Use FileHashes.ProtoReflect.Descriptor instead. |
| 384 |
func (*FileHashes) Descriptor() ([]byte, []int) { |
| 385 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{2} |
| 386 |
} |
| 387 |
|
| 388 |
func (x *FileHashes) GetFileHash() []*Hash { |
| 389 |
if x != nil { |
| 390 |
return x.FileHash |
| 391 |
} |
| 392 |
return nil |
| 393 |
} |
| 394 |
|
| 395 |
// Container message for hash values. |
| 396 |
type Hash struct { |
| 397 |
state protoimpl.MessageState |
| 398 |
sizeCache protoimpl.SizeCache |
| 399 |
unknownFields protoimpl.UnknownFields |
| 400 |
|
| 401 |
// Required. The type of hash that was performed, e.g. "SHA-256". |
| 402 |
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` |
| 403 |
// Required. The hash value. |
| 404 |
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 405 |
} |
| 406 |
|
| 407 |
func (x *Hash) Reset() { |
| 408 |
*x = Hash{} |
| 409 |
if protoimpl.UnsafeEnabled { |
| 410 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[3] |
| 411 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 412 |
ms.StoreMessageInfo(mi) |
| 413 |
} |
| 414 |
} |
| 415 |
|
| 416 |
func (x *Hash) String() string { |
| 417 |
return protoimpl.X.MessageStringOf(x) |
| 418 |
} |
| 419 |
|
| 420 |
func (*Hash) ProtoMessage() {} |
| 421 |
|
| 422 |
func (x *Hash) ProtoReflect() protoreflect.Message { |
| 423 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[3] |
| 424 |
if protoimpl.UnsafeEnabled && x != nil { |
| 425 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 426 |
if ms.LoadMessageInfo() == nil { |
| 427 |
ms.StoreMessageInfo(mi) |
| 428 |
} |
| 429 |
return ms |
| 430 |
} |
| 431 |
return mi.MessageOf(x) |
| 432 |
} |
| 433 |
|
| 434 |
// Deprecated: Use Hash.ProtoReflect.Descriptor instead. |
| 435 |
func (*Hash) Descriptor() ([]byte, []int) { |
| 436 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{3} |
| 437 |
} |
| 438 |
|
| 439 |
func (x *Hash) GetType() string { |
| 440 |
if x != nil { |
| 441 |
return x.Type |
| 442 |
} |
| 443 |
return "" |
| 444 |
} |
| 445 |
|
| 446 |
func (x *Hash) GetValue() []byte { |
| 447 |
if x != nil { |
| 448 |
return x.Value |
| 449 |
} |
| 450 |
return nil |
| 451 |
} |
| 452 |
|
| 453 |
// Command describes a step performed as part of the build pipeline. |
| 454 |
type Command struct { |
| 455 |
state protoimpl.MessageState |
| 456 |
sizeCache protoimpl.SizeCache |
| 457 |
unknownFields protoimpl.UnknownFields |
| 458 |
|
| 459 |
// Required. Name of the command, as presented on the command line, or if the |
| 460 |
// command is packaged as a Docker container, as presented to `docker pull`. |
| 461 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 462 |
// Environment variables set before running this command. |
| 463 |
Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"` |
| 464 |
// Command-line arguments used when executing this command. |
| 465 |
Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` |
| 466 |
// Working directory (relative to project source root) used when running this |
| 467 |
// command. |
| 468 |
Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"` |
| 469 |
// Optional unique identifier for this command, used in wait_for to reference |
| 470 |
// this command as a dependency. |
| 471 |
Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` |
| 472 |
// The ID(s) of the command(s) that this command depends on. |
| 473 |
WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"` |
| 474 |
} |
| 475 |
|
| 476 |
func (x *Command) Reset() { |
| 477 |
*x = Command{} |
| 478 |
if protoimpl.UnsafeEnabled { |
| 479 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[4] |
| 480 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 481 |
ms.StoreMessageInfo(mi) |
| 482 |
} |
| 483 |
} |
| 484 |
|
| 485 |
func (x *Command) String() string { |
| 486 |
return protoimpl.X.MessageStringOf(x) |
| 487 |
} |
| 488 |
|
| 489 |
func (*Command) ProtoMessage() {} |
| 490 |
|
| 491 |
func (x *Command) ProtoReflect() protoreflect.Message { |
| 492 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[4] |
| 493 |
if protoimpl.UnsafeEnabled && x != nil { |
| 494 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 495 |
if ms.LoadMessageInfo() == nil { |
| 496 |
ms.StoreMessageInfo(mi) |
| 497 |
} |
| 498 |
return ms |
| 499 |
} |
| 500 |
return mi.MessageOf(x) |
| 501 |
} |
| 502 |
|
| 503 |
// Deprecated: Use Command.ProtoReflect.Descriptor instead. |
| 504 |
func (*Command) Descriptor() ([]byte, []int) { |
| 505 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{4} |
| 506 |
} |
| 507 |
|
| 508 |
func (x *Command) GetName() string { |
| 509 |
if x != nil { |
| 510 |
return x.Name |
| 511 |
} |
| 512 |
return "" |
| 513 |
} |
| 514 |
|
| 515 |
func (x *Command) GetEnv() []string { |
| 516 |
if x != nil { |
| 517 |
return x.Env |
| 518 |
} |
| 519 |
return nil |
| 520 |
} |
| 521 |
|
| 522 |
func (x *Command) GetArgs() []string { |
| 523 |
if x != nil { |
| 524 |
return x.Args |
| 525 |
} |
| 526 |
return nil |
| 527 |
} |
| 528 |
|
| 529 |
func (x *Command) GetDir() string { |
| 530 |
if x != nil { |
| 531 |
return x.Dir |
| 532 |
} |
| 533 |
return "" |
| 534 |
} |
| 535 |
|
| 536 |
func (x *Command) GetId() string { |
| 537 |
if x != nil { |
| 538 |
return x.Id |
| 539 |
} |
| 540 |
return "" |
| 541 |
} |
| 542 |
|
| 543 |
func (x *Command) GetWaitFor() []string { |
| 544 |
if x != nil { |
| 545 |
return x.WaitFor |
| 546 |
} |
| 547 |
return nil |
| 548 |
} |
| 549 |
|
| 550 |
// Artifact describes a build product. |
| 551 |
type Artifact struct { |
| 552 |
state protoimpl.MessageState |
| 553 |
sizeCache protoimpl.SizeCache |
| 554 |
unknownFields protoimpl.UnknownFields |
| 555 |
|
| 556 |
// Hash or checksum value of a binary, or Docker Registry 2.0 digest of a |
| 557 |
// container. |
| 558 |
Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` |
| 559 |
// Artifact ID, if any; for container images, this will be a URL by digest |
| 560 |
// like `gcr.io/projectID/imagename@sha256:123456`. |
| 561 |
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| 562 |
// Related artifact names. This may be the path to a binary or jar file, or in |
| 563 |
// the case of a container build, the name used to push the container image to |
| 564 |
// Google Container Registry, as presented to `docker push`. Note that a |
| 565 |
// single Artifact ID can have multiple names, for example if two tags are |
| 566 |
// applied to one image. |
| 567 |
Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` |
| 568 |
} |
| 569 |
|
| 570 |
func (x *Artifact) Reset() { |
| 571 |
*x = Artifact{} |
| 572 |
if protoimpl.UnsafeEnabled { |
| 573 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[5] |
| 574 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 575 |
ms.StoreMessageInfo(mi) |
| 576 |
} |
| 577 |
} |
| 578 |
|
| 579 |
func (x *Artifact) String() string { |
| 580 |
return protoimpl.X.MessageStringOf(x) |
| 581 |
} |
| 582 |
|
| 583 |
func (*Artifact) ProtoMessage() {} |
| 584 |
|
| 585 |
func (x *Artifact) ProtoReflect() protoreflect.Message { |
| 586 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[5] |
| 587 |
if protoimpl.UnsafeEnabled && x != nil { |
| 588 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 589 |
if ms.LoadMessageInfo() == nil { |
| 590 |
ms.StoreMessageInfo(mi) |
| 591 |
} |
| 592 |
return ms |
| 593 |
} |
| 594 |
return mi.MessageOf(x) |
| 595 |
} |
| 596 |
|
| 597 |
// Deprecated: Use Artifact.ProtoReflect.Descriptor instead. |
| 598 |
func (*Artifact) Descriptor() ([]byte, []int) { |
| 599 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{5} |
| 600 |
} |
| 601 |
|
| 602 |
func (x *Artifact) GetChecksum() string { |
| 603 |
if x != nil { |
| 604 |
return x.Checksum |
| 605 |
} |
| 606 |
return "" |
| 607 |
} |
| 608 |
|
| 609 |
func (x *Artifact) GetId() string { |
| 610 |
if x != nil { |
| 611 |
return x.Id |
| 612 |
} |
| 613 |
return "" |
| 614 |
} |
| 615 |
|
| 616 |
func (x *Artifact) GetNames() []string { |
| 617 |
if x != nil { |
| 618 |
return x.Names |
| 619 |
} |
| 620 |
return nil |
| 621 |
} |
| 622 |
|
| 623 |
// A SourceContext is a reference to a tree of files. A SourceContext together |
| 624 |
// with a path point to a unique revision of a single file or directory. |
| 625 |
type SourceContext struct { |
| 626 |
state protoimpl.MessageState |
| 627 |
sizeCache protoimpl.SizeCache |
| 628 |
unknownFields protoimpl.UnknownFields |
| 629 |
|
| 630 |
// A SourceContext can refer any one of the following types of repositories. |
| 631 |
// |
| 632 |
// Types that are assignable to Context: |
| 633 |
// *SourceContext_CloudRepo |
| 634 |
// *SourceContext_Gerrit |
| 635 |
// *SourceContext_Git |
| 636 |
Context isSourceContext_Context `protobuf_oneof:"context"` |
| 637 |
// Labels with user defined metadata. |
| 638 |
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 639 |
} |
| 640 |
|
| 641 |
func (x *SourceContext) Reset() { |
| 642 |
*x = SourceContext{} |
| 643 |
if protoimpl.UnsafeEnabled { |
| 644 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[6] |
| 645 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 646 |
ms.StoreMessageInfo(mi) |
| 647 |
} |
| 648 |
} |
| 649 |
|
| 650 |
func (x *SourceContext) String() string { |
| 651 |
return protoimpl.X.MessageStringOf(x) |
| 652 |
} |
| 653 |
|
| 654 |
func (*SourceContext) ProtoMessage() {} |
| 655 |
|
| 656 |
func (x *SourceContext) ProtoReflect() protoreflect.Message { |
| 657 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[6] |
| 658 |
if protoimpl.UnsafeEnabled && x != nil { |
| 659 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 660 |
if ms.LoadMessageInfo() == nil { |
| 661 |
ms.StoreMessageInfo(mi) |
| 662 |
} |
| 663 |
return ms |
| 664 |
} |
| 665 |
return mi.MessageOf(x) |
| 666 |
} |
| 667 |
|
| 668 |
// Deprecated: Use SourceContext.ProtoReflect.Descriptor instead. |
| 669 |
func (*SourceContext) Descriptor() ([]byte, []int) { |
| 670 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{6} |
| 671 |
} |
| 672 |
|
| 673 |
func (m *SourceContext) GetContext() isSourceContext_Context { |
| 674 |
if m != nil { |
| 675 |
return m.Context |
| 676 |
} |
| 677 |
return nil |
| 678 |
} |
| 679 |
|
| 680 |
func (x *SourceContext) GetCloudRepo() *CloudRepoSourceContext { |
| 681 |
if x, ok := x.GetContext().(*SourceContext_CloudRepo); ok { |
| 682 |
return x.CloudRepo |
| 683 |
} |
| 684 |
return nil |
| 685 |
} |
| 686 |
|
| 687 |
func (x *SourceContext) GetGerrit() *GerritSourceContext { |
| 688 |
if x, ok := x.GetContext().(*SourceContext_Gerrit); ok { |
| 689 |
return x.Gerrit |
| 690 |
} |
| 691 |
return nil |
| 692 |
} |
| 693 |
|
| 694 |
func (x *SourceContext) GetGit() *GitSourceContext { |
| 695 |
if x, ok := x.GetContext().(*SourceContext_Git); ok { |
| 696 |
return x.Git |
| 697 |
} |
| 698 |
return nil |
| 699 |
} |
| 700 |
|
| 701 |
func (x *SourceContext) GetLabels() map[string]string { |
| 702 |
if x != nil { |
| 703 |
return x.Labels |
| 704 |
} |
| 705 |
return nil |
| 706 |
} |
| 707 |
|
| 708 |
type isSourceContext_Context interface { |
| 709 |
isSourceContext_Context() |
| 710 |
} |
| 711 |
|
| 712 |
type SourceContext_CloudRepo struct { |
| 713 |
// A SourceContext referring to a revision in a Google Cloud Source Repo. |
| 714 |
CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,proto3,oneof"` |
| 715 |
} |
| 716 |
|
| 717 |
type SourceContext_Gerrit struct { |
| 718 |
// A SourceContext referring to a Gerrit project. |
| 719 |
Gerrit *GerritSourceContext `protobuf:"bytes,2,opt,name=gerrit,proto3,oneof"` |
| 720 |
} |
| 721 |
|
| 722 |
type SourceContext_Git struct { |
| 723 |
// A SourceContext referring to any third party Git repo (e.g., GitHub). |
| 724 |
Git *GitSourceContext `protobuf:"bytes,3,opt,name=git,proto3,oneof"` |
| 725 |
} |
| 726 |
|
| 727 |
func (*SourceContext_CloudRepo) isSourceContext_Context() {} |
| 728 |
|
| 729 |
func (*SourceContext_Gerrit) isSourceContext_Context() {} |
| 730 |
|
| 731 |
func (*SourceContext_Git) isSourceContext_Context() {} |
| 732 |
|
| 733 |
// An alias to a repo revision. |
| 734 |
type AliasContext struct { |
| 735 |
state protoimpl.MessageState |
| 736 |
sizeCache protoimpl.SizeCache |
| 737 |
unknownFields protoimpl.UnknownFields |
| 738 |
|
| 739 |
// The alias kind. |
| 740 |
Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=grafeas.v1.AliasContext_Kind" json:"kind,omitempty"` |
| 741 |
// The alias name. |
| 742 |
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| 743 |
} |
| 744 |
|
| 745 |
func (x *AliasContext) Reset() { |
| 746 |
*x = AliasContext{} |
| 747 |
if protoimpl.UnsafeEnabled { |
| 748 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[7] |
| 749 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 750 |
ms.StoreMessageInfo(mi) |
| 751 |
} |
| 752 |
} |
| 753 |
|
| 754 |
func (x *AliasContext) String() string { |
| 755 |
return protoimpl.X.MessageStringOf(x) |
| 756 |
} |
| 757 |
|
| 758 |
func (*AliasContext) ProtoMessage() {} |
| 759 |
|
| 760 |
func (x *AliasContext) ProtoReflect() protoreflect.Message { |
| 761 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[7] |
| 762 |
if protoimpl.UnsafeEnabled && x != nil { |
| 763 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 764 |
if ms.LoadMessageInfo() == nil { |
| 765 |
ms.StoreMessageInfo(mi) |
| 766 |
} |
| 767 |
return ms |
| 768 |
} |
| 769 |
return mi.MessageOf(x) |
| 770 |
} |
| 771 |
|
| 772 |
// Deprecated: Use AliasContext.ProtoReflect.Descriptor instead. |
| 773 |
func (*AliasContext) Descriptor() ([]byte, []int) { |
| 774 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{7} |
| 775 |
} |
| 776 |
|
| 777 |
func (x *AliasContext) GetKind() AliasContext_Kind { |
| 778 |
if x != nil { |
| 779 |
return x.Kind |
| 780 |
} |
| 781 |
return AliasContext_KIND_UNSPECIFIED |
| 782 |
} |
| 783 |
|
| 784 |
func (x *AliasContext) GetName() string { |
| 785 |
if x != nil { |
| 786 |
return x.Name |
| 787 |
} |
| 788 |
return "" |
| 789 |
} |
| 790 |
|
| 791 |
// A CloudRepoSourceContext denotes a particular revision in a Google Cloud |
| 792 |
// Source Repo. |
| 793 |
type CloudRepoSourceContext struct { |
| 794 |
state protoimpl.MessageState |
| 795 |
sizeCache protoimpl.SizeCache |
| 796 |
unknownFields protoimpl.UnknownFields |
| 797 |
|
| 798 |
// The ID of the repo. |
| 799 |
RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` |
| 800 |
// A revision in a Cloud Repo can be identified by either its revision ID or |
| 801 |
// its alias. |
| 802 |
// |
| 803 |
// Types that are assignable to Revision: |
| 804 |
// *CloudRepoSourceContext_RevisionId |
| 805 |
// *CloudRepoSourceContext_AliasContext |
| 806 |
Revision isCloudRepoSourceContext_Revision `protobuf_oneof:"revision"` |
| 807 |
} |
| 808 |
|
| 809 |
func (x *CloudRepoSourceContext) Reset() { |
| 810 |
*x = CloudRepoSourceContext{} |
| 811 |
if protoimpl.UnsafeEnabled { |
| 812 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[8] |
| 813 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 814 |
ms.StoreMessageInfo(mi) |
| 815 |
} |
| 816 |
} |
| 817 |
|
| 818 |
func (x *CloudRepoSourceContext) String() string { |
| 819 |
return protoimpl.X.MessageStringOf(x) |
| 820 |
} |
| 821 |
|
| 822 |
func (*CloudRepoSourceContext) ProtoMessage() {} |
| 823 |
|
| 824 |
func (x *CloudRepoSourceContext) ProtoReflect() protoreflect.Message { |
| 825 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[8] |
| 826 |
if protoimpl.UnsafeEnabled && x != nil { |
| 827 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 828 |
if ms.LoadMessageInfo() == nil { |
| 829 |
ms.StoreMessageInfo(mi) |
| 830 |
} |
| 831 |
return ms |
| 832 |
} |
| 833 |
return mi.MessageOf(x) |
| 834 |
} |
| 835 |
|
| 836 |
// Deprecated: Use CloudRepoSourceContext.ProtoReflect.Descriptor instead. |
| 837 |
func (*CloudRepoSourceContext) Descriptor() ([]byte, []int) { |
| 838 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{8} |
| 839 |
} |
| 840 |
|
| 841 |
func (x *CloudRepoSourceContext) GetRepoId() *RepoId { |
| 842 |
if x != nil { |
| 843 |
return x.RepoId |
| 844 |
} |
| 845 |
return nil |
| 846 |
} |
| 847 |
|
| 848 |
func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision { |
| 849 |
if m != nil { |
| 850 |
return m.Revision |
| 851 |
} |
| 852 |
return nil |
| 853 |
} |
| 854 |
|
| 855 |
func (x *CloudRepoSourceContext) GetRevisionId() string { |
| 856 |
if x, ok := x.GetRevision().(*CloudRepoSourceContext_RevisionId); ok { |
| 857 |
return x.RevisionId |
| 858 |
} |
| 859 |
return "" |
| 860 |
} |
| 861 |
|
| 862 |
func (x *CloudRepoSourceContext) GetAliasContext() *AliasContext { |
| 863 |
if x, ok := x.GetRevision().(*CloudRepoSourceContext_AliasContext); ok { |
| 864 |
return x.AliasContext |
| 865 |
} |
| 866 |
return nil |
| 867 |
} |
| 868 |
|
| 869 |
type isCloudRepoSourceContext_Revision interface { |
| 870 |
isCloudRepoSourceContext_Revision() |
| 871 |
} |
| 872 |
|
| 873 |
type CloudRepoSourceContext_RevisionId struct { |
| 874 |
// A revision ID. |
| 875 |
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3,oneof"` |
| 876 |
} |
| 877 |
|
| 878 |
type CloudRepoSourceContext_AliasContext struct { |
| 879 |
// An alias, which may be a branch or tag. |
| 880 |
AliasContext *AliasContext `protobuf:"bytes,3,opt,name=alias_context,json=aliasContext,proto3,oneof"` |
| 881 |
} |
| 882 |
|
| 883 |
func (*CloudRepoSourceContext_RevisionId) isCloudRepoSourceContext_Revision() {} |
| 884 |
|
| 885 |
func (*CloudRepoSourceContext_AliasContext) isCloudRepoSourceContext_Revision() {} |
| 886 |
|
| 887 |
// A SourceContext referring to a Gerrit project. |
| 888 |
type GerritSourceContext struct { |
| 889 |
state protoimpl.MessageState |
| 890 |
sizeCache protoimpl.SizeCache |
| 891 |
unknownFields protoimpl.UnknownFields |
| 892 |
|
| 893 |
// The URI of a running Gerrit instance. |
| 894 |
HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"` |
| 895 |
// The full project name within the host. Projects may be nested, so |
| 896 |
// "project/subproject" is a valid project name. The "repo name" is the |
| 897 |
// hostURI/project. |
| 898 |
GerritProject string `protobuf:"bytes,2,opt,name=gerrit_project,json=gerritProject,proto3" json:"gerrit_project,omitempty"` |
| 899 |
// A revision in a Gerrit project can be identified by either its revision ID |
| 900 |
// or its alias. |
| 901 |
// |
| 902 |
// Types that are assignable to Revision: |
| 903 |
// *GerritSourceContext_RevisionId |
| 904 |
// *GerritSourceContext_AliasContext |
| 905 |
Revision isGerritSourceContext_Revision `protobuf_oneof:"revision"` |
| 906 |
} |
| 907 |
|
| 908 |
func (x *GerritSourceContext) Reset() { |
| 909 |
*x = GerritSourceContext{} |
| 910 |
if protoimpl.UnsafeEnabled { |
| 911 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[9] |
| 912 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 913 |
ms.StoreMessageInfo(mi) |
| 914 |
} |
| 915 |
} |
| 916 |
|
| 917 |
func (x *GerritSourceContext) String() string { |
| 918 |
return protoimpl.X.MessageStringOf(x) |
| 919 |
} |
| 920 |
|
| 921 |
func (*GerritSourceContext) ProtoMessage() {} |
| 922 |
|
| 923 |
func (x *GerritSourceContext) ProtoReflect() protoreflect.Message { |
| 924 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[9] |
| 925 |
if protoimpl.UnsafeEnabled && x != nil { |
| 926 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 927 |
if ms.LoadMessageInfo() == nil { |
| 928 |
ms.StoreMessageInfo(mi) |
| 929 |
} |
| 930 |
return ms |
| 931 |
} |
| 932 |
return mi.MessageOf(x) |
| 933 |
} |
| 934 |
|
| 935 |
// Deprecated: Use GerritSourceContext.ProtoReflect.Descriptor instead. |
| 936 |
func (*GerritSourceContext) Descriptor() ([]byte, []int) { |
| 937 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{9} |
| 938 |
} |
| 939 |
|
| 940 |
func (x *GerritSourceContext) GetHostUri() string { |
| 941 |
if x != nil { |
| 942 |
return x.HostUri |
| 943 |
} |
| 944 |
return "" |
| 945 |
} |
| 946 |
|
| 947 |
func (x *GerritSourceContext) GetGerritProject() string { |
| 948 |
if x != nil { |
| 949 |
return x.GerritProject |
| 950 |
} |
| 951 |
return "" |
| 952 |
} |
| 953 |
|
| 954 |
func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision { |
| 955 |
if m != nil { |
| 956 |
return m.Revision |
| 957 |
} |
| 958 |
return nil |
| 959 |
} |
| 960 |
|
| 961 |
func (x *GerritSourceContext) GetRevisionId() string { |
| 962 |
if x, ok := x.GetRevision().(*GerritSourceContext_RevisionId); ok { |
| 963 |
return x.RevisionId |
| 964 |
} |
| 965 |
return "" |
| 966 |
} |
| 967 |
|
| 968 |
func (x *GerritSourceContext) GetAliasContext() *AliasContext { |
| 969 |
if x, ok := x.GetRevision().(*GerritSourceContext_AliasContext); ok { |
| 970 |
return x.AliasContext |
| 971 |
} |
| 972 |
return nil |
| 973 |
} |
| 974 |
|
| 975 |
type isGerritSourceContext_Revision interface { |
| 976 |
isGerritSourceContext_Revision() |
| 977 |
} |
| 978 |
|
| 979 |
type GerritSourceContext_RevisionId struct { |
| 980 |
// A revision (commit) ID. |
| 981 |
RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3,oneof"` |
| 982 |
} |
| 983 |
|
| 984 |
type GerritSourceContext_AliasContext struct { |
| 985 |
// An alias, which may be a branch or tag. |
| 986 |
AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,proto3,oneof"` |
| 987 |
} |
| 988 |
|
| 989 |
func (*GerritSourceContext_RevisionId) isGerritSourceContext_Revision() {} |
| 990 |
|
| 991 |
func (*GerritSourceContext_AliasContext) isGerritSourceContext_Revision() {} |
| 992 |
|
| 993 |
// A GitSourceContext denotes a particular revision in a third party Git |
| 994 |
// repository (e.g., GitHub). |
| 995 |
type GitSourceContext struct { |
| 996 |
state protoimpl.MessageState |
| 997 |
sizeCache protoimpl.SizeCache |
| 998 |
unknownFields protoimpl.UnknownFields |
| 999 |
|
| 1000 |
// Git repository URL. |
| 1001 |
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` |
| 1002 |
// Git commit hash. |
| 1003 |
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` |
| 1004 |
} |
| 1005 |
|
| 1006 |
func (x *GitSourceContext) Reset() { |
| 1007 |
*x = GitSourceContext{} |
| 1008 |
if protoimpl.UnsafeEnabled { |
| 1009 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[10] |
| 1010 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1011 |
ms.StoreMessageInfo(mi) |
| 1012 |
} |
| 1013 |
} |
| 1014 |
|
| 1015 |
func (x *GitSourceContext) String() string { |
| 1016 |
return protoimpl.X.MessageStringOf(x) |
| 1017 |
} |
| 1018 |
|
| 1019 |
func (*GitSourceContext) ProtoMessage() {} |
| 1020 |
|
| 1021 |
func (x *GitSourceContext) ProtoReflect() protoreflect.Message { |
| 1022 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[10] |
| 1023 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1024 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1025 |
if ms.LoadMessageInfo() == nil { |
| 1026 |
ms.StoreMessageInfo(mi) |
| 1027 |
} |
| 1028 |
return ms |
| 1029 |
} |
| 1030 |
return mi.MessageOf(x) |
| 1031 |
} |
| 1032 |
|
| 1033 |
// Deprecated: Use GitSourceContext.ProtoReflect.Descriptor instead. |
| 1034 |
func (*GitSourceContext) Descriptor() ([]byte, []int) { |
| 1035 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{10} |
| 1036 |
} |
| 1037 |
|
| 1038 |
func (x *GitSourceContext) GetUrl() string { |
| 1039 |
if x != nil { |
| 1040 |
return x.Url |
| 1041 |
} |
| 1042 |
return "" |
| 1043 |
} |
| 1044 |
|
| 1045 |
func (x *GitSourceContext) GetRevisionId() string { |
| 1046 |
if x != nil { |
| 1047 |
return x.RevisionId |
| 1048 |
} |
| 1049 |
return "" |
| 1050 |
} |
| 1051 |
|
| 1052 |
// A unique identifier for a Cloud Repo. |
| 1053 |
type RepoId struct { |
| 1054 |
state protoimpl.MessageState |
| 1055 |
sizeCache protoimpl.SizeCache |
| 1056 |
unknownFields protoimpl.UnknownFields |
| 1057 |
|
| 1058 |
// A cloud repo can be identified by either its project ID and repository name |
| 1059 |
// combination, or its globally unique identifier. |
| 1060 |
// |
| 1061 |
// Types that are assignable to Id: |
| 1062 |
// *RepoId_ProjectRepoId |
| 1063 |
// *RepoId_Uid |
| 1064 |
Id isRepoId_Id `protobuf_oneof:"id"` |
| 1065 |
} |
| 1066 |
|
| 1067 |
func (x *RepoId) Reset() { |
| 1068 |
*x = RepoId{} |
| 1069 |
if protoimpl.UnsafeEnabled { |
| 1070 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[11] |
| 1071 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1072 |
ms.StoreMessageInfo(mi) |
| 1073 |
} |
| 1074 |
} |
| 1075 |
|
| 1076 |
func (x *RepoId) String() string { |
| 1077 |
return protoimpl.X.MessageStringOf(x) |
| 1078 |
} |
| 1079 |
|
| 1080 |
func (*RepoId) ProtoMessage() {} |
| 1081 |
|
| 1082 |
func (x *RepoId) ProtoReflect() protoreflect.Message { |
| 1083 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[11] |
| 1084 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1085 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1086 |
if ms.LoadMessageInfo() == nil { |
| 1087 |
ms.StoreMessageInfo(mi) |
| 1088 |
} |
| 1089 |
return ms |
| 1090 |
} |
| 1091 |
return mi.MessageOf(x) |
| 1092 |
} |
| 1093 |
|
| 1094 |
// Deprecated: Use RepoId.ProtoReflect.Descriptor instead. |
| 1095 |
func (*RepoId) Descriptor() ([]byte, []int) { |
| 1096 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{11} |
| 1097 |
} |
| 1098 |
|
| 1099 |
func (m *RepoId) GetId() isRepoId_Id { |
| 1100 |
if m != nil { |
| 1101 |
return m.Id |
| 1102 |
} |
| 1103 |
return nil |
| 1104 |
} |
| 1105 |
|
| 1106 |
func (x *RepoId) GetProjectRepoId() *ProjectRepoId { |
| 1107 |
if x, ok := x.GetId().(*RepoId_ProjectRepoId); ok { |
| 1108 |
return x.ProjectRepoId |
| 1109 |
} |
| 1110 |
return nil |
| 1111 |
} |
| 1112 |
|
| 1113 |
func (x *RepoId) GetUid() string { |
| 1114 |
if x, ok := x.GetId().(*RepoId_Uid); ok { |
| 1115 |
return x.Uid |
| 1116 |
} |
| 1117 |
return "" |
| 1118 |
} |
| 1119 |
|
| 1120 |
type isRepoId_Id interface { |
| 1121 |
isRepoId_Id() |
| 1122 |
} |
| 1123 |
|
| 1124 |
type RepoId_ProjectRepoId struct { |
| 1125 |
// A combination of a project ID and a repo name. |
| 1126 |
ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,proto3,oneof"` |
| 1127 |
} |
| 1128 |
|
| 1129 |
type RepoId_Uid struct { |
| 1130 |
// A server-assigned, globally unique identifier. |
| 1131 |
Uid string `protobuf:"bytes,2,opt,name=uid,proto3,oneof"` |
| 1132 |
} |
| 1133 |
|
| 1134 |
func (*RepoId_ProjectRepoId) isRepoId_Id() {} |
| 1135 |
|
| 1136 |
func (*RepoId_Uid) isRepoId_Id() {} |
| 1137 |
|
| 1138 |
// Selects a repo using a Google Cloud Platform project ID (e.g., |
| 1139 |
// winged-cargo-31) and a repo name within that project. |
| 1140 |
type ProjectRepoId struct { |
| 1141 |
state protoimpl.MessageState |
| 1142 |
sizeCache protoimpl.SizeCache |
| 1143 |
unknownFields protoimpl.UnknownFields |
| 1144 |
|
| 1145 |
// The ID of the project. |
| 1146 |
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 1147 |
// The name of the repo. Leave empty for the default repo. |
| 1148 |
RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` |
| 1149 |
} |
| 1150 |
|
| 1151 |
func (x *ProjectRepoId) Reset() { |
| 1152 |
*x = ProjectRepoId{} |
| 1153 |
if protoimpl.UnsafeEnabled { |
| 1154 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[12] |
| 1155 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1156 |
ms.StoreMessageInfo(mi) |
| 1157 |
} |
| 1158 |
} |
| 1159 |
|
| 1160 |
func (x *ProjectRepoId) String() string { |
| 1161 |
return protoimpl.X.MessageStringOf(x) |
| 1162 |
} |
| 1163 |
|
| 1164 |
func (*ProjectRepoId) ProtoMessage() {} |
| 1165 |
|
| 1166 |
func (x *ProjectRepoId) ProtoReflect() protoreflect.Message { |
| 1167 |
mi := &file_grafeas_v1_provenance_proto_msgTypes[12] |
| 1168 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1169 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1170 |
if ms.LoadMessageInfo() == nil { |
| 1171 |
ms.StoreMessageInfo(mi) |
| 1172 |
} |
| 1173 |
return ms |
| 1174 |
} |
| 1175 |
return mi.MessageOf(x) |
| 1176 |
} |
| 1177 |
|
| 1178 |
// Deprecated: Use ProjectRepoId.ProtoReflect.Descriptor instead. |
| 1179 |
func (*ProjectRepoId) Descriptor() ([]byte, []int) { |
| 1180 |
return file_grafeas_v1_provenance_proto_rawDescGZIP(), []int{12} |
| 1181 |
} |
| 1182 |
|
| 1183 |
func (x *ProjectRepoId) GetProjectId() string { |
| 1184 |
if x != nil { |
| 1185 |
return x.ProjectId |
| 1186 |
} |
| 1187 |
return "" |
| 1188 |
} |
| 1189 |
|
| 1190 |
func (x *ProjectRepoId) GetRepoName() string { |
| 1191 |
if x != nil { |
| 1192 |
return x.RepoName |
| 1193 |
} |
| 1194 |
return "" |
| 1195 |
} |
| 1196 |
|
| 1197 |
var File_grafeas_v1_provenance_proto protoreflect.FileDescriptor |
| 1198 |
|
| 1199 |
var file_grafeas_v1_provenance_proto_rawDesc = []byte{ |
| 1200 |
0x0a, 0x1b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, |
| 1201 |
0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, |
| 1202 |
0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1203 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, |
| 1204 |
0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x05, 0x0a, 0x0f, 0x42, |
| 1205 |
0x75, 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x0e, |
| 1206 |
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, |
| 1207 |
0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, |
| 1208 |
0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x2f, 0x0a, |
| 1209 |
0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 1210 |
0x13, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, |
| 1211 |
0x6d, 0x61, 0x6e, 0x64, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x3d, |
| 1212 |
0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, |
| 1213 |
0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, |
| 1214 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x0e, 0x62, |
| 1215 |
0x75, 0x69, 0x6c, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x3b, 0x0a, |
| 1216 |
0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, |
| 1217 |
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 1218 |
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, |
| 1219 |
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, |
| 1220 |
0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, |
| 1221 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 1222 |
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, |
| 1223 |
0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, |
| 1224 |
0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1225 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, |
| 1226 |
0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, |
| 1227 |
0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, |
| 1228 |
0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x75, |
| 1229 |
0x72, 0x69, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x73, 0x55, 0x72, |
| 1230 |
0x69, 0x12, 0x3f, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, |
| 1231 |
0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, |
| 1232 |
0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 1233 |
0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, |
| 1234 |
0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x69, 0x64, |
| 1235 |
0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x49, |
| 1236 |
0x64, 0x12, 0x52, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, |
| 1237 |
0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, |
| 1238 |
0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x65, |
| 1239 |
0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, |
| 1240 |
0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4f, 0x70, |
| 1241 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, |
| 1242 |
0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, |
| 1243 |
0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x3f, |
| 1244 |
0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, |
| 1245 |
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 1246 |
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, |
| 1247 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, |
| 1248 |
0xe4, 0x02, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x1b, 0x61, 0x72, |
| 1249 |
0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, |
| 1250 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1251 |
0x18, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, |
| 1252 |
0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x69, 0x12, 0x43, 0x0a, 0x0b, 0x66, 0x69, 0x6c, |
| 1253 |
0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, |
| 1254 |
0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, |
| 1255 |
0x63, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x45, 0x6e, 0x74, |
| 1256 |
0x72, 0x79, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x33, |
| 1257 |
0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 1258 |
0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, |
| 1259 |
0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, |
| 1260 |
0x65, 0x78, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, |
| 1261 |
0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, |
| 1262 |
0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, |
| 1263 |
0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x12, 0x61, 0x64, 0x64, |
| 1264 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x1a, |
| 1265 |
0x55, 0x0a, 0x0f, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x45, 0x6e, 0x74, |
| 1266 |
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1267 |
0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, |
| 1268 |
0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, |
| 1269 |
0x2e, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, |
| 1270 |
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3b, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, |
| 1271 |
0x73, 0x68, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x68, 0x61, 0x73, |
| 1272 |
0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, |
| 1273 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x48, |
| 1274 |
0x61, 0x73, 0x68, 0x22, 0x30, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, |
| 1275 |
0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, |
| 1276 |
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, |
| 1277 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, |
| 1278 |
0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1279 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x02, 0x20, 0x03, |
| 1280 |
0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, |
| 1281 |
0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x64, |
| 1282 |
0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x72, 0x12, 0x0e, 0x0a, |
| 1283 |
0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, |
| 1284 |
0x08, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 1285 |
0x07, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x22, 0x4c, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, |
| 1286 |
0x66, 0x61, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, |
| 1287 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, |
| 1288 |
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, |
| 1289 |
0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 1290 |
0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xc6, 0x02, 0x0a, 0x0d, 0x53, 0x6f, 0x75, 0x72, 0x63, |
| 1291 |
0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x43, 0x0a, 0x0a, 0x63, 0x6c, 0x6f, 0x75, |
| 1292 |
0x64, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, |
| 1293 |
0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x52, |
| 1294 |
0x65, 0x70, 0x6f, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, |
| 1295 |
0x48, 0x00, 0x52, 0x09, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x39, 0x0a, |
| 1296 |
0x06, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, |
| 1297 |
0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, |
| 1298 |
0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, |
| 1299 |
0x52, 0x06, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x12, 0x30, 0x0a, 0x03, 0x67, 0x69, 0x74, 0x18, |
| 1300 |
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, |
| 1301 |
0x76, 0x31, 0x2e, 0x47, 0x69, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, |
| 1302 |
0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x03, 0x67, 0x69, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x6c, 0x61, |
| 1303 |
0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x61, |
| 1304 |
0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, |
| 1305 |
0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, |
| 1306 |
0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, |
| 1307 |
0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, |
| 1308 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, |
| 1309 |
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, |
| 1310 |
0x3a, 0x02, 0x38, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, |
| 1311 |
0x96, 0x01, 0x0a, 0x0c, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, |
| 1312 |
0x12, 0x31, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, |
| 1313 |
0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x69, 0x61, |
| 1314 |
0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, |
| 1315 |
0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 1316 |
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3f, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, |
| 1317 |
0x14, 0x0a, 0x10, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, |
| 1318 |
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x58, 0x45, 0x44, 0x10, 0x01, |
| 1319 |
0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x4f, 0x56, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x09, 0x0a, |
| 1320 |
0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x04, 0x22, 0xb5, 0x01, 0x0a, 0x16, 0x43, 0x6c, 0x6f, |
| 1321 |
0x75, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, |
| 1322 |
0x65, 0x78, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, |
| 1323 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, |
| 1324 |
0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, |
| 1325 |
0x12, 0x21, 0x0a, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, |
| 1326 |
0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, |
| 1327 |
0x6e, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0d, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x6e, |
| 1328 |
0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, |
| 1329 |
0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, |
| 1330 |
0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, |
| 1331 |
0x74, 0x65, 0x78, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, |
| 1332 |
0x22, 0xc7, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, |
| 1333 |
0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, |
| 1334 |
0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, |
| 1335 |
0x55, 0x72, 0x69, 0x12, 0x25, 0x0a, 0x0e, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x5f, 0x70, 0x72, |
| 1336 |
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x65, 0x72, |
| 1337 |
0x72, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x72, 0x65, |
| 1338 |
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, |
| 1339 |
0x00, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3f, 0x0a, |
| 1340 |
0x0d, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x04, |
| 1341 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, |
| 1342 |
0x31, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, |
| 1343 |
0x52, 0x0c, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x0a, |
| 1344 |
0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x0a, 0x10, 0x47, 0x69, |
| 1345 |
0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x10, |
| 1346 |
0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, |
| 1347 |
0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, |
| 1348 |
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x49, |
| 1349 |
0x64, 0x22, 0x67, 0x0a, 0x06, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0f, 0x70, |
| 1350 |
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, |
| 1351 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, |
| 1352 |
0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x48, |
| 1353 |
0x00, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, |
| 1354 |
0x12, 0x12, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, |
| 1355 |
0x03, 0x75, 0x69, 0x64, 0x42, 0x04, 0x0a, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x0d, 0x50, 0x72, |
| 1356 |
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, |
| 1357 |
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1358 |
0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, |
| 1359 |
0x70, 0x6f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, |
| 1360 |
0x65, 0x70, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x51, 0x0a, 0x0d, 0x69, 0x6f, 0x2e, 0x67, 0x72, |
| 1361 |
0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, |
| 1362 |
0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, |
| 1363 |
0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 1364 |
0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x72, 0x61, |
| 1365 |
0x66, 0x65, 0x61, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 1366 |
0x6f, 0x33, |
| 1367 |
} |
| 1368 |
|
| 1369 |
var ( |
| 1370 |
file_grafeas_v1_provenance_proto_rawDescOnce sync.Once |
| 1371 |
file_grafeas_v1_provenance_proto_rawDescData = file_grafeas_v1_provenance_proto_rawDesc |
| 1372 |
) |
| 1373 |
|
| 1374 |
func file_grafeas_v1_provenance_proto_rawDescGZIP() []byte { |
| 1375 |
file_grafeas_v1_provenance_proto_rawDescOnce.Do(func() { |
| 1376 |
file_grafeas_v1_provenance_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_provenance_proto_rawDescData) |
| 1377 |
}) |
| 1378 |
return file_grafeas_v1_provenance_proto_rawDescData |
| 1379 |
} |
| 1380 |
|
| 1381 |
var file_grafeas_v1_provenance_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 1382 |
var file_grafeas_v1_provenance_proto_msgTypes = make([]protoimpl.MessageInfo, 16) |
| 1383 |
var file_grafeas_v1_provenance_proto_goTypes = []interface{}{ |
| 1384 |
(AliasContext_Kind)(0), // 0: grafeas.v1.AliasContext.Kind |
| 1385 |
(*BuildProvenance)(nil), // 1: grafeas.v1.BuildProvenance |
| 1386 |
(*Source)(nil), // 2: grafeas.v1.Source |
| 1387 |
(*FileHashes)(nil), // 3: grafeas.v1.FileHashes |
| 1388 |
(*Hash)(nil), // 4: grafeas.v1.Hash |
| 1389 |
(*Command)(nil), // 5: grafeas.v1.Command |
| 1390 |
(*Artifact)(nil), // 6: grafeas.v1.Artifact |
| 1391 |
(*SourceContext)(nil), // 7: grafeas.v1.SourceContext |
| 1392 |
(*AliasContext)(nil), // 8: grafeas.v1.AliasContext |
| 1393 |
(*CloudRepoSourceContext)(nil), // 9: grafeas.v1.CloudRepoSourceContext |
| 1394 |
(*GerritSourceContext)(nil), // 10: grafeas.v1.GerritSourceContext |
| 1395 |
(*GitSourceContext)(nil), // 11: grafeas.v1.GitSourceContext |
| 1396 |
(*RepoId)(nil), // 12: grafeas.v1.RepoId |
| 1397 |
(*ProjectRepoId)(nil), // 13: grafeas.v1.ProjectRepoId |
| 1398 |
nil, // 14: grafeas.v1.BuildProvenance.BuildOptionsEntry |
| 1399 |
nil, // 15: grafeas.v1.Source.FileHashesEntry |
| 1400 |
nil, // 16: grafeas.v1.SourceContext.LabelsEntry |
| 1401 |
(*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp |
| 1402 |
} |
| 1403 |
var file_grafeas_v1_provenance_proto_depIdxs = []int32{ |
| 1404 |
5, // 0: grafeas.v1.BuildProvenance.commands:type_name -> grafeas.v1.Command |
| 1405 |
6, // 1: grafeas.v1.BuildProvenance.built_artifacts:type_name -> grafeas.v1.Artifact |
| 1406 |
17, // 2: grafeas.v1.BuildProvenance.create_time:type_name -> google.protobuf.Timestamp |
| 1407 |
17, // 3: grafeas.v1.BuildProvenance.start_time:type_name -> google.protobuf.Timestamp |
| 1408 |
17, // 4: grafeas.v1.BuildProvenance.end_time:type_name -> google.protobuf.Timestamp |
| 1409 |
2, // 5: grafeas.v1.BuildProvenance.source_provenance:type_name -> grafeas.v1.Source |
| 1410 |
14, // 6: grafeas.v1.BuildProvenance.build_options:type_name -> grafeas.v1.BuildProvenance.BuildOptionsEntry |
| 1411 |
15, // 7: grafeas.v1.Source.file_hashes:type_name -> grafeas.v1.Source.FileHashesEntry |
| 1412 |
7, // 8: grafeas.v1.Source.context:type_name -> grafeas.v1.SourceContext |
| 1413 |
7, // 9: grafeas.v1.Source.additional_contexts:type_name -> grafeas.v1.SourceContext |
| 1414 |
4, // 10: grafeas.v1.FileHashes.file_hash:type_name -> grafeas.v1.Hash |
| 1415 |
9, // 11: grafeas.v1.SourceContext.cloud_repo:type_name -> grafeas.v1.CloudRepoSourceContext |
| 1416 |
10, // 12: grafeas.v1.SourceContext.gerrit:type_name -> grafeas.v1.GerritSourceContext |
| 1417 |
11, // 13: grafeas.v1.SourceContext.git:type_name -> grafeas.v1.GitSourceContext |
| 1418 |
16, // 14: grafeas.v1.SourceContext.labels:type_name -> grafeas.v1.SourceContext.LabelsEntry |
| 1419 |
0, // 15: grafeas.v1.AliasContext.kind:type_name -> grafeas.v1.AliasContext.Kind |
| 1420 |
12, // 16: grafeas.v1.CloudRepoSourceContext.repo_id:type_name -> grafeas.v1.RepoId |
| 1421 |
8, // 17: grafeas.v1.CloudRepoSourceContext.alias_context:type_name -> grafeas.v1.AliasContext |
| 1422 |
8, // 18: grafeas.v1.GerritSourceContext.alias_context:type_name -> grafeas.v1.AliasContext |
| 1423 |
13, // 19: grafeas.v1.RepoId.project_repo_id:type_name -> grafeas.v1.ProjectRepoId |
| 1424 |
3, // 20: grafeas.v1.Source.FileHashesEntry.value:type_name -> grafeas.v1.FileHashes |
| 1425 |
21, // [21:21] is the sub-list for method output_type |
| 1426 |
21, // [21:21] is the sub-list for method input_type |
| 1427 |
21, // [21:21] is the sub-list for extension type_name |
| 1428 |
21, // [21:21] is the sub-list for extension extendee |
| 1429 |
0, // [0:21] is the sub-list for field type_name |
| 1430 |
} |
| 1431 |
|
| 1432 |
func init() { file_grafeas_v1_provenance_proto_init() } |
| 1433 |
func file_grafeas_v1_provenance_proto_init() { |
| 1434 |
if File_grafeas_v1_provenance_proto != nil { |
| 1435 |
return |
| 1436 |
} |
| 1437 |
if !protoimpl.UnsafeEnabled { |
| 1438 |
file_grafeas_v1_provenance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1439 |
switch v := v.(*BuildProvenance); i { |
| 1440 |
case 0: |
| 1441 |
return &v.state |
| 1442 |
case 1: |
| 1443 |
return &v.sizeCache |
| 1444 |
case 2: |
| 1445 |
return &v.unknownFields |
| 1446 |
default: |
| 1447 |
return nil |
| 1448 |
} |
| 1449 |
} |
| 1450 |
file_grafeas_v1_provenance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1451 |
switch v := v.(*Source); i { |
| 1452 |
case 0: |
| 1453 |
return &v.state |
| 1454 |
case 1: |
| 1455 |
return &v.sizeCache |
| 1456 |
case 2: |
| 1457 |
return &v.unknownFields |
| 1458 |
default: |
| 1459 |
return nil |
| 1460 |
} |
| 1461 |
} |
| 1462 |
file_grafeas_v1_provenance_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1463 |
switch v := v.(*FileHashes); i { |
| 1464 |
case 0: |
| 1465 |
return &v.state |
| 1466 |
case 1: |
| 1467 |
return &v.sizeCache |
| 1468 |
case 2: |
| 1469 |
return &v.unknownFields |
| 1470 |
default: |
| 1471 |
return nil |
| 1472 |
} |
| 1473 |
} |
| 1474 |
file_grafeas_v1_provenance_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1475 |
switch v := v.(*Hash); i { |
| 1476 |
case 0: |
| 1477 |
return &v.state |
| 1478 |
case 1: |
| 1479 |
return &v.sizeCache |
| 1480 |
case 2: |
| 1481 |
return &v.unknownFields |
| 1482 |
default: |
| 1483 |
return nil |
| 1484 |
} |
| 1485 |
} |
| 1486 |
file_grafeas_v1_provenance_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1487 |
switch v := v.(*Command); i { |
| 1488 |
case 0: |
| 1489 |
return &v.state |
| 1490 |
case 1: |
| 1491 |
return &v.sizeCache |
| 1492 |
case 2: |
| 1493 |
return &v.unknownFields |
| 1494 |
default: |
| 1495 |
return nil |
| 1496 |
} |
| 1497 |
} |
| 1498 |
file_grafeas_v1_provenance_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1499 |
switch v := v.(*Artifact); i { |
| 1500 |
case 0: |
| 1501 |
return &v.state |
| 1502 |
case 1: |
| 1503 |
return &v.sizeCache |
| 1504 |
case 2: |
| 1505 |
return &v.unknownFields |
| 1506 |
default: |
| 1507 |
return nil |
| 1508 |
} |
| 1509 |
} |
| 1510 |
file_grafeas_v1_provenance_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1511 |
switch v := v.(*SourceContext); i { |
| 1512 |
case 0: |
| 1513 |
return &v.state |
| 1514 |
case 1: |
| 1515 |
return &v.sizeCache |
| 1516 |
case 2: |
| 1517 |
return &v.unknownFields |
| 1518 |
default: |
| 1519 |
return nil |
| 1520 |
} |
| 1521 |
} |
| 1522 |
file_grafeas_v1_provenance_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1523 |
switch v := v.(*AliasContext); i { |
| 1524 |
case 0: |
| 1525 |
return &v.state |
| 1526 |
case 1: |
| 1527 |
return &v.sizeCache |
| 1528 |
case 2: |
| 1529 |
return &v.unknownFields |
| 1530 |
default: |
| 1531 |
return nil |
| 1532 |
} |
| 1533 |
} |
| 1534 |
file_grafeas_v1_provenance_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1535 |
switch v := v.(*CloudRepoSourceContext); i { |
| 1536 |
case 0: |
| 1537 |
return &v.state |
| 1538 |
case 1: |
| 1539 |
return &v.sizeCache |
| 1540 |
case 2: |
| 1541 |
return &v.unknownFields |
| 1542 |
default: |
| 1543 |
return nil |
| 1544 |
} |
| 1545 |
} |
| 1546 |
file_grafeas_v1_provenance_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 1547 |
switch v := v.(*GerritSourceContext); i { |
| 1548 |
case 0: |
| 1549 |
return &v.state |
| 1550 |
case 1: |
| 1551 |
return &v.sizeCache |
| 1552 |
case 2: |
| 1553 |
return &v.unknownFields |
| 1554 |
default: |
| 1555 |
return nil |
| 1556 |
} |
| 1557 |
} |
| 1558 |
file_grafeas_v1_provenance_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 1559 |
switch v := v.(*GitSourceContext); i { |
| 1560 |
case 0: |
| 1561 |
return &v.state |
| 1562 |
case 1: |
| 1563 |
return &v.sizeCache |
| 1564 |
case 2: |
| 1565 |
return &v.unknownFields |
| 1566 |
default: |
| 1567 |
return nil |
| 1568 |
} |
| 1569 |
} |
| 1570 |
file_grafeas_v1_provenance_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| 1571 |
switch v := v.(*RepoId); i { |
| 1572 |
case 0: |
| 1573 |
return &v.state |
| 1574 |
case 1: |
| 1575 |
return &v.sizeCache |
| 1576 |
case 2: |
| 1577 |
return &v.unknownFields |
| 1578 |
default: |
| 1579 |
return nil |
| 1580 |
} |
| 1581 |
} |
| 1582 |
file_grafeas_v1_provenance_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| 1583 |
switch v := v.(*ProjectRepoId); i { |
| 1584 |
case 0: |
| 1585 |
return &v.state |
| 1586 |
case 1: |
| 1587 |
return &v.sizeCache |
| 1588 |
case 2: |
| 1589 |
return &v.unknownFields |
| 1590 |
default: |
| 1591 |
return nil |
| 1592 |
} |
| 1593 |
} |
| 1594 |
} |
| 1595 |
file_grafeas_v1_provenance_proto_msgTypes[6].OneofWrappers = []interface{}{ |
| 1596 |
(*SourceContext_CloudRepo)(nil), |
| 1597 |
(*SourceContext_Gerrit)(nil), |
| 1598 |
(*SourceContext_Git)(nil), |
| 1599 |
} |
| 1600 |
file_grafeas_v1_provenance_proto_msgTypes[8].OneofWrappers = []interface{}{ |
| 1601 |
(*CloudRepoSourceContext_RevisionId)(nil), |
| 1602 |
(*CloudRepoSourceContext_AliasContext)(nil), |
| 1603 |
} |
| 1604 |
file_grafeas_v1_provenance_proto_msgTypes[9].OneofWrappers = []interface{}{ |
| 1605 |
(*GerritSourceContext_RevisionId)(nil), |
| 1606 |
(*GerritSourceContext_AliasContext)(nil), |
| 1607 |
} |
| 1608 |
file_grafeas_v1_provenance_proto_msgTypes[11].OneofWrappers = []interface{}{ |
| 1609 |
(*RepoId_ProjectRepoId)(nil), |
| 1610 |
(*RepoId_Uid)(nil), |
| 1611 |
} |
| 1612 |
type x struct{} |
| 1613 |
out := protoimpl.TypeBuilder{ |
| 1614 |
File: protoimpl.DescBuilder{ |
| 1615 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1616 |
RawDescriptor: file_grafeas_v1_provenance_proto_rawDesc, |
| 1617 |
NumEnums: 1, |
| 1618 |
NumMessages: 16, |
| 1619 |
NumExtensions: 0, |
| 1620 |
NumServices: 0, |
| 1621 |
}, |
| 1622 |
GoTypes: file_grafeas_v1_provenance_proto_goTypes, |
| 1623 |
DependencyIndexes: file_grafeas_v1_provenance_proto_depIdxs, |
| 1624 |
EnumInfos: file_grafeas_v1_provenance_proto_enumTypes, |
| 1625 |
MessageInfos: file_grafeas_v1_provenance_proto_msgTypes, |
| 1626 |
}.Build() |
| 1627 |
File_grafeas_v1_provenance_proto = out.File |
| 1628 |
file_grafeas_v1_provenance_proto_rawDesc = nil |
| 1629 |
file_grafeas_v1_provenance_proto_goTypes = nil |
| 1630 |
file_grafeas_v1_provenance_proto_depIdxs = nil |
| 1631 |
} |