go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/scheduler/appengine/internal/tq.pb.go (about) 1 // Copyright 2017 The LUCI Authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.31.0 18 // protoc v3.21.7 19 // source: go.chromium.org/luci/scheduler/appengine/internal/tq.proto 20 21 package internal 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 reflect "reflect" 27 sync "sync" 28 ) 29 30 const ( 31 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 35 ) 36 37 // ReadProjectConfigTask is used to import jobs of some project. 38 // 39 // Queue: "read-project-config". 40 type ReadProjectConfigTask struct { 41 state protoimpl.MessageState 42 sizeCache protoimpl.SizeCache 43 unknownFields protoimpl.UnknownFields 44 45 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 46 } 47 48 func (x *ReadProjectConfigTask) Reset() { 49 *x = ReadProjectConfigTask{} 50 if protoimpl.UnsafeEnabled { 51 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[0] 52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 53 ms.StoreMessageInfo(mi) 54 } 55 } 56 57 func (x *ReadProjectConfigTask) String() string { 58 return protoimpl.X.MessageStringOf(x) 59 } 60 61 func (*ReadProjectConfigTask) ProtoMessage() {} 62 63 func (x *ReadProjectConfigTask) ProtoReflect() protoreflect.Message { 64 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[0] 65 if protoimpl.UnsafeEnabled && x != nil { 66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 67 if ms.LoadMessageInfo() == nil { 68 ms.StoreMessageInfo(mi) 69 } 70 return ms 71 } 72 return mi.MessageOf(x) 73 } 74 75 // Deprecated: Use ReadProjectConfigTask.ProtoReflect.Descriptor instead. 76 func (*ReadProjectConfigTask) Descriptor() ([]byte, []int) { 77 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP(), []int{0} 78 } 79 80 func (x *ReadProjectConfigTask) GetProjectId() string { 81 if x != nil { 82 return x.ProjectId 83 } 84 return "" 85 } 86 87 // LaunchInvocationTask is used to start running (or retry a lunch of) a single 88 // invocation. 89 // 90 // It is enqueued non-transactionally, but with the deduplication key. 91 // 92 // Queue: "launches". 93 type LaunchInvocationTask struct { 94 state protoimpl.MessageState 95 sizeCache protoimpl.SizeCache 96 unknownFields protoimpl.UnknownFields 97 98 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 99 InvId int64 `protobuf:"varint,2,opt,name=inv_id,json=invId,proto3" json:"inv_id,omitempty"` 100 } 101 102 func (x *LaunchInvocationTask) Reset() { 103 *x = LaunchInvocationTask{} 104 if protoimpl.UnsafeEnabled { 105 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[1] 106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 107 ms.StoreMessageInfo(mi) 108 } 109 } 110 111 func (x *LaunchInvocationTask) String() string { 112 return protoimpl.X.MessageStringOf(x) 113 } 114 115 func (*LaunchInvocationTask) ProtoMessage() {} 116 117 func (x *LaunchInvocationTask) ProtoReflect() protoreflect.Message { 118 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[1] 119 if protoimpl.UnsafeEnabled && x != nil { 120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 121 if ms.LoadMessageInfo() == nil { 122 ms.StoreMessageInfo(mi) 123 } 124 return ms 125 } 126 return mi.MessageOf(x) 127 } 128 129 // Deprecated: Use LaunchInvocationTask.ProtoReflect.Descriptor instead. 130 func (*LaunchInvocationTask) Descriptor() ([]byte, []int) { 131 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP(), []int{1} 132 } 133 134 func (x *LaunchInvocationTask) GetJobId() string { 135 if x != nil { 136 return x.JobId 137 } 138 return "" 139 } 140 141 func (x *LaunchInvocationTask) GetInvId() int64 { 142 if x != nil { 143 return x.InvId 144 } 145 return 0 146 } 147 148 // LaunchInvocationsBatchTask is used to kick off several invocations at once. 149 // 150 // It is enqueued transactionally. It fans out into many LaunchInvocationTask. 151 // 152 // Queue: "batches". 153 type LaunchInvocationsBatchTask struct { 154 state protoimpl.MessageState 155 sizeCache protoimpl.SizeCache 156 unknownFields protoimpl.UnknownFields 157 158 Tasks []*LaunchInvocationTask `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` 159 } 160 161 func (x *LaunchInvocationsBatchTask) Reset() { 162 *x = LaunchInvocationsBatchTask{} 163 if protoimpl.UnsafeEnabled { 164 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[2] 165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 166 ms.StoreMessageInfo(mi) 167 } 168 } 169 170 func (x *LaunchInvocationsBatchTask) String() string { 171 return protoimpl.X.MessageStringOf(x) 172 } 173 174 func (*LaunchInvocationsBatchTask) ProtoMessage() {} 175 176 func (x *LaunchInvocationsBatchTask) ProtoReflect() protoreflect.Message { 177 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[2] 178 if protoimpl.UnsafeEnabled && x != nil { 179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 180 if ms.LoadMessageInfo() == nil { 181 ms.StoreMessageInfo(mi) 182 } 183 return ms 184 } 185 return mi.MessageOf(x) 186 } 187 188 // Deprecated: Use LaunchInvocationsBatchTask.ProtoReflect.Descriptor instead. 189 func (*LaunchInvocationsBatchTask) Descriptor() ([]byte, []int) { 190 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP(), []int{2} 191 } 192 193 func (x *LaunchInvocationsBatchTask) GetTasks() []*LaunchInvocationTask { 194 if x != nil { 195 return x.Tasks 196 } 197 return nil 198 } 199 200 // TriageJobStateTask looks at the state of the job and decided what to do next. 201 // 202 // Enqueued non-transactionally. It is throttled to run approximately once per 203 // second. It looks at pending triggers and recently finished invocations and 204 // launches new invocations (or schedules timers to do it later). 205 // 206 // Queue: "triages". 207 type TriageJobStateTask struct { 208 state protoimpl.MessageState 209 sizeCache protoimpl.SizeCache 210 unknownFields protoimpl.UnknownFields 211 212 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 213 } 214 215 func (x *TriageJobStateTask) Reset() { 216 *x = TriageJobStateTask{} 217 if protoimpl.UnsafeEnabled { 218 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[3] 219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 220 ms.StoreMessageInfo(mi) 221 } 222 } 223 224 func (x *TriageJobStateTask) String() string { 225 return protoimpl.X.MessageStringOf(x) 226 } 227 228 func (*TriageJobStateTask) ProtoMessage() {} 229 230 func (x *TriageJobStateTask) ProtoReflect() protoreflect.Message { 231 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[3] 232 if protoimpl.UnsafeEnabled && x != nil { 233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 234 if ms.LoadMessageInfo() == nil { 235 ms.StoreMessageInfo(mi) 236 } 237 return ms 238 } 239 return mi.MessageOf(x) 240 } 241 242 // Deprecated: Use TriageJobStateTask.ProtoReflect.Descriptor instead. 243 func (*TriageJobStateTask) Descriptor() ([]byte, []int) { 244 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP(), []int{3} 245 } 246 247 func (x *TriageJobStateTask) GetJobId() string { 248 if x != nil { 249 return x.JobId 250 } 251 return "" 252 } 253 254 // KickTriageTask can be used to transactionally initiate a new triage. 255 // 256 // We can't transactionally enqueue TriageJobStateTask, since its throttling 257 // mechanism uses memcache and named tasks, which are not available inside 258 // transactions. So instead transactions can enqueue KickTriageTask, which in 259 // turn will enqueue TriageJobStateTask (with throttling). 260 // 261 // Queue: "triages". 262 type KickTriageTask struct { 263 state protoimpl.MessageState 264 sizeCache protoimpl.SizeCache 265 unknownFields protoimpl.UnknownFields 266 267 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 268 } 269 270 func (x *KickTriageTask) Reset() { 271 *x = KickTriageTask{} 272 if protoimpl.UnsafeEnabled { 273 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[4] 274 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 275 ms.StoreMessageInfo(mi) 276 } 277 } 278 279 func (x *KickTriageTask) String() string { 280 return protoimpl.X.MessageStringOf(x) 281 } 282 283 func (*KickTriageTask) ProtoMessage() {} 284 285 func (x *KickTriageTask) ProtoReflect() protoreflect.Message { 286 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[4] 287 if protoimpl.UnsafeEnabled && x != nil { 288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 289 if ms.LoadMessageInfo() == nil { 290 ms.StoreMessageInfo(mi) 291 } 292 return ms 293 } 294 return mi.MessageOf(x) 295 } 296 297 // Deprecated: Use KickTriageTask.ProtoReflect.Descriptor instead. 298 func (*KickTriageTask) Descriptor() ([]byte, []int) { 299 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP(), []int{4} 300 } 301 302 func (x *KickTriageTask) GetJobId() string { 303 if x != nil { 304 return x.JobId 305 } 306 return "" 307 } 308 309 // InvocationFinishedTask is emitted by the invocation when it finishes. 310 // 311 // It is enqueued transactionally. 312 // 313 // Queue: "completions". 314 type InvocationFinishedTask struct { 315 state protoimpl.MessageState 316 sizeCache protoimpl.SizeCache 317 unknownFields protoimpl.UnknownFields 318 319 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 320 InvId int64 `protobuf:"varint,2,opt,name=inv_id,json=invId,proto3" json:"inv_id,omitempty"` 321 Triggers *FanOutTriggersTask `protobuf:"bytes,3,opt,name=triggers,proto3" json:"triggers,omitempty"` 322 } 323 324 func (x *InvocationFinishedTask) Reset() { 325 *x = InvocationFinishedTask{} 326 if protoimpl.UnsafeEnabled { 327 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[5] 328 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 329 ms.StoreMessageInfo(mi) 330 } 331 } 332 333 func (x *InvocationFinishedTask) String() string { 334 return protoimpl.X.MessageStringOf(x) 335 } 336 337 func (*InvocationFinishedTask) ProtoMessage() {} 338 339 func (x *InvocationFinishedTask) ProtoReflect() protoreflect.Message { 340 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[5] 341 if protoimpl.UnsafeEnabled && x != nil { 342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 343 if ms.LoadMessageInfo() == nil { 344 ms.StoreMessageInfo(mi) 345 } 346 return ms 347 } 348 return mi.MessageOf(x) 349 } 350 351 // Deprecated: Use InvocationFinishedTask.ProtoReflect.Descriptor instead. 352 func (*InvocationFinishedTask) Descriptor() ([]byte, []int) { 353 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP(), []int{5} 354 } 355 356 func (x *InvocationFinishedTask) GetJobId() string { 357 if x != nil { 358 return x.JobId 359 } 360 return "" 361 } 362 363 func (x *InvocationFinishedTask) GetInvId() int64 { 364 if x != nil { 365 return x.InvId 366 } 367 return 0 368 } 369 370 func (x *InvocationFinishedTask) GetTriggers() *FanOutTriggersTask { 371 if x != nil { 372 return x.Triggers 373 } 374 return nil 375 } 376 377 // FanOutTriggersTask is a batch task that emits a bunch of triggers. 378 // 379 // It is enqueued transactionally. It fans out into many EnqueueTriggersTask, 380 // one per job ID. 381 // 382 // Queue: "triggers". 383 type FanOutTriggersTask struct { 384 state protoimpl.MessageState 385 sizeCache protoimpl.SizeCache 386 unknownFields protoimpl.UnknownFields 387 388 JobIds []string `protobuf:"bytes,1,rep,name=job_ids,json=jobIds,proto3" json:"job_ids,omitempty"` 389 Triggers []*Trigger `protobuf:"bytes,2,rep,name=triggers,proto3" json:"triggers,omitempty"` 390 } 391 392 func (x *FanOutTriggersTask) Reset() { 393 *x = FanOutTriggersTask{} 394 if protoimpl.UnsafeEnabled { 395 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[6] 396 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 397 ms.StoreMessageInfo(mi) 398 } 399 } 400 401 func (x *FanOutTriggersTask) String() string { 402 return protoimpl.X.MessageStringOf(x) 403 } 404 405 func (*FanOutTriggersTask) ProtoMessage() {} 406 407 func (x *FanOutTriggersTask) ProtoReflect() protoreflect.Message { 408 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[6] 409 if protoimpl.UnsafeEnabled && x != nil { 410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 411 if ms.LoadMessageInfo() == nil { 412 ms.StoreMessageInfo(mi) 413 } 414 return ms 415 } 416 return mi.MessageOf(x) 417 } 418 419 // Deprecated: Use FanOutTriggersTask.ProtoReflect.Descriptor instead. 420 func (*FanOutTriggersTask) Descriptor() ([]byte, []int) { 421 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP(), []int{6} 422 } 423 424 func (x *FanOutTriggersTask) GetJobIds() []string { 425 if x != nil { 426 return x.JobIds 427 } 428 return nil 429 } 430 431 func (x *FanOutTriggersTask) GetTriggers() []*Trigger { 432 if x != nil { 433 return x.Triggers 434 } 435 return nil 436 } 437 438 // EnqueueTriggersTask adds given triggers to a job's pending triggers set. 439 // 440 // Enqueued non-transactionally (from FanOutTriggersTask) and transactionally 441 // (when emitting single trigger from a cron). 442 // 443 // Queue: "triggers". 444 type EnqueueTriggersTask struct { 445 state protoimpl.MessageState 446 sizeCache protoimpl.SizeCache 447 unknownFields protoimpl.UnknownFields 448 449 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 450 Triggers []*Trigger `protobuf:"bytes,2,rep,name=triggers,proto3" json:"triggers,omitempty"` 451 } 452 453 func (x *EnqueueTriggersTask) Reset() { 454 *x = EnqueueTriggersTask{} 455 if protoimpl.UnsafeEnabled { 456 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[7] 457 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 458 ms.StoreMessageInfo(mi) 459 } 460 } 461 462 func (x *EnqueueTriggersTask) String() string { 463 return protoimpl.X.MessageStringOf(x) 464 } 465 466 func (*EnqueueTriggersTask) ProtoMessage() {} 467 468 func (x *EnqueueTriggersTask) ProtoReflect() protoreflect.Message { 469 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[7] 470 if protoimpl.UnsafeEnabled && x != nil { 471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 472 if ms.LoadMessageInfo() == nil { 473 ms.StoreMessageInfo(mi) 474 } 475 return ms 476 } 477 return mi.MessageOf(x) 478 } 479 480 // Deprecated: Use EnqueueTriggersTask.ProtoReflect.Descriptor instead. 481 func (*EnqueueTriggersTask) Descriptor() ([]byte, []int) { 482 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP(), []int{7} 483 } 484 485 func (x *EnqueueTriggersTask) GetJobId() string { 486 if x != nil { 487 return x.JobId 488 } 489 return "" 490 } 491 492 func (x *EnqueueTriggersTask) GetTriggers() []*Trigger { 493 if x != nil { 494 return x.Triggers 495 } 496 return nil 497 } 498 499 // ScheduleTimersTask adds a bunch of delayed invocation calls. 500 // 501 // It is enqueued transactionally. Results in a bunch of TimerTask calls. 502 // 503 // Queue: "timers". 504 type ScheduleTimersTask struct { 505 state protoimpl.MessageState 506 sizeCache protoimpl.SizeCache 507 unknownFields protoimpl.UnknownFields 508 509 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 510 InvId int64 `protobuf:"varint,2,opt,name=inv_id,json=invId,proto3" json:"inv_id,omitempty"` 511 Timers []*Timer `protobuf:"bytes,3,rep,name=timers,proto3" json:"timers,omitempty"` 512 } 513 514 func (x *ScheduleTimersTask) Reset() { 515 *x = ScheduleTimersTask{} 516 if protoimpl.UnsafeEnabled { 517 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[8] 518 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 519 ms.StoreMessageInfo(mi) 520 } 521 } 522 523 func (x *ScheduleTimersTask) String() string { 524 return protoimpl.X.MessageStringOf(x) 525 } 526 527 func (*ScheduleTimersTask) ProtoMessage() {} 528 529 func (x *ScheduleTimersTask) ProtoReflect() protoreflect.Message { 530 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[8] 531 if protoimpl.UnsafeEnabled && x != nil { 532 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 533 if ms.LoadMessageInfo() == nil { 534 ms.StoreMessageInfo(mi) 535 } 536 return ms 537 } 538 return mi.MessageOf(x) 539 } 540 541 // Deprecated: Use ScheduleTimersTask.ProtoReflect.Descriptor instead. 542 func (*ScheduleTimersTask) Descriptor() ([]byte, []int) { 543 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP(), []int{8} 544 } 545 546 func (x *ScheduleTimersTask) GetJobId() string { 547 if x != nil { 548 return x.JobId 549 } 550 return "" 551 } 552 553 func (x *ScheduleTimersTask) GetInvId() int64 { 554 if x != nil { 555 return x.InvId 556 } 557 return 0 558 } 559 560 func (x *ScheduleTimersTask) GetTimers() []*Timer { 561 if x != nil { 562 return x.Timers 563 } 564 return nil 565 } 566 567 // TimerTask corresponds to delayed calls added through AddTimer controller API. 568 // 569 // Enqueued either transactionally or not. Deduplicated based on invocation's 570 // PendingTimers set: any timers not in the set are silently skipped. 571 // 572 // Queue: "timers". 573 type TimerTask struct { 574 state protoimpl.MessageState 575 sizeCache protoimpl.SizeCache 576 unknownFields protoimpl.UnknownFields 577 578 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 579 InvId int64 `protobuf:"varint,2,opt,name=inv_id,json=invId,proto3" json:"inv_id,omitempty"` 580 Timer *Timer `protobuf:"bytes,3,opt,name=timer,proto3" json:"timer,omitempty"` 581 } 582 583 func (x *TimerTask) Reset() { 584 *x = TimerTask{} 585 if protoimpl.UnsafeEnabled { 586 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[9] 587 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 588 ms.StoreMessageInfo(mi) 589 } 590 } 591 592 func (x *TimerTask) String() string { 593 return protoimpl.X.MessageStringOf(x) 594 } 595 596 func (*TimerTask) ProtoMessage() {} 597 598 func (x *TimerTask) ProtoReflect() protoreflect.Message { 599 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[9] 600 if protoimpl.UnsafeEnabled && x != nil { 601 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 602 if ms.LoadMessageInfo() == nil { 603 ms.StoreMessageInfo(mi) 604 } 605 return ms 606 } 607 return mi.MessageOf(x) 608 } 609 610 // Deprecated: Use TimerTask.ProtoReflect.Descriptor instead. 611 func (*TimerTask) Descriptor() ([]byte, []int) { 612 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP(), []int{9} 613 } 614 615 func (x *TimerTask) GetJobId() string { 616 if x != nil { 617 return x.JobId 618 } 619 return "" 620 } 621 622 func (x *TimerTask) GetInvId() int64 { 623 if x != nil { 624 return x.InvId 625 } 626 return 0 627 } 628 629 func (x *TimerTask) GetTimer() *Timer { 630 if x != nil { 631 return x.Timer 632 } 633 return nil 634 } 635 636 // CronTickTask is scheduled based on the job's cron schedule. 637 // 638 // It is enqueued transactionally when the job changes state (e.g. the job 639 // appears for the first time or its schedule changes) or from previous cron 640 // ticks. 641 // 642 // Queue: "crons". 643 type CronTickTask struct { 644 state protoimpl.MessageState 645 sizeCache protoimpl.SizeCache 646 unknownFields protoimpl.UnknownFields 647 648 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 649 TickNonce int64 `protobuf:"varint,2,opt,name=tick_nonce,json=tickNonce,proto3" json:"tick_nonce,omitempty"` // used to skip no longer interesting ticks 650 } 651 652 func (x *CronTickTask) Reset() { 653 *x = CronTickTask{} 654 if protoimpl.UnsafeEnabled { 655 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[10] 656 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 657 ms.StoreMessageInfo(mi) 658 } 659 } 660 661 func (x *CronTickTask) String() string { 662 return protoimpl.X.MessageStringOf(x) 663 } 664 665 func (*CronTickTask) ProtoMessage() {} 666 667 func (x *CronTickTask) ProtoReflect() protoreflect.Message { 668 mi := &file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[10] 669 if protoimpl.UnsafeEnabled && x != nil { 670 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 671 if ms.LoadMessageInfo() == nil { 672 ms.StoreMessageInfo(mi) 673 } 674 return ms 675 } 676 return mi.MessageOf(x) 677 } 678 679 // Deprecated: Use CronTickTask.ProtoReflect.Descriptor instead. 680 func (*CronTickTask) Descriptor() ([]byte, []int) { 681 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP(), []int{10} 682 } 683 684 func (x *CronTickTask) GetJobId() string { 685 if x != nil { 686 return x.JobId 687 } 688 return "" 689 } 690 691 func (x *CronTickTask) GetTickNonce() int64 { 692 if x != nil { 693 return x.TickNonce 694 } 695 return 0 696 } 697 698 var File_go_chromium_org_luci_scheduler_appengine_internal_tq_proto protoreflect.FileDescriptor 699 700 var file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDesc = []byte{ 701 0x0a, 0x3a, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 702 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 703 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 704 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x69, 0x6e, 705 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x71, 0x1a, 0x3e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 706 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 707 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 708 0x69, 0x6e, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x69, 0x6d, 709 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x40, 0x67, 0x6f, 0x2e, 0x63, 0x68, 710 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 711 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 712 0x69, 0x6e, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x72, 0x69, 713 0x67, 0x67, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x15, 0x52, 714 0x65, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 715 0x54, 0x61, 0x73, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 716 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 717 0x74, 0x49, 0x64, 0x22, 0x44, 0x0a, 0x14, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x49, 0x6e, 0x76, 718 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x15, 0x0a, 0x06, 0x6a, 719 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 720 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 721 0x28, 0x03, 0x52, 0x05, 0x69, 0x6e, 0x76, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x1a, 0x4c, 0x61, 0x75, 722 0x6e, 0x63, 0x68, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x61, 723 0x74, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x37, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 724 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 725 0x6c, 0x2e, 0x74, 0x71, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x49, 0x6e, 0x76, 0x6f, 0x63, 726 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 727 0x22, 0x2b, 0x0a, 0x12, 0x54, 0x72, 0x69, 0x61, 0x67, 0x65, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 728 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 729 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x22, 0x27, 0x0a, 730 0x0e, 0x4b, 0x69, 0x63, 0x6b, 0x54, 0x72, 0x69, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 731 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 732 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x16, 0x49, 0x6e, 0x76, 0x6f, 0x63, 733 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x54, 0x61, 0x73, 734 0x6b, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 735 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x5f, 736 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x69, 0x6e, 0x76, 0x49, 0x64, 0x12, 737 0x3b, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 738 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x71, 0x2e, 739 0x46, 0x61, 0x6e, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x54, 0x61, 740 0x73, 0x6b, 0x52, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x22, 0x65, 0x0a, 0x12, 741 0x46, 0x61, 0x6e, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x54, 0x61, 742 0x73, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 743 0x03, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x73, 0x12, 0x36, 0x0a, 0x08, 0x74, 744 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 745 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 746 0x73, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 747 0x65, 0x72, 0x73, 0x22, 0x64, 0x0a, 0x13, 0x45, 0x6e, 0x71, 0x75, 0x65, 0x75, 0x65, 0x54, 0x72, 748 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 749 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 750 0x64, 0x12, 0x36, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 751 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 752 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 753 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x22, 0x72, 0x0a, 0x12, 0x53, 0x63, 0x68, 754 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x12, 755 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 756 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x5f, 0x69, 0x64, 757 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x69, 0x6e, 0x76, 0x49, 0x64, 0x12, 0x2e, 0x0a, 758 0x06, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 759 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x2e, 760 0x54, 0x69, 0x6d, 0x65, 0x72, 0x52, 0x06, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x22, 0x67, 0x0a, 761 0x09, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 762 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 763 0x64, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 764 0x03, 0x52, 0x05, 0x69, 0x6e, 0x76, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x05, 0x74, 0x69, 0x6d, 0x65, 765 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 766 0x61, 0x6c, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x52, 767 0x05, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x22, 0x44, 0x0a, 0x0c, 0x43, 0x72, 0x6f, 0x6e, 0x54, 0x69, 768 0x63, 0x6b, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 769 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1d, 0x0a, 770 0x0a, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 771 0x03, 0x52, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x42, 0x33, 0x5a, 0x31, 772 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 773 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x61, 774 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 775 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 776 } 777 778 var ( 779 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescOnce sync.Once 780 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescData = file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDesc 781 ) 782 783 func file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescGZIP() []byte { 784 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescOnce.Do(func() { 785 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescData) 786 }) 787 return file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDescData 788 } 789 790 var file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 791 var file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_goTypes = []interface{}{ 792 (*ReadProjectConfigTask)(nil), // 0: internal.tq.ReadProjectConfigTask 793 (*LaunchInvocationTask)(nil), // 1: internal.tq.LaunchInvocationTask 794 (*LaunchInvocationsBatchTask)(nil), // 2: internal.tq.LaunchInvocationsBatchTask 795 (*TriageJobStateTask)(nil), // 3: internal.tq.TriageJobStateTask 796 (*KickTriageTask)(nil), // 4: internal.tq.KickTriageTask 797 (*InvocationFinishedTask)(nil), // 5: internal.tq.InvocationFinishedTask 798 (*FanOutTriggersTask)(nil), // 6: internal.tq.FanOutTriggersTask 799 (*EnqueueTriggersTask)(nil), // 7: internal.tq.EnqueueTriggersTask 800 (*ScheduleTimersTask)(nil), // 8: internal.tq.ScheduleTimersTask 801 (*TimerTask)(nil), // 9: internal.tq.TimerTask 802 (*CronTickTask)(nil), // 10: internal.tq.CronTickTask 803 (*Trigger)(nil), // 11: internal.triggers.Trigger 804 (*Timer)(nil), // 12: internal.timers.Timer 805 } 806 var file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_depIdxs = []int32{ 807 1, // 0: internal.tq.LaunchInvocationsBatchTask.tasks:type_name -> internal.tq.LaunchInvocationTask 808 6, // 1: internal.tq.InvocationFinishedTask.triggers:type_name -> internal.tq.FanOutTriggersTask 809 11, // 2: internal.tq.FanOutTriggersTask.triggers:type_name -> internal.triggers.Trigger 810 11, // 3: internal.tq.EnqueueTriggersTask.triggers:type_name -> internal.triggers.Trigger 811 12, // 4: internal.tq.ScheduleTimersTask.timers:type_name -> internal.timers.Timer 812 12, // 5: internal.tq.TimerTask.timer:type_name -> internal.timers.Timer 813 6, // [6:6] is the sub-list for method output_type 814 6, // [6:6] is the sub-list for method input_type 815 6, // [6:6] is the sub-list for extension type_name 816 6, // [6:6] is the sub-list for extension extendee 817 0, // [0:6] is the sub-list for field type_name 818 } 819 820 func init() { file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_init() } 821 func file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_init() { 822 if File_go_chromium_org_luci_scheduler_appengine_internal_tq_proto != nil { 823 return 824 } 825 file_go_chromium_org_luci_scheduler_appengine_internal_timers_proto_init() 826 file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_init() 827 if !protoimpl.UnsafeEnabled { 828 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 829 switch v := v.(*ReadProjectConfigTask); i { 830 case 0: 831 return &v.state 832 case 1: 833 return &v.sizeCache 834 case 2: 835 return &v.unknownFields 836 default: 837 return nil 838 } 839 } 840 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 841 switch v := v.(*LaunchInvocationTask); i { 842 case 0: 843 return &v.state 844 case 1: 845 return &v.sizeCache 846 case 2: 847 return &v.unknownFields 848 default: 849 return nil 850 } 851 } 852 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 853 switch v := v.(*LaunchInvocationsBatchTask); i { 854 case 0: 855 return &v.state 856 case 1: 857 return &v.sizeCache 858 case 2: 859 return &v.unknownFields 860 default: 861 return nil 862 } 863 } 864 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 865 switch v := v.(*TriageJobStateTask); i { 866 case 0: 867 return &v.state 868 case 1: 869 return &v.sizeCache 870 case 2: 871 return &v.unknownFields 872 default: 873 return nil 874 } 875 } 876 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 877 switch v := v.(*KickTriageTask); i { 878 case 0: 879 return &v.state 880 case 1: 881 return &v.sizeCache 882 case 2: 883 return &v.unknownFields 884 default: 885 return nil 886 } 887 } 888 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 889 switch v := v.(*InvocationFinishedTask); i { 890 case 0: 891 return &v.state 892 case 1: 893 return &v.sizeCache 894 case 2: 895 return &v.unknownFields 896 default: 897 return nil 898 } 899 } 900 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 901 switch v := v.(*FanOutTriggersTask); i { 902 case 0: 903 return &v.state 904 case 1: 905 return &v.sizeCache 906 case 2: 907 return &v.unknownFields 908 default: 909 return nil 910 } 911 } 912 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 913 switch v := v.(*EnqueueTriggersTask); i { 914 case 0: 915 return &v.state 916 case 1: 917 return &v.sizeCache 918 case 2: 919 return &v.unknownFields 920 default: 921 return nil 922 } 923 } 924 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 925 switch v := v.(*ScheduleTimersTask); i { 926 case 0: 927 return &v.state 928 case 1: 929 return &v.sizeCache 930 case 2: 931 return &v.unknownFields 932 default: 933 return nil 934 } 935 } 936 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 937 switch v := v.(*TimerTask); i { 938 case 0: 939 return &v.state 940 case 1: 941 return &v.sizeCache 942 case 2: 943 return &v.unknownFields 944 default: 945 return nil 946 } 947 } 948 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 949 switch v := v.(*CronTickTask); i { 950 case 0: 951 return &v.state 952 case 1: 953 return &v.sizeCache 954 case 2: 955 return &v.unknownFields 956 default: 957 return nil 958 } 959 } 960 } 961 type x struct{} 962 out := protoimpl.TypeBuilder{ 963 File: protoimpl.DescBuilder{ 964 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 965 RawDescriptor: file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDesc, 966 NumEnums: 0, 967 NumMessages: 11, 968 NumExtensions: 0, 969 NumServices: 0, 970 }, 971 GoTypes: file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_goTypes, 972 DependencyIndexes: file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_depIdxs, 973 MessageInfos: file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_msgTypes, 974 }.Build() 975 File_go_chromium_org_luci_scheduler_appengine_internal_tq_proto = out.File 976 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_rawDesc = nil 977 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_goTypes = nil 978 file_go_chromium_org_luci_scheduler_appengine_internal_tq_proto_depIdxs = nil 979 }