sigs.k8s.io/prow@v0.0.0-20240503223140-c5e374dc7eb1/pkg/gangway/gangway.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.32.0 4 // protoc v4.25.2 5 // source: gangway.proto 6 7 package gangway 8 9 import ( 10 _ "google.golang.org/genproto/googleapis/api/annotations" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 // JobExecutionStatus is a 1:1 translation of the existing "ProwJobState" type 26 // in prow/apis/prowjobs/v1/types.go. 27 type JobExecutionStatus int32 28 29 const ( 30 JobExecutionStatus_JOB_EXECUTION_STATUS_UNSPECIFIED JobExecutionStatus = 0 31 JobExecutionStatus_TRIGGERED JobExecutionStatus = 1 32 JobExecutionStatus_PENDING JobExecutionStatus = 2 33 JobExecutionStatus_SUCCESS JobExecutionStatus = 3 34 JobExecutionStatus_FAILURE JobExecutionStatus = 4 35 JobExecutionStatus_ABORTED JobExecutionStatus = 5 36 JobExecutionStatus_ERROR JobExecutionStatus = 6 37 ) 38 39 // Enum value maps for JobExecutionStatus. 40 var ( 41 JobExecutionStatus_name = map[int32]string{ 42 0: "JOB_EXECUTION_STATUS_UNSPECIFIED", 43 1: "TRIGGERED", 44 2: "PENDING", 45 3: "SUCCESS", 46 4: "FAILURE", 47 5: "ABORTED", 48 6: "ERROR", 49 } 50 JobExecutionStatus_value = map[string]int32{ 51 "JOB_EXECUTION_STATUS_UNSPECIFIED": 0, 52 "TRIGGERED": 1, 53 "PENDING": 2, 54 "SUCCESS": 3, 55 "FAILURE": 4, 56 "ABORTED": 5, 57 "ERROR": 6, 58 } 59 ) 60 61 func (x JobExecutionStatus) Enum() *JobExecutionStatus { 62 p := new(JobExecutionStatus) 63 *p = x 64 return p 65 } 66 67 func (x JobExecutionStatus) String() string { 68 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 69 } 70 71 func (JobExecutionStatus) Descriptor() protoreflect.EnumDescriptor { 72 return file_gangway_proto_enumTypes[0].Descriptor() 73 } 74 75 func (JobExecutionStatus) Type() protoreflect.EnumType { 76 return &file_gangway_proto_enumTypes[0] 77 } 78 79 func (x JobExecutionStatus) Number() protoreflect.EnumNumber { 80 return protoreflect.EnumNumber(x) 81 } 82 83 // Deprecated: Use JobExecutionStatus.Descriptor instead. 84 func (JobExecutionStatus) EnumDescriptor() ([]byte, []int) { 85 return file_gangway_proto_rawDescGZIP(), []int{0} 86 } 87 88 // JobExecutionType is a 1:1 translation of the existing "ProwJobType" type 89 // in prow/apis/prowjobs/v1/types.go. 90 type JobExecutionType int32 91 92 const ( 93 JobExecutionType_JOB_EXECUTION_TYPE_UNSPECIFIED JobExecutionType = 0 94 JobExecutionType_PERIODIC JobExecutionType = 1 95 JobExecutionType_POSTSUBMIT JobExecutionType = 2 96 JobExecutionType_PRESUBMIT JobExecutionType = 3 97 JobExecutionType_BATCH JobExecutionType = 4 98 ) 99 100 // Enum value maps for JobExecutionType. 101 var ( 102 JobExecutionType_name = map[int32]string{ 103 0: "JOB_EXECUTION_TYPE_UNSPECIFIED", 104 1: "PERIODIC", 105 2: "POSTSUBMIT", 106 3: "PRESUBMIT", 107 4: "BATCH", 108 } 109 JobExecutionType_value = map[string]int32{ 110 "JOB_EXECUTION_TYPE_UNSPECIFIED": 0, 111 "PERIODIC": 1, 112 "POSTSUBMIT": 2, 113 "PRESUBMIT": 3, 114 "BATCH": 4, 115 } 116 ) 117 118 func (x JobExecutionType) Enum() *JobExecutionType { 119 p := new(JobExecutionType) 120 *p = x 121 return p 122 } 123 124 func (x JobExecutionType) String() string { 125 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 126 } 127 128 func (JobExecutionType) Descriptor() protoreflect.EnumDescriptor { 129 return file_gangway_proto_enumTypes[1].Descriptor() 130 } 131 132 func (JobExecutionType) Type() protoreflect.EnumType { 133 return &file_gangway_proto_enumTypes[1] 134 } 135 136 func (x JobExecutionType) Number() protoreflect.EnumNumber { 137 return protoreflect.EnumNumber(x) 138 } 139 140 // Deprecated: Use JobExecutionType.Descriptor instead. 141 func (JobExecutionType) EnumDescriptor() ([]byte, []int) { 142 return file_gangway_proto_rawDescGZIP(), []int{1} 143 } 144 145 type CreateJobExecutionRequest struct { 146 state protoimpl.MessageState 147 sizeCache protoimpl.SizeCache 148 unknownFields protoimpl.UnknownFields 149 150 JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` 151 JobExecutionType JobExecutionType `protobuf:"varint,2,opt,name=job_execution_type,json=jobExecutionType,proto3,enum=JobExecutionType" json:"job_execution_type,omitempty"` 152 Refs *Refs `protobuf:"bytes,3,opt,name=refs,proto3" json:"refs,omitempty"` 153 PodSpecOptions *PodSpecOptions `protobuf:"bytes,4,opt,name=pod_spec_options,json=podSpecOptions,proto3" json:"pod_spec_options,omitempty"` 154 } 155 156 func (x *CreateJobExecutionRequest) Reset() { 157 *x = CreateJobExecutionRequest{} 158 if protoimpl.UnsafeEnabled { 159 mi := &file_gangway_proto_msgTypes[0] 160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 161 ms.StoreMessageInfo(mi) 162 } 163 } 164 165 func (x *CreateJobExecutionRequest) String() string { 166 return protoimpl.X.MessageStringOf(x) 167 } 168 169 func (*CreateJobExecutionRequest) ProtoMessage() {} 170 171 func (x *CreateJobExecutionRequest) ProtoReflect() protoreflect.Message { 172 mi := &file_gangway_proto_msgTypes[0] 173 if protoimpl.UnsafeEnabled && x != nil { 174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 175 if ms.LoadMessageInfo() == nil { 176 ms.StoreMessageInfo(mi) 177 } 178 return ms 179 } 180 return mi.MessageOf(x) 181 } 182 183 // Deprecated: Use CreateJobExecutionRequest.ProtoReflect.Descriptor instead. 184 func (*CreateJobExecutionRequest) Descriptor() ([]byte, []int) { 185 return file_gangway_proto_rawDescGZIP(), []int{0} 186 } 187 188 func (x *CreateJobExecutionRequest) GetJobName() string { 189 if x != nil { 190 return x.JobName 191 } 192 return "" 193 } 194 195 func (x *CreateJobExecutionRequest) GetJobExecutionType() JobExecutionType { 196 if x != nil { 197 return x.JobExecutionType 198 } 199 return JobExecutionType_JOB_EXECUTION_TYPE_UNSPECIFIED 200 } 201 202 func (x *CreateJobExecutionRequest) GetRefs() *Refs { 203 if x != nil { 204 return x.Refs 205 } 206 return nil 207 } 208 209 func (x *CreateJobExecutionRequest) GetPodSpecOptions() *PodSpecOptions { 210 if x != nil { 211 return x.PodSpecOptions 212 } 213 return nil 214 } 215 216 type PodSpecOptions struct { 217 state protoimpl.MessageState 218 sizeCache protoimpl.SizeCache 219 unknownFields protoimpl.UnknownFields 220 221 Envs map[string]string `protobuf:"bytes,1,rep,name=envs,proto3" json:"envs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 222 Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 223 Annotations map[string]string `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 224 } 225 226 func (x *PodSpecOptions) Reset() { 227 *x = PodSpecOptions{} 228 if protoimpl.UnsafeEnabled { 229 mi := &file_gangway_proto_msgTypes[1] 230 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 231 ms.StoreMessageInfo(mi) 232 } 233 } 234 235 func (x *PodSpecOptions) String() string { 236 return protoimpl.X.MessageStringOf(x) 237 } 238 239 func (*PodSpecOptions) ProtoMessage() {} 240 241 func (x *PodSpecOptions) ProtoReflect() protoreflect.Message { 242 mi := &file_gangway_proto_msgTypes[1] 243 if protoimpl.UnsafeEnabled && x != nil { 244 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 245 if ms.LoadMessageInfo() == nil { 246 ms.StoreMessageInfo(mi) 247 } 248 return ms 249 } 250 return mi.MessageOf(x) 251 } 252 253 // Deprecated: Use PodSpecOptions.ProtoReflect.Descriptor instead. 254 func (*PodSpecOptions) Descriptor() ([]byte, []int) { 255 return file_gangway_proto_rawDescGZIP(), []int{1} 256 } 257 258 func (x *PodSpecOptions) GetEnvs() map[string]string { 259 if x != nil { 260 return x.Envs 261 } 262 return nil 263 } 264 265 func (x *PodSpecOptions) GetLabels() map[string]string { 266 if x != nil { 267 return x.Labels 268 } 269 return nil 270 } 271 272 func (x *PodSpecOptions) GetAnnotations() map[string]string { 273 if x != nil { 274 return x.Annotations 275 } 276 return nil 277 } 278 279 // Look up a single Prow Job execution. 280 type GetJobExecutionRequest struct { 281 state protoimpl.MessageState 282 sizeCache protoimpl.SizeCache 283 unknownFields protoimpl.UnknownFields 284 285 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 286 } 287 288 func (x *GetJobExecutionRequest) Reset() { 289 *x = GetJobExecutionRequest{} 290 if protoimpl.UnsafeEnabled { 291 mi := &file_gangway_proto_msgTypes[2] 292 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 293 ms.StoreMessageInfo(mi) 294 } 295 } 296 297 func (x *GetJobExecutionRequest) String() string { 298 return protoimpl.X.MessageStringOf(x) 299 } 300 301 func (*GetJobExecutionRequest) ProtoMessage() {} 302 303 func (x *GetJobExecutionRequest) ProtoReflect() protoreflect.Message { 304 mi := &file_gangway_proto_msgTypes[2] 305 if protoimpl.UnsafeEnabled && x != nil { 306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 307 if ms.LoadMessageInfo() == nil { 308 ms.StoreMessageInfo(mi) 309 } 310 return ms 311 } 312 return mi.MessageOf(x) 313 } 314 315 // Deprecated: Use GetJobExecutionRequest.ProtoReflect.Descriptor instead. 316 func (*GetJobExecutionRequest) Descriptor() ([]byte, []int) { 317 return file_gangway_proto_rawDescGZIP(), []int{2} 318 } 319 320 func (x *GetJobExecutionRequest) GetId() string { 321 if x != nil { 322 return x.Id 323 } 324 return "" 325 } 326 327 // Look up all Prow Job executions that match all fields given here. 328 type ListJobExecutionsRequest struct { 329 state protoimpl.MessageState 330 sizeCache protoimpl.SizeCache 331 unknownFields protoimpl.UnknownFields 332 333 JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` // Mapped to URL query parameter `job_name`. 334 Status JobExecutionStatus `protobuf:"varint,2,opt,name=status,proto3,enum=JobExecutionStatus" json:"status,omitempty"` // Mapped to URL query parameter `status`. 335 } 336 337 func (x *ListJobExecutionsRequest) Reset() { 338 *x = ListJobExecutionsRequest{} 339 if protoimpl.UnsafeEnabled { 340 mi := &file_gangway_proto_msgTypes[3] 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 ms.StoreMessageInfo(mi) 343 } 344 } 345 346 func (x *ListJobExecutionsRequest) String() string { 347 return protoimpl.X.MessageStringOf(x) 348 } 349 350 func (*ListJobExecutionsRequest) ProtoMessage() {} 351 352 func (x *ListJobExecutionsRequest) ProtoReflect() protoreflect.Message { 353 mi := &file_gangway_proto_msgTypes[3] 354 if protoimpl.UnsafeEnabled && x != nil { 355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 356 if ms.LoadMessageInfo() == nil { 357 ms.StoreMessageInfo(mi) 358 } 359 return ms 360 } 361 return mi.MessageOf(x) 362 } 363 364 // Deprecated: Use ListJobExecutionsRequest.ProtoReflect.Descriptor instead. 365 func (*ListJobExecutionsRequest) Descriptor() ([]byte, []int) { 366 return file_gangway_proto_rawDescGZIP(), []int{3} 367 } 368 369 func (x *ListJobExecutionsRequest) GetJobName() string { 370 if x != nil { 371 return x.JobName 372 } 373 return "" 374 } 375 376 func (x *ListJobExecutionsRequest) GetStatus() JobExecutionStatus { 377 if x != nil { 378 return x.Status 379 } 380 return JobExecutionStatus_JOB_EXECUTION_STATUS_UNSPECIFIED 381 } 382 383 type JobExecutions struct { 384 state protoimpl.MessageState 385 sizeCache protoimpl.SizeCache 386 unknownFields protoimpl.UnknownFields 387 388 JobExecution []*JobExecution `protobuf:"bytes,1,rep,name=job_execution,json=jobExecution,proto3" json:"job_execution,omitempty"` 389 } 390 391 func (x *JobExecutions) Reset() { 392 *x = JobExecutions{} 393 if protoimpl.UnsafeEnabled { 394 mi := &file_gangway_proto_msgTypes[4] 395 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 396 ms.StoreMessageInfo(mi) 397 } 398 } 399 400 func (x *JobExecutions) String() string { 401 return protoimpl.X.MessageStringOf(x) 402 } 403 404 func (*JobExecutions) ProtoMessage() {} 405 406 func (x *JobExecutions) ProtoReflect() protoreflect.Message { 407 mi := &file_gangway_proto_msgTypes[4] 408 if protoimpl.UnsafeEnabled && x != nil { 409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 410 if ms.LoadMessageInfo() == nil { 411 ms.StoreMessageInfo(mi) 412 } 413 return ms 414 } 415 return mi.MessageOf(x) 416 } 417 418 // Deprecated: Use JobExecutions.ProtoReflect.Descriptor instead. 419 func (*JobExecutions) Descriptor() ([]byte, []int) { 420 return file_gangway_proto_rawDescGZIP(), []int{4} 421 } 422 423 func (x *JobExecutions) GetJobExecution() []*JobExecution { 424 if x != nil { 425 return x.JobExecution 426 } 427 return nil 428 } 429 430 type JobExecution struct { 431 state protoimpl.MessageState 432 sizeCache protoimpl.SizeCache 433 unknownFields protoimpl.UnknownFields 434 435 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 436 JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` 437 JobType JobExecutionType `protobuf:"varint,3,opt,name=job_type,json=jobType,proto3,enum=JobExecutionType" json:"job_type,omitempty"` 438 JobStatus JobExecutionStatus `protobuf:"varint,4,opt,name=job_status,json=jobStatus,proto3,enum=JobExecutionStatus" json:"job_status,omitempty"` 439 Refs *Refs `protobuf:"bytes,5,opt,name=refs,proto3" json:"refs,omitempty"` 440 PodSpecOptions *PodSpecOptions `protobuf:"bytes,6,opt,name=pod_spec_options,json=podSpecOptions,proto3" json:"pod_spec_options,omitempty"` 441 GcsPath string `protobuf:"bytes,7,opt,name=gcs_path,json=gcsPath,proto3" json:"gcs_path,omitempty"` 442 CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 443 CompletionTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"` 444 } 445 446 func (x *JobExecution) Reset() { 447 *x = JobExecution{} 448 if protoimpl.UnsafeEnabled { 449 mi := &file_gangway_proto_msgTypes[5] 450 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 451 ms.StoreMessageInfo(mi) 452 } 453 } 454 455 func (x *JobExecution) String() string { 456 return protoimpl.X.MessageStringOf(x) 457 } 458 459 func (*JobExecution) ProtoMessage() {} 460 461 func (x *JobExecution) ProtoReflect() protoreflect.Message { 462 mi := &file_gangway_proto_msgTypes[5] 463 if protoimpl.UnsafeEnabled && x != nil { 464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 465 if ms.LoadMessageInfo() == nil { 466 ms.StoreMessageInfo(mi) 467 } 468 return ms 469 } 470 return mi.MessageOf(x) 471 } 472 473 // Deprecated: Use JobExecution.ProtoReflect.Descriptor instead. 474 func (*JobExecution) Descriptor() ([]byte, []int) { 475 return file_gangway_proto_rawDescGZIP(), []int{5} 476 } 477 478 func (x *JobExecution) GetId() string { 479 if x != nil { 480 return x.Id 481 } 482 return "" 483 } 484 485 func (x *JobExecution) GetJobName() string { 486 if x != nil { 487 return x.JobName 488 } 489 return "" 490 } 491 492 func (x *JobExecution) GetJobType() JobExecutionType { 493 if x != nil { 494 return x.JobType 495 } 496 return JobExecutionType_JOB_EXECUTION_TYPE_UNSPECIFIED 497 } 498 499 func (x *JobExecution) GetJobStatus() JobExecutionStatus { 500 if x != nil { 501 return x.JobStatus 502 } 503 return JobExecutionStatus_JOB_EXECUTION_STATUS_UNSPECIFIED 504 } 505 506 func (x *JobExecution) GetRefs() *Refs { 507 if x != nil { 508 return x.Refs 509 } 510 return nil 511 } 512 513 func (x *JobExecution) GetPodSpecOptions() *PodSpecOptions { 514 if x != nil { 515 return x.PodSpecOptions 516 } 517 return nil 518 } 519 520 func (x *JobExecution) GetGcsPath() string { 521 if x != nil { 522 return x.GcsPath 523 } 524 return "" 525 } 526 527 func (x *JobExecution) GetCreateTime() *timestamppb.Timestamp { 528 if x != nil { 529 return x.CreateTime 530 } 531 return nil 532 } 533 534 func (x *JobExecution) GetCompletionTime() *timestamppb.Timestamp { 535 if x != nil { 536 return x.CompletionTime 537 } 538 return nil 539 } 540 541 // Refs is a direct, 1:1 translation of the existing "Refs" struct defined in 542 // prow/apis/prowjobs/v1/types.go. 543 type Refs struct { 544 state protoimpl.MessageState 545 sizeCache protoimpl.SizeCache 546 unknownFields protoimpl.UnknownFields 547 548 Org string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` 549 Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` 550 RepoLink string `protobuf:"bytes,3,opt,name=repo_link,json=repoLink,proto3" json:"repo_link,omitempty"` 551 BaseRef string `protobuf:"bytes,4,opt,name=base_ref,json=baseRef,proto3" json:"base_ref,omitempty"` 552 BaseSha string `protobuf:"bytes,5,opt,name=base_sha,json=baseSha,proto3" json:"base_sha,omitempty"` 553 BaseLink string `protobuf:"bytes,6,opt,name=base_link,json=baseLink,proto3" json:"base_link,omitempty"` 554 Pulls []*Pull `protobuf:"bytes,7,rep,name=pulls,proto3" json:"pulls,omitempty"` 555 PathAlias string `protobuf:"bytes,8,opt,name=path_alias,json=pathAlias,proto3" json:"path_alias,omitempty"` 556 WorkDir bool `protobuf:"varint,9,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"` 557 CloneUri string `protobuf:"bytes,10,opt,name=clone_uri,json=cloneUri,proto3" json:"clone_uri,omitempty"` 558 SkipSubmodules bool `protobuf:"varint,11,opt,name=skip_submodules,json=skipSubmodules,proto3" json:"skip_submodules,omitempty"` 559 CloneDepth int32 `protobuf:"varint,12,opt,name=clone_depth,json=cloneDepth,proto3" json:"clone_depth,omitempty"` 560 SkipFetchHead bool `protobuf:"varint,13,opt,name=skip_fetch_head,json=skipFetchHead,proto3" json:"skip_fetch_head,omitempty"` 561 } 562 563 func (x *Refs) Reset() { 564 *x = Refs{} 565 if protoimpl.UnsafeEnabled { 566 mi := &file_gangway_proto_msgTypes[6] 567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 568 ms.StoreMessageInfo(mi) 569 } 570 } 571 572 func (x *Refs) String() string { 573 return protoimpl.X.MessageStringOf(x) 574 } 575 576 func (*Refs) ProtoMessage() {} 577 578 func (x *Refs) ProtoReflect() protoreflect.Message { 579 mi := &file_gangway_proto_msgTypes[6] 580 if protoimpl.UnsafeEnabled && x != nil { 581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 582 if ms.LoadMessageInfo() == nil { 583 ms.StoreMessageInfo(mi) 584 } 585 return ms 586 } 587 return mi.MessageOf(x) 588 } 589 590 // Deprecated: Use Refs.ProtoReflect.Descriptor instead. 591 func (*Refs) Descriptor() ([]byte, []int) { 592 return file_gangway_proto_rawDescGZIP(), []int{6} 593 } 594 595 func (x *Refs) GetOrg() string { 596 if x != nil { 597 return x.Org 598 } 599 return "" 600 } 601 602 func (x *Refs) GetRepo() string { 603 if x != nil { 604 return x.Repo 605 } 606 return "" 607 } 608 609 func (x *Refs) GetRepoLink() string { 610 if x != nil { 611 return x.RepoLink 612 } 613 return "" 614 } 615 616 func (x *Refs) GetBaseRef() string { 617 if x != nil { 618 return x.BaseRef 619 } 620 return "" 621 } 622 623 func (x *Refs) GetBaseSha() string { 624 if x != nil { 625 return x.BaseSha 626 } 627 return "" 628 } 629 630 func (x *Refs) GetBaseLink() string { 631 if x != nil { 632 return x.BaseLink 633 } 634 return "" 635 } 636 637 func (x *Refs) GetPulls() []*Pull { 638 if x != nil { 639 return x.Pulls 640 } 641 return nil 642 } 643 644 func (x *Refs) GetPathAlias() string { 645 if x != nil { 646 return x.PathAlias 647 } 648 return "" 649 } 650 651 func (x *Refs) GetWorkDir() bool { 652 if x != nil { 653 return x.WorkDir 654 } 655 return false 656 } 657 658 func (x *Refs) GetCloneUri() string { 659 if x != nil { 660 return x.CloneUri 661 } 662 return "" 663 } 664 665 func (x *Refs) GetSkipSubmodules() bool { 666 if x != nil { 667 return x.SkipSubmodules 668 } 669 return false 670 } 671 672 func (x *Refs) GetCloneDepth() int32 { 673 if x != nil { 674 return x.CloneDepth 675 } 676 return 0 677 } 678 679 func (x *Refs) GetSkipFetchHead() bool { 680 if x != nil { 681 return x.SkipFetchHead 682 } 683 return false 684 } 685 686 // Pull is a direct, 1:1 translation of the existing "Pull" struct defined in 687 // prow/apis/prowjobs/v1/types.go. 688 type Pull struct { 689 state protoimpl.MessageState 690 sizeCache protoimpl.SizeCache 691 unknownFields protoimpl.UnknownFields 692 693 Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` 694 Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` 695 Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty"` 696 Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` 697 Ref string `protobuf:"bytes,5,opt,name=ref,proto3" json:"ref,omitempty"` 698 Link string `protobuf:"bytes,6,opt,name=link,proto3" json:"link,omitempty"` 699 CommitLink string `protobuf:"bytes,7,opt,name=commit_link,json=commitLink,proto3" json:"commit_link,omitempty"` 700 AuthorLink string `protobuf:"bytes,8,opt,name=author_link,json=authorLink,proto3" json:"author_link,omitempty"` 701 } 702 703 func (x *Pull) Reset() { 704 *x = Pull{} 705 if protoimpl.UnsafeEnabled { 706 mi := &file_gangway_proto_msgTypes[7] 707 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 708 ms.StoreMessageInfo(mi) 709 } 710 } 711 712 func (x *Pull) String() string { 713 return protoimpl.X.MessageStringOf(x) 714 } 715 716 func (*Pull) ProtoMessage() {} 717 718 func (x *Pull) ProtoReflect() protoreflect.Message { 719 mi := &file_gangway_proto_msgTypes[7] 720 if protoimpl.UnsafeEnabled && x != nil { 721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 722 if ms.LoadMessageInfo() == nil { 723 ms.StoreMessageInfo(mi) 724 } 725 return ms 726 } 727 return mi.MessageOf(x) 728 } 729 730 // Deprecated: Use Pull.ProtoReflect.Descriptor instead. 731 func (*Pull) Descriptor() ([]byte, []int) { 732 return file_gangway_proto_rawDescGZIP(), []int{7} 733 } 734 735 func (x *Pull) GetNumber() int32 { 736 if x != nil { 737 return x.Number 738 } 739 return 0 740 } 741 742 func (x *Pull) GetAuthor() string { 743 if x != nil { 744 return x.Author 745 } 746 return "" 747 } 748 749 func (x *Pull) GetSha() string { 750 if x != nil { 751 return x.Sha 752 } 753 return "" 754 } 755 756 func (x *Pull) GetTitle() string { 757 if x != nil { 758 return x.Title 759 } 760 return "" 761 } 762 763 func (x *Pull) GetRef() string { 764 if x != nil { 765 return x.Ref 766 } 767 return "" 768 } 769 770 func (x *Pull) GetLink() string { 771 if x != nil { 772 return x.Link 773 } 774 return "" 775 } 776 777 func (x *Pull) GetCommitLink() string { 778 if x != nil { 779 return x.CommitLink 780 } 781 return "" 782 } 783 784 func (x *Pull) GetAuthorLink() string { 785 if x != nil { 786 return x.AuthorLink 787 } 788 return "" 789 } 790 791 var File_gangway_proto protoreflect.FileDescriptor 792 793 var file_gangway_proto_rawDesc = []byte{ 794 0x0a, 0x0d, 0x67, 0x61, 0x6e, 0x67, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 795 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 796 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 797 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 798 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 799 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 800 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 801 0x6a, 0x6f, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 802 0x6a, 0x6f, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x12, 0x6a, 0x6f, 0x62, 0x5f, 0x65, 803 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 804 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 805 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, 0x6a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 806 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x04, 0x72, 0x65, 0x66, 0x73, 807 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x52, 0x65, 0x66, 0x73, 0x52, 0x04, 0x72, 808 0x65, 0x66, 0x73, 0x12, 0x39, 0x0a, 0x10, 0x70, 0x6f, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 809 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 810 0x50, 0x6f, 0x64, 0x53, 0x70, 0x65, 0x63, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 811 0x70, 0x6f, 0x64, 0x53, 0x70, 0x65, 0x63, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xec, 812 0x02, 0x0a, 0x0e, 0x50, 0x6f, 0x64, 0x53, 0x70, 0x65, 0x63, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 813 0x73, 0x12, 0x2d, 0x0a, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 814 0x19, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x70, 0x65, 0x63, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 815 0x2e, 0x45, 0x6e, 0x76, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x65, 0x6e, 0x76, 0x73, 816 0x12, 0x33, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 817 0x32, 0x1b, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x70, 0x65, 0x63, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 818 0x73, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 819 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 820 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x50, 0x6f, 0x64, 821 0x53, 0x70, 0x65, 0x63, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 822 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 823 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x45, 0x6e, 0x76, 824 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 825 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 826 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 827 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 828 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 829 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 830 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 831 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 832 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 833 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 834 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x28, 0x0a, 835 0x16, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 836 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 837 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x62, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4a, 838 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 839 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6a, 0x6f, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 840 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6a, 0x6f, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 841 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 842 0x2e, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 843 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x43, 0x0a, 0x0d, 0x4a, 844 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x0d, 845 0x6a, 0x6f, 0x62, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 846 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 847 0x6f, 0x6e, 0x52, 0x0c, 0x6a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 848 0x22, 0x8e, 0x03, 0x0a, 0x0c, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 849 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 850 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6a, 0x6f, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 851 0x01, 0x28, 0x09, 0x52, 0x07, 0x6a, 0x6f, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x08, 852 0x6a, 0x6f, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 853 0x2e, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 854 0x65, 0x52, 0x07, 0x6a, 0x6f, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x0a, 0x6a, 0x6f, 855 0x62, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 856 0x2e, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 857 0x74, 0x75, 0x73, 0x52, 0x09, 0x6a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 858 0x0a, 0x04, 0x72, 0x65, 0x66, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x52, 859 0x65, 0x66, 0x73, 0x52, 0x04, 0x72, 0x65, 0x66, 0x73, 0x12, 0x39, 0x0a, 0x10, 0x70, 0x6f, 0x64, 860 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 861 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x70, 0x65, 0x63, 0x4f, 0x70, 0x74, 862 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 0x70, 0x6f, 0x64, 0x53, 0x70, 0x65, 0x63, 0x4f, 0x70, 0x74, 863 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x63, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 864 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x63, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 865 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 866 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 867 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 868 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0f, 869 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 870 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 871 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 872 0x70, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 873 0x65, 0x22, 0x82, 0x03, 0x0a, 0x04, 0x52, 0x65, 0x66, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 874 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x12, 0x12, 0x0a, 0x04, 875 0x72, 0x65, 0x70, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x65, 0x70, 0x6f, 876 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x03, 0x20, 877 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6f, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x19, 0x0a, 878 0x08, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 879 0x07, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x66, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, 880 0x5f, 0x73, 0x68, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65, 881 0x53, 0x68, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 882 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 883 0x12, 0x1b, 0x0a, 0x05, 0x70, 0x75, 0x6c, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 884 0x05, 0x2e, 0x50, 0x75, 0x6c, 0x6c, 0x52, 0x05, 0x70, 0x75, 0x6c, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 885 0x0a, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 886 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x68, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x19, 0x0a, 0x08, 887 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 888 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x6f, 0x6e, 0x65, 889 0x5f, 0x75, 0x72, 0x69, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x6f, 0x6e, 890 0x65, 0x55, 0x72, 0x69, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x73, 0x75, 0x62, 891 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 892 0x6b, 0x69, 0x70, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x0a, 893 0x0b, 0x63, 0x6c, 0x6f, 0x6e, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, 0x0c, 0x20, 0x01, 894 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6c, 0x6f, 0x6e, 0x65, 0x44, 0x65, 0x70, 0x74, 0x68, 0x12, 0x26, 895 0x0a, 0x0f, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x68, 0x65, 0x61, 896 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x65, 0x74, 897 0x63, 0x68, 0x48, 0x65, 0x61, 0x64, 0x22, 0xc6, 0x01, 0x0a, 0x04, 0x50, 0x75, 0x6c, 0x6c, 0x12, 898 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 899 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 900 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 901 0x10, 0x0a, 0x03, 0x73, 0x68, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x68, 902 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 903 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x05, 904 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 905 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x1f, 0x0a, 906 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x07, 0x20, 0x01, 907 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x1f, 908 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x08, 0x20, 909 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x4c, 0x69, 0x6e, 0x6b, 0x2a, 910 0x88, 0x01, 0x0a, 0x12, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 911 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x20, 0x4a, 0x4f, 0x42, 0x5f, 0x45, 0x58, 912 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 913 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 914 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 915 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 916 0x45, 0x53, 0x53, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 917 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x05, 0x12, 918 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x2a, 0x6e, 0x0a, 0x10, 0x4a, 0x6f, 919 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 920 0x0a, 0x1e, 0x4a, 0x4f, 0x42, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 921 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 922 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x45, 0x52, 0x49, 0x4f, 0x44, 0x49, 0x43, 0x10, 0x01, 923 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x4f, 0x53, 0x54, 0x53, 0x55, 0x42, 0x4d, 0x49, 0x54, 0x10, 0x02, 924 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x52, 0x45, 0x53, 0x55, 0x42, 0x4d, 0x49, 0x54, 0x10, 0x03, 0x12, 925 0x09, 0x0a, 0x05, 0x42, 0x41, 0x54, 0x43, 0x48, 0x10, 0x04, 0x32, 0x9a, 0x02, 0x0a, 0x04, 0x50, 926 0x72, 0x6f, 0x77, 0x12, 0x62, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 927 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x2e, 0x43, 0x72, 0x65, 0x61, 928 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 929 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 930 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x3a, 0x01, 0x2a, 0x42, 931 0x16, 0x0a, 0x04, 0x50, 0x4f, 0x53, 0x54, 0x12, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 932 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x56, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4a, 0x6f, 933 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x2e, 0x47, 0x65, 0x74, 934 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 935 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 936 0x6f, 0x6e, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x31, 0x2f, 937 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 938 0x56, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 939 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x45, 0x78, 940 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 941 0x0e, 0x2e, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 942 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 943 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x1e, 0x5a, 0x1c, 0x73, 0x69, 0x67, 0x73, 0x2e, 944 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x77, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 945 0x67, 0x61, 0x6e, 0x67, 0x77, 0x61, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 946 } 947 948 var ( 949 file_gangway_proto_rawDescOnce sync.Once 950 file_gangway_proto_rawDescData = file_gangway_proto_rawDesc 951 ) 952 953 func file_gangway_proto_rawDescGZIP() []byte { 954 file_gangway_proto_rawDescOnce.Do(func() { 955 file_gangway_proto_rawDescData = protoimpl.X.CompressGZIP(file_gangway_proto_rawDescData) 956 }) 957 return file_gangway_proto_rawDescData 958 } 959 960 var file_gangway_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 961 var file_gangway_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 962 var file_gangway_proto_goTypes = []interface{}{ 963 (JobExecutionStatus)(0), // 0: JobExecutionStatus 964 (JobExecutionType)(0), // 1: JobExecutionType 965 (*CreateJobExecutionRequest)(nil), // 2: CreateJobExecutionRequest 966 (*PodSpecOptions)(nil), // 3: PodSpecOptions 967 (*GetJobExecutionRequest)(nil), // 4: GetJobExecutionRequest 968 (*ListJobExecutionsRequest)(nil), // 5: ListJobExecutionsRequest 969 (*JobExecutions)(nil), // 6: JobExecutions 970 (*JobExecution)(nil), // 7: JobExecution 971 (*Refs)(nil), // 8: Refs 972 (*Pull)(nil), // 9: Pull 973 nil, // 10: PodSpecOptions.EnvsEntry 974 nil, // 11: PodSpecOptions.LabelsEntry 975 nil, // 12: PodSpecOptions.AnnotationsEntry 976 (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp 977 } 978 var file_gangway_proto_depIdxs = []int32{ 979 1, // 0: CreateJobExecutionRequest.job_execution_type:type_name -> JobExecutionType 980 8, // 1: CreateJobExecutionRequest.refs:type_name -> Refs 981 3, // 2: CreateJobExecutionRequest.pod_spec_options:type_name -> PodSpecOptions 982 10, // 3: PodSpecOptions.envs:type_name -> PodSpecOptions.EnvsEntry 983 11, // 4: PodSpecOptions.labels:type_name -> PodSpecOptions.LabelsEntry 984 12, // 5: PodSpecOptions.annotations:type_name -> PodSpecOptions.AnnotationsEntry 985 0, // 6: ListJobExecutionsRequest.status:type_name -> JobExecutionStatus 986 7, // 7: JobExecutions.job_execution:type_name -> JobExecution 987 1, // 8: JobExecution.job_type:type_name -> JobExecutionType 988 0, // 9: JobExecution.job_status:type_name -> JobExecutionStatus 989 8, // 10: JobExecution.refs:type_name -> Refs 990 3, // 11: JobExecution.pod_spec_options:type_name -> PodSpecOptions 991 13, // 12: JobExecution.create_time:type_name -> google.protobuf.Timestamp 992 13, // 13: JobExecution.completion_time:type_name -> google.protobuf.Timestamp 993 9, // 14: Refs.pulls:type_name -> Pull 994 2, // 15: Prow.CreateJobExecution:input_type -> CreateJobExecutionRequest 995 4, // 16: Prow.GetJobExecution:input_type -> GetJobExecutionRequest 996 5, // 17: Prow.ListJobExecutions:input_type -> ListJobExecutionsRequest 997 7, // 18: Prow.CreateJobExecution:output_type -> JobExecution 998 7, // 19: Prow.GetJobExecution:output_type -> JobExecution 999 6, // 20: Prow.ListJobExecutions:output_type -> JobExecutions 1000 18, // [18:21] is the sub-list for method output_type 1001 15, // [15:18] is the sub-list for method input_type 1002 15, // [15:15] is the sub-list for extension type_name 1003 15, // [15:15] is the sub-list for extension extendee 1004 0, // [0:15] is the sub-list for field type_name 1005 } 1006 1007 func init() { file_gangway_proto_init() } 1008 func file_gangway_proto_init() { 1009 if File_gangway_proto != nil { 1010 return 1011 } 1012 if !protoimpl.UnsafeEnabled { 1013 file_gangway_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1014 switch v := v.(*CreateJobExecutionRequest); i { 1015 case 0: 1016 return &v.state 1017 case 1: 1018 return &v.sizeCache 1019 case 2: 1020 return &v.unknownFields 1021 default: 1022 return nil 1023 } 1024 } 1025 file_gangway_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1026 switch v := v.(*PodSpecOptions); i { 1027 case 0: 1028 return &v.state 1029 case 1: 1030 return &v.sizeCache 1031 case 2: 1032 return &v.unknownFields 1033 default: 1034 return nil 1035 } 1036 } 1037 file_gangway_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1038 switch v := v.(*GetJobExecutionRequest); i { 1039 case 0: 1040 return &v.state 1041 case 1: 1042 return &v.sizeCache 1043 case 2: 1044 return &v.unknownFields 1045 default: 1046 return nil 1047 } 1048 } 1049 file_gangway_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1050 switch v := v.(*ListJobExecutionsRequest); i { 1051 case 0: 1052 return &v.state 1053 case 1: 1054 return &v.sizeCache 1055 case 2: 1056 return &v.unknownFields 1057 default: 1058 return nil 1059 } 1060 } 1061 file_gangway_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1062 switch v := v.(*JobExecutions); i { 1063 case 0: 1064 return &v.state 1065 case 1: 1066 return &v.sizeCache 1067 case 2: 1068 return &v.unknownFields 1069 default: 1070 return nil 1071 } 1072 } 1073 file_gangway_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1074 switch v := v.(*JobExecution); i { 1075 case 0: 1076 return &v.state 1077 case 1: 1078 return &v.sizeCache 1079 case 2: 1080 return &v.unknownFields 1081 default: 1082 return nil 1083 } 1084 } 1085 file_gangway_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1086 switch v := v.(*Refs); i { 1087 case 0: 1088 return &v.state 1089 case 1: 1090 return &v.sizeCache 1091 case 2: 1092 return &v.unknownFields 1093 default: 1094 return nil 1095 } 1096 } 1097 file_gangway_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1098 switch v := v.(*Pull); i { 1099 case 0: 1100 return &v.state 1101 case 1: 1102 return &v.sizeCache 1103 case 2: 1104 return &v.unknownFields 1105 default: 1106 return nil 1107 } 1108 } 1109 } 1110 type x struct{} 1111 out := protoimpl.TypeBuilder{ 1112 File: protoimpl.DescBuilder{ 1113 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1114 RawDescriptor: file_gangway_proto_rawDesc, 1115 NumEnums: 2, 1116 NumMessages: 11, 1117 NumExtensions: 0, 1118 NumServices: 1, 1119 }, 1120 GoTypes: file_gangway_proto_goTypes, 1121 DependencyIndexes: file_gangway_proto_depIdxs, 1122 EnumInfos: file_gangway_proto_enumTypes, 1123 MessageInfos: file_gangway_proto_msgTypes, 1124 }.Build() 1125 File_gangway_proto = out.File 1126 file_gangway_proto_rawDesc = nil 1127 file_gangway_proto_goTypes = nil 1128 file_gangway_proto_depIdxs = nil 1129 }