1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/devtools/cloudbuild/v1/cloudbuild.proto 3 4package cloudbuild 5 6import ( 7 context "context" 8 fmt "fmt" 9 math "math" 10 11 proto "github.com/golang/protobuf/proto" 12 duration "github.com/golang/protobuf/ptypes/duration" 13 empty "github.com/golang/protobuf/ptypes/empty" 14 timestamp "github.com/golang/protobuf/ptypes/timestamp" 15 _ "google.golang.org/genproto/googleapis/api/annotations" 16 longrunning "google.golang.org/genproto/googleapis/longrunning" 17 grpc "google.golang.org/grpc" 18 codes "google.golang.org/grpc/codes" 19 status "google.golang.org/grpc/status" 20) 21 22// Reference imports to suppress errors if they are not otherwise used. 23var _ = proto.Marshal 24var _ = fmt.Errorf 25var _ = math.Inf 26 27// This is a compile-time assertion to ensure that this generated file 28// is compatible with the proto package it is being compiled against. 29// A compilation error at this line likely means your copy of the 30// proto package needs to be updated. 31const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 32 33// Possible status of a build or build step. 34type Build_Status int32 35 36const ( 37 // Status of the build is unknown. 38 Build_STATUS_UNKNOWN Build_Status = 0 39 // Build or step is queued; work has not yet begun. 40 Build_QUEUED Build_Status = 1 41 // Build or step is being executed. 42 Build_WORKING Build_Status = 2 43 // Build or step finished successfully. 44 Build_SUCCESS Build_Status = 3 45 // Build or step failed to complete successfully. 46 Build_FAILURE Build_Status = 4 47 // Build or step failed due to an internal cause. 48 Build_INTERNAL_ERROR Build_Status = 5 49 // Build or step took longer than was allowed. 50 Build_TIMEOUT Build_Status = 6 51 // Build or step was canceled by a user. 52 Build_CANCELLED Build_Status = 7 53 // Build was enqueued for longer than the value of `queue_ttl`. 54 Build_EXPIRED Build_Status = 9 55) 56 57var Build_Status_name = map[int32]string{ 58 0: "STATUS_UNKNOWN", 59 1: "QUEUED", 60 2: "WORKING", 61 3: "SUCCESS", 62 4: "FAILURE", 63 5: "INTERNAL_ERROR", 64 6: "TIMEOUT", 65 7: "CANCELLED", 66 9: "EXPIRED", 67} 68 69var Build_Status_value = map[string]int32{ 70 "STATUS_UNKNOWN": 0, 71 "QUEUED": 1, 72 "WORKING": 2, 73 "SUCCESS": 3, 74 "FAILURE": 4, 75 "INTERNAL_ERROR": 5, 76 "TIMEOUT": 6, 77 "CANCELLED": 7, 78 "EXPIRED": 9, 79} 80 81func (x Build_Status) String() string { 82 return proto.EnumName(Build_Status_name, int32(x)) 83} 84 85func (Build_Status) EnumDescriptor() ([]byte, []int) { 86 return fileDescriptor_8a9099620ac1526a, []int{10, 0} 87} 88 89// Specifies the hash algorithm, if any. 90type Hash_HashType int32 91 92const ( 93 // No hash requested. 94 Hash_NONE Hash_HashType = 0 95 // Use a sha256 hash. 96 Hash_SHA256 Hash_HashType = 1 97 // Use a md5 hash. 98 Hash_MD5 Hash_HashType = 2 99) 100 101var Hash_HashType_name = map[int32]string{ 102 0: "NONE", 103 1: "SHA256", 104 2: "MD5", 105} 106 107var Hash_HashType_value = map[string]int32{ 108 "NONE": 0, 109 "SHA256": 1, 110 "MD5": 2, 111} 112 113func (x Hash_HashType) String() string { 114 return proto.EnumName(Hash_HashType_name, int32(x)) 115} 116 117func (Hash_HashType) EnumDescriptor() ([]byte, []int) { 118 return fileDescriptor_8a9099620ac1526a, []int{16, 0} 119} 120 121// Controls behavior of Pull Request comments. 122type PullRequestFilter_CommentControl int32 123 124const ( 125 // Do not require comments on Pull Requests before builds are triggered. 126 PullRequestFilter_COMMENTS_DISABLED PullRequestFilter_CommentControl = 0 127 // Enforce that repository owners or collaborators must comment on Pull 128 // Requests before builds are triggered. 129 PullRequestFilter_COMMENTS_ENABLED PullRequestFilter_CommentControl = 1 130) 131 132var PullRequestFilter_CommentControl_name = map[int32]string{ 133 0: "COMMENTS_DISABLED", 134 1: "COMMENTS_ENABLED", 135} 136 137var PullRequestFilter_CommentControl_value = map[string]int32{ 138 "COMMENTS_DISABLED": 0, 139 "COMMENTS_ENABLED": 1, 140} 141 142func (x PullRequestFilter_CommentControl) String() string { 143 return proto.EnumName(PullRequestFilter_CommentControl_name, int32(x)) 144} 145 146func (PullRequestFilter_CommentControl) EnumDescriptor() ([]byte, []int) { 147 return fileDescriptor_8a9099620ac1526a, []int{25, 0} 148} 149 150// Specifies the manner in which the build should be verified, if at all. 151type BuildOptions_VerifyOption int32 152 153const ( 154 // Not a verifiable build. (default) 155 BuildOptions_NOT_VERIFIED BuildOptions_VerifyOption = 0 156 // Verified build. 157 BuildOptions_VERIFIED BuildOptions_VerifyOption = 1 158) 159 160var BuildOptions_VerifyOption_name = map[int32]string{ 161 0: "NOT_VERIFIED", 162 1: "VERIFIED", 163} 164 165var BuildOptions_VerifyOption_value = map[string]int32{ 166 "NOT_VERIFIED": 0, 167 "VERIFIED": 1, 168} 169 170func (x BuildOptions_VerifyOption) String() string { 171 return proto.EnumName(BuildOptions_VerifyOption_name, int32(x)) 172} 173 174func (BuildOptions_VerifyOption) EnumDescriptor() ([]byte, []int) { 175 return fileDescriptor_8a9099620ac1526a, []int{33, 0} 176} 177 178// Supported VM sizes. 179type BuildOptions_MachineType int32 180 181const ( 182 // Standard machine type. 183 BuildOptions_UNSPECIFIED BuildOptions_MachineType = 0 184 // Highcpu machine with 8 CPUs. 185 BuildOptions_N1_HIGHCPU_8 BuildOptions_MachineType = 1 186 // Highcpu machine with 32 CPUs. 187 BuildOptions_N1_HIGHCPU_32 BuildOptions_MachineType = 2 188) 189 190var BuildOptions_MachineType_name = map[int32]string{ 191 0: "UNSPECIFIED", 192 1: "N1_HIGHCPU_8", 193 2: "N1_HIGHCPU_32", 194} 195 196var BuildOptions_MachineType_value = map[string]int32{ 197 "UNSPECIFIED": 0, 198 "N1_HIGHCPU_8": 1, 199 "N1_HIGHCPU_32": 2, 200} 201 202func (x BuildOptions_MachineType) String() string { 203 return proto.EnumName(BuildOptions_MachineType_name, int32(x)) 204} 205 206func (BuildOptions_MachineType) EnumDescriptor() ([]byte, []int) { 207 return fileDescriptor_8a9099620ac1526a, []int{33, 1} 208} 209 210// Specifies the behavior when there is an error in the substitution checks. 211type BuildOptions_SubstitutionOption int32 212 213const ( 214 // Fails the build if error in substitutions checks, like missing 215 // a substitution in the template or in the map. 216 BuildOptions_MUST_MATCH BuildOptions_SubstitutionOption = 0 217 // Do not fail the build if error in substitutions checks. 218 BuildOptions_ALLOW_LOOSE BuildOptions_SubstitutionOption = 1 219) 220 221var BuildOptions_SubstitutionOption_name = map[int32]string{ 222 0: "MUST_MATCH", 223 1: "ALLOW_LOOSE", 224} 225 226var BuildOptions_SubstitutionOption_value = map[string]int32{ 227 "MUST_MATCH": 0, 228 "ALLOW_LOOSE": 1, 229} 230 231func (x BuildOptions_SubstitutionOption) String() string { 232 return proto.EnumName(BuildOptions_SubstitutionOption_name, int32(x)) 233} 234 235func (BuildOptions_SubstitutionOption) EnumDescriptor() ([]byte, []int) { 236 return fileDescriptor_8a9099620ac1526a, []int{33, 2} 237} 238 239// Specifies the behavior when writing build logs to Google Cloud Storage. 240type BuildOptions_LogStreamingOption int32 241 242const ( 243 // Service may automatically determine build log streaming behavior. 244 BuildOptions_STREAM_DEFAULT BuildOptions_LogStreamingOption = 0 245 // Build logs should be streamed to Google Cloud Storage. 246 BuildOptions_STREAM_ON BuildOptions_LogStreamingOption = 1 247 // Build logs should not be streamed to Google Cloud Storage; they will be 248 // written when the build is completed. 249 BuildOptions_STREAM_OFF BuildOptions_LogStreamingOption = 2 250) 251 252var BuildOptions_LogStreamingOption_name = map[int32]string{ 253 0: "STREAM_DEFAULT", 254 1: "STREAM_ON", 255 2: "STREAM_OFF", 256} 257 258var BuildOptions_LogStreamingOption_value = map[string]int32{ 259 "STREAM_DEFAULT": 0, 260 "STREAM_ON": 1, 261 "STREAM_OFF": 2, 262} 263 264func (x BuildOptions_LogStreamingOption) String() string { 265 return proto.EnumName(BuildOptions_LogStreamingOption_name, int32(x)) 266} 267 268func (BuildOptions_LogStreamingOption) EnumDescriptor() ([]byte, []int) { 269 return fileDescriptor_8a9099620ac1526a, []int{33, 3} 270} 271 272// Specifies the logging mode. 273type BuildOptions_LoggingMode int32 274 275const ( 276 // The service determines the logging mode. The default is `LEGACY`. Do not 277 // rely on the default logging behavior as it may change in the future. 278 BuildOptions_LOGGING_UNSPECIFIED BuildOptions_LoggingMode = 0 279 // Stackdriver logging and Cloud Storage logging are enabled. 280 BuildOptions_LEGACY BuildOptions_LoggingMode = 1 281 // Only Cloud Storage logging is enabled. 282 BuildOptions_GCS_ONLY BuildOptions_LoggingMode = 2 283) 284 285var BuildOptions_LoggingMode_name = map[int32]string{ 286 0: "LOGGING_UNSPECIFIED", 287 1: "LEGACY", 288 2: "GCS_ONLY", 289} 290 291var BuildOptions_LoggingMode_value = map[string]int32{ 292 "LOGGING_UNSPECIFIED": 0, 293 "LEGACY": 1, 294 "GCS_ONLY": 2, 295} 296 297func (x BuildOptions_LoggingMode) String() string { 298 return proto.EnumName(BuildOptions_LoggingMode_name, int32(x)) 299} 300 301func (BuildOptions_LoggingMode) EnumDescriptor() ([]byte, []int) { 302 return fileDescriptor_8a9099620ac1526a, []int{33, 4} 303} 304 305// Supported GCP regions to create the `WorkerPool`. 306type WorkerPool_Region int32 307 308const ( 309 // no region 310 WorkerPool_REGION_UNSPECIFIED WorkerPool_Region = 0 311 // us-central1 region 312 WorkerPool_US_CENTRAL1 WorkerPool_Region = 1 313 // us-west1 region 314 WorkerPool_US_WEST1 WorkerPool_Region = 2 315 // us-east1 region 316 WorkerPool_US_EAST1 WorkerPool_Region = 3 317 // us-east4 region 318 WorkerPool_US_EAST4 WorkerPool_Region = 4 319) 320 321var WorkerPool_Region_name = map[int32]string{ 322 0: "REGION_UNSPECIFIED", 323 1: "US_CENTRAL1", 324 2: "US_WEST1", 325 3: "US_EAST1", 326 4: "US_EAST4", 327} 328 329var WorkerPool_Region_value = map[string]int32{ 330 "REGION_UNSPECIFIED": 0, 331 "US_CENTRAL1": 1, 332 "US_WEST1": 2, 333 "US_EAST1": 3, 334 "US_EAST4": 4, 335} 336 337func (x WorkerPool_Region) String() string { 338 return proto.EnumName(WorkerPool_Region_name, int32(x)) 339} 340 341func (WorkerPool_Region) EnumDescriptor() ([]byte, []int) { 342 return fileDescriptor_8a9099620ac1526a, []int{34, 0} 343} 344 345// `WorkerPool` status 346type WorkerPool_Status int32 347 348const ( 349 // Status of the `WorkerPool` is unknown. 350 WorkerPool_STATUS_UNSPECIFIED WorkerPool_Status = 0 351 // `WorkerPool` is being created. 352 WorkerPool_CREATING WorkerPool_Status = 1 353 // `WorkerPool` is running. 354 WorkerPool_RUNNING WorkerPool_Status = 2 355 // `WorkerPool` is being deleted: cancelling builds and draining workers. 356 WorkerPool_DELETING WorkerPool_Status = 3 357 // `WorkerPool` is deleted. 358 WorkerPool_DELETED WorkerPool_Status = 4 359) 360 361var WorkerPool_Status_name = map[int32]string{ 362 0: "STATUS_UNSPECIFIED", 363 1: "CREATING", 364 2: "RUNNING", 365 3: "DELETING", 366 4: "DELETED", 367} 368 369var WorkerPool_Status_value = map[string]int32{ 370 "STATUS_UNSPECIFIED": 0, 371 "CREATING": 1, 372 "RUNNING": 2, 373 "DELETING": 3, 374 "DELETED": 4, 375} 376 377func (x WorkerPool_Status) String() string { 378 return proto.EnumName(WorkerPool_Status_name, int32(x)) 379} 380 381func (WorkerPool_Status) EnumDescriptor() ([]byte, []int) { 382 return fileDescriptor_8a9099620ac1526a, []int{34, 1} 383} 384 385// Specifies a build to retry. 386type RetryBuildRequest struct { 387 // Required. ID of the project. 388 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 389 // Required. Build ID of the original build. 390 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 391 XXX_NoUnkeyedLiteral struct{} `json:"-"` 392 XXX_unrecognized []byte `json:"-"` 393 XXX_sizecache int32 `json:"-"` 394} 395 396func (m *RetryBuildRequest) Reset() { *m = RetryBuildRequest{} } 397func (m *RetryBuildRequest) String() string { return proto.CompactTextString(m) } 398func (*RetryBuildRequest) ProtoMessage() {} 399func (*RetryBuildRequest) Descriptor() ([]byte, []int) { 400 return fileDescriptor_8a9099620ac1526a, []int{0} 401} 402 403func (m *RetryBuildRequest) XXX_Unmarshal(b []byte) error { 404 return xxx_messageInfo_RetryBuildRequest.Unmarshal(m, b) 405} 406func (m *RetryBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 407 return xxx_messageInfo_RetryBuildRequest.Marshal(b, m, deterministic) 408} 409func (m *RetryBuildRequest) XXX_Merge(src proto.Message) { 410 xxx_messageInfo_RetryBuildRequest.Merge(m, src) 411} 412func (m *RetryBuildRequest) XXX_Size() int { 413 return xxx_messageInfo_RetryBuildRequest.Size(m) 414} 415func (m *RetryBuildRequest) XXX_DiscardUnknown() { 416 xxx_messageInfo_RetryBuildRequest.DiscardUnknown(m) 417} 418 419var xxx_messageInfo_RetryBuildRequest proto.InternalMessageInfo 420 421func (m *RetryBuildRequest) GetProjectId() string { 422 if m != nil { 423 return m.ProjectId 424 } 425 return "" 426} 427 428func (m *RetryBuildRequest) GetId() string { 429 if m != nil { 430 return m.Id 431 } 432 return "" 433} 434 435// Specifies a build trigger to run and the source to use. 436type RunBuildTriggerRequest struct { 437 // Required. ID of the project. 438 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 439 // Required. ID of the trigger. 440 TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` 441 // Required. Source to build against this trigger. 442 Source *RepoSource `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` 443 XXX_NoUnkeyedLiteral struct{} `json:"-"` 444 XXX_unrecognized []byte `json:"-"` 445 XXX_sizecache int32 `json:"-"` 446} 447 448func (m *RunBuildTriggerRequest) Reset() { *m = RunBuildTriggerRequest{} } 449func (m *RunBuildTriggerRequest) String() string { return proto.CompactTextString(m) } 450func (*RunBuildTriggerRequest) ProtoMessage() {} 451func (*RunBuildTriggerRequest) Descriptor() ([]byte, []int) { 452 return fileDescriptor_8a9099620ac1526a, []int{1} 453} 454 455func (m *RunBuildTriggerRequest) XXX_Unmarshal(b []byte) error { 456 return xxx_messageInfo_RunBuildTriggerRequest.Unmarshal(m, b) 457} 458func (m *RunBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 459 return xxx_messageInfo_RunBuildTriggerRequest.Marshal(b, m, deterministic) 460} 461func (m *RunBuildTriggerRequest) XXX_Merge(src proto.Message) { 462 xxx_messageInfo_RunBuildTriggerRequest.Merge(m, src) 463} 464func (m *RunBuildTriggerRequest) XXX_Size() int { 465 return xxx_messageInfo_RunBuildTriggerRequest.Size(m) 466} 467func (m *RunBuildTriggerRequest) XXX_DiscardUnknown() { 468 xxx_messageInfo_RunBuildTriggerRequest.DiscardUnknown(m) 469} 470 471var xxx_messageInfo_RunBuildTriggerRequest proto.InternalMessageInfo 472 473func (m *RunBuildTriggerRequest) GetProjectId() string { 474 if m != nil { 475 return m.ProjectId 476 } 477 return "" 478} 479 480func (m *RunBuildTriggerRequest) GetTriggerId() string { 481 if m != nil { 482 return m.TriggerId 483 } 484 return "" 485} 486 487func (m *RunBuildTriggerRequest) GetSource() *RepoSource { 488 if m != nil { 489 return m.Source 490 } 491 return nil 492} 493 494// Location of the source in an archive file in Google Cloud Storage. 495type StorageSource struct { 496 // Google Cloud Storage bucket containing the source (see 497 // [Bucket Name 498 // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). 499 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 500 // Google Cloud Storage object containing the source. 501 // 502 // This object must be a gzipped archive file (`.tar.gz`) containing source to 503 // build. 504 Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 505 // Google Cloud Storage generation for the object. If the generation is 506 // omitted, the latest generation will be used. 507 Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` 508 XXX_NoUnkeyedLiteral struct{} `json:"-"` 509 XXX_unrecognized []byte `json:"-"` 510 XXX_sizecache int32 `json:"-"` 511} 512 513func (m *StorageSource) Reset() { *m = StorageSource{} } 514func (m *StorageSource) String() string { return proto.CompactTextString(m) } 515func (*StorageSource) ProtoMessage() {} 516func (*StorageSource) Descriptor() ([]byte, []int) { 517 return fileDescriptor_8a9099620ac1526a, []int{2} 518} 519 520func (m *StorageSource) XXX_Unmarshal(b []byte) error { 521 return xxx_messageInfo_StorageSource.Unmarshal(m, b) 522} 523func (m *StorageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 524 return xxx_messageInfo_StorageSource.Marshal(b, m, deterministic) 525} 526func (m *StorageSource) XXX_Merge(src proto.Message) { 527 xxx_messageInfo_StorageSource.Merge(m, src) 528} 529func (m *StorageSource) XXX_Size() int { 530 return xxx_messageInfo_StorageSource.Size(m) 531} 532func (m *StorageSource) XXX_DiscardUnknown() { 533 xxx_messageInfo_StorageSource.DiscardUnknown(m) 534} 535 536var xxx_messageInfo_StorageSource proto.InternalMessageInfo 537 538func (m *StorageSource) GetBucket() string { 539 if m != nil { 540 return m.Bucket 541 } 542 return "" 543} 544 545func (m *StorageSource) GetObject() string { 546 if m != nil { 547 return m.Object 548 } 549 return "" 550} 551 552func (m *StorageSource) GetGeneration() int64 { 553 if m != nil { 554 return m.Generation 555 } 556 return 0 557} 558 559// Location of the source in a Google Cloud Source Repository. 560type RepoSource struct { 561 // ID of the project that owns the Cloud Source Repository. If omitted, the 562 // project ID requesting the build is assumed. 563 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 564 // Required. Name of the Cloud Source Repository. 565 RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` 566 // A revision within the Cloud Source Repository must be specified in 567 // one of these ways. 568 // 569 // Types that are valid to be assigned to Revision: 570 // *RepoSource_BranchName 571 // *RepoSource_TagName 572 // *RepoSource_CommitSha 573 Revision isRepoSource_Revision `protobuf_oneof:"revision"` 574 // Directory, relative to the source root, in which to run the build. 575 // 576 // This must be a relative path. If a step's `dir` is specified and is an 577 // absolute path, this value is ignored for that step's execution. 578 Dir string `protobuf:"bytes,7,opt,name=dir,proto3" json:"dir,omitempty"` 579 // Only trigger a build if the revision regex does NOT match the revision 580 // regex. 581 InvertRegex bool `protobuf:"varint,8,opt,name=invert_regex,json=invertRegex,proto3" json:"invert_regex,omitempty"` 582 // Substitutions to use in a triggered build. 583 // Should only be used with RunBuildTrigger 584 Substitutions map[string]string `protobuf:"bytes,9,rep,name=substitutions,proto3" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 585 XXX_NoUnkeyedLiteral struct{} `json:"-"` 586 XXX_unrecognized []byte `json:"-"` 587 XXX_sizecache int32 `json:"-"` 588} 589 590func (m *RepoSource) Reset() { *m = RepoSource{} } 591func (m *RepoSource) String() string { return proto.CompactTextString(m) } 592func (*RepoSource) ProtoMessage() {} 593func (*RepoSource) Descriptor() ([]byte, []int) { 594 return fileDescriptor_8a9099620ac1526a, []int{3} 595} 596 597func (m *RepoSource) XXX_Unmarshal(b []byte) error { 598 return xxx_messageInfo_RepoSource.Unmarshal(m, b) 599} 600func (m *RepoSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 601 return xxx_messageInfo_RepoSource.Marshal(b, m, deterministic) 602} 603func (m *RepoSource) XXX_Merge(src proto.Message) { 604 xxx_messageInfo_RepoSource.Merge(m, src) 605} 606func (m *RepoSource) XXX_Size() int { 607 return xxx_messageInfo_RepoSource.Size(m) 608} 609func (m *RepoSource) XXX_DiscardUnknown() { 610 xxx_messageInfo_RepoSource.DiscardUnknown(m) 611} 612 613var xxx_messageInfo_RepoSource proto.InternalMessageInfo 614 615func (m *RepoSource) GetProjectId() string { 616 if m != nil { 617 return m.ProjectId 618 } 619 return "" 620} 621 622func (m *RepoSource) GetRepoName() string { 623 if m != nil { 624 return m.RepoName 625 } 626 return "" 627} 628 629type isRepoSource_Revision interface { 630 isRepoSource_Revision() 631} 632 633type RepoSource_BranchName struct { 634 BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3,oneof"` 635} 636 637type RepoSource_TagName struct { 638 TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,proto3,oneof"` 639} 640 641type RepoSource_CommitSha struct { 642 CommitSha string `protobuf:"bytes,5,opt,name=commit_sha,json=commitSha,proto3,oneof"` 643} 644 645func (*RepoSource_BranchName) isRepoSource_Revision() {} 646 647func (*RepoSource_TagName) isRepoSource_Revision() {} 648 649func (*RepoSource_CommitSha) isRepoSource_Revision() {} 650 651func (m *RepoSource) GetRevision() isRepoSource_Revision { 652 if m != nil { 653 return m.Revision 654 } 655 return nil 656} 657 658func (m *RepoSource) GetBranchName() string { 659 if x, ok := m.GetRevision().(*RepoSource_BranchName); ok { 660 return x.BranchName 661 } 662 return "" 663} 664 665func (m *RepoSource) GetTagName() string { 666 if x, ok := m.GetRevision().(*RepoSource_TagName); ok { 667 return x.TagName 668 } 669 return "" 670} 671 672func (m *RepoSource) GetCommitSha() string { 673 if x, ok := m.GetRevision().(*RepoSource_CommitSha); ok { 674 return x.CommitSha 675 } 676 return "" 677} 678 679func (m *RepoSource) GetDir() string { 680 if m != nil { 681 return m.Dir 682 } 683 return "" 684} 685 686func (m *RepoSource) GetInvertRegex() bool { 687 if m != nil { 688 return m.InvertRegex 689 } 690 return false 691} 692 693func (m *RepoSource) GetSubstitutions() map[string]string { 694 if m != nil { 695 return m.Substitutions 696 } 697 return nil 698} 699 700// XXX_OneofWrappers is for the internal use of the proto package. 701func (*RepoSource) XXX_OneofWrappers() []interface{} { 702 return []interface{}{ 703 (*RepoSource_BranchName)(nil), 704 (*RepoSource_TagName)(nil), 705 (*RepoSource_CommitSha)(nil), 706 } 707} 708 709// Location of the source in a supported storage service. 710type Source struct { 711 // Location of source. 712 // 713 // Types that are valid to be assigned to Source: 714 // *Source_StorageSource 715 // *Source_RepoSource 716 Source isSource_Source `protobuf_oneof:"source"` 717 XXX_NoUnkeyedLiteral struct{} `json:"-"` 718 XXX_unrecognized []byte `json:"-"` 719 XXX_sizecache int32 `json:"-"` 720} 721 722func (m *Source) Reset() { *m = Source{} } 723func (m *Source) String() string { return proto.CompactTextString(m) } 724func (*Source) ProtoMessage() {} 725func (*Source) Descriptor() ([]byte, []int) { 726 return fileDescriptor_8a9099620ac1526a, []int{4} 727} 728 729func (m *Source) XXX_Unmarshal(b []byte) error { 730 return xxx_messageInfo_Source.Unmarshal(m, b) 731} 732func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 733 return xxx_messageInfo_Source.Marshal(b, m, deterministic) 734} 735func (m *Source) XXX_Merge(src proto.Message) { 736 xxx_messageInfo_Source.Merge(m, src) 737} 738func (m *Source) XXX_Size() int { 739 return xxx_messageInfo_Source.Size(m) 740} 741func (m *Source) XXX_DiscardUnknown() { 742 xxx_messageInfo_Source.DiscardUnknown(m) 743} 744 745var xxx_messageInfo_Source proto.InternalMessageInfo 746 747type isSource_Source interface { 748 isSource_Source() 749} 750 751type Source_StorageSource struct { 752 StorageSource *StorageSource `protobuf:"bytes,2,opt,name=storage_source,json=storageSource,proto3,oneof"` 753} 754 755type Source_RepoSource struct { 756 RepoSource *RepoSource `protobuf:"bytes,3,opt,name=repo_source,json=repoSource,proto3,oneof"` 757} 758 759func (*Source_StorageSource) isSource_Source() {} 760 761func (*Source_RepoSource) isSource_Source() {} 762 763func (m *Source) GetSource() isSource_Source { 764 if m != nil { 765 return m.Source 766 } 767 return nil 768} 769 770func (m *Source) GetStorageSource() *StorageSource { 771 if x, ok := m.GetSource().(*Source_StorageSource); ok { 772 return x.StorageSource 773 } 774 return nil 775} 776 777func (m *Source) GetRepoSource() *RepoSource { 778 if x, ok := m.GetSource().(*Source_RepoSource); ok { 779 return x.RepoSource 780 } 781 return nil 782} 783 784// XXX_OneofWrappers is for the internal use of the proto package. 785func (*Source) XXX_OneofWrappers() []interface{} { 786 return []interface{}{ 787 (*Source_StorageSource)(nil), 788 (*Source_RepoSource)(nil), 789 } 790} 791 792// An image built by the pipeline. 793type BuiltImage struct { 794 // Name used to push the container image to Google Container Registry, as 795 // presented to `docker push`. 796 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 797 // Docker Registry 2.0 digest. 798 Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` 799 // Output only. Stores timing information for pushing the specified image. 800 PushTiming *TimeSpan `protobuf:"bytes,4,opt,name=push_timing,json=pushTiming,proto3" json:"push_timing,omitempty"` 801 XXX_NoUnkeyedLiteral struct{} `json:"-"` 802 XXX_unrecognized []byte `json:"-"` 803 XXX_sizecache int32 `json:"-"` 804} 805 806func (m *BuiltImage) Reset() { *m = BuiltImage{} } 807func (m *BuiltImage) String() string { return proto.CompactTextString(m) } 808func (*BuiltImage) ProtoMessage() {} 809func (*BuiltImage) Descriptor() ([]byte, []int) { 810 return fileDescriptor_8a9099620ac1526a, []int{5} 811} 812 813func (m *BuiltImage) XXX_Unmarshal(b []byte) error { 814 return xxx_messageInfo_BuiltImage.Unmarshal(m, b) 815} 816func (m *BuiltImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 817 return xxx_messageInfo_BuiltImage.Marshal(b, m, deterministic) 818} 819func (m *BuiltImage) XXX_Merge(src proto.Message) { 820 xxx_messageInfo_BuiltImage.Merge(m, src) 821} 822func (m *BuiltImage) XXX_Size() int { 823 return xxx_messageInfo_BuiltImage.Size(m) 824} 825func (m *BuiltImage) XXX_DiscardUnknown() { 826 xxx_messageInfo_BuiltImage.DiscardUnknown(m) 827} 828 829var xxx_messageInfo_BuiltImage proto.InternalMessageInfo 830 831func (m *BuiltImage) GetName() string { 832 if m != nil { 833 return m.Name 834 } 835 return "" 836} 837 838func (m *BuiltImage) GetDigest() string { 839 if m != nil { 840 return m.Digest 841 } 842 return "" 843} 844 845func (m *BuiltImage) GetPushTiming() *TimeSpan { 846 if m != nil { 847 return m.PushTiming 848 } 849 return nil 850} 851 852// A step in the build pipeline. 853type BuildStep struct { 854 // Required. The name of the container image that will run this particular 855 // build step. 856 // 857 // If the image is available in the host's Docker daemon's cache, it 858 // will be run directly. If not, the host will attempt to pull the image 859 // first, using the builder service account's credentials if necessary. 860 // 861 // The Docker daemon's cache will already have the latest versions of all of 862 // the officially supported build steps 863 // ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). 864 // The Docker daemon will also have cached many of the layers for some popular 865 // images, like "ubuntu", "debian", but they will be refreshed at the time you 866 // attempt to use them. 867 // 868 // If you built an image in a previous build step, it will be stored in the 869 // host's Docker daemon's cache and is available to use as the name for a 870 // later build step. 871 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 872 // A list of environment variable definitions to be used when running a step. 873 // 874 // The elements are of the form "KEY=VALUE" for the environment variable "KEY" 875 // being given the value "VALUE". 876 Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"` 877 // A list of arguments that will be presented to the step when it is started. 878 // 879 // If the image used to run the step's container has an entrypoint, the `args` 880 // are used as arguments to that entrypoint. If the image does not define 881 // an entrypoint, the first element in args is used as the entrypoint, 882 // and the remainder will be used as arguments. 883 Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` 884 // Working directory to use when running this step's container. 885 // 886 // If this value is a relative path, it is relative to the build's working 887 // directory. If this value is absolute, it may be outside the build's working 888 // directory, in which case the contents of the path may not be persisted 889 // across build step executions, unless a `volume` for that path is specified. 890 // 891 // If the build specifies a `RepoSource` with `dir` and a step with a `dir`, 892 // which specifies an absolute path, the `RepoSource` `dir` is ignored for 893 // the step's execution. 894 Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"` 895 // Unique identifier for this build step, used in `wait_for` to 896 // reference this build step as a dependency. 897 Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` 898 // The ID(s) of the step(s) that this build step depends on. 899 // This build step will not start until all the build steps in `wait_for` 900 // have completed successfully. If `wait_for` is empty, this build step will 901 // start when all previous build steps in the `Build.Steps` list have 902 // completed successfully. 903 WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"` 904 // Entrypoint to be used instead of the build step image's default entrypoint. 905 // If unset, the image's default entrypoint is used. 906 Entrypoint string `protobuf:"bytes,7,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` 907 // A list of environment variables which are encrypted using a Cloud Key 908 // Management Service crypto key. These values must be specified in the 909 // build's `Secret`. 910 SecretEnv []string `protobuf:"bytes,8,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty"` 911 // List of volumes to mount into the build step. 912 // 913 // Each volume is created as an empty volume prior to execution of the 914 // build step. Upon completion of the build, volumes and their contents are 915 // discarded. 916 // 917 // Using a named volume in only one step is not valid as it is indicative 918 // of a build request with an incorrect configuration. 919 Volumes []*Volume `protobuf:"bytes,9,rep,name=volumes,proto3" json:"volumes,omitempty"` 920 // Output only. Stores timing information for executing this build step. 921 Timing *TimeSpan `protobuf:"bytes,10,opt,name=timing,proto3" json:"timing,omitempty"` 922 // Output only. Stores timing information for pulling this build step's 923 // builder image only. 924 PullTiming *TimeSpan `protobuf:"bytes,13,opt,name=pull_timing,json=pullTiming,proto3" json:"pull_timing,omitempty"` 925 // Time limit for executing this build step. If not defined, the step has no 926 // time limit and will be allowed to continue to run until either it completes 927 // or the build itself times out. 928 Timeout *duration.Duration `protobuf:"bytes,11,opt,name=timeout,proto3" json:"timeout,omitempty"` 929 // Output only. Status of the build step. At this time, build step status is 930 // only updated on build completion; step status is not updated in real-time 931 // as the build progresses. 932 Status Build_Status `protobuf:"varint,12,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"` 933 XXX_NoUnkeyedLiteral struct{} `json:"-"` 934 XXX_unrecognized []byte `json:"-"` 935 XXX_sizecache int32 `json:"-"` 936} 937 938func (m *BuildStep) Reset() { *m = BuildStep{} } 939func (m *BuildStep) String() string { return proto.CompactTextString(m) } 940func (*BuildStep) ProtoMessage() {} 941func (*BuildStep) Descriptor() ([]byte, []int) { 942 return fileDescriptor_8a9099620ac1526a, []int{6} 943} 944 945func (m *BuildStep) XXX_Unmarshal(b []byte) error { 946 return xxx_messageInfo_BuildStep.Unmarshal(m, b) 947} 948func (m *BuildStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 949 return xxx_messageInfo_BuildStep.Marshal(b, m, deterministic) 950} 951func (m *BuildStep) XXX_Merge(src proto.Message) { 952 xxx_messageInfo_BuildStep.Merge(m, src) 953} 954func (m *BuildStep) XXX_Size() int { 955 return xxx_messageInfo_BuildStep.Size(m) 956} 957func (m *BuildStep) XXX_DiscardUnknown() { 958 xxx_messageInfo_BuildStep.DiscardUnknown(m) 959} 960 961var xxx_messageInfo_BuildStep proto.InternalMessageInfo 962 963func (m *BuildStep) GetName() string { 964 if m != nil { 965 return m.Name 966 } 967 return "" 968} 969 970func (m *BuildStep) GetEnv() []string { 971 if m != nil { 972 return m.Env 973 } 974 return nil 975} 976 977func (m *BuildStep) GetArgs() []string { 978 if m != nil { 979 return m.Args 980 } 981 return nil 982} 983 984func (m *BuildStep) GetDir() string { 985 if m != nil { 986 return m.Dir 987 } 988 return "" 989} 990 991func (m *BuildStep) GetId() string { 992 if m != nil { 993 return m.Id 994 } 995 return "" 996} 997 998func (m *BuildStep) GetWaitFor() []string { 999 if m != nil { 1000 return m.WaitFor 1001 } 1002 return nil 1003} 1004 1005func (m *BuildStep) GetEntrypoint() string { 1006 if m != nil { 1007 return m.Entrypoint 1008 } 1009 return "" 1010} 1011 1012func (m *BuildStep) GetSecretEnv() []string { 1013 if m != nil { 1014 return m.SecretEnv 1015 } 1016 return nil 1017} 1018 1019func (m *BuildStep) GetVolumes() []*Volume { 1020 if m != nil { 1021 return m.Volumes 1022 } 1023 return nil 1024} 1025 1026func (m *BuildStep) GetTiming() *TimeSpan { 1027 if m != nil { 1028 return m.Timing 1029 } 1030 return nil 1031} 1032 1033func (m *BuildStep) GetPullTiming() *TimeSpan { 1034 if m != nil { 1035 return m.PullTiming 1036 } 1037 return nil 1038} 1039 1040func (m *BuildStep) GetTimeout() *duration.Duration { 1041 if m != nil { 1042 return m.Timeout 1043 } 1044 return nil 1045} 1046 1047func (m *BuildStep) GetStatus() Build_Status { 1048 if m != nil { 1049 return m.Status 1050 } 1051 return Build_STATUS_UNKNOWN 1052} 1053 1054// Volume describes a Docker container volume which is mounted into build steps 1055// in order to persist files across build step execution. 1056type Volume struct { 1057 // Name of the volume to mount. 1058 // 1059 // Volume names must be unique per build step and must be valid names for 1060 // Docker volumes. Each named volume must be used by at least two build steps. 1061 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1062 // Path at which to mount the volume. 1063 // 1064 // Paths must be absolute and cannot conflict with other volume paths on the 1065 // same build step or with certain reserved volume paths. 1066 Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` 1067 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1068 XXX_unrecognized []byte `json:"-"` 1069 XXX_sizecache int32 `json:"-"` 1070} 1071 1072func (m *Volume) Reset() { *m = Volume{} } 1073func (m *Volume) String() string { return proto.CompactTextString(m) } 1074func (*Volume) ProtoMessage() {} 1075func (*Volume) Descriptor() ([]byte, []int) { 1076 return fileDescriptor_8a9099620ac1526a, []int{7} 1077} 1078 1079func (m *Volume) XXX_Unmarshal(b []byte) error { 1080 return xxx_messageInfo_Volume.Unmarshal(m, b) 1081} 1082func (m *Volume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1083 return xxx_messageInfo_Volume.Marshal(b, m, deterministic) 1084} 1085func (m *Volume) XXX_Merge(src proto.Message) { 1086 xxx_messageInfo_Volume.Merge(m, src) 1087} 1088func (m *Volume) XXX_Size() int { 1089 return xxx_messageInfo_Volume.Size(m) 1090} 1091func (m *Volume) XXX_DiscardUnknown() { 1092 xxx_messageInfo_Volume.DiscardUnknown(m) 1093} 1094 1095var xxx_messageInfo_Volume proto.InternalMessageInfo 1096 1097func (m *Volume) GetName() string { 1098 if m != nil { 1099 return m.Name 1100 } 1101 return "" 1102} 1103 1104func (m *Volume) GetPath() string { 1105 if m != nil { 1106 return m.Path 1107 } 1108 return "" 1109} 1110 1111// Artifacts created by the build pipeline. 1112type Results struct { 1113 // Container images that were built as a part of the build. 1114 Images []*BuiltImage `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty"` 1115 // List of build step digests, in the order corresponding to build step 1116 // indices. 1117 BuildStepImages []string `protobuf:"bytes,3,rep,name=build_step_images,json=buildStepImages,proto3" json:"build_step_images,omitempty"` 1118 // Path to the artifact manifest. Only populated when artifacts are uploaded. 1119 ArtifactManifest string `protobuf:"bytes,4,opt,name=artifact_manifest,json=artifactManifest,proto3" json:"artifact_manifest,omitempty"` 1120 // Number of artifacts uploaded. Only populated when artifacts are uploaded. 1121 NumArtifacts int64 `protobuf:"varint,5,opt,name=num_artifacts,json=numArtifacts,proto3" json:"num_artifacts,omitempty"` 1122 // List of build step outputs, produced by builder images, in the order 1123 // corresponding to build step indices. 1124 // 1125 // [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) 1126 // can produce this output by writing to `$BUILDER_OUTPUT/output`. 1127 // Only the first 4KB of data is stored. 1128 BuildStepOutputs [][]byte `protobuf:"bytes,6,rep,name=build_step_outputs,json=buildStepOutputs,proto3" json:"build_step_outputs,omitempty"` 1129 // Time to push all non-container artifacts. 1130 ArtifactTiming *TimeSpan `protobuf:"bytes,7,opt,name=artifact_timing,json=artifactTiming,proto3" json:"artifact_timing,omitempty"` 1131 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1132 XXX_unrecognized []byte `json:"-"` 1133 XXX_sizecache int32 `json:"-"` 1134} 1135 1136func (m *Results) Reset() { *m = Results{} } 1137func (m *Results) String() string { return proto.CompactTextString(m) } 1138func (*Results) ProtoMessage() {} 1139func (*Results) Descriptor() ([]byte, []int) { 1140 return fileDescriptor_8a9099620ac1526a, []int{8} 1141} 1142 1143func (m *Results) XXX_Unmarshal(b []byte) error { 1144 return xxx_messageInfo_Results.Unmarshal(m, b) 1145} 1146func (m *Results) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1147 return xxx_messageInfo_Results.Marshal(b, m, deterministic) 1148} 1149func (m *Results) XXX_Merge(src proto.Message) { 1150 xxx_messageInfo_Results.Merge(m, src) 1151} 1152func (m *Results) XXX_Size() int { 1153 return xxx_messageInfo_Results.Size(m) 1154} 1155func (m *Results) XXX_DiscardUnknown() { 1156 xxx_messageInfo_Results.DiscardUnknown(m) 1157} 1158 1159var xxx_messageInfo_Results proto.InternalMessageInfo 1160 1161func (m *Results) GetImages() []*BuiltImage { 1162 if m != nil { 1163 return m.Images 1164 } 1165 return nil 1166} 1167 1168func (m *Results) GetBuildStepImages() []string { 1169 if m != nil { 1170 return m.BuildStepImages 1171 } 1172 return nil 1173} 1174 1175func (m *Results) GetArtifactManifest() string { 1176 if m != nil { 1177 return m.ArtifactManifest 1178 } 1179 return "" 1180} 1181 1182func (m *Results) GetNumArtifacts() int64 { 1183 if m != nil { 1184 return m.NumArtifacts 1185 } 1186 return 0 1187} 1188 1189func (m *Results) GetBuildStepOutputs() [][]byte { 1190 if m != nil { 1191 return m.BuildStepOutputs 1192 } 1193 return nil 1194} 1195 1196func (m *Results) GetArtifactTiming() *TimeSpan { 1197 if m != nil { 1198 return m.ArtifactTiming 1199 } 1200 return nil 1201} 1202 1203// An artifact that was uploaded during a build. This 1204// is a single record in the artifact manifest JSON file. 1205type ArtifactResult struct { 1206 // The path of an artifact in a Google Cloud Storage bucket, with the 1207 // generation number. For example, 1208 // `gs://mybucket/path/to/output.jar#generation`. 1209 Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` 1210 // The file hash of the artifact. 1211 FileHash []*FileHashes `protobuf:"bytes,2,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` 1212 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1213 XXX_unrecognized []byte `json:"-"` 1214 XXX_sizecache int32 `json:"-"` 1215} 1216 1217func (m *ArtifactResult) Reset() { *m = ArtifactResult{} } 1218func (m *ArtifactResult) String() string { return proto.CompactTextString(m) } 1219func (*ArtifactResult) ProtoMessage() {} 1220func (*ArtifactResult) Descriptor() ([]byte, []int) { 1221 return fileDescriptor_8a9099620ac1526a, []int{9} 1222} 1223 1224func (m *ArtifactResult) XXX_Unmarshal(b []byte) error { 1225 return xxx_messageInfo_ArtifactResult.Unmarshal(m, b) 1226} 1227func (m *ArtifactResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1228 return xxx_messageInfo_ArtifactResult.Marshal(b, m, deterministic) 1229} 1230func (m *ArtifactResult) XXX_Merge(src proto.Message) { 1231 xxx_messageInfo_ArtifactResult.Merge(m, src) 1232} 1233func (m *ArtifactResult) XXX_Size() int { 1234 return xxx_messageInfo_ArtifactResult.Size(m) 1235} 1236func (m *ArtifactResult) XXX_DiscardUnknown() { 1237 xxx_messageInfo_ArtifactResult.DiscardUnknown(m) 1238} 1239 1240var xxx_messageInfo_ArtifactResult proto.InternalMessageInfo 1241 1242func (m *ArtifactResult) GetLocation() string { 1243 if m != nil { 1244 return m.Location 1245 } 1246 return "" 1247} 1248 1249func (m *ArtifactResult) GetFileHash() []*FileHashes { 1250 if m != nil { 1251 return m.FileHash 1252 } 1253 return nil 1254} 1255 1256// A build resource in the Cloud Build API. 1257// 1258// At a high level, a `Build` describes where to find source code, how to build 1259// it (for example, the builder image to run on the source), and where to store 1260// the built artifacts. 1261// 1262// Fields can include the following variables, which will be expanded when the 1263// build is created: 1264// 1265// - $PROJECT_ID: the project ID of the build. 1266// - $BUILD_ID: the autogenerated ID of the build. 1267// - $REPO_NAME: the source repository name specified by RepoSource. 1268// - $BRANCH_NAME: the branch name specified by RepoSource. 1269// - $TAG_NAME: the tag name specified by RepoSource. 1270// - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or 1271// resolved from the specified branch or tag. 1272// - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA. 1273type Build struct { 1274 // Output only. Unique identifier of the build. 1275 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 1276 // Output only. ID of the project. 1277 ProjectId string `protobuf:"bytes,16,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 1278 // Output only. Status of the build. 1279 Status Build_Status `protobuf:"varint,2,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"` 1280 // Output only. Customer-readable message about the current status. 1281 StatusDetail string `protobuf:"bytes,24,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"` 1282 // The location of the source files to build. 1283 Source *Source `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` 1284 // Required. The operations to be performed on the workspace. 1285 Steps []*BuildStep `protobuf:"bytes,11,rep,name=steps,proto3" json:"steps,omitempty"` 1286 // Output only. Results of the build. 1287 Results *Results `protobuf:"bytes,10,opt,name=results,proto3" json:"results,omitempty"` 1288 // Output only. Time at which the request to create the build was received. 1289 CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 1290 // Output only. Time at which execution of the build was started. 1291 StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` 1292 // Output only. Time at which execution of the build was finished. 1293 // 1294 // The difference between finish_time and start_time is the duration of the 1295 // build's execution. 1296 FinishTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` 1297 // Amount of time that this build should be allowed to run, to second 1298 // granularity. If this amount of time elapses, work on the build will cease 1299 // and the build status will be `TIMEOUT`. 1300 // 1301 // Default time is ten minutes. 1302 Timeout *duration.Duration `protobuf:"bytes,12,opt,name=timeout,proto3" json:"timeout,omitempty"` 1303 // A list of images to be pushed upon the successful completion of all build 1304 // steps. 1305 // 1306 // The images are pushed using the builder service account's credentials. 1307 // 1308 // The digests of the pushed images will be stored in the `Build` resource's 1309 // results field. 1310 // 1311 // If any of the images fail to be pushed, the build status is marked 1312 // `FAILURE`. 1313 Images []string `protobuf:"bytes,13,rep,name=images,proto3" json:"images,omitempty"` 1314 // TTL in queue for this build. If provided and the build is enqueued longer 1315 // than this value, the build will expire and the build status will be 1316 // `EXPIRED`. 1317 // 1318 // The TTL starts ticking from create_time. 1319 QueueTtl *duration.Duration `protobuf:"bytes,40,opt,name=queue_ttl,json=queueTtl,proto3" json:"queue_ttl,omitempty"` 1320 // Artifacts produced by the build that should be uploaded upon 1321 // successful completion of all build steps. 1322 Artifacts *Artifacts `protobuf:"bytes,37,opt,name=artifacts,proto3" json:"artifacts,omitempty"` 1323 // Google Cloud Storage bucket where logs should be written (see 1324 // [Bucket Name 1325 // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). 1326 // Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`. 1327 LogsBucket string `protobuf:"bytes,19,opt,name=logs_bucket,json=logsBucket,proto3" json:"logs_bucket,omitempty"` 1328 // Output only. A permanent fixed identifier for source. 1329 SourceProvenance *SourceProvenance `protobuf:"bytes,21,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"` 1330 // Output only. The ID of the `BuildTrigger` that triggered this build, if it 1331 // was triggered automatically. 1332 BuildTriggerId string `protobuf:"bytes,22,opt,name=build_trigger_id,json=buildTriggerId,proto3" json:"build_trigger_id,omitempty"` 1333 // Special options for this build. 1334 Options *BuildOptions `protobuf:"bytes,23,opt,name=options,proto3" json:"options,omitempty"` 1335 // Output only. URL to logs for this build in Google Cloud Console. 1336 LogUrl string `protobuf:"bytes,25,opt,name=log_url,json=logUrl,proto3" json:"log_url,omitempty"` 1337 // Substitutions data for `Build` resource. 1338 Substitutions map[string]string `protobuf:"bytes,29,rep,name=substitutions,proto3" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1339 // Tags for annotation of a `Build`. These are not docker tags. 1340 Tags []string `protobuf:"bytes,31,rep,name=tags,proto3" json:"tags,omitempty"` 1341 // Secrets to decrypt using Cloud Key Management Service. 1342 Secrets []*Secret `protobuf:"bytes,32,rep,name=secrets,proto3" json:"secrets,omitempty"` 1343 // Output only. Stores timing information for phases of the build. Valid keys 1344 // are: 1345 // 1346 // * BUILD: time to execute all build steps 1347 // * PUSH: time to push all specified images. 1348 // * FETCHSOURCE: time to fetch source. 1349 // 1350 // If the build does not specify source or images, 1351 // these keys will not be included. 1352 Timing map[string]*TimeSpan `protobuf:"bytes,33,rep,name=timing,proto3" json:"timing,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1353 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1354 XXX_unrecognized []byte `json:"-"` 1355 XXX_sizecache int32 `json:"-"` 1356} 1357 1358func (m *Build) Reset() { *m = Build{} } 1359func (m *Build) String() string { return proto.CompactTextString(m) } 1360func (*Build) ProtoMessage() {} 1361func (*Build) Descriptor() ([]byte, []int) { 1362 return fileDescriptor_8a9099620ac1526a, []int{10} 1363} 1364 1365func (m *Build) XXX_Unmarshal(b []byte) error { 1366 return xxx_messageInfo_Build.Unmarshal(m, b) 1367} 1368func (m *Build) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1369 return xxx_messageInfo_Build.Marshal(b, m, deterministic) 1370} 1371func (m *Build) XXX_Merge(src proto.Message) { 1372 xxx_messageInfo_Build.Merge(m, src) 1373} 1374func (m *Build) XXX_Size() int { 1375 return xxx_messageInfo_Build.Size(m) 1376} 1377func (m *Build) XXX_DiscardUnknown() { 1378 xxx_messageInfo_Build.DiscardUnknown(m) 1379} 1380 1381var xxx_messageInfo_Build proto.InternalMessageInfo 1382 1383func (m *Build) GetId() string { 1384 if m != nil { 1385 return m.Id 1386 } 1387 return "" 1388} 1389 1390func (m *Build) GetProjectId() string { 1391 if m != nil { 1392 return m.ProjectId 1393 } 1394 return "" 1395} 1396 1397func (m *Build) GetStatus() Build_Status { 1398 if m != nil { 1399 return m.Status 1400 } 1401 return Build_STATUS_UNKNOWN 1402} 1403 1404func (m *Build) GetStatusDetail() string { 1405 if m != nil { 1406 return m.StatusDetail 1407 } 1408 return "" 1409} 1410 1411func (m *Build) GetSource() *Source { 1412 if m != nil { 1413 return m.Source 1414 } 1415 return nil 1416} 1417 1418func (m *Build) GetSteps() []*BuildStep { 1419 if m != nil { 1420 return m.Steps 1421 } 1422 return nil 1423} 1424 1425func (m *Build) GetResults() *Results { 1426 if m != nil { 1427 return m.Results 1428 } 1429 return nil 1430} 1431 1432func (m *Build) GetCreateTime() *timestamp.Timestamp { 1433 if m != nil { 1434 return m.CreateTime 1435 } 1436 return nil 1437} 1438 1439func (m *Build) GetStartTime() *timestamp.Timestamp { 1440 if m != nil { 1441 return m.StartTime 1442 } 1443 return nil 1444} 1445 1446func (m *Build) GetFinishTime() *timestamp.Timestamp { 1447 if m != nil { 1448 return m.FinishTime 1449 } 1450 return nil 1451} 1452 1453func (m *Build) GetTimeout() *duration.Duration { 1454 if m != nil { 1455 return m.Timeout 1456 } 1457 return nil 1458} 1459 1460func (m *Build) GetImages() []string { 1461 if m != nil { 1462 return m.Images 1463 } 1464 return nil 1465} 1466 1467func (m *Build) GetQueueTtl() *duration.Duration { 1468 if m != nil { 1469 return m.QueueTtl 1470 } 1471 return nil 1472} 1473 1474func (m *Build) GetArtifacts() *Artifacts { 1475 if m != nil { 1476 return m.Artifacts 1477 } 1478 return nil 1479} 1480 1481func (m *Build) GetLogsBucket() string { 1482 if m != nil { 1483 return m.LogsBucket 1484 } 1485 return "" 1486} 1487 1488func (m *Build) GetSourceProvenance() *SourceProvenance { 1489 if m != nil { 1490 return m.SourceProvenance 1491 } 1492 return nil 1493} 1494 1495func (m *Build) GetBuildTriggerId() string { 1496 if m != nil { 1497 return m.BuildTriggerId 1498 } 1499 return "" 1500} 1501 1502func (m *Build) GetOptions() *BuildOptions { 1503 if m != nil { 1504 return m.Options 1505 } 1506 return nil 1507} 1508 1509func (m *Build) GetLogUrl() string { 1510 if m != nil { 1511 return m.LogUrl 1512 } 1513 return "" 1514} 1515 1516func (m *Build) GetSubstitutions() map[string]string { 1517 if m != nil { 1518 return m.Substitutions 1519 } 1520 return nil 1521} 1522 1523func (m *Build) GetTags() []string { 1524 if m != nil { 1525 return m.Tags 1526 } 1527 return nil 1528} 1529 1530func (m *Build) GetSecrets() []*Secret { 1531 if m != nil { 1532 return m.Secrets 1533 } 1534 return nil 1535} 1536 1537func (m *Build) GetTiming() map[string]*TimeSpan { 1538 if m != nil { 1539 return m.Timing 1540 } 1541 return nil 1542} 1543 1544// Artifacts produced by a build that should be uploaded upon 1545// successful completion of all build steps. 1546type Artifacts struct { 1547 // A list of images to be pushed upon the successful completion of all build 1548 // steps. 1549 // 1550 // The images will be pushed using the builder service account's credentials. 1551 // 1552 // The digests of the pushed images will be stored in the Build resource's 1553 // results field. 1554 // 1555 // If any of the images fail to be pushed, the build is marked FAILURE. 1556 Images []string `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` 1557 // A list of objects to be uploaded to Cloud Storage upon successful 1558 // completion of all build steps. 1559 // 1560 // Files in the workspace matching specified paths globs will be uploaded to 1561 // the specified Cloud Storage location using the builder service account's 1562 // credentials. 1563 // 1564 // The location and generation of the uploaded objects will be stored in the 1565 // Build resource's results field. 1566 // 1567 // If any objects fail to be pushed, the build is marked FAILURE. 1568 Objects *Artifacts_ArtifactObjects `protobuf:"bytes,2,opt,name=objects,proto3" json:"objects,omitempty"` 1569 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1570 XXX_unrecognized []byte `json:"-"` 1571 XXX_sizecache int32 `json:"-"` 1572} 1573 1574func (m *Artifacts) Reset() { *m = Artifacts{} } 1575func (m *Artifacts) String() string { return proto.CompactTextString(m) } 1576func (*Artifacts) ProtoMessage() {} 1577func (*Artifacts) Descriptor() ([]byte, []int) { 1578 return fileDescriptor_8a9099620ac1526a, []int{11} 1579} 1580 1581func (m *Artifacts) XXX_Unmarshal(b []byte) error { 1582 return xxx_messageInfo_Artifacts.Unmarshal(m, b) 1583} 1584func (m *Artifacts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1585 return xxx_messageInfo_Artifacts.Marshal(b, m, deterministic) 1586} 1587func (m *Artifacts) XXX_Merge(src proto.Message) { 1588 xxx_messageInfo_Artifacts.Merge(m, src) 1589} 1590func (m *Artifacts) XXX_Size() int { 1591 return xxx_messageInfo_Artifacts.Size(m) 1592} 1593func (m *Artifacts) XXX_DiscardUnknown() { 1594 xxx_messageInfo_Artifacts.DiscardUnknown(m) 1595} 1596 1597var xxx_messageInfo_Artifacts proto.InternalMessageInfo 1598 1599func (m *Artifacts) GetImages() []string { 1600 if m != nil { 1601 return m.Images 1602 } 1603 return nil 1604} 1605 1606func (m *Artifacts) GetObjects() *Artifacts_ArtifactObjects { 1607 if m != nil { 1608 return m.Objects 1609 } 1610 return nil 1611} 1612 1613// Files in the workspace to upload to Cloud Storage upon successful 1614// completion of all build steps. 1615type Artifacts_ArtifactObjects struct { 1616 // Cloud Storage bucket and optional object path, in the form 1617 // "gs://bucket/path/to/somewhere/". (see [Bucket Name 1618 // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). 1619 // 1620 // Files in the workspace matching any path pattern will be uploaded to 1621 // Cloud Storage with this location as a prefix. 1622 Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` 1623 // Path globs used to match files in the build's workspace. 1624 Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` 1625 // Output only. Stores timing information for pushing all artifact objects. 1626 Timing *TimeSpan `protobuf:"bytes,3,opt,name=timing,proto3" json:"timing,omitempty"` 1627 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1628 XXX_unrecognized []byte `json:"-"` 1629 XXX_sizecache int32 `json:"-"` 1630} 1631 1632func (m *Artifacts_ArtifactObjects) Reset() { *m = Artifacts_ArtifactObjects{} } 1633func (m *Artifacts_ArtifactObjects) String() string { return proto.CompactTextString(m) } 1634func (*Artifacts_ArtifactObjects) ProtoMessage() {} 1635func (*Artifacts_ArtifactObjects) Descriptor() ([]byte, []int) { 1636 return fileDescriptor_8a9099620ac1526a, []int{11, 0} 1637} 1638 1639func (m *Artifacts_ArtifactObjects) XXX_Unmarshal(b []byte) error { 1640 return xxx_messageInfo_Artifacts_ArtifactObjects.Unmarshal(m, b) 1641} 1642func (m *Artifacts_ArtifactObjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1643 return xxx_messageInfo_Artifacts_ArtifactObjects.Marshal(b, m, deterministic) 1644} 1645func (m *Artifacts_ArtifactObjects) XXX_Merge(src proto.Message) { 1646 xxx_messageInfo_Artifacts_ArtifactObjects.Merge(m, src) 1647} 1648func (m *Artifacts_ArtifactObjects) XXX_Size() int { 1649 return xxx_messageInfo_Artifacts_ArtifactObjects.Size(m) 1650} 1651func (m *Artifacts_ArtifactObjects) XXX_DiscardUnknown() { 1652 xxx_messageInfo_Artifacts_ArtifactObjects.DiscardUnknown(m) 1653} 1654 1655var xxx_messageInfo_Artifacts_ArtifactObjects proto.InternalMessageInfo 1656 1657func (m *Artifacts_ArtifactObjects) GetLocation() string { 1658 if m != nil { 1659 return m.Location 1660 } 1661 return "" 1662} 1663 1664func (m *Artifacts_ArtifactObjects) GetPaths() []string { 1665 if m != nil { 1666 return m.Paths 1667 } 1668 return nil 1669} 1670 1671func (m *Artifacts_ArtifactObjects) GetTiming() *TimeSpan { 1672 if m != nil { 1673 return m.Timing 1674 } 1675 return nil 1676} 1677 1678// Start and end times for a build execution phase. 1679type TimeSpan struct { 1680 // Start of time span. 1681 StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` 1682 // End of time span. 1683 EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` 1684 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1685 XXX_unrecognized []byte `json:"-"` 1686 XXX_sizecache int32 `json:"-"` 1687} 1688 1689func (m *TimeSpan) Reset() { *m = TimeSpan{} } 1690func (m *TimeSpan) String() string { return proto.CompactTextString(m) } 1691func (*TimeSpan) ProtoMessage() {} 1692func (*TimeSpan) Descriptor() ([]byte, []int) { 1693 return fileDescriptor_8a9099620ac1526a, []int{12} 1694} 1695 1696func (m *TimeSpan) XXX_Unmarshal(b []byte) error { 1697 return xxx_messageInfo_TimeSpan.Unmarshal(m, b) 1698} 1699func (m *TimeSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1700 return xxx_messageInfo_TimeSpan.Marshal(b, m, deterministic) 1701} 1702func (m *TimeSpan) XXX_Merge(src proto.Message) { 1703 xxx_messageInfo_TimeSpan.Merge(m, src) 1704} 1705func (m *TimeSpan) XXX_Size() int { 1706 return xxx_messageInfo_TimeSpan.Size(m) 1707} 1708func (m *TimeSpan) XXX_DiscardUnknown() { 1709 xxx_messageInfo_TimeSpan.DiscardUnknown(m) 1710} 1711 1712var xxx_messageInfo_TimeSpan proto.InternalMessageInfo 1713 1714func (m *TimeSpan) GetStartTime() *timestamp.Timestamp { 1715 if m != nil { 1716 return m.StartTime 1717 } 1718 return nil 1719} 1720 1721func (m *TimeSpan) GetEndTime() *timestamp.Timestamp { 1722 if m != nil { 1723 return m.EndTime 1724 } 1725 return nil 1726} 1727 1728// Metadata for build operations. 1729type BuildOperationMetadata struct { 1730 // The build that the operation is tracking. 1731 Build *Build `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"` 1732 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1733 XXX_unrecognized []byte `json:"-"` 1734 XXX_sizecache int32 `json:"-"` 1735} 1736 1737func (m *BuildOperationMetadata) Reset() { *m = BuildOperationMetadata{} } 1738func (m *BuildOperationMetadata) String() string { return proto.CompactTextString(m) } 1739func (*BuildOperationMetadata) ProtoMessage() {} 1740func (*BuildOperationMetadata) Descriptor() ([]byte, []int) { 1741 return fileDescriptor_8a9099620ac1526a, []int{13} 1742} 1743 1744func (m *BuildOperationMetadata) XXX_Unmarshal(b []byte) error { 1745 return xxx_messageInfo_BuildOperationMetadata.Unmarshal(m, b) 1746} 1747func (m *BuildOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1748 return xxx_messageInfo_BuildOperationMetadata.Marshal(b, m, deterministic) 1749} 1750func (m *BuildOperationMetadata) XXX_Merge(src proto.Message) { 1751 xxx_messageInfo_BuildOperationMetadata.Merge(m, src) 1752} 1753func (m *BuildOperationMetadata) XXX_Size() int { 1754 return xxx_messageInfo_BuildOperationMetadata.Size(m) 1755} 1756func (m *BuildOperationMetadata) XXX_DiscardUnknown() { 1757 xxx_messageInfo_BuildOperationMetadata.DiscardUnknown(m) 1758} 1759 1760var xxx_messageInfo_BuildOperationMetadata proto.InternalMessageInfo 1761 1762func (m *BuildOperationMetadata) GetBuild() *Build { 1763 if m != nil { 1764 return m.Build 1765 } 1766 return nil 1767} 1768 1769// Provenance of the source. Ways to find the original source, or verify that 1770// some source was used for this build. 1771type SourceProvenance struct { 1772 // A copy of the build's `source.storage_source`, if exists, with any 1773 // generations resolved. 1774 ResolvedStorageSource *StorageSource `protobuf:"bytes,3,opt,name=resolved_storage_source,json=resolvedStorageSource,proto3" json:"resolved_storage_source,omitempty"` 1775 // A copy of the build's `source.repo_source`, if exists, with any 1776 // revisions resolved. 1777 ResolvedRepoSource *RepoSource `protobuf:"bytes,6,opt,name=resolved_repo_source,json=resolvedRepoSource,proto3" json:"resolved_repo_source,omitempty"` 1778 // Output only. Hash(es) of the build source, which can be used to verify that 1779 // the original source integrity was maintained in the build. Note that 1780 // `FileHashes` will only be populated if `BuildOptions` has requested a 1781 // `SourceProvenanceHash`. 1782 // 1783 // The keys to this map are file paths used as build source and the values 1784 // contain the hash values for those files. 1785 // 1786 // If the build source came in a single package such as a gzipped tarfile 1787 // (`.tar.gz`), the `FileHash` will be for the single path to that file. 1788 FileHashes map[string]*FileHashes `protobuf:"bytes,4,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"` 1789 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1790 XXX_unrecognized []byte `json:"-"` 1791 XXX_sizecache int32 `json:"-"` 1792} 1793 1794func (m *SourceProvenance) Reset() { *m = SourceProvenance{} } 1795func (m *SourceProvenance) String() string { return proto.CompactTextString(m) } 1796func (*SourceProvenance) ProtoMessage() {} 1797func (*SourceProvenance) Descriptor() ([]byte, []int) { 1798 return fileDescriptor_8a9099620ac1526a, []int{14} 1799} 1800 1801func (m *SourceProvenance) XXX_Unmarshal(b []byte) error { 1802 return xxx_messageInfo_SourceProvenance.Unmarshal(m, b) 1803} 1804func (m *SourceProvenance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1805 return xxx_messageInfo_SourceProvenance.Marshal(b, m, deterministic) 1806} 1807func (m *SourceProvenance) XXX_Merge(src proto.Message) { 1808 xxx_messageInfo_SourceProvenance.Merge(m, src) 1809} 1810func (m *SourceProvenance) XXX_Size() int { 1811 return xxx_messageInfo_SourceProvenance.Size(m) 1812} 1813func (m *SourceProvenance) XXX_DiscardUnknown() { 1814 xxx_messageInfo_SourceProvenance.DiscardUnknown(m) 1815} 1816 1817var xxx_messageInfo_SourceProvenance proto.InternalMessageInfo 1818 1819func (m *SourceProvenance) GetResolvedStorageSource() *StorageSource { 1820 if m != nil { 1821 return m.ResolvedStorageSource 1822 } 1823 return nil 1824} 1825 1826func (m *SourceProvenance) GetResolvedRepoSource() *RepoSource { 1827 if m != nil { 1828 return m.ResolvedRepoSource 1829 } 1830 return nil 1831} 1832 1833func (m *SourceProvenance) GetFileHashes() map[string]*FileHashes { 1834 if m != nil { 1835 return m.FileHashes 1836 } 1837 return nil 1838} 1839 1840// Container message for hashes of byte content of files, used in 1841// SourceProvenance messages to verify integrity of source input to the build. 1842type FileHashes struct { 1843 // Collection of file hashes. 1844 FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` 1845 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1846 XXX_unrecognized []byte `json:"-"` 1847 XXX_sizecache int32 `json:"-"` 1848} 1849 1850func (m *FileHashes) Reset() { *m = FileHashes{} } 1851func (m *FileHashes) String() string { return proto.CompactTextString(m) } 1852func (*FileHashes) ProtoMessage() {} 1853func (*FileHashes) Descriptor() ([]byte, []int) { 1854 return fileDescriptor_8a9099620ac1526a, []int{15} 1855} 1856 1857func (m *FileHashes) XXX_Unmarshal(b []byte) error { 1858 return xxx_messageInfo_FileHashes.Unmarshal(m, b) 1859} 1860func (m *FileHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1861 return xxx_messageInfo_FileHashes.Marshal(b, m, deterministic) 1862} 1863func (m *FileHashes) XXX_Merge(src proto.Message) { 1864 xxx_messageInfo_FileHashes.Merge(m, src) 1865} 1866func (m *FileHashes) XXX_Size() int { 1867 return xxx_messageInfo_FileHashes.Size(m) 1868} 1869func (m *FileHashes) XXX_DiscardUnknown() { 1870 xxx_messageInfo_FileHashes.DiscardUnknown(m) 1871} 1872 1873var xxx_messageInfo_FileHashes proto.InternalMessageInfo 1874 1875func (m *FileHashes) GetFileHash() []*Hash { 1876 if m != nil { 1877 return m.FileHash 1878 } 1879 return nil 1880} 1881 1882// Container message for hash values. 1883type Hash struct { 1884 // The type of hash that was performed. 1885 Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.cloudbuild.v1.Hash_HashType" json:"type,omitempty"` 1886 // The hash value. 1887 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 1888 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1889 XXX_unrecognized []byte `json:"-"` 1890 XXX_sizecache int32 `json:"-"` 1891} 1892 1893func (m *Hash) Reset() { *m = Hash{} } 1894func (m *Hash) String() string { return proto.CompactTextString(m) } 1895func (*Hash) ProtoMessage() {} 1896func (*Hash) Descriptor() ([]byte, []int) { 1897 return fileDescriptor_8a9099620ac1526a, []int{16} 1898} 1899 1900func (m *Hash) XXX_Unmarshal(b []byte) error { 1901 return xxx_messageInfo_Hash.Unmarshal(m, b) 1902} 1903func (m *Hash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1904 return xxx_messageInfo_Hash.Marshal(b, m, deterministic) 1905} 1906func (m *Hash) XXX_Merge(src proto.Message) { 1907 xxx_messageInfo_Hash.Merge(m, src) 1908} 1909func (m *Hash) XXX_Size() int { 1910 return xxx_messageInfo_Hash.Size(m) 1911} 1912func (m *Hash) XXX_DiscardUnknown() { 1913 xxx_messageInfo_Hash.DiscardUnknown(m) 1914} 1915 1916var xxx_messageInfo_Hash proto.InternalMessageInfo 1917 1918func (m *Hash) GetType() Hash_HashType { 1919 if m != nil { 1920 return m.Type 1921 } 1922 return Hash_NONE 1923} 1924 1925func (m *Hash) GetValue() []byte { 1926 if m != nil { 1927 return m.Value 1928 } 1929 return nil 1930} 1931 1932// Pairs a set of secret environment variables containing encrypted 1933// values with the Cloud KMS key to use to decrypt the value. 1934type Secret struct { 1935 // Cloud KMS key name to use to decrypt these envs. 1936 KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` 1937 // Map of environment variable name to its encrypted value. 1938 // 1939 // Secret environment variables must be unique across all of a build's 1940 // secrets, and must be used by at least one build step. Values can be at most 1941 // 64 KB in size. There can be at most 100 secret values across all of a 1942 // build's secrets. 1943 SecretEnv map[string][]byte `protobuf:"bytes,3,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1944 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1945 XXX_unrecognized []byte `json:"-"` 1946 XXX_sizecache int32 `json:"-"` 1947} 1948 1949func (m *Secret) Reset() { *m = Secret{} } 1950func (m *Secret) String() string { return proto.CompactTextString(m) } 1951func (*Secret) ProtoMessage() {} 1952func (*Secret) Descriptor() ([]byte, []int) { 1953 return fileDescriptor_8a9099620ac1526a, []int{17} 1954} 1955 1956func (m *Secret) XXX_Unmarshal(b []byte) error { 1957 return xxx_messageInfo_Secret.Unmarshal(m, b) 1958} 1959func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1960 return xxx_messageInfo_Secret.Marshal(b, m, deterministic) 1961} 1962func (m *Secret) XXX_Merge(src proto.Message) { 1963 xxx_messageInfo_Secret.Merge(m, src) 1964} 1965func (m *Secret) XXX_Size() int { 1966 return xxx_messageInfo_Secret.Size(m) 1967} 1968func (m *Secret) XXX_DiscardUnknown() { 1969 xxx_messageInfo_Secret.DiscardUnknown(m) 1970} 1971 1972var xxx_messageInfo_Secret proto.InternalMessageInfo 1973 1974func (m *Secret) GetKmsKeyName() string { 1975 if m != nil { 1976 return m.KmsKeyName 1977 } 1978 return "" 1979} 1980 1981func (m *Secret) GetSecretEnv() map[string][]byte { 1982 if m != nil { 1983 return m.SecretEnv 1984 } 1985 return nil 1986} 1987 1988// Request to create a new build. 1989type CreateBuildRequest struct { 1990 // Required. ID of the project. 1991 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 1992 // Required. Build resource to create. 1993 Build *Build `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"` 1994 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1995 XXX_unrecognized []byte `json:"-"` 1996 XXX_sizecache int32 `json:"-"` 1997} 1998 1999func (m *CreateBuildRequest) Reset() { *m = CreateBuildRequest{} } 2000func (m *CreateBuildRequest) String() string { return proto.CompactTextString(m) } 2001func (*CreateBuildRequest) ProtoMessage() {} 2002func (*CreateBuildRequest) Descriptor() ([]byte, []int) { 2003 return fileDescriptor_8a9099620ac1526a, []int{18} 2004} 2005 2006func (m *CreateBuildRequest) XXX_Unmarshal(b []byte) error { 2007 return xxx_messageInfo_CreateBuildRequest.Unmarshal(m, b) 2008} 2009func (m *CreateBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2010 return xxx_messageInfo_CreateBuildRequest.Marshal(b, m, deterministic) 2011} 2012func (m *CreateBuildRequest) XXX_Merge(src proto.Message) { 2013 xxx_messageInfo_CreateBuildRequest.Merge(m, src) 2014} 2015func (m *CreateBuildRequest) XXX_Size() int { 2016 return xxx_messageInfo_CreateBuildRequest.Size(m) 2017} 2018func (m *CreateBuildRequest) XXX_DiscardUnknown() { 2019 xxx_messageInfo_CreateBuildRequest.DiscardUnknown(m) 2020} 2021 2022var xxx_messageInfo_CreateBuildRequest proto.InternalMessageInfo 2023 2024func (m *CreateBuildRequest) GetProjectId() string { 2025 if m != nil { 2026 return m.ProjectId 2027 } 2028 return "" 2029} 2030 2031func (m *CreateBuildRequest) GetBuild() *Build { 2032 if m != nil { 2033 return m.Build 2034 } 2035 return nil 2036} 2037 2038// Request to get a build. 2039type GetBuildRequest struct { 2040 // Required. ID of the project. 2041 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 2042 // Required. ID of the build. 2043 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 2044 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2045 XXX_unrecognized []byte `json:"-"` 2046 XXX_sizecache int32 `json:"-"` 2047} 2048 2049func (m *GetBuildRequest) Reset() { *m = GetBuildRequest{} } 2050func (m *GetBuildRequest) String() string { return proto.CompactTextString(m) } 2051func (*GetBuildRequest) ProtoMessage() {} 2052func (*GetBuildRequest) Descriptor() ([]byte, []int) { 2053 return fileDescriptor_8a9099620ac1526a, []int{19} 2054} 2055 2056func (m *GetBuildRequest) XXX_Unmarshal(b []byte) error { 2057 return xxx_messageInfo_GetBuildRequest.Unmarshal(m, b) 2058} 2059func (m *GetBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2060 return xxx_messageInfo_GetBuildRequest.Marshal(b, m, deterministic) 2061} 2062func (m *GetBuildRequest) XXX_Merge(src proto.Message) { 2063 xxx_messageInfo_GetBuildRequest.Merge(m, src) 2064} 2065func (m *GetBuildRequest) XXX_Size() int { 2066 return xxx_messageInfo_GetBuildRequest.Size(m) 2067} 2068func (m *GetBuildRequest) XXX_DiscardUnknown() { 2069 xxx_messageInfo_GetBuildRequest.DiscardUnknown(m) 2070} 2071 2072var xxx_messageInfo_GetBuildRequest proto.InternalMessageInfo 2073 2074func (m *GetBuildRequest) GetProjectId() string { 2075 if m != nil { 2076 return m.ProjectId 2077 } 2078 return "" 2079} 2080 2081func (m *GetBuildRequest) GetId() string { 2082 if m != nil { 2083 return m.Id 2084 } 2085 return "" 2086} 2087 2088// Request to list builds. 2089type ListBuildsRequest struct { 2090 // Required. ID of the project. 2091 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 2092 // Number of results to return in the list. 2093 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 2094 // Token to provide to skip to a particular spot in the list. 2095 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 2096 // The raw filter text to constrain the results. 2097 Filter string `protobuf:"bytes,8,opt,name=filter,proto3" json:"filter,omitempty"` 2098 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2099 XXX_unrecognized []byte `json:"-"` 2100 XXX_sizecache int32 `json:"-"` 2101} 2102 2103func (m *ListBuildsRequest) Reset() { *m = ListBuildsRequest{} } 2104func (m *ListBuildsRequest) String() string { return proto.CompactTextString(m) } 2105func (*ListBuildsRequest) ProtoMessage() {} 2106func (*ListBuildsRequest) Descriptor() ([]byte, []int) { 2107 return fileDescriptor_8a9099620ac1526a, []int{20} 2108} 2109 2110func (m *ListBuildsRequest) XXX_Unmarshal(b []byte) error { 2111 return xxx_messageInfo_ListBuildsRequest.Unmarshal(m, b) 2112} 2113func (m *ListBuildsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2114 return xxx_messageInfo_ListBuildsRequest.Marshal(b, m, deterministic) 2115} 2116func (m *ListBuildsRequest) XXX_Merge(src proto.Message) { 2117 xxx_messageInfo_ListBuildsRequest.Merge(m, src) 2118} 2119func (m *ListBuildsRequest) XXX_Size() int { 2120 return xxx_messageInfo_ListBuildsRequest.Size(m) 2121} 2122func (m *ListBuildsRequest) XXX_DiscardUnknown() { 2123 xxx_messageInfo_ListBuildsRequest.DiscardUnknown(m) 2124} 2125 2126var xxx_messageInfo_ListBuildsRequest proto.InternalMessageInfo 2127 2128func (m *ListBuildsRequest) GetProjectId() string { 2129 if m != nil { 2130 return m.ProjectId 2131 } 2132 return "" 2133} 2134 2135func (m *ListBuildsRequest) GetPageSize() int32 { 2136 if m != nil { 2137 return m.PageSize 2138 } 2139 return 0 2140} 2141 2142func (m *ListBuildsRequest) GetPageToken() string { 2143 if m != nil { 2144 return m.PageToken 2145 } 2146 return "" 2147} 2148 2149func (m *ListBuildsRequest) GetFilter() string { 2150 if m != nil { 2151 return m.Filter 2152 } 2153 return "" 2154} 2155 2156// Response including listed builds. 2157type ListBuildsResponse struct { 2158 // Builds will be sorted by `create_time`, descending. 2159 Builds []*Build `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"` 2160 // Token to receive the next page of results. 2161 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 2162 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2163 XXX_unrecognized []byte `json:"-"` 2164 XXX_sizecache int32 `json:"-"` 2165} 2166 2167func (m *ListBuildsResponse) Reset() { *m = ListBuildsResponse{} } 2168func (m *ListBuildsResponse) String() string { return proto.CompactTextString(m) } 2169func (*ListBuildsResponse) ProtoMessage() {} 2170func (*ListBuildsResponse) Descriptor() ([]byte, []int) { 2171 return fileDescriptor_8a9099620ac1526a, []int{21} 2172} 2173 2174func (m *ListBuildsResponse) XXX_Unmarshal(b []byte) error { 2175 return xxx_messageInfo_ListBuildsResponse.Unmarshal(m, b) 2176} 2177func (m *ListBuildsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2178 return xxx_messageInfo_ListBuildsResponse.Marshal(b, m, deterministic) 2179} 2180func (m *ListBuildsResponse) XXX_Merge(src proto.Message) { 2181 xxx_messageInfo_ListBuildsResponse.Merge(m, src) 2182} 2183func (m *ListBuildsResponse) XXX_Size() int { 2184 return xxx_messageInfo_ListBuildsResponse.Size(m) 2185} 2186func (m *ListBuildsResponse) XXX_DiscardUnknown() { 2187 xxx_messageInfo_ListBuildsResponse.DiscardUnknown(m) 2188} 2189 2190var xxx_messageInfo_ListBuildsResponse proto.InternalMessageInfo 2191 2192func (m *ListBuildsResponse) GetBuilds() []*Build { 2193 if m != nil { 2194 return m.Builds 2195 } 2196 return nil 2197} 2198 2199func (m *ListBuildsResponse) GetNextPageToken() string { 2200 if m != nil { 2201 return m.NextPageToken 2202 } 2203 return "" 2204} 2205 2206// Request to cancel an ongoing build. 2207type CancelBuildRequest struct { 2208 // Required. ID of the project. 2209 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 2210 // Required. ID of the build. 2211 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 2212 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2213 XXX_unrecognized []byte `json:"-"` 2214 XXX_sizecache int32 `json:"-"` 2215} 2216 2217func (m *CancelBuildRequest) Reset() { *m = CancelBuildRequest{} } 2218func (m *CancelBuildRequest) String() string { return proto.CompactTextString(m) } 2219func (*CancelBuildRequest) ProtoMessage() {} 2220func (*CancelBuildRequest) Descriptor() ([]byte, []int) { 2221 return fileDescriptor_8a9099620ac1526a, []int{22} 2222} 2223 2224func (m *CancelBuildRequest) XXX_Unmarshal(b []byte) error { 2225 return xxx_messageInfo_CancelBuildRequest.Unmarshal(m, b) 2226} 2227func (m *CancelBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2228 return xxx_messageInfo_CancelBuildRequest.Marshal(b, m, deterministic) 2229} 2230func (m *CancelBuildRequest) XXX_Merge(src proto.Message) { 2231 xxx_messageInfo_CancelBuildRequest.Merge(m, src) 2232} 2233func (m *CancelBuildRequest) XXX_Size() int { 2234 return xxx_messageInfo_CancelBuildRequest.Size(m) 2235} 2236func (m *CancelBuildRequest) XXX_DiscardUnknown() { 2237 xxx_messageInfo_CancelBuildRequest.DiscardUnknown(m) 2238} 2239 2240var xxx_messageInfo_CancelBuildRequest proto.InternalMessageInfo 2241 2242func (m *CancelBuildRequest) GetProjectId() string { 2243 if m != nil { 2244 return m.ProjectId 2245 } 2246 return "" 2247} 2248 2249func (m *CancelBuildRequest) GetId() string { 2250 if m != nil { 2251 return m.Id 2252 } 2253 return "" 2254} 2255 2256// Configuration for an automated build in response to source repository 2257// changes. 2258type BuildTrigger struct { 2259 // Output only. Unique identifier of the trigger. 2260 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 2261 // Human-readable description of this trigger. 2262 Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` 2263 // User-assigned name of the trigger. Must be unique within the project. 2264 // Trigger names must meet the following requirements: 2265 // 2266 // + They must contain only alphanumeric characters and dashes. 2267 // + They can be 1-64 characters long. 2268 // + They must begin and end with an alphanumeric character. 2269 Name string `protobuf:"bytes,21,opt,name=name,proto3" json:"name,omitempty"` 2270 // Tags for annotation of a `BuildTrigger` 2271 Tags []string `protobuf:"bytes,19,rep,name=tags,proto3" json:"tags,omitempty"` 2272 // Template describing the types of source changes to trigger a build. 2273 // 2274 // Branch and tag names in trigger templates are interpreted as regular 2275 // expressions. Any branch or tag change that matches that regular expression 2276 // will trigger a build. 2277 // 2278 // Mutually exclusive with `github`. 2279 TriggerTemplate *RepoSource `protobuf:"bytes,7,opt,name=trigger_template,json=triggerTemplate,proto3" json:"trigger_template,omitempty"` 2280 // GitHubEventsConfig describes the configuration of a trigger that creates 2281 // a build whenever a GitHub event is received. 2282 // 2283 // Mutually exclusive with `trigger_template`. 2284 Github *GitHubEventsConfig `protobuf:"bytes,13,opt,name=github,proto3" json:"github,omitempty"` 2285 // Template describing the Build request to make when the trigger is matched. 2286 // 2287 // Types that are valid to be assigned to BuildTemplate: 2288 // *BuildTrigger_Build 2289 // *BuildTrigger_Filename 2290 BuildTemplate isBuildTrigger_BuildTemplate `protobuf_oneof:"build_template"` 2291 // Output only. Time when the trigger was created. 2292 CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 2293 // If true, the trigger will never result in a build. 2294 Disabled bool `protobuf:"varint,9,opt,name=disabled,proto3" json:"disabled,omitempty"` 2295 // Substitutions for Build resource. The keys must match the following 2296 // regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the 2297 // keys in bindings. 2298 Substitutions map[string]string `protobuf:"bytes,11,rep,name=substitutions,proto3" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 2299 // ignored_files and included_files are file glob matches using 2300 // https://golang.org/pkg/path/filepath/#Match extended with support for "**". 2301 // 2302 // If ignored_files and changed files are both empty, then they are 2303 // not used to determine whether or not to trigger a build. 2304 // 2305 // If ignored_files is not empty, then we ignore any files that match 2306 // any of the ignored_file globs. If the change has no files that are 2307 // outside of the ignored_files globs, then we do not trigger a build. 2308 IgnoredFiles []string `protobuf:"bytes,15,rep,name=ignored_files,json=ignoredFiles,proto3" json:"ignored_files,omitempty"` 2309 // If any of the files altered in the commit pass the ignored_files 2310 // filter and included_files is empty, then as far as this filter is 2311 // concerned, we should trigger the build. 2312 // 2313 // If any of the files altered in the commit pass the ignored_files 2314 // filter and included_files is not empty, then we make sure that at 2315 // least one of those files matches a included_files glob. If not, 2316 // then we do not trigger a build. 2317 IncludedFiles []string `protobuf:"bytes,16,rep,name=included_files,json=includedFiles,proto3" json:"included_files,omitempty"` 2318 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2319 XXX_unrecognized []byte `json:"-"` 2320 XXX_sizecache int32 `json:"-"` 2321} 2322 2323func (m *BuildTrigger) Reset() { *m = BuildTrigger{} } 2324func (m *BuildTrigger) String() string { return proto.CompactTextString(m) } 2325func (*BuildTrigger) ProtoMessage() {} 2326func (*BuildTrigger) Descriptor() ([]byte, []int) { 2327 return fileDescriptor_8a9099620ac1526a, []int{23} 2328} 2329 2330func (m *BuildTrigger) XXX_Unmarshal(b []byte) error { 2331 return xxx_messageInfo_BuildTrigger.Unmarshal(m, b) 2332} 2333func (m *BuildTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2334 return xxx_messageInfo_BuildTrigger.Marshal(b, m, deterministic) 2335} 2336func (m *BuildTrigger) XXX_Merge(src proto.Message) { 2337 xxx_messageInfo_BuildTrigger.Merge(m, src) 2338} 2339func (m *BuildTrigger) XXX_Size() int { 2340 return xxx_messageInfo_BuildTrigger.Size(m) 2341} 2342func (m *BuildTrigger) XXX_DiscardUnknown() { 2343 xxx_messageInfo_BuildTrigger.DiscardUnknown(m) 2344} 2345 2346var xxx_messageInfo_BuildTrigger proto.InternalMessageInfo 2347 2348func (m *BuildTrigger) GetId() string { 2349 if m != nil { 2350 return m.Id 2351 } 2352 return "" 2353} 2354 2355func (m *BuildTrigger) GetDescription() string { 2356 if m != nil { 2357 return m.Description 2358 } 2359 return "" 2360} 2361 2362func (m *BuildTrigger) GetName() string { 2363 if m != nil { 2364 return m.Name 2365 } 2366 return "" 2367} 2368 2369func (m *BuildTrigger) GetTags() []string { 2370 if m != nil { 2371 return m.Tags 2372 } 2373 return nil 2374} 2375 2376func (m *BuildTrigger) GetTriggerTemplate() *RepoSource { 2377 if m != nil { 2378 return m.TriggerTemplate 2379 } 2380 return nil 2381} 2382 2383func (m *BuildTrigger) GetGithub() *GitHubEventsConfig { 2384 if m != nil { 2385 return m.Github 2386 } 2387 return nil 2388} 2389 2390type isBuildTrigger_BuildTemplate interface { 2391 isBuildTrigger_BuildTemplate() 2392} 2393 2394type BuildTrigger_Build struct { 2395 Build *Build `protobuf:"bytes,4,opt,name=build,proto3,oneof"` 2396} 2397 2398type BuildTrigger_Filename struct { 2399 Filename string `protobuf:"bytes,8,opt,name=filename,proto3,oneof"` 2400} 2401 2402func (*BuildTrigger_Build) isBuildTrigger_BuildTemplate() {} 2403 2404func (*BuildTrigger_Filename) isBuildTrigger_BuildTemplate() {} 2405 2406func (m *BuildTrigger) GetBuildTemplate() isBuildTrigger_BuildTemplate { 2407 if m != nil { 2408 return m.BuildTemplate 2409 } 2410 return nil 2411} 2412 2413func (m *BuildTrigger) GetBuild() *Build { 2414 if x, ok := m.GetBuildTemplate().(*BuildTrigger_Build); ok { 2415 return x.Build 2416 } 2417 return nil 2418} 2419 2420func (m *BuildTrigger) GetFilename() string { 2421 if x, ok := m.GetBuildTemplate().(*BuildTrigger_Filename); ok { 2422 return x.Filename 2423 } 2424 return "" 2425} 2426 2427func (m *BuildTrigger) GetCreateTime() *timestamp.Timestamp { 2428 if m != nil { 2429 return m.CreateTime 2430 } 2431 return nil 2432} 2433 2434func (m *BuildTrigger) GetDisabled() bool { 2435 if m != nil { 2436 return m.Disabled 2437 } 2438 return false 2439} 2440 2441func (m *BuildTrigger) GetSubstitutions() map[string]string { 2442 if m != nil { 2443 return m.Substitutions 2444 } 2445 return nil 2446} 2447 2448func (m *BuildTrigger) GetIgnoredFiles() []string { 2449 if m != nil { 2450 return m.IgnoredFiles 2451 } 2452 return nil 2453} 2454 2455func (m *BuildTrigger) GetIncludedFiles() []string { 2456 if m != nil { 2457 return m.IncludedFiles 2458 } 2459 return nil 2460} 2461 2462// XXX_OneofWrappers is for the internal use of the proto package. 2463func (*BuildTrigger) XXX_OneofWrappers() []interface{} { 2464 return []interface{}{ 2465 (*BuildTrigger_Build)(nil), 2466 (*BuildTrigger_Filename)(nil), 2467 } 2468} 2469 2470// GitHubEventsConfig describes the configuration of a trigger that creates a 2471// build whenever a GitHub event is received. 2472// 2473// This message is experimental. 2474type GitHubEventsConfig struct { 2475 // The installationID that emits the GitHub event. 2476 InstallationId int64 `protobuf:"varint,1,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` // Deprecated: Do not use. 2477 // Owner of the repository. For example: The owner for 2478 // https://github.com/googlecloudplatform/cloud-builders is 2479 // "googlecloudplatform". 2480 Owner string `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"` 2481 // Name of the repository. For example: The name for 2482 // https://github.com/googlecloudplatform/cloud-builders is "cloud-builders". 2483 Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` 2484 // Filter describing the types of events to trigger a build. 2485 // Currently supported event types: push, pull_request. 2486 // 2487 // Types that are valid to be assigned to Event: 2488 // *GitHubEventsConfig_PullRequest 2489 // *GitHubEventsConfig_Push 2490 Event isGitHubEventsConfig_Event `protobuf_oneof:"event"` 2491 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2492 XXX_unrecognized []byte `json:"-"` 2493 XXX_sizecache int32 `json:"-"` 2494} 2495 2496func (m *GitHubEventsConfig) Reset() { *m = GitHubEventsConfig{} } 2497func (m *GitHubEventsConfig) String() string { return proto.CompactTextString(m) } 2498func (*GitHubEventsConfig) ProtoMessage() {} 2499func (*GitHubEventsConfig) Descriptor() ([]byte, []int) { 2500 return fileDescriptor_8a9099620ac1526a, []int{24} 2501} 2502 2503func (m *GitHubEventsConfig) XXX_Unmarshal(b []byte) error { 2504 return xxx_messageInfo_GitHubEventsConfig.Unmarshal(m, b) 2505} 2506func (m *GitHubEventsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2507 return xxx_messageInfo_GitHubEventsConfig.Marshal(b, m, deterministic) 2508} 2509func (m *GitHubEventsConfig) XXX_Merge(src proto.Message) { 2510 xxx_messageInfo_GitHubEventsConfig.Merge(m, src) 2511} 2512func (m *GitHubEventsConfig) XXX_Size() int { 2513 return xxx_messageInfo_GitHubEventsConfig.Size(m) 2514} 2515func (m *GitHubEventsConfig) XXX_DiscardUnknown() { 2516 xxx_messageInfo_GitHubEventsConfig.DiscardUnknown(m) 2517} 2518 2519var xxx_messageInfo_GitHubEventsConfig proto.InternalMessageInfo 2520 2521// Deprecated: Do not use. 2522func (m *GitHubEventsConfig) GetInstallationId() int64 { 2523 if m != nil { 2524 return m.InstallationId 2525 } 2526 return 0 2527} 2528 2529func (m *GitHubEventsConfig) GetOwner() string { 2530 if m != nil { 2531 return m.Owner 2532 } 2533 return "" 2534} 2535 2536func (m *GitHubEventsConfig) GetName() string { 2537 if m != nil { 2538 return m.Name 2539 } 2540 return "" 2541} 2542 2543type isGitHubEventsConfig_Event interface { 2544 isGitHubEventsConfig_Event() 2545} 2546 2547type GitHubEventsConfig_PullRequest struct { 2548 PullRequest *PullRequestFilter `protobuf:"bytes,4,opt,name=pull_request,json=pullRequest,proto3,oneof"` 2549} 2550 2551type GitHubEventsConfig_Push struct { 2552 Push *PushFilter `protobuf:"bytes,5,opt,name=push,proto3,oneof"` 2553} 2554 2555func (*GitHubEventsConfig_PullRequest) isGitHubEventsConfig_Event() {} 2556 2557func (*GitHubEventsConfig_Push) isGitHubEventsConfig_Event() {} 2558 2559func (m *GitHubEventsConfig) GetEvent() isGitHubEventsConfig_Event { 2560 if m != nil { 2561 return m.Event 2562 } 2563 return nil 2564} 2565 2566func (m *GitHubEventsConfig) GetPullRequest() *PullRequestFilter { 2567 if x, ok := m.GetEvent().(*GitHubEventsConfig_PullRequest); ok { 2568 return x.PullRequest 2569 } 2570 return nil 2571} 2572 2573func (m *GitHubEventsConfig) GetPush() *PushFilter { 2574 if x, ok := m.GetEvent().(*GitHubEventsConfig_Push); ok { 2575 return x.Push 2576 } 2577 return nil 2578} 2579 2580// XXX_OneofWrappers is for the internal use of the proto package. 2581func (*GitHubEventsConfig) XXX_OneofWrappers() []interface{} { 2582 return []interface{}{ 2583 (*GitHubEventsConfig_PullRequest)(nil), 2584 (*GitHubEventsConfig_Push)(nil), 2585 } 2586} 2587 2588// PullRequestFilter contains filter properties for matching GitHub Pull 2589// Requests. 2590type PullRequestFilter struct { 2591 // Target refs to match. 2592 // A target ref is the git reference where the pull request will be applied. 2593 // 2594 // Types that are valid to be assigned to GitRef: 2595 // *PullRequestFilter_Branch 2596 GitRef isPullRequestFilter_GitRef `protobuf_oneof:"git_ref"` 2597 // Whether to block builds on a "/gcbrun" comment from a repository admin or 2598 // collaborator. 2599 CommentControl PullRequestFilter_CommentControl `protobuf:"varint,5,opt,name=comment_control,json=commentControl,proto3,enum=google.devtools.cloudbuild.v1.PullRequestFilter_CommentControl" json:"comment_control,omitempty"` 2600 // If true, branches that do NOT match the git_ref will trigger a build. 2601 InvertRegex bool `protobuf:"varint,6,opt,name=invert_regex,json=invertRegex,proto3" json:"invert_regex,omitempty"` 2602 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2603 XXX_unrecognized []byte `json:"-"` 2604 XXX_sizecache int32 `json:"-"` 2605} 2606 2607func (m *PullRequestFilter) Reset() { *m = PullRequestFilter{} } 2608func (m *PullRequestFilter) String() string { return proto.CompactTextString(m) } 2609func (*PullRequestFilter) ProtoMessage() {} 2610func (*PullRequestFilter) Descriptor() ([]byte, []int) { 2611 return fileDescriptor_8a9099620ac1526a, []int{25} 2612} 2613 2614func (m *PullRequestFilter) XXX_Unmarshal(b []byte) error { 2615 return xxx_messageInfo_PullRequestFilter.Unmarshal(m, b) 2616} 2617func (m *PullRequestFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2618 return xxx_messageInfo_PullRequestFilter.Marshal(b, m, deterministic) 2619} 2620func (m *PullRequestFilter) XXX_Merge(src proto.Message) { 2621 xxx_messageInfo_PullRequestFilter.Merge(m, src) 2622} 2623func (m *PullRequestFilter) XXX_Size() int { 2624 return xxx_messageInfo_PullRequestFilter.Size(m) 2625} 2626func (m *PullRequestFilter) XXX_DiscardUnknown() { 2627 xxx_messageInfo_PullRequestFilter.DiscardUnknown(m) 2628} 2629 2630var xxx_messageInfo_PullRequestFilter proto.InternalMessageInfo 2631 2632type isPullRequestFilter_GitRef interface { 2633 isPullRequestFilter_GitRef() 2634} 2635 2636type PullRequestFilter_Branch struct { 2637 Branch string `protobuf:"bytes,2,opt,name=branch,proto3,oneof"` 2638} 2639 2640func (*PullRequestFilter_Branch) isPullRequestFilter_GitRef() {} 2641 2642func (m *PullRequestFilter) GetGitRef() isPullRequestFilter_GitRef { 2643 if m != nil { 2644 return m.GitRef 2645 } 2646 return nil 2647} 2648 2649func (m *PullRequestFilter) GetBranch() string { 2650 if x, ok := m.GetGitRef().(*PullRequestFilter_Branch); ok { 2651 return x.Branch 2652 } 2653 return "" 2654} 2655 2656func (m *PullRequestFilter) GetCommentControl() PullRequestFilter_CommentControl { 2657 if m != nil { 2658 return m.CommentControl 2659 } 2660 return PullRequestFilter_COMMENTS_DISABLED 2661} 2662 2663func (m *PullRequestFilter) GetInvertRegex() bool { 2664 if m != nil { 2665 return m.InvertRegex 2666 } 2667 return false 2668} 2669 2670// XXX_OneofWrappers is for the internal use of the proto package. 2671func (*PullRequestFilter) XXX_OneofWrappers() []interface{} { 2672 return []interface{}{ 2673 (*PullRequestFilter_Branch)(nil), 2674 } 2675} 2676 2677// Push contains filter properties for matching GitHub git pushes. 2678type PushFilter struct { 2679 // Modified refs to match. 2680 // A modified refs are the refs modified by a git push operation. 2681 // 2682 // Types that are valid to be assigned to GitRef: 2683 // *PushFilter_Branch 2684 // *PushFilter_Tag 2685 GitRef isPushFilter_GitRef `protobuf_oneof:"git_ref"` 2686 // When true, only trigger a build if the revision regex does NOT match the 2687 // git_ref regex. 2688 InvertRegex bool `protobuf:"varint,4,opt,name=invert_regex,json=invertRegex,proto3" json:"invert_regex,omitempty"` 2689 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2690 XXX_unrecognized []byte `json:"-"` 2691 XXX_sizecache int32 `json:"-"` 2692} 2693 2694func (m *PushFilter) Reset() { *m = PushFilter{} } 2695func (m *PushFilter) String() string { return proto.CompactTextString(m) } 2696func (*PushFilter) ProtoMessage() {} 2697func (*PushFilter) Descriptor() ([]byte, []int) { 2698 return fileDescriptor_8a9099620ac1526a, []int{26} 2699} 2700 2701func (m *PushFilter) XXX_Unmarshal(b []byte) error { 2702 return xxx_messageInfo_PushFilter.Unmarshal(m, b) 2703} 2704func (m *PushFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2705 return xxx_messageInfo_PushFilter.Marshal(b, m, deterministic) 2706} 2707func (m *PushFilter) XXX_Merge(src proto.Message) { 2708 xxx_messageInfo_PushFilter.Merge(m, src) 2709} 2710func (m *PushFilter) XXX_Size() int { 2711 return xxx_messageInfo_PushFilter.Size(m) 2712} 2713func (m *PushFilter) XXX_DiscardUnknown() { 2714 xxx_messageInfo_PushFilter.DiscardUnknown(m) 2715} 2716 2717var xxx_messageInfo_PushFilter proto.InternalMessageInfo 2718 2719type isPushFilter_GitRef interface { 2720 isPushFilter_GitRef() 2721} 2722 2723type PushFilter_Branch struct { 2724 Branch string `protobuf:"bytes,2,opt,name=branch,proto3,oneof"` 2725} 2726 2727type PushFilter_Tag struct { 2728 Tag string `protobuf:"bytes,3,opt,name=tag,proto3,oneof"` 2729} 2730 2731func (*PushFilter_Branch) isPushFilter_GitRef() {} 2732 2733func (*PushFilter_Tag) isPushFilter_GitRef() {} 2734 2735func (m *PushFilter) GetGitRef() isPushFilter_GitRef { 2736 if m != nil { 2737 return m.GitRef 2738 } 2739 return nil 2740} 2741 2742func (m *PushFilter) GetBranch() string { 2743 if x, ok := m.GetGitRef().(*PushFilter_Branch); ok { 2744 return x.Branch 2745 } 2746 return "" 2747} 2748 2749func (m *PushFilter) GetTag() string { 2750 if x, ok := m.GetGitRef().(*PushFilter_Tag); ok { 2751 return x.Tag 2752 } 2753 return "" 2754} 2755 2756func (m *PushFilter) GetInvertRegex() bool { 2757 if m != nil { 2758 return m.InvertRegex 2759 } 2760 return false 2761} 2762 2763// XXX_OneofWrappers is for the internal use of the proto package. 2764func (*PushFilter) XXX_OneofWrappers() []interface{} { 2765 return []interface{}{ 2766 (*PushFilter_Branch)(nil), 2767 (*PushFilter_Tag)(nil), 2768 } 2769} 2770 2771// Request to create a new `BuildTrigger`. 2772type CreateBuildTriggerRequest struct { 2773 // Required. ID of the project for which to configure automatic builds. 2774 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 2775 // Required. `BuildTrigger` to create. 2776 Trigger *BuildTrigger `protobuf:"bytes,2,opt,name=trigger,proto3" json:"trigger,omitempty"` 2777 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2778 XXX_unrecognized []byte `json:"-"` 2779 XXX_sizecache int32 `json:"-"` 2780} 2781 2782func (m *CreateBuildTriggerRequest) Reset() { *m = CreateBuildTriggerRequest{} } 2783func (m *CreateBuildTriggerRequest) String() string { return proto.CompactTextString(m) } 2784func (*CreateBuildTriggerRequest) ProtoMessage() {} 2785func (*CreateBuildTriggerRequest) Descriptor() ([]byte, []int) { 2786 return fileDescriptor_8a9099620ac1526a, []int{27} 2787} 2788 2789func (m *CreateBuildTriggerRequest) XXX_Unmarshal(b []byte) error { 2790 return xxx_messageInfo_CreateBuildTriggerRequest.Unmarshal(m, b) 2791} 2792func (m *CreateBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2793 return xxx_messageInfo_CreateBuildTriggerRequest.Marshal(b, m, deterministic) 2794} 2795func (m *CreateBuildTriggerRequest) XXX_Merge(src proto.Message) { 2796 xxx_messageInfo_CreateBuildTriggerRequest.Merge(m, src) 2797} 2798func (m *CreateBuildTriggerRequest) XXX_Size() int { 2799 return xxx_messageInfo_CreateBuildTriggerRequest.Size(m) 2800} 2801func (m *CreateBuildTriggerRequest) XXX_DiscardUnknown() { 2802 xxx_messageInfo_CreateBuildTriggerRequest.DiscardUnknown(m) 2803} 2804 2805var xxx_messageInfo_CreateBuildTriggerRequest proto.InternalMessageInfo 2806 2807func (m *CreateBuildTriggerRequest) GetProjectId() string { 2808 if m != nil { 2809 return m.ProjectId 2810 } 2811 return "" 2812} 2813 2814func (m *CreateBuildTriggerRequest) GetTrigger() *BuildTrigger { 2815 if m != nil { 2816 return m.Trigger 2817 } 2818 return nil 2819} 2820 2821// Returns the `BuildTrigger` with the specified ID. 2822type GetBuildTriggerRequest struct { 2823 // Required. ID of the project that owns the trigger. 2824 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 2825 // Required. Identifier (`id` or `name`) of the `BuildTrigger` to get. 2826 TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` 2827 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2828 XXX_unrecognized []byte `json:"-"` 2829 XXX_sizecache int32 `json:"-"` 2830} 2831 2832func (m *GetBuildTriggerRequest) Reset() { *m = GetBuildTriggerRequest{} } 2833func (m *GetBuildTriggerRequest) String() string { return proto.CompactTextString(m) } 2834func (*GetBuildTriggerRequest) ProtoMessage() {} 2835func (*GetBuildTriggerRequest) Descriptor() ([]byte, []int) { 2836 return fileDescriptor_8a9099620ac1526a, []int{28} 2837} 2838 2839func (m *GetBuildTriggerRequest) XXX_Unmarshal(b []byte) error { 2840 return xxx_messageInfo_GetBuildTriggerRequest.Unmarshal(m, b) 2841} 2842func (m *GetBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2843 return xxx_messageInfo_GetBuildTriggerRequest.Marshal(b, m, deterministic) 2844} 2845func (m *GetBuildTriggerRequest) XXX_Merge(src proto.Message) { 2846 xxx_messageInfo_GetBuildTriggerRequest.Merge(m, src) 2847} 2848func (m *GetBuildTriggerRequest) XXX_Size() int { 2849 return xxx_messageInfo_GetBuildTriggerRequest.Size(m) 2850} 2851func (m *GetBuildTriggerRequest) XXX_DiscardUnknown() { 2852 xxx_messageInfo_GetBuildTriggerRequest.DiscardUnknown(m) 2853} 2854 2855var xxx_messageInfo_GetBuildTriggerRequest proto.InternalMessageInfo 2856 2857func (m *GetBuildTriggerRequest) GetProjectId() string { 2858 if m != nil { 2859 return m.ProjectId 2860 } 2861 return "" 2862} 2863 2864func (m *GetBuildTriggerRequest) GetTriggerId() string { 2865 if m != nil { 2866 return m.TriggerId 2867 } 2868 return "" 2869} 2870 2871// Request to list existing `BuildTriggers`. 2872type ListBuildTriggersRequest struct { 2873 // Required. ID of the project for which to list BuildTriggers. 2874 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 2875 // Number of results to return in the list. 2876 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 2877 // Token to provide to skip to a particular spot in the list. 2878 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 2879 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2880 XXX_unrecognized []byte `json:"-"` 2881 XXX_sizecache int32 `json:"-"` 2882} 2883 2884func (m *ListBuildTriggersRequest) Reset() { *m = ListBuildTriggersRequest{} } 2885func (m *ListBuildTriggersRequest) String() string { return proto.CompactTextString(m) } 2886func (*ListBuildTriggersRequest) ProtoMessage() {} 2887func (*ListBuildTriggersRequest) Descriptor() ([]byte, []int) { 2888 return fileDescriptor_8a9099620ac1526a, []int{29} 2889} 2890 2891func (m *ListBuildTriggersRequest) XXX_Unmarshal(b []byte) error { 2892 return xxx_messageInfo_ListBuildTriggersRequest.Unmarshal(m, b) 2893} 2894func (m *ListBuildTriggersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2895 return xxx_messageInfo_ListBuildTriggersRequest.Marshal(b, m, deterministic) 2896} 2897func (m *ListBuildTriggersRequest) XXX_Merge(src proto.Message) { 2898 xxx_messageInfo_ListBuildTriggersRequest.Merge(m, src) 2899} 2900func (m *ListBuildTriggersRequest) XXX_Size() int { 2901 return xxx_messageInfo_ListBuildTriggersRequest.Size(m) 2902} 2903func (m *ListBuildTriggersRequest) XXX_DiscardUnknown() { 2904 xxx_messageInfo_ListBuildTriggersRequest.DiscardUnknown(m) 2905} 2906 2907var xxx_messageInfo_ListBuildTriggersRequest proto.InternalMessageInfo 2908 2909func (m *ListBuildTriggersRequest) GetProjectId() string { 2910 if m != nil { 2911 return m.ProjectId 2912 } 2913 return "" 2914} 2915 2916func (m *ListBuildTriggersRequest) GetPageSize() int32 { 2917 if m != nil { 2918 return m.PageSize 2919 } 2920 return 0 2921} 2922 2923func (m *ListBuildTriggersRequest) GetPageToken() string { 2924 if m != nil { 2925 return m.PageToken 2926 } 2927 return "" 2928} 2929 2930// Response containing existing `BuildTriggers`. 2931type ListBuildTriggersResponse struct { 2932 // `BuildTriggers` for the project, sorted by `create_time` descending. 2933 Triggers []*BuildTrigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"` 2934 // Token to receive the next page of results. 2935 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 2936 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2937 XXX_unrecognized []byte `json:"-"` 2938 XXX_sizecache int32 `json:"-"` 2939} 2940 2941func (m *ListBuildTriggersResponse) Reset() { *m = ListBuildTriggersResponse{} } 2942func (m *ListBuildTriggersResponse) String() string { return proto.CompactTextString(m) } 2943func (*ListBuildTriggersResponse) ProtoMessage() {} 2944func (*ListBuildTriggersResponse) Descriptor() ([]byte, []int) { 2945 return fileDescriptor_8a9099620ac1526a, []int{30} 2946} 2947 2948func (m *ListBuildTriggersResponse) XXX_Unmarshal(b []byte) error { 2949 return xxx_messageInfo_ListBuildTriggersResponse.Unmarshal(m, b) 2950} 2951func (m *ListBuildTriggersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2952 return xxx_messageInfo_ListBuildTriggersResponse.Marshal(b, m, deterministic) 2953} 2954func (m *ListBuildTriggersResponse) XXX_Merge(src proto.Message) { 2955 xxx_messageInfo_ListBuildTriggersResponse.Merge(m, src) 2956} 2957func (m *ListBuildTriggersResponse) XXX_Size() int { 2958 return xxx_messageInfo_ListBuildTriggersResponse.Size(m) 2959} 2960func (m *ListBuildTriggersResponse) XXX_DiscardUnknown() { 2961 xxx_messageInfo_ListBuildTriggersResponse.DiscardUnknown(m) 2962} 2963 2964var xxx_messageInfo_ListBuildTriggersResponse proto.InternalMessageInfo 2965 2966func (m *ListBuildTriggersResponse) GetTriggers() []*BuildTrigger { 2967 if m != nil { 2968 return m.Triggers 2969 } 2970 return nil 2971} 2972 2973func (m *ListBuildTriggersResponse) GetNextPageToken() string { 2974 if m != nil { 2975 return m.NextPageToken 2976 } 2977 return "" 2978} 2979 2980// Request to delete a `BuildTrigger`. 2981type DeleteBuildTriggerRequest struct { 2982 // Required. ID of the project that owns the trigger. 2983 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 2984 // Required. ID of the `BuildTrigger` to delete. 2985 TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` 2986 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2987 XXX_unrecognized []byte `json:"-"` 2988 XXX_sizecache int32 `json:"-"` 2989} 2990 2991func (m *DeleteBuildTriggerRequest) Reset() { *m = DeleteBuildTriggerRequest{} } 2992func (m *DeleteBuildTriggerRequest) String() string { return proto.CompactTextString(m) } 2993func (*DeleteBuildTriggerRequest) ProtoMessage() {} 2994func (*DeleteBuildTriggerRequest) Descriptor() ([]byte, []int) { 2995 return fileDescriptor_8a9099620ac1526a, []int{31} 2996} 2997 2998func (m *DeleteBuildTriggerRequest) XXX_Unmarshal(b []byte) error { 2999 return xxx_messageInfo_DeleteBuildTriggerRequest.Unmarshal(m, b) 3000} 3001func (m *DeleteBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3002 return xxx_messageInfo_DeleteBuildTriggerRequest.Marshal(b, m, deterministic) 3003} 3004func (m *DeleteBuildTriggerRequest) XXX_Merge(src proto.Message) { 3005 xxx_messageInfo_DeleteBuildTriggerRequest.Merge(m, src) 3006} 3007func (m *DeleteBuildTriggerRequest) XXX_Size() int { 3008 return xxx_messageInfo_DeleteBuildTriggerRequest.Size(m) 3009} 3010func (m *DeleteBuildTriggerRequest) XXX_DiscardUnknown() { 3011 xxx_messageInfo_DeleteBuildTriggerRequest.DiscardUnknown(m) 3012} 3013 3014var xxx_messageInfo_DeleteBuildTriggerRequest proto.InternalMessageInfo 3015 3016func (m *DeleteBuildTriggerRequest) GetProjectId() string { 3017 if m != nil { 3018 return m.ProjectId 3019 } 3020 return "" 3021} 3022 3023func (m *DeleteBuildTriggerRequest) GetTriggerId() string { 3024 if m != nil { 3025 return m.TriggerId 3026 } 3027 return "" 3028} 3029 3030// Request to update an existing `BuildTrigger`. 3031type UpdateBuildTriggerRequest struct { 3032 // Required. ID of the project that owns the trigger. 3033 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 3034 // Required. ID of the `BuildTrigger` to update. 3035 TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` 3036 // Required. `BuildTrigger` to update. 3037 Trigger *BuildTrigger `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"` 3038 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3039 XXX_unrecognized []byte `json:"-"` 3040 XXX_sizecache int32 `json:"-"` 3041} 3042 3043func (m *UpdateBuildTriggerRequest) Reset() { *m = UpdateBuildTriggerRequest{} } 3044func (m *UpdateBuildTriggerRequest) String() string { return proto.CompactTextString(m) } 3045func (*UpdateBuildTriggerRequest) ProtoMessage() {} 3046func (*UpdateBuildTriggerRequest) Descriptor() ([]byte, []int) { 3047 return fileDescriptor_8a9099620ac1526a, []int{32} 3048} 3049 3050func (m *UpdateBuildTriggerRequest) XXX_Unmarshal(b []byte) error { 3051 return xxx_messageInfo_UpdateBuildTriggerRequest.Unmarshal(m, b) 3052} 3053func (m *UpdateBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3054 return xxx_messageInfo_UpdateBuildTriggerRequest.Marshal(b, m, deterministic) 3055} 3056func (m *UpdateBuildTriggerRequest) XXX_Merge(src proto.Message) { 3057 xxx_messageInfo_UpdateBuildTriggerRequest.Merge(m, src) 3058} 3059func (m *UpdateBuildTriggerRequest) XXX_Size() int { 3060 return xxx_messageInfo_UpdateBuildTriggerRequest.Size(m) 3061} 3062func (m *UpdateBuildTriggerRequest) XXX_DiscardUnknown() { 3063 xxx_messageInfo_UpdateBuildTriggerRequest.DiscardUnknown(m) 3064} 3065 3066var xxx_messageInfo_UpdateBuildTriggerRequest proto.InternalMessageInfo 3067 3068func (m *UpdateBuildTriggerRequest) GetProjectId() string { 3069 if m != nil { 3070 return m.ProjectId 3071 } 3072 return "" 3073} 3074 3075func (m *UpdateBuildTriggerRequest) GetTriggerId() string { 3076 if m != nil { 3077 return m.TriggerId 3078 } 3079 return "" 3080} 3081 3082func (m *UpdateBuildTriggerRequest) GetTrigger() *BuildTrigger { 3083 if m != nil { 3084 return m.Trigger 3085 } 3086 return nil 3087} 3088 3089// Optional arguments to enable specific features of builds. 3090type BuildOptions struct { 3091 // Requested hash for SourceProvenance. 3092 SourceProvenanceHash []Hash_HashType `protobuf:"varint,1,rep,packed,name=source_provenance_hash,json=sourceProvenanceHash,proto3,enum=google.devtools.cloudbuild.v1.Hash_HashType" json:"source_provenance_hash,omitempty"` 3093 // Requested verifiability options. 3094 RequestedVerifyOption BuildOptions_VerifyOption `protobuf:"varint,2,opt,name=requested_verify_option,json=requestedVerifyOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_VerifyOption" json:"requested_verify_option,omitempty"` 3095 // Compute Engine machine type on which to run the build. 3096 MachineType BuildOptions_MachineType `protobuf:"varint,3,opt,name=machine_type,json=machineType,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_MachineType" json:"machine_type,omitempty"` 3097 // Requested disk size for the VM that runs the build. Note that this is *NOT* 3098 // "disk free"; some of the space will be used by the operating system and 3099 // build utilities. Also note that this is the minimum disk size that will be 3100 // allocated for the build -- the build may run with a larger disk than 3101 // requested. At present, the maximum disk size is 1000GB; builds that request 3102 // more than the maximum are rejected with an error. 3103 DiskSizeGb int64 `protobuf:"varint,6,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"` 3104 // Option to specify behavior when there is an error in the substitution 3105 // checks. 3106 SubstitutionOption BuildOptions_SubstitutionOption `protobuf:"varint,4,opt,name=substitution_option,json=substitutionOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_SubstitutionOption" json:"substitution_option,omitempty"` 3107 // Option to define build log streaming behavior to Google Cloud 3108 // Storage. 3109 LogStreamingOption BuildOptions_LogStreamingOption `protobuf:"varint,5,opt,name=log_streaming_option,json=logStreamingOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_LogStreamingOption" json:"log_streaming_option,omitempty"` 3110 // Option to specify a `WorkerPool` for the build. 3111 // Format: projects/{project}/workerPools/{workerPool} 3112 // 3113 // This field is experimental. 3114 WorkerPool string `protobuf:"bytes,7,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"` 3115 // Option to specify the logging mode, which determines where the logs are 3116 // stored. 3117 Logging BuildOptions_LoggingMode `protobuf:"varint,11,opt,name=logging,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_LoggingMode" json:"logging,omitempty"` 3118 // A list of global environment variable definitions that will exist for all 3119 // build steps in this build. If a variable is defined in both globally and in 3120 // a build step, the variable will use the build step value. 3121 // 3122 // The elements are of the form "KEY=VALUE" for the environment variable "KEY" 3123 // being given the value "VALUE". 3124 Env []string `protobuf:"bytes,12,rep,name=env,proto3" json:"env,omitempty"` 3125 // A list of global environment variables, which are encrypted using a Cloud 3126 // Key Management Service crypto key. These values must be specified in the 3127 // build's `Secret`. These variables will be available to all build steps 3128 // in this build. 3129 SecretEnv []string `protobuf:"bytes,13,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty"` 3130 // Global list of volumes to mount for ALL build steps 3131 // 3132 // Each volume is created as an empty volume prior to starting the build 3133 // process. Upon completion of the build, volumes and their contents are 3134 // discarded. Global volume names and paths cannot conflict with the volumes 3135 // defined a build step. 3136 // 3137 // Using a global volume in a build with only one step is not valid as 3138 // it is indicative of a build request with an incorrect configuration. 3139 Volumes []*Volume `protobuf:"bytes,14,rep,name=volumes,proto3" json:"volumes,omitempty"` 3140 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3141 XXX_unrecognized []byte `json:"-"` 3142 XXX_sizecache int32 `json:"-"` 3143} 3144 3145func (m *BuildOptions) Reset() { *m = BuildOptions{} } 3146func (m *BuildOptions) String() string { return proto.CompactTextString(m) } 3147func (*BuildOptions) ProtoMessage() {} 3148func (*BuildOptions) Descriptor() ([]byte, []int) { 3149 return fileDescriptor_8a9099620ac1526a, []int{33} 3150} 3151 3152func (m *BuildOptions) XXX_Unmarshal(b []byte) error { 3153 return xxx_messageInfo_BuildOptions.Unmarshal(m, b) 3154} 3155func (m *BuildOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3156 return xxx_messageInfo_BuildOptions.Marshal(b, m, deterministic) 3157} 3158func (m *BuildOptions) XXX_Merge(src proto.Message) { 3159 xxx_messageInfo_BuildOptions.Merge(m, src) 3160} 3161func (m *BuildOptions) XXX_Size() int { 3162 return xxx_messageInfo_BuildOptions.Size(m) 3163} 3164func (m *BuildOptions) XXX_DiscardUnknown() { 3165 xxx_messageInfo_BuildOptions.DiscardUnknown(m) 3166} 3167 3168var xxx_messageInfo_BuildOptions proto.InternalMessageInfo 3169 3170func (m *BuildOptions) GetSourceProvenanceHash() []Hash_HashType { 3171 if m != nil { 3172 return m.SourceProvenanceHash 3173 } 3174 return nil 3175} 3176 3177func (m *BuildOptions) GetRequestedVerifyOption() BuildOptions_VerifyOption { 3178 if m != nil { 3179 return m.RequestedVerifyOption 3180 } 3181 return BuildOptions_NOT_VERIFIED 3182} 3183 3184func (m *BuildOptions) GetMachineType() BuildOptions_MachineType { 3185 if m != nil { 3186 return m.MachineType 3187 } 3188 return BuildOptions_UNSPECIFIED 3189} 3190 3191func (m *BuildOptions) GetDiskSizeGb() int64 { 3192 if m != nil { 3193 return m.DiskSizeGb 3194 } 3195 return 0 3196} 3197 3198func (m *BuildOptions) GetSubstitutionOption() BuildOptions_SubstitutionOption { 3199 if m != nil { 3200 return m.SubstitutionOption 3201 } 3202 return BuildOptions_MUST_MATCH 3203} 3204 3205func (m *BuildOptions) GetLogStreamingOption() BuildOptions_LogStreamingOption { 3206 if m != nil { 3207 return m.LogStreamingOption 3208 } 3209 return BuildOptions_STREAM_DEFAULT 3210} 3211 3212func (m *BuildOptions) GetWorkerPool() string { 3213 if m != nil { 3214 return m.WorkerPool 3215 } 3216 return "" 3217} 3218 3219func (m *BuildOptions) GetLogging() BuildOptions_LoggingMode { 3220 if m != nil { 3221 return m.Logging 3222 } 3223 return BuildOptions_LOGGING_UNSPECIFIED 3224} 3225 3226func (m *BuildOptions) GetEnv() []string { 3227 if m != nil { 3228 return m.Env 3229 } 3230 return nil 3231} 3232 3233func (m *BuildOptions) GetSecretEnv() []string { 3234 if m != nil { 3235 return m.SecretEnv 3236 } 3237 return nil 3238} 3239 3240func (m *BuildOptions) GetVolumes() []*Volume { 3241 if m != nil { 3242 return m.Volumes 3243 } 3244 return nil 3245} 3246 3247// Configuration for a WorkerPool to run the builds. 3248// 3249// Workers are machines that Cloud Build uses to run your builds. By default, 3250// all workers run in a project owned by Cloud Build. To have full control over 3251// the workers that execute your builds -- such as enabling them to access 3252// private resources on your private network -- you can request Cloud Build to 3253// run the workers in your own project by creating a custom workers pool. 3254type WorkerPool struct { 3255 // User-defined name of the `WorkerPool`. 3256 Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"` 3257 // The project ID of the GCP project for which the `WorkerPool` is created. 3258 ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 3259 // Output only. The service account used to manage the `WorkerPool`. The 3260 // service account must have the Compute Instance Admin (Beta) permission at 3261 // the project level. 3262 ServiceAccountEmail string `protobuf:"bytes,3,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` 3263 // Total number of workers to be created across all requested regions. 3264 WorkerCount int64 `protobuf:"varint,4,opt,name=worker_count,json=workerCount,proto3" json:"worker_count,omitempty"` 3265 // Configuration to be used for a creating workers in the `WorkerPool`. 3266 WorkerConfig *WorkerConfig `protobuf:"bytes,16,opt,name=worker_config,json=workerConfig,proto3" json:"worker_config,omitempty"` 3267 // List of regions to create the `WorkerPool`. Regions can't be empty. 3268 // If Cloud Build adds a new GCP region in the future, the existing 3269 // `WorkerPool` will not be enabled in the new region automatically; 3270 // you must add the new region to the `regions` field to enable the 3271 // `WorkerPool` in that region. 3272 Regions []WorkerPool_Region `protobuf:"varint,9,rep,packed,name=regions,proto3,enum=google.devtools.cloudbuild.v1.WorkerPool_Region" json:"regions,omitempty"` 3273 // Output only. Time at which the request to create the `WorkerPool` was 3274 // received. 3275 CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 3276 // Output only. Time at which the request to update the `WorkerPool` was 3277 // received. 3278 UpdateTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 3279 // Output only. Time at which the request to delete the `WorkerPool` was 3280 // received. 3281 DeleteTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` 3282 // Output only. WorkerPool Status. 3283 Status WorkerPool_Status `protobuf:"varint,13,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.WorkerPool_Status" json:"status,omitempty"` 3284 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3285 XXX_unrecognized []byte `json:"-"` 3286 XXX_sizecache int32 `json:"-"` 3287} 3288 3289func (m *WorkerPool) Reset() { *m = WorkerPool{} } 3290func (m *WorkerPool) String() string { return proto.CompactTextString(m) } 3291func (*WorkerPool) ProtoMessage() {} 3292func (*WorkerPool) Descriptor() ([]byte, []int) { 3293 return fileDescriptor_8a9099620ac1526a, []int{34} 3294} 3295 3296func (m *WorkerPool) XXX_Unmarshal(b []byte) error { 3297 return xxx_messageInfo_WorkerPool.Unmarshal(m, b) 3298} 3299func (m *WorkerPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3300 return xxx_messageInfo_WorkerPool.Marshal(b, m, deterministic) 3301} 3302func (m *WorkerPool) XXX_Merge(src proto.Message) { 3303 xxx_messageInfo_WorkerPool.Merge(m, src) 3304} 3305func (m *WorkerPool) XXX_Size() int { 3306 return xxx_messageInfo_WorkerPool.Size(m) 3307} 3308func (m *WorkerPool) XXX_DiscardUnknown() { 3309 xxx_messageInfo_WorkerPool.DiscardUnknown(m) 3310} 3311 3312var xxx_messageInfo_WorkerPool proto.InternalMessageInfo 3313 3314func (m *WorkerPool) GetName() string { 3315 if m != nil { 3316 return m.Name 3317 } 3318 return "" 3319} 3320 3321func (m *WorkerPool) GetProjectId() string { 3322 if m != nil { 3323 return m.ProjectId 3324 } 3325 return "" 3326} 3327 3328func (m *WorkerPool) GetServiceAccountEmail() string { 3329 if m != nil { 3330 return m.ServiceAccountEmail 3331 } 3332 return "" 3333} 3334 3335func (m *WorkerPool) GetWorkerCount() int64 { 3336 if m != nil { 3337 return m.WorkerCount 3338 } 3339 return 0 3340} 3341 3342func (m *WorkerPool) GetWorkerConfig() *WorkerConfig { 3343 if m != nil { 3344 return m.WorkerConfig 3345 } 3346 return nil 3347} 3348 3349func (m *WorkerPool) GetRegions() []WorkerPool_Region { 3350 if m != nil { 3351 return m.Regions 3352 } 3353 return nil 3354} 3355 3356func (m *WorkerPool) GetCreateTime() *timestamp.Timestamp { 3357 if m != nil { 3358 return m.CreateTime 3359 } 3360 return nil 3361} 3362 3363func (m *WorkerPool) GetUpdateTime() *timestamp.Timestamp { 3364 if m != nil { 3365 return m.UpdateTime 3366 } 3367 return nil 3368} 3369 3370func (m *WorkerPool) GetDeleteTime() *timestamp.Timestamp { 3371 if m != nil { 3372 return m.DeleteTime 3373 } 3374 return nil 3375} 3376 3377func (m *WorkerPool) GetStatus() WorkerPool_Status { 3378 if m != nil { 3379 return m.Status 3380 } 3381 return WorkerPool_STATUS_UNSPECIFIED 3382} 3383 3384// WorkerConfig defines the configuration to be used for a creating workers in 3385// the pool. 3386type WorkerConfig struct { 3387 // Machine Type of the worker, such as n1-standard-1. 3388 // See https://cloud.google.com/compute/docs/machine-types. 3389 // If left blank, Cloud Build will use a standard unspecified machine to 3390 // create the worker pool. 3391 // `machine_type` is overridden if you specify a different machine type in 3392 // `build_options`. In this case, the VM specified in the `build_options` 3393 // will be created on demand at build time. For more information see 3394 // https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes 3395 MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` 3396 // Size of the disk attached to the worker, in GB. 3397 // See https://cloud.google.com/compute/docs/disks/ 3398 // If `0` is specified, Cloud Build will use a standard disk size. 3399 // `disk_size` is overridden if you specify a different disk size in 3400 // `build_options`. In this case, a VM with a disk size specified in the 3401 // `build_options` will be created on demand at build time. For more 3402 // information see 3403 // https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions 3404 DiskSizeGb int64 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"` 3405 // The network definition used to create the worker. 3406 // If this section is left empty, the workers will be created in 3407 // WorkerPool.project_id on the default network. 3408 Network *Network `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` 3409 // The tag applied to the worker, and the same tag used by the firewall rule. 3410 // It is used to identify the Cloud Build workers among other VMs. 3411 // The default value for tag is `worker`. 3412 Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` 3413 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3414 XXX_unrecognized []byte `json:"-"` 3415 XXX_sizecache int32 `json:"-"` 3416} 3417 3418func (m *WorkerConfig) Reset() { *m = WorkerConfig{} } 3419func (m *WorkerConfig) String() string { return proto.CompactTextString(m) } 3420func (*WorkerConfig) ProtoMessage() {} 3421func (*WorkerConfig) Descriptor() ([]byte, []int) { 3422 return fileDescriptor_8a9099620ac1526a, []int{35} 3423} 3424 3425func (m *WorkerConfig) XXX_Unmarshal(b []byte) error { 3426 return xxx_messageInfo_WorkerConfig.Unmarshal(m, b) 3427} 3428func (m *WorkerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3429 return xxx_messageInfo_WorkerConfig.Marshal(b, m, deterministic) 3430} 3431func (m *WorkerConfig) XXX_Merge(src proto.Message) { 3432 xxx_messageInfo_WorkerConfig.Merge(m, src) 3433} 3434func (m *WorkerConfig) XXX_Size() int { 3435 return xxx_messageInfo_WorkerConfig.Size(m) 3436} 3437func (m *WorkerConfig) XXX_DiscardUnknown() { 3438 xxx_messageInfo_WorkerConfig.DiscardUnknown(m) 3439} 3440 3441var xxx_messageInfo_WorkerConfig proto.InternalMessageInfo 3442 3443func (m *WorkerConfig) GetMachineType() string { 3444 if m != nil { 3445 return m.MachineType 3446 } 3447 return "" 3448} 3449 3450func (m *WorkerConfig) GetDiskSizeGb() int64 { 3451 if m != nil { 3452 return m.DiskSizeGb 3453 } 3454 return 0 3455} 3456 3457func (m *WorkerConfig) GetNetwork() *Network { 3458 if m != nil { 3459 return m.Network 3460 } 3461 return nil 3462} 3463 3464func (m *WorkerConfig) GetTag() string { 3465 if m != nil { 3466 return m.Tag 3467 } 3468 return "" 3469} 3470 3471// Network describes the GCP network used to create workers in. 3472type Network struct { 3473 // Project id containing the defined network and subnetwork. For a peered VPC, 3474 // this will be the same as the project_id in which the workers are created. 3475 // For a shared VPC, this will be the project sharing the network with the 3476 // project_id project in which workers will be created. For custom workers 3477 // with no VPC, this will be the same as project_id. 3478 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 3479 // Network on which the workers are created. 3480 // "default" network is used if empty. 3481 Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` 3482 // Subnetwork on which the workers are created. 3483 // "default" subnetwork is used if empty. 3484 Subnetwork string `protobuf:"bytes,3,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"` 3485 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3486 XXX_unrecognized []byte `json:"-"` 3487 XXX_sizecache int32 `json:"-"` 3488} 3489 3490func (m *Network) Reset() { *m = Network{} } 3491func (m *Network) String() string { return proto.CompactTextString(m) } 3492func (*Network) ProtoMessage() {} 3493func (*Network) Descriptor() ([]byte, []int) { 3494 return fileDescriptor_8a9099620ac1526a, []int{36} 3495} 3496 3497func (m *Network) XXX_Unmarshal(b []byte) error { 3498 return xxx_messageInfo_Network.Unmarshal(m, b) 3499} 3500func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3501 return xxx_messageInfo_Network.Marshal(b, m, deterministic) 3502} 3503func (m *Network) XXX_Merge(src proto.Message) { 3504 xxx_messageInfo_Network.Merge(m, src) 3505} 3506func (m *Network) XXX_Size() int { 3507 return xxx_messageInfo_Network.Size(m) 3508} 3509func (m *Network) XXX_DiscardUnknown() { 3510 xxx_messageInfo_Network.DiscardUnknown(m) 3511} 3512 3513var xxx_messageInfo_Network proto.InternalMessageInfo 3514 3515func (m *Network) GetProjectId() string { 3516 if m != nil { 3517 return m.ProjectId 3518 } 3519 return "" 3520} 3521 3522func (m *Network) GetNetwork() string { 3523 if m != nil { 3524 return m.Network 3525 } 3526 return "" 3527} 3528 3529func (m *Network) GetSubnetwork() string { 3530 if m != nil { 3531 return m.Subnetwork 3532 } 3533 return "" 3534} 3535 3536// Request to create a new `WorkerPool`. 3537type CreateWorkerPoolRequest struct { 3538 // ID of the parent project. 3539 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 3540 // `WorkerPool` resource to create. 3541 WorkerPool *WorkerPool `protobuf:"bytes,2,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"` 3542 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3543 XXX_unrecognized []byte `json:"-"` 3544 XXX_sizecache int32 `json:"-"` 3545} 3546 3547func (m *CreateWorkerPoolRequest) Reset() { *m = CreateWorkerPoolRequest{} } 3548func (m *CreateWorkerPoolRequest) String() string { return proto.CompactTextString(m) } 3549func (*CreateWorkerPoolRequest) ProtoMessage() {} 3550func (*CreateWorkerPoolRequest) Descriptor() ([]byte, []int) { 3551 return fileDescriptor_8a9099620ac1526a, []int{37} 3552} 3553 3554func (m *CreateWorkerPoolRequest) XXX_Unmarshal(b []byte) error { 3555 return xxx_messageInfo_CreateWorkerPoolRequest.Unmarshal(m, b) 3556} 3557func (m *CreateWorkerPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3558 return xxx_messageInfo_CreateWorkerPoolRequest.Marshal(b, m, deterministic) 3559} 3560func (m *CreateWorkerPoolRequest) XXX_Merge(src proto.Message) { 3561 xxx_messageInfo_CreateWorkerPoolRequest.Merge(m, src) 3562} 3563func (m *CreateWorkerPoolRequest) XXX_Size() int { 3564 return xxx_messageInfo_CreateWorkerPoolRequest.Size(m) 3565} 3566func (m *CreateWorkerPoolRequest) XXX_DiscardUnknown() { 3567 xxx_messageInfo_CreateWorkerPoolRequest.DiscardUnknown(m) 3568} 3569 3570var xxx_messageInfo_CreateWorkerPoolRequest proto.InternalMessageInfo 3571 3572func (m *CreateWorkerPoolRequest) GetParent() string { 3573 if m != nil { 3574 return m.Parent 3575 } 3576 return "" 3577} 3578 3579func (m *CreateWorkerPoolRequest) GetWorkerPool() *WorkerPool { 3580 if m != nil { 3581 return m.WorkerPool 3582 } 3583 return nil 3584} 3585 3586// Request to get a `WorkerPool` with the specified name. 3587type GetWorkerPoolRequest struct { 3588 // The field will contain name of the resource requested, for example: 3589 // "projects/project-1/workerPools/workerpool-name" 3590 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 3591 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3592 XXX_unrecognized []byte `json:"-"` 3593 XXX_sizecache int32 `json:"-"` 3594} 3595 3596func (m *GetWorkerPoolRequest) Reset() { *m = GetWorkerPoolRequest{} } 3597func (m *GetWorkerPoolRequest) String() string { return proto.CompactTextString(m) } 3598func (*GetWorkerPoolRequest) ProtoMessage() {} 3599func (*GetWorkerPoolRequest) Descriptor() ([]byte, []int) { 3600 return fileDescriptor_8a9099620ac1526a, []int{38} 3601} 3602 3603func (m *GetWorkerPoolRequest) XXX_Unmarshal(b []byte) error { 3604 return xxx_messageInfo_GetWorkerPoolRequest.Unmarshal(m, b) 3605} 3606func (m *GetWorkerPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3607 return xxx_messageInfo_GetWorkerPoolRequest.Marshal(b, m, deterministic) 3608} 3609func (m *GetWorkerPoolRequest) XXX_Merge(src proto.Message) { 3610 xxx_messageInfo_GetWorkerPoolRequest.Merge(m, src) 3611} 3612func (m *GetWorkerPoolRequest) XXX_Size() int { 3613 return xxx_messageInfo_GetWorkerPoolRequest.Size(m) 3614} 3615func (m *GetWorkerPoolRequest) XXX_DiscardUnknown() { 3616 xxx_messageInfo_GetWorkerPoolRequest.DiscardUnknown(m) 3617} 3618 3619var xxx_messageInfo_GetWorkerPoolRequest proto.InternalMessageInfo 3620 3621func (m *GetWorkerPoolRequest) GetName() string { 3622 if m != nil { 3623 return m.Name 3624 } 3625 return "" 3626} 3627 3628// Request to delete a `WorkerPool`. 3629type DeleteWorkerPoolRequest struct { 3630 // The field will contain name of the resource requested, for example: 3631 // "projects/project-1/workerPools/workerpool-name" 3632 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 3633 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3634 XXX_unrecognized []byte `json:"-"` 3635 XXX_sizecache int32 `json:"-"` 3636} 3637 3638func (m *DeleteWorkerPoolRequest) Reset() { *m = DeleteWorkerPoolRequest{} } 3639func (m *DeleteWorkerPoolRequest) String() string { return proto.CompactTextString(m) } 3640func (*DeleteWorkerPoolRequest) ProtoMessage() {} 3641func (*DeleteWorkerPoolRequest) Descriptor() ([]byte, []int) { 3642 return fileDescriptor_8a9099620ac1526a, []int{39} 3643} 3644 3645func (m *DeleteWorkerPoolRequest) XXX_Unmarshal(b []byte) error { 3646 return xxx_messageInfo_DeleteWorkerPoolRequest.Unmarshal(m, b) 3647} 3648func (m *DeleteWorkerPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3649 return xxx_messageInfo_DeleteWorkerPoolRequest.Marshal(b, m, deterministic) 3650} 3651func (m *DeleteWorkerPoolRequest) XXX_Merge(src proto.Message) { 3652 xxx_messageInfo_DeleteWorkerPoolRequest.Merge(m, src) 3653} 3654func (m *DeleteWorkerPoolRequest) XXX_Size() int { 3655 return xxx_messageInfo_DeleteWorkerPoolRequest.Size(m) 3656} 3657func (m *DeleteWorkerPoolRequest) XXX_DiscardUnknown() { 3658 xxx_messageInfo_DeleteWorkerPoolRequest.DiscardUnknown(m) 3659} 3660 3661var xxx_messageInfo_DeleteWorkerPoolRequest proto.InternalMessageInfo 3662 3663func (m *DeleteWorkerPoolRequest) GetName() string { 3664 if m != nil { 3665 return m.Name 3666 } 3667 return "" 3668} 3669 3670// Request to update a `WorkerPool`. 3671type UpdateWorkerPoolRequest struct { 3672 // The field will contain name of the resource requested, for example: 3673 // "projects/project-1/workerPools/workerpool-name" 3674 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 3675 // `WorkerPool` resource to update. 3676 WorkerPool *WorkerPool `protobuf:"bytes,3,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"` 3677 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3678 XXX_unrecognized []byte `json:"-"` 3679 XXX_sizecache int32 `json:"-"` 3680} 3681 3682func (m *UpdateWorkerPoolRequest) Reset() { *m = UpdateWorkerPoolRequest{} } 3683func (m *UpdateWorkerPoolRequest) String() string { return proto.CompactTextString(m) } 3684func (*UpdateWorkerPoolRequest) ProtoMessage() {} 3685func (*UpdateWorkerPoolRequest) Descriptor() ([]byte, []int) { 3686 return fileDescriptor_8a9099620ac1526a, []int{40} 3687} 3688 3689func (m *UpdateWorkerPoolRequest) XXX_Unmarshal(b []byte) error { 3690 return xxx_messageInfo_UpdateWorkerPoolRequest.Unmarshal(m, b) 3691} 3692func (m *UpdateWorkerPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3693 return xxx_messageInfo_UpdateWorkerPoolRequest.Marshal(b, m, deterministic) 3694} 3695func (m *UpdateWorkerPoolRequest) XXX_Merge(src proto.Message) { 3696 xxx_messageInfo_UpdateWorkerPoolRequest.Merge(m, src) 3697} 3698func (m *UpdateWorkerPoolRequest) XXX_Size() int { 3699 return xxx_messageInfo_UpdateWorkerPoolRequest.Size(m) 3700} 3701func (m *UpdateWorkerPoolRequest) XXX_DiscardUnknown() { 3702 xxx_messageInfo_UpdateWorkerPoolRequest.DiscardUnknown(m) 3703} 3704 3705var xxx_messageInfo_UpdateWorkerPoolRequest proto.InternalMessageInfo 3706 3707func (m *UpdateWorkerPoolRequest) GetName() string { 3708 if m != nil { 3709 return m.Name 3710 } 3711 return "" 3712} 3713 3714func (m *UpdateWorkerPoolRequest) GetWorkerPool() *WorkerPool { 3715 if m != nil { 3716 return m.WorkerPool 3717 } 3718 return nil 3719} 3720 3721// Request to list `WorkerPool`s. 3722type ListWorkerPoolsRequest struct { 3723 // ID of the parent project. 3724 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 3725 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3726 XXX_unrecognized []byte `json:"-"` 3727 XXX_sizecache int32 `json:"-"` 3728} 3729 3730func (m *ListWorkerPoolsRequest) Reset() { *m = ListWorkerPoolsRequest{} } 3731func (m *ListWorkerPoolsRequest) String() string { return proto.CompactTextString(m) } 3732func (*ListWorkerPoolsRequest) ProtoMessage() {} 3733func (*ListWorkerPoolsRequest) Descriptor() ([]byte, []int) { 3734 return fileDescriptor_8a9099620ac1526a, []int{41} 3735} 3736 3737func (m *ListWorkerPoolsRequest) XXX_Unmarshal(b []byte) error { 3738 return xxx_messageInfo_ListWorkerPoolsRequest.Unmarshal(m, b) 3739} 3740func (m *ListWorkerPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3741 return xxx_messageInfo_ListWorkerPoolsRequest.Marshal(b, m, deterministic) 3742} 3743func (m *ListWorkerPoolsRequest) XXX_Merge(src proto.Message) { 3744 xxx_messageInfo_ListWorkerPoolsRequest.Merge(m, src) 3745} 3746func (m *ListWorkerPoolsRequest) XXX_Size() int { 3747 return xxx_messageInfo_ListWorkerPoolsRequest.Size(m) 3748} 3749func (m *ListWorkerPoolsRequest) XXX_DiscardUnknown() { 3750 xxx_messageInfo_ListWorkerPoolsRequest.DiscardUnknown(m) 3751} 3752 3753var xxx_messageInfo_ListWorkerPoolsRequest proto.InternalMessageInfo 3754 3755func (m *ListWorkerPoolsRequest) GetParent() string { 3756 if m != nil { 3757 return m.Parent 3758 } 3759 return "" 3760} 3761 3762// Response containing existing `WorkerPools`. 3763type ListWorkerPoolsResponse struct { 3764 // `WorkerPools` for the project. 3765 WorkerPools []*WorkerPool `protobuf:"bytes,1,rep,name=worker_pools,json=workerPools,proto3" json:"worker_pools,omitempty"` 3766 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3767 XXX_unrecognized []byte `json:"-"` 3768 XXX_sizecache int32 `json:"-"` 3769} 3770 3771func (m *ListWorkerPoolsResponse) Reset() { *m = ListWorkerPoolsResponse{} } 3772func (m *ListWorkerPoolsResponse) String() string { return proto.CompactTextString(m) } 3773func (*ListWorkerPoolsResponse) ProtoMessage() {} 3774func (*ListWorkerPoolsResponse) Descriptor() ([]byte, []int) { 3775 return fileDescriptor_8a9099620ac1526a, []int{42} 3776} 3777 3778func (m *ListWorkerPoolsResponse) XXX_Unmarshal(b []byte) error { 3779 return xxx_messageInfo_ListWorkerPoolsResponse.Unmarshal(m, b) 3780} 3781func (m *ListWorkerPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3782 return xxx_messageInfo_ListWorkerPoolsResponse.Marshal(b, m, deterministic) 3783} 3784func (m *ListWorkerPoolsResponse) XXX_Merge(src proto.Message) { 3785 xxx_messageInfo_ListWorkerPoolsResponse.Merge(m, src) 3786} 3787func (m *ListWorkerPoolsResponse) XXX_Size() int { 3788 return xxx_messageInfo_ListWorkerPoolsResponse.Size(m) 3789} 3790func (m *ListWorkerPoolsResponse) XXX_DiscardUnknown() { 3791 xxx_messageInfo_ListWorkerPoolsResponse.DiscardUnknown(m) 3792} 3793 3794var xxx_messageInfo_ListWorkerPoolsResponse proto.InternalMessageInfo 3795 3796func (m *ListWorkerPoolsResponse) GetWorkerPools() []*WorkerPool { 3797 if m != nil { 3798 return m.WorkerPools 3799 } 3800 return nil 3801} 3802 3803func init() { 3804 proto.RegisterEnum("google.devtools.cloudbuild.v1.Build_Status", Build_Status_name, Build_Status_value) 3805 proto.RegisterEnum("google.devtools.cloudbuild.v1.Hash_HashType", Hash_HashType_name, Hash_HashType_value) 3806 proto.RegisterEnum("google.devtools.cloudbuild.v1.PullRequestFilter_CommentControl", PullRequestFilter_CommentControl_name, PullRequestFilter_CommentControl_value) 3807 proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_VerifyOption", BuildOptions_VerifyOption_name, BuildOptions_VerifyOption_value) 3808 proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_MachineType", BuildOptions_MachineType_name, BuildOptions_MachineType_value) 3809 proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_SubstitutionOption", BuildOptions_SubstitutionOption_name, BuildOptions_SubstitutionOption_value) 3810 proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_LogStreamingOption", BuildOptions_LogStreamingOption_name, BuildOptions_LogStreamingOption_value) 3811 proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_LoggingMode", BuildOptions_LoggingMode_name, BuildOptions_LoggingMode_value) 3812 proto.RegisterEnum("google.devtools.cloudbuild.v1.WorkerPool_Region", WorkerPool_Region_name, WorkerPool_Region_value) 3813 proto.RegisterEnum("google.devtools.cloudbuild.v1.WorkerPool_Status", WorkerPool_Status_name, WorkerPool_Status_value) 3814 proto.RegisterType((*RetryBuildRequest)(nil), "google.devtools.cloudbuild.v1.RetryBuildRequest") 3815 proto.RegisterType((*RunBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.RunBuildTriggerRequest") 3816 proto.RegisterType((*StorageSource)(nil), "google.devtools.cloudbuild.v1.StorageSource") 3817 proto.RegisterType((*RepoSource)(nil), "google.devtools.cloudbuild.v1.RepoSource") 3818 proto.RegisterMapType((map[string]string)(nil), "google.devtools.cloudbuild.v1.RepoSource.SubstitutionsEntry") 3819 proto.RegisterType((*Source)(nil), "google.devtools.cloudbuild.v1.Source") 3820 proto.RegisterType((*BuiltImage)(nil), "google.devtools.cloudbuild.v1.BuiltImage") 3821 proto.RegisterType((*BuildStep)(nil), "google.devtools.cloudbuild.v1.BuildStep") 3822 proto.RegisterType((*Volume)(nil), "google.devtools.cloudbuild.v1.Volume") 3823 proto.RegisterType((*Results)(nil), "google.devtools.cloudbuild.v1.Results") 3824 proto.RegisterType((*ArtifactResult)(nil), "google.devtools.cloudbuild.v1.ArtifactResult") 3825 proto.RegisterType((*Build)(nil), "google.devtools.cloudbuild.v1.Build") 3826 proto.RegisterMapType((map[string]string)(nil), "google.devtools.cloudbuild.v1.Build.SubstitutionsEntry") 3827 proto.RegisterMapType((map[string]*TimeSpan)(nil), "google.devtools.cloudbuild.v1.Build.TimingEntry") 3828 proto.RegisterType((*Artifacts)(nil), "google.devtools.cloudbuild.v1.Artifacts") 3829 proto.RegisterType((*Artifacts_ArtifactObjects)(nil), "google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects") 3830 proto.RegisterType((*TimeSpan)(nil), "google.devtools.cloudbuild.v1.TimeSpan") 3831 proto.RegisterType((*BuildOperationMetadata)(nil), "google.devtools.cloudbuild.v1.BuildOperationMetadata") 3832 proto.RegisterType((*SourceProvenance)(nil), "google.devtools.cloudbuild.v1.SourceProvenance") 3833 proto.RegisterMapType((map[string]*FileHashes)(nil), "google.devtools.cloudbuild.v1.SourceProvenance.FileHashesEntry") 3834 proto.RegisterType((*FileHashes)(nil), "google.devtools.cloudbuild.v1.FileHashes") 3835 proto.RegisterType((*Hash)(nil), "google.devtools.cloudbuild.v1.Hash") 3836 proto.RegisterType((*Secret)(nil), "google.devtools.cloudbuild.v1.Secret") 3837 proto.RegisterMapType((map[string][]byte)(nil), "google.devtools.cloudbuild.v1.Secret.SecretEnvEntry") 3838 proto.RegisterType((*CreateBuildRequest)(nil), "google.devtools.cloudbuild.v1.CreateBuildRequest") 3839 proto.RegisterType((*GetBuildRequest)(nil), "google.devtools.cloudbuild.v1.GetBuildRequest") 3840 proto.RegisterType((*ListBuildsRequest)(nil), "google.devtools.cloudbuild.v1.ListBuildsRequest") 3841 proto.RegisterType((*ListBuildsResponse)(nil), "google.devtools.cloudbuild.v1.ListBuildsResponse") 3842 proto.RegisterType((*CancelBuildRequest)(nil), "google.devtools.cloudbuild.v1.CancelBuildRequest") 3843 proto.RegisterType((*BuildTrigger)(nil), "google.devtools.cloudbuild.v1.BuildTrigger") 3844 proto.RegisterMapType((map[string]string)(nil), "google.devtools.cloudbuild.v1.BuildTrigger.SubstitutionsEntry") 3845 proto.RegisterType((*GitHubEventsConfig)(nil), "google.devtools.cloudbuild.v1.GitHubEventsConfig") 3846 proto.RegisterType((*PullRequestFilter)(nil), "google.devtools.cloudbuild.v1.PullRequestFilter") 3847 proto.RegisterType((*PushFilter)(nil), "google.devtools.cloudbuild.v1.PushFilter") 3848 proto.RegisterType((*CreateBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.CreateBuildTriggerRequest") 3849 proto.RegisterType((*GetBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.GetBuildTriggerRequest") 3850 proto.RegisterType((*ListBuildTriggersRequest)(nil), "google.devtools.cloudbuild.v1.ListBuildTriggersRequest") 3851 proto.RegisterType((*ListBuildTriggersResponse)(nil), "google.devtools.cloudbuild.v1.ListBuildTriggersResponse") 3852 proto.RegisterType((*DeleteBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.DeleteBuildTriggerRequest") 3853 proto.RegisterType((*UpdateBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.UpdateBuildTriggerRequest") 3854 proto.RegisterType((*BuildOptions)(nil), "google.devtools.cloudbuild.v1.BuildOptions") 3855 proto.RegisterType((*WorkerPool)(nil), "google.devtools.cloudbuild.v1.WorkerPool") 3856 proto.RegisterType((*WorkerConfig)(nil), "google.devtools.cloudbuild.v1.WorkerConfig") 3857 proto.RegisterType((*Network)(nil), "google.devtools.cloudbuild.v1.Network") 3858 proto.RegisterType((*CreateWorkerPoolRequest)(nil), "google.devtools.cloudbuild.v1.CreateWorkerPoolRequest") 3859 proto.RegisterType((*GetWorkerPoolRequest)(nil), "google.devtools.cloudbuild.v1.GetWorkerPoolRequest") 3860 proto.RegisterType((*DeleteWorkerPoolRequest)(nil), "google.devtools.cloudbuild.v1.DeleteWorkerPoolRequest") 3861 proto.RegisterType((*UpdateWorkerPoolRequest)(nil), "google.devtools.cloudbuild.v1.UpdateWorkerPoolRequest") 3862 proto.RegisterType((*ListWorkerPoolsRequest)(nil), "google.devtools.cloudbuild.v1.ListWorkerPoolsRequest") 3863 proto.RegisterType((*ListWorkerPoolsResponse)(nil), "google.devtools.cloudbuild.v1.ListWorkerPoolsResponse") 3864} 3865 3866func init() { 3867 proto.RegisterFile("google/devtools/cloudbuild/v1/cloudbuild.proto", fileDescriptor_8a9099620ac1526a) 3868} 3869 3870var fileDescriptor_8a9099620ac1526a = []byte{ 3871 // 3957 bytes of a gzipped FileDescriptorProto 3872 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x7b, 0xcd, 0x73, 0x1b, 0x47, 3873 0x76, 0x38, 0x07, 0x20, 0xf1, 0xf1, 0x00, 0x82, 0xc3, 0x96, 0x44, 0x41, 0xb0, 0x65, 0xd1, 0xe3, 3874 0xf5, 0xae, 0x6c, 0xd9, 0x80, 0x45, 0xad, 0x6c, 0xfd, 0x68, 0xc9, 0x12, 0x08, 0x82, 0x20, 0x6c, 3875 0x10, 0xe0, 0x0e, 0x40, 0xeb, 0xb7, 0xbb, 0x49, 0xcd, 0x0e, 0x80, 0xe6, 0x60, 0xc2, 0xc1, 0x0c, 3876 0x3c, 0xd3, 0x80, 0x96, 0x76, 0x7c, 0xd9, 0x72, 0x55, 0x2a, 0xb5, 0x3e, 0xa4, 0x2a, 0x7f, 0x40, 3877 0x2a, 0x39, 0x24, 0xb9, 0xed, 0x71, 0x4f, 0xa9, 0x9c, 0x36, 0x5b, 0xe5, 0x43, 0x0e, 0xc9, 0x4d, 3878 0x55, 0xa9, 0x4a, 0xa5, 0x72, 0xca, 0x21, 0x7f, 0x42, 0x2a, 0xd5, 0x1f, 0x03, 0x0c, 0x00, 0x52, 3879 0x03, 0x48, 0xde, 0x5c, 0x24, 0xf4, 0xeb, 0x7e, 0xaf, 0xdf, 0xeb, 0x7e, 0xdf, 0x3d, 0x84, 0xbc, 3880 0xe1, 0x38, 0x86, 0x85, 0x0b, 0x5d, 0x3c, 0x22, 0x8e, 0x63, 0x79, 0x85, 0x8e, 0xe5, 0x0c, 0xbb, 3881 0xed, 0xa1, 0x69, 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 0x69, 0x1b, 0x4c, 0x39, 0x52, 0x3b, 0x3f, 3915 0x0a, 0x61, 0xa9, 0x65, 0xf6, 0x71, 0x73, 0xa0, 0xdb, 0xd4, 0x66, 0xa2, 0x2a, 0x50, 0x02, 0x2d, 3916 0x86, 0xaf, 0x7c, 0xbb, 0x0a, 0x49, 0x66, 0xdf, 0x4d, 0x82, 0x07, 0x17, 0x32, 0x22, 0x43, 0x14, 3917 0xdb, 0xa3, 0x6c, 0x64, 0x3b, 0x4a, 0x6f, 0x07, 0xdb, 0x23, 0xba, 0x4a, 0x77, 0x0d, 0x2f, 0x1b, 3918 0x65, 0x20, 0xf6, 0xdb, 0x57, 0xb9, 0xd5, 0x89, 0xca, 0x65, 0x98, 0x47, 0x61, 0xda, 0x49, 0x9d, 3919 0x09, 0xba, 0x01, 0x89, 0x67, 0xba, 0x49, 0xb4, 0x53, 0xc7, 0xcd, 0xc6, 0x18, 0x66, 0x9c, 0x8e, 3920 0x0f, 0x1c, 0x97, 0xda, 0x1e, 0xa6, 0x9a, 0x30, 0x70, 0x4c, 0x9b, 0x08, 0xb5, 0x0d, 0x40, 0xa8, 3921 0xb1, 0x79, 0xb8, 0xe3, 0x62, 0xa2, 0x51, 0x4e, 0x12, 0x0c, 0x39, 0xc9, 0x21, 0x65, 0x7b, 0x84, 3922 0x1e, 0x43, 0x7c, 0xe4, 0x58, 0xc3, 0x3e, 0xf6, 0x75, 0xf6, 0xed, 0x90, 0xe3, 0xf8, 0x9c, 0xad, 3923 0x56, 0x7d, 0x2c, 0xb4, 0x0f, 0x31, 0x71, 0x9c, 0xf0, 0x12, 0xc7, 0x29, 0x70, 0xd1, 0x21, 0xbd, 3924 0x19, 0xcb, 0xf2, 0x6f, 0x66, 0x7d, 0x29, 0x52, 0xf4, 0x52, 0x2c, 0x8b, 0x5f, 0x0a, 0xba, 0x07, 3925 0x71, 0xea, 0xd8, 0x9d, 0x21, 0xc9, 0xa6, 0x18, 0x95, 0x1b, 0x3e, 0x15, 0x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0x6d, 3948 0x93, 0x47, 0x12, 0xcc, 0x12, 0x82, 0x45, 0x38, 0xe0, 0x38, 0x8c, 0x42, 0xc0, 0x4b, 0xa5, 0x17, 3949 0xf6, 0x52, 0x5b, 0x63, 0x17, 0xb1, 0xce, 0x8c, 0xda, 0xb7, 0xfb, 0x0f, 0x21, 0xf9, 0xc5, 0x10, 3950 0x0f, 0xb1, 0x46, 0x88, 0x95, 0xbd, 0x1d, 0x46, 0x2e, 0xc1, 0xd6, 0xb6, 0x88, 0x45, 0x6d, 0x60, 3951 0x62, 0xd2, 0x6f, 0x33, 0xbc, 0xb0, 0x3b, 0x1d, 0x9b, 0xbb, 0x3a, 0x41, 0x45, 0xb7, 0x20, 0x65, 3952 0x39, 0x86, 0xa7, 0x89, 0x9c, 0xf1, 0x0a, 0x8f, 0x41, 0x14, 0xb4, 0xc7, 0xf3, 0xc6, 0x3f, 0x82, 3953 0x4d, 0xae, 0x42, 0xda, 0xc0, 0x75, 0x46, 0xd8, 0xd6, 0xed, 0x0e, 0xce, 0x5e, 0x63, 0x1b, 0x16, 3954 0x16, 0x52, 0xc1, 0xe3, 0x31, 0x9a, 0x2a, 0x7b, 0x33, 0x10, 0x74, 0x1b, 0xb8, 0x7b, 0xd1, 0x02, 3955 0x09, 0xf3, 0x16, 0xe3, 0x21, 0xd3, 0x0e, 0x64, 0xdf, 0xd5, 0x2e, 0x55, 0x40, 0x67, 0xc0, 0x13, 3956 0xb4, 0xeb, 0x6c, 0xf7, 0x85, 0x4c, 0xad, 0xc1, 0x51, 0x54, 0x1f, 0x17, 0xbd, 0x0e, 0x71, 0xcb, 3957 0x31, 0xb4, 0xa1, 0x6b, 0x65, 0x6f, 0x4c, 0x2c, 0x3a, 0x66, 0x39, 0xc6, 0x89, 0x6b, 0xa1, 0x3f, 3958 0x9e, 0xcd, 0x05, 0x6f, 0x32, 0x6b, 0xf9, 0x68, 0x31, 0xab, 0x0e, 0x4b, 0x03, 0x69, 0x1c, 0x21, 3959 0xba, 0xe1, 0x65, 0x6f, 0xf1, 0x04, 0x82, 0xfe, 0xa6, 0x41, 0x9c, 0x47, 0x74, 0x2f, 0xbb, 0xbd, 3960 0x50, 0x10, 0x6f, 0xb2, 0xd5, 0xaa, 0x8f, 0x85, 0x8e, 0xc6, 0x41, 0xfc, 0x4d, 0x86, 0xff, 0xc1, 3961 0x42, 0xcc, 0x72, 0xc7, 0xcb, 0xb8, 0x9c, 0x8a, 0xe6, 0xaf, 0x9e, 0xaa, 0xe6, 0xda, 0x90, 0x0a, 3962 0x50, 0xbf, 0x00, 0xf5, 0x51, 0x10, 0x75, 0x89, 0xa8, 0x31, 0xd9, 0x43, 0xf9, 0x96, 0xa6, 0xc0, 3963 0xdc, 0x7b, 0x22, 0xc8, 0x34, 0x5b, 0xc5, 0xd6, 0x49, 0x53, 0x3b, 0xa9, 0x7f, 0x56, 0x6f, 0x3c, 3964 0xad, 0xcb, 0x2b, 0x08, 0x20, 0xf6, 0x93, 0x93, 0xf2, 0x49, 0x79, 0x5f, 0x96, 0x50, 0x0a, 0xe2, 3965 0x4f, 0x1b, 0xea, 0x67, 0xd5, 0x7a, 0x45, 0x8e, 0xd0, 0x41, 0xf3, 0xa4, 0x54, 0x2a, 0x37, 0x9b, 3966 0x72, 0x94, 0x0e, 0x0e, 0x8a, 0xd5, 0xda, 0x89, 0x5a, 0x96, 0x57, 0x29, 0x99, 0x6a, 0xbd, 0x55, 3967 0x56, 0xeb, 0xc5, 0x9a, 0x56, 0x56, 0xd5, 0x86, 0x2a, 0xaf, 0xd1, 0x05, 0xad, 0xea, 0x51, 0xb9, 3968 0x71, 0xd2, 0x92, 0x63, 0x68, 0x1d, 0x92, 0xa5, 0x62, 0xbd, 0x54, 0xae, 0xd5, 0xca, 0xfb, 0x72, 3969 0x9c, 0xce, 0x95, 0xff, 0xff, 0x71, 0x55, 0x2d, 0xef, 0xcb, 0x49, 0xe5, 0x7f, 0x24, 0x48, 0x4e, 3970 0xa2, 0xe9, 0xc4, 0xd6, 0xa5, 0x29, 0x5b, 0x57, 0x21, 0xce, 0x8b, 0x2e, 0x4f, 0x48, 0xfe, 0x60, 3971 0x51, 0x8b, 0x1d, 0xff, 0x6a, 0x70, 0x7c, 0xd5, 0x27, 0x94, 0xfb, 0x46, 0x82, 0x8d, 0x99, 0xc9, 3972 0x17, 0xc6, 0xce, 0xab, 0xb0, 0x46, 0xd3, 0x17, 0x4f, 0xe4, 0xb5, 0x7c, 0x80, 0x1e, 0x8f, 0x75, 3973 0x28, 0xba, 0xdc, 0x95, 0x08, 0x34, 0xe5, 0x4f, 0x21, 0xe1, 0xc3, 0xd0, 0xff, 0x9b, 0xf2, 0xd0, 3974 0x52, 0x98, 0x83, 0x0d, 0x3a, 0xe7, 0xfb, 0x90, 0xc0, 0x76, 0x97, 0x23, 0x46, 0x42, 0x11, 0xe3, 3975 0xd8, 0xee, 0xd2, 0x91, 0xd2, 0x82, 0x2d, 0x61, 0xed, 0xa2, 0x6a, 0x3d, 0xc2, 0x44, 0xef, 0xea, 3976 0x44, 0x47, 0xbb, 0xb0, 0xc6, 0x98, 0x16, 0x6c, 0xfc, 0x60, 0x11, 0xdb, 0x50, 0x39, 0x8a, 0xf2, 3977 0xb7, 0x51, 0x90, 0x67, 0x5d, 0x18, 0xea, 0xc2, 0x75, 0x17, 0x7b, 0x8e, 0x35, 0xc2, 0x34, 0x59, 3978 0x9a, 0xaa, 0xbc, 0xa2, 0xcb, 0x57, 0x5e, 0xea, 0x35, 0x9f, 0xd8, 0x74, 0x11, 0xff, 0x73, 0xb8, 3979 0x3a, 0xde, 0x25, 0x58, 0x88, 0xc5, 0x96, 0x2c, 0xc4, 0x54, 0xe4, 0x93, 0x09, 0x94, 0xf0, 0x98, 3980 0x46, 0x40, 0x91, 0x3e, 0x61, 0x2f, 0xbb, 0xca, 0xbc, 0xc6, 0xe3, 0x25, 0x7d, 0x79, 0x20, 0xa3, 3981 0x0a, 0x38, 0x11, 0x38, 0x1d, 0x43, 0x73, 0x3d, 0xd8, 0x98, 0x59, 0x73, 0x81, 0x2b, 0x78, 0x3c, 3982 0xed, 0x0a, 0x96, 0x48, 0xe3, 0x02, 0xce, 0xa0, 0x0e, 0x30, 0x99, 0x40, 0x4f, 0x82, 0xd9, 0xa1, 3983 0xc4, 0x84, 0x7b, 0x2b, 0x84, 0x2c, 0xc5, 0x0c, 0xe4, 0x85, 0x7f, 0x2e, 0xc1, 0x2a, 0xfd, 0x81, 3984 0x9e, 0xc0, 0x2a, 0x39, 0x1f, 0x70, 0x1d, 0xce, 0x84, 0xde, 0x2c, 0x45, 0x61, 0xff, 0xb4, 0xce, 3985 0x07, 0x58, 0x65, 0x98, 0xd3, 0x5e, 0x32, 0x2d, 0x98, 0x56, 0xde, 0x81, 0x84, 0xbf, 0x0e, 0x25, 3986 0x60, 0xb5, 0xde, 0xa8, 0x97, 0xb9, 0xd3, 0x6a, 0x1e, 0x16, 0x77, 0xee, 0x7f, 0x28, 0x4b, 0x28, 3987 0x0e, 0xd1, 0xa3, 0xfd, 0xfb, 0x72, 0x44, 0xf9, 0x07, 0xea, 0xe8, 0x98, 0xa7, 0x47, 0xdb, 0x90, 3988 0x3e, 0xeb, 0x7b, 0xda, 0x19, 0x3e, 0xd7, 0x02, 0x15, 0x0a, 0x9c, 0xf5, 0xbd, 0xcf, 0xf0, 0x39, 3989 0x6b, 0x90, 0x34, 0xa7, 0xea, 0xc5, 0x28, 0x93, 0xfd, 0xc7, 0x0b, 0x85, 0x13, 0xf1, 0x5f, 0xd9, 3990 0x1e, 0xf1, 0xc0, 0x35, 0xa9, 0x32, 0x73, 0x0f, 0x21, 0x33, 0x3d, 0x19, 0x16, 0x0c, 0xd2, 0xc1, 3991 0xbb, 0x39, 0x07, 0x54, 0x62, 0xc9, 0xdb, 0xd2, 0x9d, 0xb9, 0xc7, 0xbe, 0xe9, 0x46, 0x16, 0x37, 3992 0x5d, 0x4e, 0x44, 0xd8, 0xef, 0xa7, 0xb0, 0x51, 0xc1, 0xe4, 0xfb, 0xe9, 0x08, 0xfe, 0x5a, 0x82, 3993 0xcd, 0x9a, 0xe9, 0x71, 0x6a, 0xde, 0x32, 0xe4, 0x5e, 0x83, 0xe4, 0x80, 0x39, 0x09, 0xf3, 0x4b, 3994 0x7e, 0x3c, 0x6b, 0x6a, 0x82, 0x02, 0x9a, 0xe6, 0x97, 0xbc, 0x9b, 0x46, 0x27, 0x89, 0x73, 0x86, 3995 0x6d, 0xd1, 0xf0, 0x60, 0xcb, 0x5b, 0x14, 0x40, 0x03, 0xc9, 0xa9, 0x69, 0x11, 0xec, 0xb2, 0x34, 3996 0x35, 0xa9, 0x8a, 0x91, 0xf2, 0x25, 0xa0, 0x20, 0x33, 0xde, 0xc0, 0xb1, 0x3d, 0x8c, 0x1e, 0x42, 3997 0x8c, 0x09, 0xee, 0x09, 0xad, 0x5f, 0xcc, 0xd9, 0x09, 0x1c, 0xf4, 0x43, 0xd8, 0xb0, 0xf1, 0x2f, 3998 0x89, 0x16, 0xe0, 0x87, 0x47, 0xf6, 0x75, 0x0a, 0x3e, 0xf6, 0x79, 0x52, 0x8e, 0x00, 0x95, 0xa8, 3999 0x03, 0xb0, 0xbe, 0x9f, 0x83, 0xfd, 0xe7, 0x35, 0x48, 0x07, 0xfb, 0xac, 0x17, 0x97, 0x62, 0xdb, 4000 0x90, 0xea, 0x62, 0xaf, 0xe3, 0x9a, 0x2c, 0x8b, 0x63, 0x15, 0x48, 0x52, 0x0d, 0x82, 0xc6, 0x65, 4001 0xfb, 0xb5, 0xe9, 0xb2, 0x9d, 0xa5, 0x5b, 0x57, 0x02, 0xe9, 0x56, 0x0b, 0x64, 0x3f, 0xd5, 0x24, 4002 0xb8, 0x3f, 0xb0, 0x74, 0xe2, 0x17, 0x11, 0x4b, 0x78, 0xd5, 0x0d, 0x41, 0xa2, 0x25, 0x28, 0xa0, 4003 0x2a, 0xc4, 0x0c, 0x93, 0xf4, 0x86, 0x6d, 0xd1, 0xfd, 0xb8, 0x1b, 0x42, 0xab, 0x62, 0x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4015 0x50, 0x9a, 0xb0, 0x12, 0xe0, 0x78, 0x68, 0x59, 0xc2, 0x72, 0x0f, 0x98, 0x47, 0x39, 0x5c, 0x51, 4016 0x59, 0x0f, 0xcf, 0x37, 0xe7, 0xc7, 0xb0, 0x3a, 0x18, 0x7a, 0x3d, 0xa1, 0x21, 0xef, 0x84, 0x92, 4017 0xf3, 0x7a, 0x63, 0x3a, 0x0c, 0x71, 0x2f, 0x0e, 0x6b, 0x98, 0x8a, 0xaf, 0x7c, 0x13, 0x81, 0xcd, 4018 0xb9, 0xed, 0x50, 0x16, 0x62, 0xbc, 0xe9, 0xcf, 0x4f, 0xf4, 0x70, 0x45, 0x15, 0x63, 0xd4, 0x83, 4019 0x8d, 0x8e, 0xd3, 0xef, 0x63, 0x9b, 0x68, 0x1d, 0xc7, 0x26, 0xae, 0x63, 0x31, 0x26, 0x32, 0xa1, 4020 0x09, 0xca, 0xdc, 0x26, 0xf9, 0x12, 0xa7, 0x53, 0xe2, 0x64, 0xd4, 0x4c, 0x67, 0x6a, 0x3c, 0xf7, 4021 0x34, 0x10, 0x9b, 0x7b, 0x1a, 0x50, 0x1e, 0x41, 0x66, 0x9a, 0x08, 0xba, 0x06, 0x9b, 0xa5, 0xc6, 4022 0xd1, 0x51, 0xb9, 0xde, 0x6a, 0x6a, 0xfb, 0xd5, 0x66, 0x71, 0x8f, 0x16, 0x03, 0x2b, 0xe8, 0x2a, 4023 0xc8, 0x63, 0x70, 0xb9, 0xce, 0xa1, 0xd2, 0x5e, 0x12, 0xe2, 0x86, 0x49, 0xc9, 0x9f, 0x2a, 0x3d, 4024 0x80, 0xc9, 0x29, 0xbd, 0x40, 0x7c, 0x04, 0x51, 0xa2, 0x1b, 0xe3, 0xa7, 0x11, 0x3a, 0x98, 0x63, 4025 0x74, 0x75, 0x8e, 0xd1, 0xe0, 0x4e, 0xbf, 0x96, 0xe0, 0x46, 0x20, 0xe2, 0xbe, 0xc4, 0xf3, 0xd5, 4026 0xa7, 0x10, 0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 0x55, 0xe5, 0xef, 0x24, 0x48, 0x07, 0x15, 4071 0x84, 0xea, 0xe1, 0x54, 0xec, 0xe1, 0xb5, 0xd3, 0x0b, 0x43, 0x48, 0x64, 0x2e, 0x84, 0x3c, 0x81, 4072 0xb8, 0x8d, 0x09, 0x55, 0x35, 0x11, 0xf3, 0xc3, 0x9e, 0x18, 0xeb, 0x7c, 0xb5, 0xea, 0xa3, 0x51, 4073 0x6f, 0x49, 0xb3, 0x67, 0xf1, 0x31, 0x06, 0xd1, 0x0d, 0xa5, 0x0d, 0x71, 0xb1, 0x2a, 0xec, 0xcb, 4074 0xa5, 0xec, 0x64, 0x77, 0x6e, 0x9a, 0x63, 0xaa, 0x6f, 0x00, 0x78, 0xc3, 0x76, 0x90, 0xb5, 0xa4, 4075 0x1a, 0x80, 0x28, 0x5f, 0xc3, 0x75, 0x9e, 0x70, 0x4f, 0x6e, 0xd9, 0x4f, 0x87, 0xb6, 0x20, 0x36, 4076 0xd0, 0x5d, 0x6c, 0x8f, 0x3f, 0xc6, 0xe2, 0x23, 0xf4, 0xe9, 0x74, 0x28, 0x59, 0xac, 0xf9, 0x19, 4077 0x20, 0x1f, 0x88, 0x3a, 0xca, 0xbb, 0x70, 0xb5, 0x82, 0xc9, 0xfc, 0xde, 0x17, 0x7c, 0xc8, 0xa0, 4078 0xbc, 0x0f, 0xd7, 0x79, 0x86, 0xb8, 0xd8, 0xf2, 0x73, 0xb8, 0xce, 0x53, 0xbd, 0xcb, 0x97, 0x47, 4079 0x02, 0x0e, 0x6e, 0x46, 0xaa, 0xe8, 0xab, 0x48, 0xf5, 0x01, 0x6c, 0xd1, 0xcc, 0x7a, 0x32, 0xeb, 4080 0x85, 0x9c, 0xa9, 0x62, 0xc0, 0xf5, 0x39, 0x0c, 0x91, 0x89, 0xd7, 0xc6, 0x6e, 0x92, 0x32, 0xe6, 4081 0x67, 0xe3, 0x4b, 0x70, 0x96, 0x9a, 0x70, 0xe6, 0xed, 0xfc, 0xf5, 0x16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, 4115 0x07, 0x96, 0x4e, 0x4e, 0x1d, 0xb7, 0xbf, 0x77, 0x06, 0xd9, 0x8e, 0xd3, 0xf7, 0xb9, 0x99, 0x62, 4116 0xe2, 0x58, 0xfa, 0x59, 0x45, 0xc0, 0x0d, 0xc7, 0xd2, 0x6d, 0x23, 0xef, 0xb8, 0x46, 0xc1, 0xc0, 4117 0x36, 0xbb, 0x91, 0xc2, 0x84, 0xf8, 0x25, 0x7f, 0xf6, 0xf4, 0xf1, 0x64, 0xf4, 0x37, 0x91, 0x68, 4118 0xa5, 0xb4, 0xd7, 0x8e, 0x31, 0xcc, 0x7b, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x02, 0x20, 4119 0x14, 0x2f, 0x35, 0x00, 0x00, 4120} 4121 4122// Reference imports to suppress errors if they are not otherwise used. 4123var _ context.Context 4124var _ grpc.ClientConnInterface 4125 4126// This is a compile-time assertion to ensure that this generated file 4127// is compatible with the grpc package it is being compiled against. 4128const _ = grpc.SupportPackageIsVersion6 4129 4130// CloudBuildClient is the client API for CloudBuild service. 4131// 4132// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 4133type CloudBuildClient interface { 4134 // Starts a build with the specified configuration. 4135 // 4136 // This method returns a long-running `Operation`, which includes the build 4137 // ID. Pass the build ID to `GetBuild` to determine the build status (such as 4138 // `SUCCESS` or `FAILURE`). 4139 CreateBuild(ctx context.Context, in *CreateBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 4140 // Returns information about a previously requested build. 4141 // 4142 // The `Build` that is returned includes its status (such as `SUCCESS`, 4143 // `FAILURE`, or `WORKING`), and timing information. 4144 GetBuild(ctx context.Context, in *GetBuildRequest, opts ...grpc.CallOption) (*Build, error) 4145 // Lists previously requested builds. 4146 // 4147 // Previously requested builds may still be in-progress, or may have finished 4148 // successfully or unsuccessfully. 4149 ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error) 4150 // Cancels a build in progress. 4151 CancelBuild(ctx context.Context, in *CancelBuildRequest, opts ...grpc.CallOption) (*Build, error) 4152 // Creates a new build based on the specified build. 4153 // 4154 // This method creates a new build using the original build request, which may 4155 // or may not result in an identical build. 4156 // 4157 // For triggered builds: 4158 // 4159 // * Triggered builds resolve to a precise revision; therefore a retry of a 4160 // triggered build will result in a build that uses the same revision. 4161 // 4162 // For non-triggered builds that specify `RepoSource`: 4163 // 4164 // * If the original build built from the tip of a branch, the retried build 4165 // will build from the tip of that branch, which may not be the same revision 4166 // as the original build. 4167 // * If the original build specified a commit sha or revision ID, the retried 4168 // build will use the identical source. 4169 // 4170 // For builds that specify `StorageSource`: 4171 // 4172 // * If the original build pulled source from Google Cloud Storage without 4173 // specifying the generation of the object, the new build will use the current 4174 // object, which may be different from the original build source. 4175 // * If the original build pulled source from Cloud Storage and specified the 4176 // generation of the object, the new build will attempt to use the same 4177 // object, which may or may not be available depending on the bucket's 4178 // lifecycle management settings. 4179 RetryBuild(ctx context.Context, in *RetryBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 4180 // Creates a new `BuildTrigger`. 4181 // 4182 // This API is experimental. 4183 CreateBuildTrigger(ctx context.Context, in *CreateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) 4184 // Returns information about a `BuildTrigger`. 4185 // 4186 // This API is experimental. 4187 GetBuildTrigger(ctx context.Context, in *GetBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) 4188 // Lists existing `BuildTrigger`s. 4189 // 4190 // This API is experimental. 4191 ListBuildTriggers(ctx context.Context, in *ListBuildTriggersRequest, opts ...grpc.CallOption) (*ListBuildTriggersResponse, error) 4192 // Deletes a `BuildTrigger` by its project ID and trigger ID. 4193 // 4194 // This API is experimental. 4195 DeleteBuildTrigger(ctx context.Context, in *DeleteBuildTriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error) 4196 // Updates a `BuildTrigger` by its project ID and trigger ID. 4197 // 4198 // This API is experimental. 4199 UpdateBuildTrigger(ctx context.Context, in *UpdateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) 4200 // Runs a `BuildTrigger` at a particular source revision. 4201 RunBuildTrigger(ctx context.Context, in *RunBuildTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 4202 // Creates a `WorkerPool` to run the builds, and returns the new worker pool. 4203 // 4204 // This API is experimental. 4205 CreateWorkerPool(ctx context.Context, in *CreateWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) 4206 // Returns information about a `WorkerPool`. 4207 // 4208 // This API is experimental. 4209 GetWorkerPool(ctx context.Context, in *GetWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) 4210 // Deletes a `WorkerPool` by its project ID and WorkerPool name. 4211 // 4212 // This API is experimental. 4213 DeleteWorkerPool(ctx context.Context, in *DeleteWorkerPoolRequest, opts ...grpc.CallOption) (*empty.Empty, error) 4214 // Update a `WorkerPool`. 4215 // 4216 // This API is experimental. 4217 UpdateWorkerPool(ctx context.Context, in *UpdateWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) 4218 // List project's `WorkerPool`s. 4219 // 4220 // This API is experimental. 4221 ListWorkerPools(ctx context.Context, in *ListWorkerPoolsRequest, opts ...grpc.CallOption) (*ListWorkerPoolsResponse, error) 4222} 4223 4224type cloudBuildClient struct { 4225 cc grpc.ClientConnInterface 4226} 4227 4228func NewCloudBuildClient(cc grpc.ClientConnInterface) CloudBuildClient { 4229 return &cloudBuildClient{cc} 4230} 4231 4232func (c *cloudBuildClient) CreateBuild(ctx context.Context, in *CreateBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 4233 out := new(longrunning.Operation) 4234 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuild", in, out, opts...) 4235 if err != nil { 4236 return nil, err 4237 } 4238 return out, nil 4239} 4240 4241func (c *cloudBuildClient) GetBuild(ctx context.Context, in *GetBuildRequest, opts ...grpc.CallOption) (*Build, error) { 4242 out := new(Build) 4243 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/GetBuild", in, out, opts...) 4244 if err != nil { 4245 return nil, err 4246 } 4247 return out, nil 4248} 4249 4250func (c *cloudBuildClient) ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error) { 4251 out := new(ListBuildsResponse) 4252 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/ListBuilds", in, out, opts...) 4253 if err != nil { 4254 return nil, err 4255 } 4256 return out, nil 4257} 4258 4259func (c *cloudBuildClient) CancelBuild(ctx context.Context, in *CancelBuildRequest, opts ...grpc.CallOption) (*Build, error) { 4260 out := new(Build) 4261 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/CancelBuild", in, out, opts...) 4262 if err != nil { 4263 return nil, err 4264 } 4265 return out, nil 4266} 4267 4268func (c *cloudBuildClient) RetryBuild(ctx context.Context, in *RetryBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 4269 out := new(longrunning.Operation) 4270 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/RetryBuild", in, out, opts...) 4271 if err != nil { 4272 return nil, err 4273 } 4274 return out, nil 4275} 4276 4277func (c *cloudBuildClient) CreateBuildTrigger(ctx context.Context, in *CreateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) { 4278 out := new(BuildTrigger) 4279 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuildTrigger", in, out, opts...) 4280 if err != nil { 4281 return nil, err 4282 } 4283 return out, nil 4284} 4285 4286func (c *cloudBuildClient) GetBuildTrigger(ctx context.Context, in *GetBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) { 4287 out := new(BuildTrigger) 4288 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/GetBuildTrigger", in, out, opts...) 4289 if err != nil { 4290 return nil, err 4291 } 4292 return out, nil 4293} 4294 4295func (c *cloudBuildClient) ListBuildTriggers(ctx context.Context, in *ListBuildTriggersRequest, opts ...grpc.CallOption) (*ListBuildTriggersResponse, error) { 4296 out := new(ListBuildTriggersResponse) 4297 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/ListBuildTriggers", in, out, opts...) 4298 if err != nil { 4299 return nil, err 4300 } 4301 return out, nil 4302} 4303 4304func (c *cloudBuildClient) DeleteBuildTrigger(ctx context.Context, in *DeleteBuildTriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 4305 out := new(empty.Empty) 4306 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/DeleteBuildTrigger", in, out, opts...) 4307 if err != nil { 4308 return nil, err 4309 } 4310 return out, nil 4311} 4312 4313func (c *cloudBuildClient) UpdateBuildTrigger(ctx context.Context, in *UpdateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) { 4314 out := new(BuildTrigger) 4315 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/UpdateBuildTrigger", in, out, opts...) 4316 if err != nil { 4317 return nil, err 4318 } 4319 return out, nil 4320} 4321 4322func (c *cloudBuildClient) RunBuildTrigger(ctx context.Context, in *RunBuildTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 4323 out := new(longrunning.Operation) 4324 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/RunBuildTrigger", in, out, opts...) 4325 if err != nil { 4326 return nil, err 4327 } 4328 return out, nil 4329} 4330 4331func (c *cloudBuildClient) CreateWorkerPool(ctx context.Context, in *CreateWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) { 4332 out := new(WorkerPool) 4333 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/CreateWorkerPool", in, out, opts...) 4334 if err != nil { 4335 return nil, err 4336 } 4337 return out, nil 4338} 4339 4340func (c *cloudBuildClient) GetWorkerPool(ctx context.Context, in *GetWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) { 4341 out := new(WorkerPool) 4342 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/GetWorkerPool", in, out, opts...) 4343 if err != nil { 4344 return nil, err 4345 } 4346 return out, nil 4347} 4348 4349func (c *cloudBuildClient) DeleteWorkerPool(ctx context.Context, in *DeleteWorkerPoolRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 4350 out := new(empty.Empty) 4351 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/DeleteWorkerPool", in, out, opts...) 4352 if err != nil { 4353 return nil, err 4354 } 4355 return out, nil 4356} 4357 4358func (c *cloudBuildClient) UpdateWorkerPool(ctx context.Context, in *UpdateWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) { 4359 out := new(WorkerPool) 4360 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/UpdateWorkerPool", in, out, opts...) 4361 if err != nil { 4362 return nil, err 4363 } 4364 return out, nil 4365} 4366 4367func (c *cloudBuildClient) ListWorkerPools(ctx context.Context, in *ListWorkerPoolsRequest, opts ...grpc.CallOption) (*ListWorkerPoolsResponse, error) { 4368 out := new(ListWorkerPoolsResponse) 4369 err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/ListWorkerPools", in, out, opts...) 4370 if err != nil { 4371 return nil, err 4372 } 4373 return out, nil 4374} 4375 4376// CloudBuildServer is the server API for CloudBuild service. 4377type CloudBuildServer interface { 4378 // Starts a build with the specified configuration. 4379 // 4380 // This method returns a long-running `Operation`, which includes the build 4381 // ID. Pass the build ID to `GetBuild` to determine the build status (such as 4382 // `SUCCESS` or `FAILURE`). 4383 CreateBuild(context.Context, *CreateBuildRequest) (*longrunning.Operation, error) 4384 // Returns information about a previously requested build. 4385 // 4386 // The `Build` that is returned includes its status (such as `SUCCESS`, 4387 // `FAILURE`, or `WORKING`), and timing information. 4388 GetBuild(context.Context, *GetBuildRequest) (*Build, error) 4389 // Lists previously requested builds. 4390 // 4391 // Previously requested builds may still be in-progress, or may have finished 4392 // successfully or unsuccessfully. 4393 ListBuilds(context.Context, *ListBuildsRequest) (*ListBuildsResponse, error) 4394 // Cancels a build in progress. 4395 CancelBuild(context.Context, *CancelBuildRequest) (*Build, error) 4396 // Creates a new build based on the specified build. 4397 // 4398 // This method creates a new build using the original build request, which may 4399 // or may not result in an identical build. 4400 // 4401 // For triggered builds: 4402 // 4403 // * Triggered builds resolve to a precise revision; therefore a retry of a 4404 // triggered build will result in a build that uses the same revision. 4405 // 4406 // For non-triggered builds that specify `RepoSource`: 4407 // 4408 // * If the original build built from the tip of a branch, the retried build 4409 // will build from the tip of that branch, which may not be the same revision 4410 // as the original build. 4411 // * If the original build specified a commit sha or revision ID, the retried 4412 // build will use the identical source. 4413 // 4414 // For builds that specify `StorageSource`: 4415 // 4416 // * If the original build pulled source from Google Cloud Storage without 4417 // specifying the generation of the object, the new build will use the current 4418 // object, which may be different from the original build source. 4419 // * If the original build pulled source from Cloud Storage and specified the 4420 // generation of the object, the new build will attempt to use the same 4421 // object, which may or may not be available depending on the bucket's 4422 // lifecycle management settings. 4423 RetryBuild(context.Context, *RetryBuildRequest) (*longrunning.Operation, error) 4424 // Creates a new `BuildTrigger`. 4425 // 4426 // This API is experimental. 4427 CreateBuildTrigger(context.Context, *CreateBuildTriggerRequest) (*BuildTrigger, error) 4428 // Returns information about a `BuildTrigger`. 4429 // 4430 // This API is experimental. 4431 GetBuildTrigger(context.Context, *GetBuildTriggerRequest) (*BuildTrigger, error) 4432 // Lists existing `BuildTrigger`s. 4433 // 4434 // This API is experimental. 4435 ListBuildTriggers(context.Context, *ListBuildTriggersRequest) (*ListBuildTriggersResponse, error) 4436 // Deletes a `BuildTrigger` by its project ID and trigger ID. 4437 // 4438 // This API is experimental. 4439 DeleteBuildTrigger(context.Context, *DeleteBuildTriggerRequest) (*empty.Empty, error) 4440 // Updates a `BuildTrigger` by its project ID and trigger ID. 4441 // 4442 // This API is experimental. 4443 UpdateBuildTrigger(context.Context, *UpdateBuildTriggerRequest) (*BuildTrigger, error) 4444 // Runs a `BuildTrigger` at a particular source revision. 4445 RunBuildTrigger(context.Context, *RunBuildTriggerRequest) (*longrunning.Operation, error) 4446 // Creates a `WorkerPool` to run the builds, and returns the new worker pool. 4447 // 4448 // This API is experimental. 4449 CreateWorkerPool(context.Context, *CreateWorkerPoolRequest) (*WorkerPool, error) 4450 // Returns information about a `WorkerPool`. 4451 // 4452 // This API is experimental. 4453 GetWorkerPool(context.Context, *GetWorkerPoolRequest) (*WorkerPool, error) 4454 // Deletes a `WorkerPool` by its project ID and WorkerPool name. 4455 // 4456 // This API is experimental. 4457 DeleteWorkerPool(context.Context, *DeleteWorkerPoolRequest) (*empty.Empty, error) 4458 // Update a `WorkerPool`. 4459 // 4460 // This API is experimental. 4461 UpdateWorkerPool(context.Context, *UpdateWorkerPoolRequest) (*WorkerPool, error) 4462 // List project's `WorkerPool`s. 4463 // 4464 // This API is experimental. 4465 ListWorkerPools(context.Context, *ListWorkerPoolsRequest) (*ListWorkerPoolsResponse, error) 4466} 4467 4468// UnimplementedCloudBuildServer can be embedded to have forward compatible implementations. 4469type UnimplementedCloudBuildServer struct { 4470} 4471 4472func (*UnimplementedCloudBuildServer) CreateBuild(ctx context.Context, req *CreateBuildRequest) (*longrunning.Operation, error) { 4473 return nil, status.Errorf(codes.Unimplemented, "method CreateBuild not implemented") 4474} 4475func (*UnimplementedCloudBuildServer) GetBuild(ctx context.Context, req *GetBuildRequest) (*Build, error) { 4476 return nil, status.Errorf(codes.Unimplemented, "method GetBuild not implemented") 4477} 4478func (*UnimplementedCloudBuildServer) ListBuilds(ctx context.Context, req *ListBuildsRequest) (*ListBuildsResponse, error) { 4479 return nil, status.Errorf(codes.Unimplemented, "method ListBuilds not implemented") 4480} 4481func (*UnimplementedCloudBuildServer) CancelBuild(ctx context.Context, req *CancelBuildRequest) (*Build, error) { 4482 return nil, status.Errorf(codes.Unimplemented, "method CancelBuild not implemented") 4483} 4484func (*UnimplementedCloudBuildServer) RetryBuild(ctx context.Context, req *RetryBuildRequest) (*longrunning.Operation, error) { 4485 return nil, status.Errorf(codes.Unimplemented, "method RetryBuild not implemented") 4486} 4487func (*UnimplementedCloudBuildServer) CreateBuildTrigger(ctx context.Context, req *CreateBuildTriggerRequest) (*BuildTrigger, error) { 4488 return nil, status.Errorf(codes.Unimplemented, "method CreateBuildTrigger not implemented") 4489} 4490func (*UnimplementedCloudBuildServer) GetBuildTrigger(ctx context.Context, req *GetBuildTriggerRequest) (*BuildTrigger, error) { 4491 return nil, status.Errorf(codes.Unimplemented, "method GetBuildTrigger not implemented") 4492} 4493func (*UnimplementedCloudBuildServer) ListBuildTriggers(ctx context.Context, req *ListBuildTriggersRequest) (*ListBuildTriggersResponse, error) { 4494 return nil, status.Errorf(codes.Unimplemented, "method ListBuildTriggers not implemented") 4495} 4496func (*UnimplementedCloudBuildServer) DeleteBuildTrigger(ctx context.Context, req *DeleteBuildTriggerRequest) (*empty.Empty, error) { 4497 return nil, status.Errorf(codes.Unimplemented, "method DeleteBuildTrigger not implemented") 4498} 4499func (*UnimplementedCloudBuildServer) UpdateBuildTrigger(ctx context.Context, req *UpdateBuildTriggerRequest) (*BuildTrigger, error) { 4500 return nil, status.Errorf(codes.Unimplemented, "method UpdateBuildTrigger not implemented") 4501} 4502func (*UnimplementedCloudBuildServer) RunBuildTrigger(ctx context.Context, req *RunBuildTriggerRequest) (*longrunning.Operation, error) { 4503 return nil, status.Errorf(codes.Unimplemented, "method RunBuildTrigger not implemented") 4504} 4505func (*UnimplementedCloudBuildServer) CreateWorkerPool(ctx context.Context, req *CreateWorkerPoolRequest) (*WorkerPool, error) { 4506 return nil, status.Errorf(codes.Unimplemented, "method CreateWorkerPool not implemented") 4507} 4508func (*UnimplementedCloudBuildServer) GetWorkerPool(ctx context.Context, req *GetWorkerPoolRequest) (*WorkerPool, error) { 4509 return nil, status.Errorf(codes.Unimplemented, "method GetWorkerPool not implemented") 4510} 4511func (*UnimplementedCloudBuildServer) DeleteWorkerPool(ctx context.Context, req *DeleteWorkerPoolRequest) (*empty.Empty, error) { 4512 return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkerPool not implemented") 4513} 4514func (*UnimplementedCloudBuildServer) UpdateWorkerPool(ctx context.Context, req *UpdateWorkerPoolRequest) (*WorkerPool, error) { 4515 return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkerPool not implemented") 4516} 4517func (*UnimplementedCloudBuildServer) ListWorkerPools(ctx context.Context, req *ListWorkerPoolsRequest) (*ListWorkerPoolsResponse, error) { 4518 return nil, status.Errorf(codes.Unimplemented, "method ListWorkerPools not implemented") 4519} 4520 4521func RegisterCloudBuildServer(s *grpc.Server, srv CloudBuildServer) { 4522 s.RegisterService(&_CloudBuild_serviceDesc, srv) 4523} 4524 4525func _CloudBuild_CreateBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4526 in := new(CreateBuildRequest) 4527 if err := dec(in); err != nil { 4528 return nil, err 4529 } 4530 if interceptor == nil { 4531 return srv.(CloudBuildServer).CreateBuild(ctx, in) 4532 } 4533 info := &grpc.UnaryServerInfo{ 4534 Server: srv, 4535 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuild", 4536 } 4537 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4538 return srv.(CloudBuildServer).CreateBuild(ctx, req.(*CreateBuildRequest)) 4539 } 4540 return interceptor(ctx, in, info, handler) 4541} 4542 4543func _CloudBuild_GetBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4544 in := new(GetBuildRequest) 4545 if err := dec(in); err != nil { 4546 return nil, err 4547 } 4548 if interceptor == nil { 4549 return srv.(CloudBuildServer).GetBuild(ctx, in) 4550 } 4551 info := &grpc.UnaryServerInfo{ 4552 Server: srv, 4553 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/GetBuild", 4554 } 4555 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4556 return srv.(CloudBuildServer).GetBuild(ctx, req.(*GetBuildRequest)) 4557 } 4558 return interceptor(ctx, in, info, handler) 4559} 4560 4561func _CloudBuild_ListBuilds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4562 in := new(ListBuildsRequest) 4563 if err := dec(in); err != nil { 4564 return nil, err 4565 } 4566 if interceptor == nil { 4567 return srv.(CloudBuildServer).ListBuilds(ctx, in) 4568 } 4569 info := &grpc.UnaryServerInfo{ 4570 Server: srv, 4571 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/ListBuilds", 4572 } 4573 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4574 return srv.(CloudBuildServer).ListBuilds(ctx, req.(*ListBuildsRequest)) 4575 } 4576 return interceptor(ctx, in, info, handler) 4577} 4578 4579func _CloudBuild_CancelBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4580 in := new(CancelBuildRequest) 4581 if err := dec(in); err != nil { 4582 return nil, err 4583 } 4584 if interceptor == nil { 4585 return srv.(CloudBuildServer).CancelBuild(ctx, in) 4586 } 4587 info := &grpc.UnaryServerInfo{ 4588 Server: srv, 4589 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/CancelBuild", 4590 } 4591 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4592 return srv.(CloudBuildServer).CancelBuild(ctx, req.(*CancelBuildRequest)) 4593 } 4594 return interceptor(ctx, in, info, handler) 4595} 4596 4597func _CloudBuild_RetryBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4598 in := new(RetryBuildRequest) 4599 if err := dec(in); err != nil { 4600 return nil, err 4601 } 4602 if interceptor == nil { 4603 return srv.(CloudBuildServer).RetryBuild(ctx, in) 4604 } 4605 info := &grpc.UnaryServerInfo{ 4606 Server: srv, 4607 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/RetryBuild", 4608 } 4609 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4610 return srv.(CloudBuildServer).RetryBuild(ctx, req.(*RetryBuildRequest)) 4611 } 4612 return interceptor(ctx, in, info, handler) 4613} 4614 4615func _CloudBuild_CreateBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4616 in := new(CreateBuildTriggerRequest) 4617 if err := dec(in); err != nil { 4618 return nil, err 4619 } 4620 if interceptor == nil { 4621 return srv.(CloudBuildServer).CreateBuildTrigger(ctx, in) 4622 } 4623 info := &grpc.UnaryServerInfo{ 4624 Server: srv, 4625 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuildTrigger", 4626 } 4627 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4628 return srv.(CloudBuildServer).CreateBuildTrigger(ctx, req.(*CreateBuildTriggerRequest)) 4629 } 4630 return interceptor(ctx, in, info, handler) 4631} 4632 4633func _CloudBuild_GetBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4634 in := new(GetBuildTriggerRequest) 4635 if err := dec(in); err != nil { 4636 return nil, err 4637 } 4638 if interceptor == nil { 4639 return srv.(CloudBuildServer).GetBuildTrigger(ctx, in) 4640 } 4641 info := &grpc.UnaryServerInfo{ 4642 Server: srv, 4643 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/GetBuildTrigger", 4644 } 4645 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4646 return srv.(CloudBuildServer).GetBuildTrigger(ctx, req.(*GetBuildTriggerRequest)) 4647 } 4648 return interceptor(ctx, in, info, handler) 4649} 4650 4651func _CloudBuild_ListBuildTriggers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4652 in := new(ListBuildTriggersRequest) 4653 if err := dec(in); err != nil { 4654 return nil, err 4655 } 4656 if interceptor == nil { 4657 return srv.(CloudBuildServer).ListBuildTriggers(ctx, in) 4658 } 4659 info := &grpc.UnaryServerInfo{ 4660 Server: srv, 4661 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/ListBuildTriggers", 4662 } 4663 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4664 return srv.(CloudBuildServer).ListBuildTriggers(ctx, req.(*ListBuildTriggersRequest)) 4665 } 4666 return interceptor(ctx, in, info, handler) 4667} 4668 4669func _CloudBuild_DeleteBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4670 in := new(DeleteBuildTriggerRequest) 4671 if err := dec(in); err != nil { 4672 return nil, err 4673 } 4674 if interceptor == nil { 4675 return srv.(CloudBuildServer).DeleteBuildTrigger(ctx, in) 4676 } 4677 info := &grpc.UnaryServerInfo{ 4678 Server: srv, 4679 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/DeleteBuildTrigger", 4680 } 4681 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4682 return srv.(CloudBuildServer).DeleteBuildTrigger(ctx, req.(*DeleteBuildTriggerRequest)) 4683 } 4684 return interceptor(ctx, in, info, handler) 4685} 4686 4687func _CloudBuild_UpdateBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4688 in := new(UpdateBuildTriggerRequest) 4689 if err := dec(in); err != nil { 4690 return nil, err 4691 } 4692 if interceptor == nil { 4693 return srv.(CloudBuildServer).UpdateBuildTrigger(ctx, in) 4694 } 4695 info := &grpc.UnaryServerInfo{ 4696 Server: srv, 4697 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/UpdateBuildTrigger", 4698 } 4699 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4700 return srv.(CloudBuildServer).UpdateBuildTrigger(ctx, req.(*UpdateBuildTriggerRequest)) 4701 } 4702 return interceptor(ctx, in, info, handler) 4703} 4704 4705func _CloudBuild_RunBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4706 in := new(RunBuildTriggerRequest) 4707 if err := dec(in); err != nil { 4708 return nil, err 4709 } 4710 if interceptor == nil { 4711 return srv.(CloudBuildServer).RunBuildTrigger(ctx, in) 4712 } 4713 info := &grpc.UnaryServerInfo{ 4714 Server: srv, 4715 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/RunBuildTrigger", 4716 } 4717 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4718 return srv.(CloudBuildServer).RunBuildTrigger(ctx, req.(*RunBuildTriggerRequest)) 4719 } 4720 return interceptor(ctx, in, info, handler) 4721} 4722 4723func _CloudBuild_CreateWorkerPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4724 in := new(CreateWorkerPoolRequest) 4725 if err := dec(in); err != nil { 4726 return nil, err 4727 } 4728 if interceptor == nil { 4729 return srv.(CloudBuildServer).CreateWorkerPool(ctx, in) 4730 } 4731 info := &grpc.UnaryServerInfo{ 4732 Server: srv, 4733 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/CreateWorkerPool", 4734 } 4735 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4736 return srv.(CloudBuildServer).CreateWorkerPool(ctx, req.(*CreateWorkerPoolRequest)) 4737 } 4738 return interceptor(ctx, in, info, handler) 4739} 4740 4741func _CloudBuild_GetWorkerPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4742 in := new(GetWorkerPoolRequest) 4743 if err := dec(in); err != nil { 4744 return nil, err 4745 } 4746 if interceptor == nil { 4747 return srv.(CloudBuildServer).GetWorkerPool(ctx, in) 4748 } 4749 info := &grpc.UnaryServerInfo{ 4750 Server: srv, 4751 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/GetWorkerPool", 4752 } 4753 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4754 return srv.(CloudBuildServer).GetWorkerPool(ctx, req.(*GetWorkerPoolRequest)) 4755 } 4756 return interceptor(ctx, in, info, handler) 4757} 4758 4759func _CloudBuild_DeleteWorkerPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4760 in := new(DeleteWorkerPoolRequest) 4761 if err := dec(in); err != nil { 4762 return nil, err 4763 } 4764 if interceptor == nil { 4765 return srv.(CloudBuildServer).DeleteWorkerPool(ctx, in) 4766 } 4767 info := &grpc.UnaryServerInfo{ 4768 Server: srv, 4769 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/DeleteWorkerPool", 4770 } 4771 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4772 return srv.(CloudBuildServer).DeleteWorkerPool(ctx, req.(*DeleteWorkerPoolRequest)) 4773 } 4774 return interceptor(ctx, in, info, handler) 4775} 4776 4777func _CloudBuild_UpdateWorkerPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4778 in := new(UpdateWorkerPoolRequest) 4779 if err := dec(in); err != nil { 4780 return nil, err 4781 } 4782 if interceptor == nil { 4783 return srv.(CloudBuildServer).UpdateWorkerPool(ctx, in) 4784 } 4785 info := &grpc.UnaryServerInfo{ 4786 Server: srv, 4787 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/UpdateWorkerPool", 4788 } 4789 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4790 return srv.(CloudBuildServer).UpdateWorkerPool(ctx, req.(*UpdateWorkerPoolRequest)) 4791 } 4792 return interceptor(ctx, in, info, handler) 4793} 4794 4795func _CloudBuild_ListWorkerPools_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4796 in := new(ListWorkerPoolsRequest) 4797 if err := dec(in); err != nil { 4798 return nil, err 4799 } 4800 if interceptor == nil { 4801 return srv.(CloudBuildServer).ListWorkerPools(ctx, in) 4802 } 4803 info := &grpc.UnaryServerInfo{ 4804 Server: srv, 4805 FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/ListWorkerPools", 4806 } 4807 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4808 return srv.(CloudBuildServer).ListWorkerPools(ctx, req.(*ListWorkerPoolsRequest)) 4809 } 4810 return interceptor(ctx, in, info, handler) 4811} 4812 4813var _CloudBuild_serviceDesc = grpc.ServiceDesc{ 4814 ServiceName: "google.devtools.cloudbuild.v1.CloudBuild", 4815 HandlerType: (*CloudBuildServer)(nil), 4816 Methods: []grpc.MethodDesc{ 4817 { 4818 MethodName: "CreateBuild", 4819 Handler: _CloudBuild_CreateBuild_Handler, 4820 }, 4821 { 4822 MethodName: "GetBuild", 4823 Handler: _CloudBuild_GetBuild_Handler, 4824 }, 4825 { 4826 MethodName: "ListBuilds", 4827 Handler: _CloudBuild_ListBuilds_Handler, 4828 }, 4829 { 4830 MethodName: "CancelBuild", 4831 Handler: _CloudBuild_CancelBuild_Handler, 4832 }, 4833 { 4834 MethodName: "RetryBuild", 4835 Handler: _CloudBuild_RetryBuild_Handler, 4836 }, 4837 { 4838 MethodName: "CreateBuildTrigger", 4839 Handler: _CloudBuild_CreateBuildTrigger_Handler, 4840 }, 4841 { 4842 MethodName: "GetBuildTrigger", 4843 Handler: _CloudBuild_GetBuildTrigger_Handler, 4844 }, 4845 { 4846 MethodName: "ListBuildTriggers", 4847 Handler: _CloudBuild_ListBuildTriggers_Handler, 4848 }, 4849 { 4850 MethodName: "DeleteBuildTrigger", 4851 Handler: _CloudBuild_DeleteBuildTrigger_Handler, 4852 }, 4853 { 4854 MethodName: "UpdateBuildTrigger", 4855 Handler: _CloudBuild_UpdateBuildTrigger_Handler, 4856 }, 4857 { 4858 MethodName: "RunBuildTrigger", 4859 Handler: _CloudBuild_RunBuildTrigger_Handler, 4860 }, 4861 { 4862 MethodName: "CreateWorkerPool", 4863 Handler: _CloudBuild_CreateWorkerPool_Handler, 4864 }, 4865 { 4866 MethodName: "GetWorkerPool", 4867 Handler: _CloudBuild_GetWorkerPool_Handler, 4868 }, 4869 { 4870 MethodName: "DeleteWorkerPool", 4871 Handler: _CloudBuild_DeleteWorkerPool_Handler, 4872 }, 4873 { 4874 MethodName: "UpdateWorkerPool", 4875 Handler: _CloudBuild_UpdateWorkerPool_Handler, 4876 }, 4877 { 4878 MethodName: "ListWorkerPools", 4879 Handler: _CloudBuild_ListWorkerPools_Handler, 4880 }, 4881 }, 4882 Streams: []grpc.StreamDesc{}, 4883 Metadata: "google/devtools/cloudbuild/v1/cloudbuild.proto", 4884} 4885