github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/engine/enginepb/master.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.0 4 // protoc v3.20.1 5 // source: engine/proto/master.proto 6 7 package enginepb 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 emptypb "google.golang.org/protobuf/types/known/emptypb" 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 type StoreType int32 26 27 const ( 28 StoreType_SystemMetaStore StoreType = 0 29 StoreType_AppMetaStore StoreType = 1 30 ) 31 32 // Enum value maps for StoreType. 33 var ( 34 StoreType_name = map[int32]string{ 35 0: "SystemMetaStore", 36 1: "AppMetaStore", 37 } 38 StoreType_value = map[string]int32{ 39 "SystemMetaStore": 0, 40 "AppMetaStore": 1, 41 } 42 ) 43 44 func (x StoreType) Enum() *StoreType { 45 p := new(StoreType) 46 *p = x 47 return p 48 } 49 50 func (x StoreType) String() string { 51 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 52 } 53 54 func (StoreType) Descriptor() protoreflect.EnumDescriptor { 55 return file_engine_proto_master_proto_enumTypes[0].Descriptor() 56 } 57 58 func (StoreType) Type() protoreflect.EnumType { 59 return &file_engine_proto_master_proto_enumTypes[0] 60 } 61 62 func (x StoreType) Number() protoreflect.EnumNumber { 63 return protoreflect.EnumNumber(x) 64 } 65 66 // Deprecated: Use StoreType.Descriptor instead. 67 func (StoreType) EnumDescriptor() ([]byte, []int) { 68 return file_engine_proto_master_proto_rawDescGZIP(), []int{0} 69 } 70 71 type Selector_Op int32 72 73 const ( 74 Selector_OpUnknown Selector_Op = 0 75 Selector_Eq Selector_Op = 1 76 Selector_Neq Selector_Op = 2 77 Selector_Regex Selector_Op = 3 78 ) 79 80 // Enum value maps for Selector_Op. 81 var ( 82 Selector_Op_name = map[int32]string{ 83 0: "OpUnknown", 84 1: "Eq", 85 2: "Neq", 86 3: "Regex", 87 } 88 Selector_Op_value = map[string]int32{ 89 "OpUnknown": 0, 90 "Eq": 1, 91 "Neq": 2, 92 "Regex": 3, 93 } 94 ) 95 96 func (x Selector_Op) Enum() *Selector_Op { 97 p := new(Selector_Op) 98 *p = x 99 return p 100 } 101 102 func (x Selector_Op) String() string { 103 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 104 } 105 106 func (Selector_Op) Descriptor() protoreflect.EnumDescriptor { 107 return file_engine_proto_master_proto_enumTypes[1].Descriptor() 108 } 109 110 func (Selector_Op) Type() protoreflect.EnumType { 111 return &file_engine_proto_master_proto_enumTypes[1] 112 } 113 114 func (x Selector_Op) Number() protoreflect.EnumNumber { 115 return protoreflect.EnumNumber(x) 116 } 117 118 // Deprecated: Use Selector_Op.Descriptor instead. 119 func (Selector_Op) EnumDescriptor() ([]byte, []int) { 120 return file_engine_proto_master_proto_rawDescGZIP(), []int{0, 0} 121 } 122 123 type Job_Type int32 124 125 const ( 126 Job_TypeUnknown Job_Type = 0 127 Job_CVSDemo Job_Type = 1 128 Job_DM Job_Type = 2 129 Job_CDC Job_Type = 3 130 Job_FakeJob Job_Type = 4 131 ) 132 133 // Enum value maps for Job_Type. 134 var ( 135 Job_Type_name = map[int32]string{ 136 0: "TypeUnknown", 137 1: "CVSDemo", 138 2: "DM", 139 3: "CDC", 140 4: "FakeJob", 141 } 142 Job_Type_value = map[string]int32{ 143 "TypeUnknown": 0, 144 "CVSDemo": 1, 145 "DM": 2, 146 "CDC": 3, 147 "FakeJob": 4, 148 } 149 ) 150 151 func (x Job_Type) Enum() *Job_Type { 152 p := new(Job_Type) 153 *p = x 154 return p 155 } 156 157 func (x Job_Type) String() string { 158 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 159 } 160 161 func (Job_Type) Descriptor() protoreflect.EnumDescriptor { 162 return file_engine_proto_master_proto_enumTypes[2].Descriptor() 163 } 164 165 func (Job_Type) Type() protoreflect.EnumType { 166 return &file_engine_proto_master_proto_enumTypes[2] 167 } 168 169 func (x Job_Type) Number() protoreflect.EnumNumber { 170 return protoreflect.EnumNumber(x) 171 } 172 173 // Deprecated: Use Job_Type.Descriptor instead. 174 func (Job_Type) EnumDescriptor() ([]byte, []int) { 175 return file_engine_proto_master_proto_rawDescGZIP(), []int{15, 0} 176 } 177 178 type Job_State int32 179 180 const ( 181 Job_StateUnknown Job_State = 0 182 Job_Created Job_State = 1 183 Job_Running Job_State = 2 184 Job_Failed Job_State = 3 185 Job_Finished Job_State = 4 186 Job_Canceling Job_State = 5 187 Job_Canceled Job_State = 6 188 ) 189 190 // Enum value maps for Job_State. 191 var ( 192 Job_State_name = map[int32]string{ 193 0: "StateUnknown", 194 1: "Created", 195 2: "Running", 196 3: "Failed", 197 4: "Finished", 198 5: "Canceling", 199 6: "Canceled", 200 } 201 Job_State_value = map[string]int32{ 202 "StateUnknown": 0, 203 "Created": 1, 204 "Running": 2, 205 "Failed": 3, 206 "Finished": 4, 207 "Canceling": 5, 208 "Canceled": 6, 209 } 210 ) 211 212 func (x Job_State) Enum() *Job_State { 213 p := new(Job_State) 214 *p = x 215 return p 216 } 217 218 func (x Job_State) String() string { 219 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 220 } 221 222 func (Job_State) Descriptor() protoreflect.EnumDescriptor { 223 return file_engine_proto_master_proto_enumTypes[3].Descriptor() 224 } 225 226 func (Job_State) Type() protoreflect.EnumType { 227 return &file_engine_proto_master_proto_enumTypes[3] 228 } 229 230 func (x Job_State) Number() protoreflect.EnumNumber { 231 return protoreflect.EnumNumber(x) 232 } 233 234 // Deprecated: Use Job_State.Descriptor instead. 235 func (Job_State) EnumDescriptor() ([]byte, []int) { 236 return file_engine_proto_master_proto_rawDescGZIP(), []int{15, 1} 237 } 238 239 type Selector struct { 240 state protoimpl.MessageState 241 sizeCache protoimpl.SizeCache 242 unknownFields protoimpl.UnknownFields 243 244 Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` 245 Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` 246 Op Selector_Op `protobuf:"varint,3,opt,name=op,proto3,enum=enginepb.Selector_Op" json:"op,omitempty"` 247 } 248 249 func (x *Selector) Reset() { 250 *x = Selector{} 251 if protoimpl.UnsafeEnabled { 252 mi := &file_engine_proto_master_proto_msgTypes[0] 253 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 254 ms.StoreMessageInfo(mi) 255 } 256 } 257 258 func (x *Selector) String() string { 259 return protoimpl.X.MessageStringOf(x) 260 } 261 262 func (*Selector) ProtoMessage() {} 263 264 func (x *Selector) ProtoReflect() protoreflect.Message { 265 mi := &file_engine_proto_master_proto_msgTypes[0] 266 if protoimpl.UnsafeEnabled && x != nil { 267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 268 if ms.LoadMessageInfo() == nil { 269 ms.StoreMessageInfo(mi) 270 } 271 return ms 272 } 273 return mi.MessageOf(x) 274 } 275 276 // Deprecated: Use Selector.ProtoReflect.Descriptor instead. 277 func (*Selector) Descriptor() ([]byte, []int) { 278 return file_engine_proto_master_proto_rawDescGZIP(), []int{0} 279 } 280 281 func (x *Selector) GetLabel() string { 282 if x != nil { 283 return x.Label 284 } 285 return "" 286 } 287 288 func (x *Selector) GetTarget() string { 289 if x != nil { 290 return x.Target 291 } 292 return "" 293 } 294 295 func (x *Selector) GetOp() Selector_Op { 296 if x != nil { 297 return x.Op 298 } 299 return Selector_OpUnknown 300 } 301 302 type HeartbeatRequest struct { 303 state protoimpl.MessageState 304 sizeCache protoimpl.SizeCache 305 unknownFields protoimpl.UnknownFields 306 307 ExecutorId string `protobuf:"bytes,1,opt,name=executor_id,json=executorId,proto3" json:"executor_id,omitempty"` 308 Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 309 Ttl uint64 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"` 310 } 311 312 func (x *HeartbeatRequest) Reset() { 313 *x = HeartbeatRequest{} 314 if protoimpl.UnsafeEnabled { 315 mi := &file_engine_proto_master_proto_msgTypes[1] 316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 317 ms.StoreMessageInfo(mi) 318 } 319 } 320 321 func (x *HeartbeatRequest) String() string { 322 return protoimpl.X.MessageStringOf(x) 323 } 324 325 func (*HeartbeatRequest) ProtoMessage() {} 326 327 func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message { 328 mi := &file_engine_proto_master_proto_msgTypes[1] 329 if protoimpl.UnsafeEnabled && x != nil { 330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 331 if ms.LoadMessageInfo() == nil { 332 ms.StoreMessageInfo(mi) 333 } 334 return ms 335 } 336 return mi.MessageOf(x) 337 } 338 339 // Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead. 340 func (*HeartbeatRequest) Descriptor() ([]byte, []int) { 341 return file_engine_proto_master_proto_rawDescGZIP(), []int{1} 342 } 343 344 func (x *HeartbeatRequest) GetExecutorId() string { 345 if x != nil { 346 return x.ExecutorId 347 } 348 return "" 349 } 350 351 func (x *HeartbeatRequest) GetTimestamp() uint64 { 352 if x != nil { 353 return x.Timestamp 354 } 355 return 0 356 } 357 358 func (x *HeartbeatRequest) GetTtl() uint64 { 359 if x != nil { 360 return x.Ttl 361 } 362 return 0 363 } 364 365 type HeartbeatResponse struct { 366 state protoimpl.MessageState 367 sizeCache protoimpl.SizeCache 368 unknownFields protoimpl.UnknownFields 369 } 370 371 func (x *HeartbeatResponse) Reset() { 372 *x = HeartbeatResponse{} 373 if protoimpl.UnsafeEnabled { 374 mi := &file_engine_proto_master_proto_msgTypes[2] 375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 376 ms.StoreMessageInfo(mi) 377 } 378 } 379 380 func (x *HeartbeatResponse) String() string { 381 return protoimpl.X.MessageStringOf(x) 382 } 383 384 func (*HeartbeatResponse) ProtoMessage() {} 385 386 func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message { 387 mi := &file_engine_proto_master_proto_msgTypes[2] 388 if protoimpl.UnsafeEnabled && x != nil { 389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 390 if ms.LoadMessageInfo() == nil { 391 ms.StoreMessageInfo(mi) 392 } 393 return ms 394 } 395 return mi.MessageOf(x) 396 } 397 398 // Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead. 399 func (*HeartbeatResponse) Descriptor() ([]byte, []int) { 400 return file_engine_proto_master_proto_rawDescGZIP(), []int{2} 401 } 402 403 type Executor struct { 404 state protoimpl.MessageState 405 sizeCache protoimpl.SizeCache 406 unknownFields protoimpl.UnknownFields 407 408 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 409 // name is the readable name of the executor. 410 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 411 Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` 412 Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 413 } 414 415 func (x *Executor) Reset() { 416 *x = Executor{} 417 if protoimpl.UnsafeEnabled { 418 mi := &file_engine_proto_master_proto_msgTypes[3] 419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 420 ms.StoreMessageInfo(mi) 421 } 422 } 423 424 func (x *Executor) String() string { 425 return protoimpl.X.MessageStringOf(x) 426 } 427 428 func (*Executor) ProtoMessage() {} 429 430 func (x *Executor) ProtoReflect() protoreflect.Message { 431 mi := &file_engine_proto_master_proto_msgTypes[3] 432 if protoimpl.UnsafeEnabled && x != nil { 433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 434 if ms.LoadMessageInfo() == nil { 435 ms.StoreMessageInfo(mi) 436 } 437 return ms 438 } 439 return mi.MessageOf(x) 440 } 441 442 // Deprecated: Use Executor.ProtoReflect.Descriptor instead. 443 func (*Executor) Descriptor() ([]byte, []int) { 444 return file_engine_proto_master_proto_rawDescGZIP(), []int{3} 445 } 446 447 func (x *Executor) GetId() string { 448 if x != nil { 449 return x.Id 450 } 451 return "" 452 } 453 454 func (x *Executor) GetName() string { 455 if x != nil { 456 return x.Name 457 } 458 return "" 459 } 460 461 func (x *Executor) GetAddress() string { 462 if x != nil { 463 return x.Address 464 } 465 return "" 466 } 467 468 func (x *Executor) GetLabels() map[string]string { 469 if x != nil { 470 return x.Labels 471 } 472 return nil 473 } 474 475 type RegisterExecutorRequest struct { 476 state protoimpl.MessageState 477 sizeCache protoimpl.SizeCache 478 unknownFields protoimpl.UnknownFields 479 480 Executor *Executor `protobuf:"bytes,1,opt,name=executor,proto3" json:"executor,omitempty"` 481 } 482 483 func (x *RegisterExecutorRequest) Reset() { 484 *x = RegisterExecutorRequest{} 485 if protoimpl.UnsafeEnabled { 486 mi := &file_engine_proto_master_proto_msgTypes[4] 487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 488 ms.StoreMessageInfo(mi) 489 } 490 } 491 492 func (x *RegisterExecutorRequest) String() string { 493 return protoimpl.X.MessageStringOf(x) 494 } 495 496 func (*RegisterExecutorRequest) ProtoMessage() {} 497 498 func (x *RegisterExecutorRequest) ProtoReflect() protoreflect.Message { 499 mi := &file_engine_proto_master_proto_msgTypes[4] 500 if protoimpl.UnsafeEnabled && x != nil { 501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 502 if ms.LoadMessageInfo() == nil { 503 ms.StoreMessageInfo(mi) 504 } 505 return ms 506 } 507 return mi.MessageOf(x) 508 } 509 510 // Deprecated: Use RegisterExecutorRequest.ProtoReflect.Descriptor instead. 511 func (*RegisterExecutorRequest) Descriptor() ([]byte, []int) { 512 return file_engine_proto_master_proto_rawDescGZIP(), []int{4} 513 } 514 515 func (x *RegisterExecutorRequest) GetExecutor() *Executor { 516 if x != nil { 517 return x.Executor 518 } 519 return nil 520 } 521 522 type ListExecutorsRequest struct { 523 state protoimpl.MessageState 524 sizeCache protoimpl.SizeCache 525 unknownFields protoimpl.UnknownFields 526 } 527 528 func (x *ListExecutorsRequest) Reset() { 529 *x = ListExecutorsRequest{} 530 if protoimpl.UnsafeEnabled { 531 mi := &file_engine_proto_master_proto_msgTypes[5] 532 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 533 ms.StoreMessageInfo(mi) 534 } 535 } 536 537 func (x *ListExecutorsRequest) String() string { 538 return protoimpl.X.MessageStringOf(x) 539 } 540 541 func (*ListExecutorsRequest) ProtoMessage() {} 542 543 func (x *ListExecutorsRequest) ProtoReflect() protoreflect.Message { 544 mi := &file_engine_proto_master_proto_msgTypes[5] 545 if protoimpl.UnsafeEnabled && x != nil { 546 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 547 if ms.LoadMessageInfo() == nil { 548 ms.StoreMessageInfo(mi) 549 } 550 return ms 551 } 552 return mi.MessageOf(x) 553 } 554 555 // Deprecated: Use ListExecutorsRequest.ProtoReflect.Descriptor instead. 556 func (*ListExecutorsRequest) Descriptor() ([]byte, []int) { 557 return file_engine_proto_master_proto_rawDescGZIP(), []int{5} 558 } 559 560 type ListExecutorsResponse struct { 561 state protoimpl.MessageState 562 sizeCache protoimpl.SizeCache 563 unknownFields protoimpl.UnknownFields 564 565 Executors []*Executor `protobuf:"bytes,1,rep,name=executors,proto3" json:"executors,omitempty"` 566 } 567 568 func (x *ListExecutorsResponse) Reset() { 569 *x = ListExecutorsResponse{} 570 if protoimpl.UnsafeEnabled { 571 mi := &file_engine_proto_master_proto_msgTypes[6] 572 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 573 ms.StoreMessageInfo(mi) 574 } 575 } 576 577 func (x *ListExecutorsResponse) String() string { 578 return protoimpl.X.MessageStringOf(x) 579 } 580 581 func (*ListExecutorsResponse) ProtoMessage() {} 582 583 func (x *ListExecutorsResponse) ProtoReflect() protoreflect.Message { 584 mi := &file_engine_proto_master_proto_msgTypes[6] 585 if protoimpl.UnsafeEnabled && x != nil { 586 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 587 if ms.LoadMessageInfo() == nil { 588 ms.StoreMessageInfo(mi) 589 } 590 return ms 591 } 592 return mi.MessageOf(x) 593 } 594 595 // Deprecated: Use ListExecutorsResponse.ProtoReflect.Descriptor instead. 596 func (*ListExecutorsResponse) Descriptor() ([]byte, []int) { 597 return file_engine_proto_master_proto_rawDescGZIP(), []int{6} 598 } 599 600 func (x *ListExecutorsResponse) GetExecutors() []*Executor { 601 if x != nil { 602 return x.Executors 603 } 604 return nil 605 } 606 607 type Master struct { 608 state protoimpl.MessageState 609 sizeCache protoimpl.SizeCache 610 unknownFields protoimpl.UnknownFields 611 612 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 613 // name is the readable name of the master. 614 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 615 Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` 616 IsLeader bool `protobuf:"varint,4,opt,name=is_leader,json=isLeader,proto3" json:"is_leader,omitempty"` 617 } 618 619 func (x *Master) Reset() { 620 *x = Master{} 621 if protoimpl.UnsafeEnabled { 622 mi := &file_engine_proto_master_proto_msgTypes[7] 623 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 624 ms.StoreMessageInfo(mi) 625 } 626 } 627 628 func (x *Master) String() string { 629 return protoimpl.X.MessageStringOf(x) 630 } 631 632 func (*Master) ProtoMessage() {} 633 634 func (x *Master) ProtoReflect() protoreflect.Message { 635 mi := &file_engine_proto_master_proto_msgTypes[7] 636 if protoimpl.UnsafeEnabled && x != nil { 637 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 638 if ms.LoadMessageInfo() == nil { 639 ms.StoreMessageInfo(mi) 640 } 641 return ms 642 } 643 return mi.MessageOf(x) 644 } 645 646 // Deprecated: Use Master.ProtoReflect.Descriptor instead. 647 func (*Master) Descriptor() ([]byte, []int) { 648 return file_engine_proto_master_proto_rawDescGZIP(), []int{7} 649 } 650 651 func (x *Master) GetId() string { 652 if x != nil { 653 return x.Id 654 } 655 return "" 656 } 657 658 func (x *Master) GetName() string { 659 if x != nil { 660 return x.Name 661 } 662 return "" 663 } 664 665 func (x *Master) GetAddress() string { 666 if x != nil { 667 return x.Address 668 } 669 return "" 670 } 671 672 func (x *Master) GetIsLeader() bool { 673 if x != nil { 674 return x.IsLeader 675 } 676 return false 677 } 678 679 type ListMastersRequest struct { 680 state protoimpl.MessageState 681 sizeCache protoimpl.SizeCache 682 unknownFields protoimpl.UnknownFields 683 } 684 685 func (x *ListMastersRequest) Reset() { 686 *x = ListMastersRequest{} 687 if protoimpl.UnsafeEnabled { 688 mi := &file_engine_proto_master_proto_msgTypes[8] 689 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 690 ms.StoreMessageInfo(mi) 691 } 692 } 693 694 func (x *ListMastersRequest) String() string { 695 return protoimpl.X.MessageStringOf(x) 696 } 697 698 func (*ListMastersRequest) ProtoMessage() {} 699 700 func (x *ListMastersRequest) ProtoReflect() protoreflect.Message { 701 mi := &file_engine_proto_master_proto_msgTypes[8] 702 if protoimpl.UnsafeEnabled && x != nil { 703 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 704 if ms.LoadMessageInfo() == nil { 705 ms.StoreMessageInfo(mi) 706 } 707 return ms 708 } 709 return mi.MessageOf(x) 710 } 711 712 // Deprecated: Use ListMastersRequest.ProtoReflect.Descriptor instead. 713 func (*ListMastersRequest) Descriptor() ([]byte, []int) { 714 return file_engine_proto_master_proto_rawDescGZIP(), []int{8} 715 } 716 717 type ListMastersResponse struct { 718 state protoimpl.MessageState 719 sizeCache protoimpl.SizeCache 720 unknownFields protoimpl.UnknownFields 721 722 Masters []*Master `protobuf:"bytes,1,rep,name=masters,proto3" json:"masters,omitempty"` 723 } 724 725 func (x *ListMastersResponse) Reset() { 726 *x = ListMastersResponse{} 727 if protoimpl.UnsafeEnabled { 728 mi := &file_engine_proto_master_proto_msgTypes[9] 729 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 730 ms.StoreMessageInfo(mi) 731 } 732 } 733 734 func (x *ListMastersResponse) String() string { 735 return protoimpl.X.MessageStringOf(x) 736 } 737 738 func (*ListMastersResponse) ProtoMessage() {} 739 740 func (x *ListMastersResponse) ProtoReflect() protoreflect.Message { 741 mi := &file_engine_proto_master_proto_msgTypes[9] 742 if protoimpl.UnsafeEnabled && x != nil { 743 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 744 if ms.LoadMessageInfo() == nil { 745 ms.StoreMessageInfo(mi) 746 } 747 return ms 748 } 749 return mi.MessageOf(x) 750 } 751 752 // Deprecated: Use ListMastersResponse.ProtoReflect.Descriptor instead. 753 func (*ListMastersResponse) Descriptor() ([]byte, []int) { 754 return file_engine_proto_master_proto_rawDescGZIP(), []int{9} 755 } 756 757 func (x *ListMastersResponse) GetMasters() []*Master { 758 if x != nil { 759 return x.Masters 760 } 761 return nil 762 } 763 764 type ScheduleTaskRequest struct { 765 state protoimpl.MessageState 766 sizeCache protoimpl.SizeCache 767 unknownFields protoimpl.UnknownFields 768 769 TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` 770 // resources required by the task. 771 Resources []*ResourceKey `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` 772 Selectors []*Selector `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty"` 773 } 774 775 func (x *ScheduleTaskRequest) Reset() { 776 *x = ScheduleTaskRequest{} 777 if protoimpl.UnsafeEnabled { 778 mi := &file_engine_proto_master_proto_msgTypes[10] 779 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 780 ms.StoreMessageInfo(mi) 781 } 782 } 783 784 func (x *ScheduleTaskRequest) String() string { 785 return protoimpl.X.MessageStringOf(x) 786 } 787 788 func (*ScheduleTaskRequest) ProtoMessage() {} 789 790 func (x *ScheduleTaskRequest) ProtoReflect() protoreflect.Message { 791 mi := &file_engine_proto_master_proto_msgTypes[10] 792 if protoimpl.UnsafeEnabled && x != nil { 793 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 794 if ms.LoadMessageInfo() == nil { 795 ms.StoreMessageInfo(mi) 796 } 797 return ms 798 } 799 return mi.MessageOf(x) 800 } 801 802 // Deprecated: Use ScheduleTaskRequest.ProtoReflect.Descriptor instead. 803 func (*ScheduleTaskRequest) Descriptor() ([]byte, []int) { 804 return file_engine_proto_master_proto_rawDescGZIP(), []int{10} 805 } 806 807 func (x *ScheduleTaskRequest) GetTaskId() string { 808 if x != nil { 809 return x.TaskId 810 } 811 return "" 812 } 813 814 func (x *ScheduleTaskRequest) GetResources() []*ResourceKey { 815 if x != nil { 816 return x.Resources 817 } 818 return nil 819 } 820 821 func (x *ScheduleTaskRequest) GetSelectors() []*Selector { 822 if x != nil { 823 return x.Selectors 824 } 825 return nil 826 } 827 828 type ScheduleTaskResponse struct { 829 state protoimpl.MessageState 830 sizeCache protoimpl.SizeCache 831 unknownFields protoimpl.UnknownFields 832 833 ExecutorId string `protobuf:"bytes,1,opt,name=executor_id,json=executorId,proto3" json:"executor_id,omitempty"` 834 ExecutorAddr string `protobuf:"bytes,2,opt,name=executor_addr,json=executorAddr,proto3" json:"executor_addr,omitempty"` 835 } 836 837 func (x *ScheduleTaskResponse) Reset() { 838 *x = ScheduleTaskResponse{} 839 if protoimpl.UnsafeEnabled { 840 mi := &file_engine_proto_master_proto_msgTypes[11] 841 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 842 ms.StoreMessageInfo(mi) 843 } 844 } 845 846 func (x *ScheduleTaskResponse) String() string { 847 return protoimpl.X.MessageStringOf(x) 848 } 849 850 func (*ScheduleTaskResponse) ProtoMessage() {} 851 852 func (x *ScheduleTaskResponse) ProtoReflect() protoreflect.Message { 853 mi := &file_engine_proto_master_proto_msgTypes[11] 854 if protoimpl.UnsafeEnabled && x != nil { 855 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 856 if ms.LoadMessageInfo() == nil { 857 ms.StoreMessageInfo(mi) 858 } 859 return ms 860 } 861 return mi.MessageOf(x) 862 } 863 864 // Deprecated: Use ScheduleTaskResponse.ProtoReflect.Descriptor instead. 865 func (*ScheduleTaskResponse) Descriptor() ([]byte, []int) { 866 return file_engine_proto_master_proto_rawDescGZIP(), []int{11} 867 } 868 869 func (x *ScheduleTaskResponse) GetExecutorId() string { 870 if x != nil { 871 return x.ExecutorId 872 } 873 return "" 874 } 875 876 func (x *ScheduleTaskResponse) GetExecutorAddr() string { 877 if x != nil { 878 return x.ExecutorAddr 879 } 880 return "" 881 } 882 883 type GetLeaderRequest struct { 884 state protoimpl.MessageState 885 sizeCache protoimpl.SizeCache 886 unknownFields protoimpl.UnknownFields 887 } 888 889 func (x *GetLeaderRequest) Reset() { 890 *x = GetLeaderRequest{} 891 if protoimpl.UnsafeEnabled { 892 mi := &file_engine_proto_master_proto_msgTypes[12] 893 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 894 ms.StoreMessageInfo(mi) 895 } 896 } 897 898 func (x *GetLeaderRequest) String() string { 899 return protoimpl.X.MessageStringOf(x) 900 } 901 902 func (*GetLeaderRequest) ProtoMessage() {} 903 904 func (x *GetLeaderRequest) ProtoReflect() protoreflect.Message { 905 mi := &file_engine_proto_master_proto_msgTypes[12] 906 if protoimpl.UnsafeEnabled && x != nil { 907 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 908 if ms.LoadMessageInfo() == nil { 909 ms.StoreMessageInfo(mi) 910 } 911 return ms 912 } 913 return mi.MessageOf(x) 914 } 915 916 // Deprecated: Use GetLeaderRequest.ProtoReflect.Descriptor instead. 917 func (*GetLeaderRequest) Descriptor() ([]byte, []int) { 918 return file_engine_proto_master_proto_rawDescGZIP(), []int{12} 919 } 920 921 type GetLeaderResponse struct { 922 state protoimpl.MessageState 923 sizeCache protoimpl.SizeCache 924 unknownFields protoimpl.UnknownFields 925 926 AdvertiseAddr string `protobuf:"bytes,1,opt,name=advertise_addr,json=advertiseAddr,proto3" json:"advertise_addr,omitempty"` 927 } 928 929 func (x *GetLeaderResponse) Reset() { 930 *x = GetLeaderResponse{} 931 if protoimpl.UnsafeEnabled { 932 mi := &file_engine_proto_master_proto_msgTypes[13] 933 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 934 ms.StoreMessageInfo(mi) 935 } 936 } 937 938 func (x *GetLeaderResponse) String() string { 939 return protoimpl.X.MessageStringOf(x) 940 } 941 942 func (*GetLeaderResponse) ProtoMessage() {} 943 944 func (x *GetLeaderResponse) ProtoReflect() protoreflect.Message { 945 mi := &file_engine_proto_master_proto_msgTypes[13] 946 if protoimpl.UnsafeEnabled && x != nil { 947 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 948 if ms.LoadMessageInfo() == nil { 949 ms.StoreMessageInfo(mi) 950 } 951 return ms 952 } 953 return mi.MessageOf(x) 954 } 955 956 // Deprecated: Use GetLeaderResponse.ProtoReflect.Descriptor instead. 957 func (*GetLeaderResponse) Descriptor() ([]byte, []int) { 958 return file_engine_proto_master_proto_rawDescGZIP(), []int{13} 959 } 960 961 func (x *GetLeaderResponse) GetAdvertiseAddr() string { 962 if x != nil { 963 return x.AdvertiseAddr 964 } 965 return "" 966 } 967 968 type ResignLeaderRequest struct { 969 state protoimpl.MessageState 970 sizeCache protoimpl.SizeCache 971 unknownFields protoimpl.UnknownFields 972 } 973 974 func (x *ResignLeaderRequest) Reset() { 975 *x = ResignLeaderRequest{} 976 if protoimpl.UnsafeEnabled { 977 mi := &file_engine_proto_master_proto_msgTypes[14] 978 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 979 ms.StoreMessageInfo(mi) 980 } 981 } 982 983 func (x *ResignLeaderRequest) String() string { 984 return protoimpl.X.MessageStringOf(x) 985 } 986 987 func (*ResignLeaderRequest) ProtoMessage() {} 988 989 func (x *ResignLeaderRequest) ProtoReflect() protoreflect.Message { 990 mi := &file_engine_proto_master_proto_msgTypes[14] 991 if protoimpl.UnsafeEnabled && x != nil { 992 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 993 if ms.LoadMessageInfo() == nil { 994 ms.StoreMessageInfo(mi) 995 } 996 return ms 997 } 998 return mi.MessageOf(x) 999 } 1000 1001 // Deprecated: Use ResignLeaderRequest.ProtoReflect.Descriptor instead. 1002 func (*ResignLeaderRequest) Descriptor() ([]byte, []int) { 1003 return file_engine_proto_master_proto_rawDescGZIP(), []int{14} 1004 } 1005 1006 type Job struct { 1007 state protoimpl.MessageState 1008 sizeCache protoimpl.SizeCache 1009 unknownFields protoimpl.UnknownFields 1010 1011 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 1012 Type Job_Type `protobuf:"varint,2,opt,name=type,proto3,enum=enginepb.Job_Type" json:"type,omitempty"` 1013 State Job_State `protobuf:"varint,3,opt,name=state,proto3,enum=enginepb.Job_State" json:"state,omitempty"` 1014 // Output will ignore this field by default unless include_config is set to true. 1015 Config []byte `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` 1016 Detail []byte `protobuf:"bytes,5,opt,name=detail,proto3" json:"detail,omitempty"` 1017 Error *Job_Error `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` 1018 Selectors []*Selector `protobuf:"bytes,7,rep,name=selectors,proto3" json:"selectors,omitempty"` 1019 } 1020 1021 func (x *Job) Reset() { 1022 *x = Job{} 1023 if protoimpl.UnsafeEnabled { 1024 mi := &file_engine_proto_master_proto_msgTypes[15] 1025 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1026 ms.StoreMessageInfo(mi) 1027 } 1028 } 1029 1030 func (x *Job) String() string { 1031 return protoimpl.X.MessageStringOf(x) 1032 } 1033 1034 func (*Job) ProtoMessage() {} 1035 1036 func (x *Job) ProtoReflect() protoreflect.Message { 1037 mi := &file_engine_proto_master_proto_msgTypes[15] 1038 if protoimpl.UnsafeEnabled && x != nil { 1039 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1040 if ms.LoadMessageInfo() == nil { 1041 ms.StoreMessageInfo(mi) 1042 } 1043 return ms 1044 } 1045 return mi.MessageOf(x) 1046 } 1047 1048 // Deprecated: Use Job.ProtoReflect.Descriptor instead. 1049 func (*Job) Descriptor() ([]byte, []int) { 1050 return file_engine_proto_master_proto_rawDescGZIP(), []int{15} 1051 } 1052 1053 func (x *Job) GetId() string { 1054 if x != nil { 1055 return x.Id 1056 } 1057 return "" 1058 } 1059 1060 func (x *Job) GetType() Job_Type { 1061 if x != nil { 1062 return x.Type 1063 } 1064 return Job_TypeUnknown 1065 } 1066 1067 func (x *Job) GetState() Job_State { 1068 if x != nil { 1069 return x.State 1070 } 1071 return Job_StateUnknown 1072 } 1073 1074 func (x *Job) GetConfig() []byte { 1075 if x != nil { 1076 return x.Config 1077 } 1078 return nil 1079 } 1080 1081 func (x *Job) GetDetail() []byte { 1082 if x != nil { 1083 return x.Detail 1084 } 1085 return nil 1086 } 1087 1088 func (x *Job) GetError() *Job_Error { 1089 if x != nil { 1090 return x.Error 1091 } 1092 return nil 1093 } 1094 1095 func (x *Job) GetSelectors() []*Selector { 1096 if x != nil { 1097 return x.Selectors 1098 } 1099 return nil 1100 } 1101 1102 type CreateJobRequest struct { 1103 state protoimpl.MessageState 1104 sizeCache protoimpl.SizeCache 1105 unknownFields protoimpl.UnknownFields 1106 1107 Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` 1108 TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` 1109 ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 1110 } 1111 1112 func (x *CreateJobRequest) Reset() { 1113 *x = CreateJobRequest{} 1114 if protoimpl.UnsafeEnabled { 1115 mi := &file_engine_proto_master_proto_msgTypes[16] 1116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1117 ms.StoreMessageInfo(mi) 1118 } 1119 } 1120 1121 func (x *CreateJobRequest) String() string { 1122 return protoimpl.X.MessageStringOf(x) 1123 } 1124 1125 func (*CreateJobRequest) ProtoMessage() {} 1126 1127 func (x *CreateJobRequest) ProtoReflect() protoreflect.Message { 1128 mi := &file_engine_proto_master_proto_msgTypes[16] 1129 if protoimpl.UnsafeEnabled && x != nil { 1130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1131 if ms.LoadMessageInfo() == nil { 1132 ms.StoreMessageInfo(mi) 1133 } 1134 return ms 1135 } 1136 return mi.MessageOf(x) 1137 } 1138 1139 // Deprecated: Use CreateJobRequest.ProtoReflect.Descriptor instead. 1140 func (*CreateJobRequest) Descriptor() ([]byte, []int) { 1141 return file_engine_proto_master_proto_rawDescGZIP(), []int{16} 1142 } 1143 1144 func (x *CreateJobRequest) GetJob() *Job { 1145 if x != nil { 1146 return x.Job 1147 } 1148 return nil 1149 } 1150 1151 func (x *CreateJobRequest) GetTenantId() string { 1152 if x != nil { 1153 return x.TenantId 1154 } 1155 return "" 1156 } 1157 1158 func (x *CreateJobRequest) GetProjectId() string { 1159 if x != nil { 1160 return x.ProjectId 1161 } 1162 return "" 1163 } 1164 1165 type GetJobRequest struct { 1166 state protoimpl.MessageState 1167 sizeCache protoimpl.SizeCache 1168 unknownFields protoimpl.UnknownFields 1169 1170 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 1171 TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` 1172 ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 1173 // Whether to return the config of the job. 1174 // Config may contain sensitive information, it is not returned by default. 1175 IncludeConfig bool `protobuf:"varint,4,opt,name=include_config,json=includeConfig,proto3" json:"include_config,omitempty"` 1176 } 1177 1178 func (x *GetJobRequest) Reset() { 1179 *x = GetJobRequest{} 1180 if protoimpl.UnsafeEnabled { 1181 mi := &file_engine_proto_master_proto_msgTypes[17] 1182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1183 ms.StoreMessageInfo(mi) 1184 } 1185 } 1186 1187 func (x *GetJobRequest) String() string { 1188 return protoimpl.X.MessageStringOf(x) 1189 } 1190 1191 func (*GetJobRequest) ProtoMessage() {} 1192 1193 func (x *GetJobRequest) ProtoReflect() protoreflect.Message { 1194 mi := &file_engine_proto_master_proto_msgTypes[17] 1195 if protoimpl.UnsafeEnabled && x != nil { 1196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1197 if ms.LoadMessageInfo() == nil { 1198 ms.StoreMessageInfo(mi) 1199 } 1200 return ms 1201 } 1202 return mi.MessageOf(x) 1203 } 1204 1205 // Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead. 1206 func (*GetJobRequest) Descriptor() ([]byte, []int) { 1207 return file_engine_proto_master_proto_rawDescGZIP(), []int{17} 1208 } 1209 1210 func (x *GetJobRequest) GetId() string { 1211 if x != nil { 1212 return x.Id 1213 } 1214 return "" 1215 } 1216 1217 func (x *GetJobRequest) GetTenantId() string { 1218 if x != nil { 1219 return x.TenantId 1220 } 1221 return "" 1222 } 1223 1224 func (x *GetJobRequest) GetProjectId() string { 1225 if x != nil { 1226 return x.ProjectId 1227 } 1228 return "" 1229 } 1230 1231 func (x *GetJobRequest) GetIncludeConfig() bool { 1232 if x != nil { 1233 return x.IncludeConfig 1234 } 1235 return false 1236 } 1237 1238 type ListJobsRequest struct { 1239 state protoimpl.MessageState 1240 sizeCache protoimpl.SizeCache 1241 unknownFields protoimpl.UnknownFields 1242 1243 // The maximum number of jobs to return. 1244 // If it is unspecified or less than 1, at most 100 jobs will be returned. 1245 // The maximum value is 1000. Larger values will be coerced to 1000. 1246 PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 1247 // The page token, returned by a previous call, to request the next page of results. 1248 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 1249 TenantId string `protobuf:"bytes,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` 1250 ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 1251 // Whether to return the config of the job. 1252 // Config may contain sensitive information, it is not returned by default. 1253 IncludeConfig bool `protobuf:"varint,5,opt,name=include_config,json=includeConfig,proto3" json:"include_config,omitempty"` 1254 Type Job_Type `protobuf:"varint,6,opt,name=type,proto3,enum=enginepb.Job_Type" json:"type,omitempty"` 1255 State Job_State `protobuf:"varint,7,opt,name=state,proto3,enum=enginepb.Job_State" json:"state,omitempty"` 1256 } 1257 1258 func (x *ListJobsRequest) Reset() { 1259 *x = ListJobsRequest{} 1260 if protoimpl.UnsafeEnabled { 1261 mi := &file_engine_proto_master_proto_msgTypes[18] 1262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1263 ms.StoreMessageInfo(mi) 1264 } 1265 } 1266 1267 func (x *ListJobsRequest) String() string { 1268 return protoimpl.X.MessageStringOf(x) 1269 } 1270 1271 func (*ListJobsRequest) ProtoMessage() {} 1272 1273 func (x *ListJobsRequest) ProtoReflect() protoreflect.Message { 1274 mi := &file_engine_proto_master_proto_msgTypes[18] 1275 if protoimpl.UnsafeEnabled && x != nil { 1276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1277 if ms.LoadMessageInfo() == nil { 1278 ms.StoreMessageInfo(mi) 1279 } 1280 return ms 1281 } 1282 return mi.MessageOf(x) 1283 } 1284 1285 // Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead. 1286 func (*ListJobsRequest) Descriptor() ([]byte, []int) { 1287 return file_engine_proto_master_proto_rawDescGZIP(), []int{18} 1288 } 1289 1290 func (x *ListJobsRequest) GetPageSize() int32 { 1291 if x != nil { 1292 return x.PageSize 1293 } 1294 return 0 1295 } 1296 1297 func (x *ListJobsRequest) GetPageToken() string { 1298 if x != nil { 1299 return x.PageToken 1300 } 1301 return "" 1302 } 1303 1304 func (x *ListJobsRequest) GetTenantId() string { 1305 if x != nil { 1306 return x.TenantId 1307 } 1308 return "" 1309 } 1310 1311 func (x *ListJobsRequest) GetProjectId() string { 1312 if x != nil { 1313 return x.ProjectId 1314 } 1315 return "" 1316 } 1317 1318 func (x *ListJobsRequest) GetIncludeConfig() bool { 1319 if x != nil { 1320 return x.IncludeConfig 1321 } 1322 return false 1323 } 1324 1325 func (x *ListJobsRequest) GetType() Job_Type { 1326 if x != nil { 1327 return x.Type 1328 } 1329 return Job_TypeUnknown 1330 } 1331 1332 func (x *ListJobsRequest) GetState() Job_State { 1333 if x != nil { 1334 return x.State 1335 } 1336 return Job_StateUnknown 1337 } 1338 1339 type ListJobsResponse struct { 1340 state protoimpl.MessageState 1341 sizeCache protoimpl.SizeCache 1342 unknownFields protoimpl.UnknownFields 1343 1344 Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` 1345 // A token to retrieve next page of results. 1346 // If this field is empty, it means no more pages. 1347 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1348 } 1349 1350 func (x *ListJobsResponse) Reset() { 1351 *x = ListJobsResponse{} 1352 if protoimpl.UnsafeEnabled { 1353 mi := &file_engine_proto_master_proto_msgTypes[19] 1354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1355 ms.StoreMessageInfo(mi) 1356 } 1357 } 1358 1359 func (x *ListJobsResponse) String() string { 1360 return protoimpl.X.MessageStringOf(x) 1361 } 1362 1363 func (*ListJobsResponse) ProtoMessage() {} 1364 1365 func (x *ListJobsResponse) ProtoReflect() protoreflect.Message { 1366 mi := &file_engine_proto_master_proto_msgTypes[19] 1367 if protoimpl.UnsafeEnabled && x != nil { 1368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1369 if ms.LoadMessageInfo() == nil { 1370 ms.StoreMessageInfo(mi) 1371 } 1372 return ms 1373 } 1374 return mi.MessageOf(x) 1375 } 1376 1377 // Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead. 1378 func (*ListJobsResponse) Descriptor() ([]byte, []int) { 1379 return file_engine_proto_master_proto_rawDescGZIP(), []int{19} 1380 } 1381 1382 func (x *ListJobsResponse) GetJobs() []*Job { 1383 if x != nil { 1384 return x.Jobs 1385 } 1386 return nil 1387 } 1388 1389 func (x *ListJobsResponse) GetNextPageToken() string { 1390 if x != nil { 1391 return x.NextPageToken 1392 } 1393 return "" 1394 } 1395 1396 type CancelJobRequest struct { 1397 state protoimpl.MessageState 1398 sizeCache protoimpl.SizeCache 1399 unknownFields protoimpl.UnknownFields 1400 1401 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 1402 TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` 1403 ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 1404 } 1405 1406 func (x *CancelJobRequest) Reset() { 1407 *x = CancelJobRequest{} 1408 if protoimpl.UnsafeEnabled { 1409 mi := &file_engine_proto_master_proto_msgTypes[20] 1410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1411 ms.StoreMessageInfo(mi) 1412 } 1413 } 1414 1415 func (x *CancelJobRequest) String() string { 1416 return protoimpl.X.MessageStringOf(x) 1417 } 1418 1419 func (*CancelJobRequest) ProtoMessage() {} 1420 1421 func (x *CancelJobRequest) ProtoReflect() protoreflect.Message { 1422 mi := &file_engine_proto_master_proto_msgTypes[20] 1423 if protoimpl.UnsafeEnabled && x != nil { 1424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1425 if ms.LoadMessageInfo() == nil { 1426 ms.StoreMessageInfo(mi) 1427 } 1428 return ms 1429 } 1430 return mi.MessageOf(x) 1431 } 1432 1433 // Deprecated: Use CancelJobRequest.ProtoReflect.Descriptor instead. 1434 func (*CancelJobRequest) Descriptor() ([]byte, []int) { 1435 return file_engine_proto_master_proto_rawDescGZIP(), []int{20} 1436 } 1437 1438 func (x *CancelJobRequest) GetId() string { 1439 if x != nil { 1440 return x.Id 1441 } 1442 return "" 1443 } 1444 1445 func (x *CancelJobRequest) GetTenantId() string { 1446 if x != nil { 1447 return x.TenantId 1448 } 1449 return "" 1450 } 1451 1452 func (x *CancelJobRequest) GetProjectId() string { 1453 if x != nil { 1454 return x.ProjectId 1455 } 1456 return "" 1457 } 1458 1459 type DeleteJobRequest struct { 1460 state protoimpl.MessageState 1461 sizeCache protoimpl.SizeCache 1462 unknownFields protoimpl.UnknownFields 1463 1464 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 1465 TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` 1466 ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 1467 } 1468 1469 func (x *DeleteJobRequest) Reset() { 1470 *x = DeleteJobRequest{} 1471 if protoimpl.UnsafeEnabled { 1472 mi := &file_engine_proto_master_proto_msgTypes[21] 1473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1474 ms.StoreMessageInfo(mi) 1475 } 1476 } 1477 1478 func (x *DeleteJobRequest) String() string { 1479 return protoimpl.X.MessageStringOf(x) 1480 } 1481 1482 func (*DeleteJobRequest) ProtoMessage() {} 1483 1484 func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message { 1485 mi := &file_engine_proto_master_proto_msgTypes[21] 1486 if protoimpl.UnsafeEnabled && x != nil { 1487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1488 if ms.LoadMessageInfo() == nil { 1489 ms.StoreMessageInfo(mi) 1490 } 1491 return ms 1492 } 1493 return mi.MessageOf(x) 1494 } 1495 1496 // Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead. 1497 func (*DeleteJobRequest) Descriptor() ([]byte, []int) { 1498 return file_engine_proto_master_proto_rawDescGZIP(), []int{21} 1499 } 1500 1501 func (x *DeleteJobRequest) GetId() string { 1502 if x != nil { 1503 return x.Id 1504 } 1505 return "" 1506 } 1507 1508 func (x *DeleteJobRequest) GetTenantId() string { 1509 if x != nil { 1510 return x.TenantId 1511 } 1512 return "" 1513 } 1514 1515 func (x *DeleteJobRequest) GetProjectId() string { 1516 if x != nil { 1517 return x.ProjectId 1518 } 1519 return "" 1520 } 1521 1522 type QueryMetaStoreRequest struct { 1523 state protoimpl.MessageState 1524 sizeCache protoimpl.SizeCache 1525 unknownFields protoimpl.UnknownFields 1526 1527 Tp StoreType `protobuf:"varint,1,opt,name=tp,proto3,enum=enginepb.StoreType" json:"tp,omitempty"` 1528 } 1529 1530 func (x *QueryMetaStoreRequest) Reset() { 1531 *x = QueryMetaStoreRequest{} 1532 if protoimpl.UnsafeEnabled { 1533 mi := &file_engine_proto_master_proto_msgTypes[22] 1534 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1535 ms.StoreMessageInfo(mi) 1536 } 1537 } 1538 1539 func (x *QueryMetaStoreRequest) String() string { 1540 return protoimpl.X.MessageStringOf(x) 1541 } 1542 1543 func (*QueryMetaStoreRequest) ProtoMessage() {} 1544 1545 func (x *QueryMetaStoreRequest) ProtoReflect() protoreflect.Message { 1546 mi := &file_engine_proto_master_proto_msgTypes[22] 1547 if protoimpl.UnsafeEnabled && x != nil { 1548 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1549 if ms.LoadMessageInfo() == nil { 1550 ms.StoreMessageInfo(mi) 1551 } 1552 return ms 1553 } 1554 return mi.MessageOf(x) 1555 } 1556 1557 // Deprecated: Use QueryMetaStoreRequest.ProtoReflect.Descriptor instead. 1558 func (*QueryMetaStoreRequest) Descriptor() ([]byte, []int) { 1559 return file_engine_proto_master_proto_rawDescGZIP(), []int{22} 1560 } 1561 1562 func (x *QueryMetaStoreRequest) GetTp() StoreType { 1563 if x != nil { 1564 return x.Tp 1565 } 1566 return StoreType_SystemMetaStore 1567 } 1568 1569 type QueryMetaStoreResponse struct { 1570 state protoimpl.MessageState 1571 sizeCache protoimpl.SizeCache 1572 unknownFields protoimpl.UnknownFields 1573 1574 Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 1575 } 1576 1577 func (x *QueryMetaStoreResponse) Reset() { 1578 *x = QueryMetaStoreResponse{} 1579 if protoimpl.UnsafeEnabled { 1580 mi := &file_engine_proto_master_proto_msgTypes[23] 1581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1582 ms.StoreMessageInfo(mi) 1583 } 1584 } 1585 1586 func (x *QueryMetaStoreResponse) String() string { 1587 return protoimpl.X.MessageStringOf(x) 1588 } 1589 1590 func (*QueryMetaStoreResponse) ProtoMessage() {} 1591 1592 func (x *QueryMetaStoreResponse) ProtoReflect() protoreflect.Message { 1593 mi := &file_engine_proto_master_proto_msgTypes[23] 1594 if protoimpl.UnsafeEnabled && x != nil { 1595 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1596 if ms.LoadMessageInfo() == nil { 1597 ms.StoreMessageInfo(mi) 1598 } 1599 return ms 1600 } 1601 return mi.MessageOf(x) 1602 } 1603 1604 // Deprecated: Use QueryMetaStoreResponse.ProtoReflect.Descriptor instead. 1605 func (*QueryMetaStoreResponse) Descriptor() ([]byte, []int) { 1606 return file_engine_proto_master_proto_rawDescGZIP(), []int{23} 1607 } 1608 1609 func (x *QueryMetaStoreResponse) GetConfig() []byte { 1610 if x != nil { 1611 return x.Config 1612 } 1613 return nil 1614 } 1615 1616 type QueryStorageConfigRequest struct { 1617 state protoimpl.MessageState 1618 sizeCache protoimpl.SizeCache 1619 unknownFields protoimpl.UnknownFields 1620 } 1621 1622 func (x *QueryStorageConfigRequest) Reset() { 1623 *x = QueryStorageConfigRequest{} 1624 if protoimpl.UnsafeEnabled { 1625 mi := &file_engine_proto_master_proto_msgTypes[24] 1626 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1627 ms.StoreMessageInfo(mi) 1628 } 1629 } 1630 1631 func (x *QueryStorageConfigRequest) String() string { 1632 return protoimpl.X.MessageStringOf(x) 1633 } 1634 1635 func (*QueryStorageConfigRequest) ProtoMessage() {} 1636 1637 func (x *QueryStorageConfigRequest) ProtoReflect() protoreflect.Message { 1638 mi := &file_engine_proto_master_proto_msgTypes[24] 1639 if protoimpl.UnsafeEnabled && x != nil { 1640 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1641 if ms.LoadMessageInfo() == nil { 1642 ms.StoreMessageInfo(mi) 1643 } 1644 return ms 1645 } 1646 return mi.MessageOf(x) 1647 } 1648 1649 // Deprecated: Use QueryStorageConfigRequest.ProtoReflect.Descriptor instead. 1650 func (*QueryStorageConfigRequest) Descriptor() ([]byte, []int) { 1651 return file_engine_proto_master_proto_rawDescGZIP(), []int{24} 1652 } 1653 1654 type QueryStorageConfigResponse struct { 1655 state protoimpl.MessageState 1656 sizeCache protoimpl.SizeCache 1657 unknownFields protoimpl.UnknownFields 1658 1659 Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 1660 } 1661 1662 func (x *QueryStorageConfigResponse) Reset() { 1663 *x = QueryStorageConfigResponse{} 1664 if protoimpl.UnsafeEnabled { 1665 mi := &file_engine_proto_master_proto_msgTypes[25] 1666 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1667 ms.StoreMessageInfo(mi) 1668 } 1669 } 1670 1671 func (x *QueryStorageConfigResponse) String() string { 1672 return protoimpl.X.MessageStringOf(x) 1673 } 1674 1675 func (*QueryStorageConfigResponse) ProtoMessage() {} 1676 1677 func (x *QueryStorageConfigResponse) ProtoReflect() protoreflect.Message { 1678 mi := &file_engine_proto_master_proto_msgTypes[25] 1679 if protoimpl.UnsafeEnabled && x != nil { 1680 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1681 if ms.LoadMessageInfo() == nil { 1682 ms.StoreMessageInfo(mi) 1683 } 1684 return ms 1685 } 1686 return mi.MessageOf(x) 1687 } 1688 1689 // Deprecated: Use QueryStorageConfigResponse.ProtoReflect.Descriptor instead. 1690 func (*QueryStorageConfigResponse) Descriptor() ([]byte, []int) { 1691 return file_engine_proto_master_proto_rawDescGZIP(), []int{25} 1692 } 1693 1694 func (x *QueryStorageConfigResponse) GetConfig() []byte { 1695 if x != nil { 1696 return x.Config 1697 } 1698 return nil 1699 } 1700 1701 type Job_Error struct { 1702 state protoimpl.MessageState 1703 sizeCache protoimpl.SizeCache 1704 unknownFields protoimpl.UnknownFields 1705 1706 Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` 1707 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 1708 } 1709 1710 func (x *Job_Error) Reset() { 1711 *x = Job_Error{} 1712 if protoimpl.UnsafeEnabled { 1713 mi := &file_engine_proto_master_proto_msgTypes[27] 1714 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1715 ms.StoreMessageInfo(mi) 1716 } 1717 } 1718 1719 func (x *Job_Error) String() string { 1720 return protoimpl.X.MessageStringOf(x) 1721 } 1722 1723 func (*Job_Error) ProtoMessage() {} 1724 1725 func (x *Job_Error) ProtoReflect() protoreflect.Message { 1726 mi := &file_engine_proto_master_proto_msgTypes[27] 1727 if protoimpl.UnsafeEnabled && x != nil { 1728 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1729 if ms.LoadMessageInfo() == nil { 1730 ms.StoreMessageInfo(mi) 1731 } 1732 return ms 1733 } 1734 return mi.MessageOf(x) 1735 } 1736 1737 // Deprecated: Use Job_Error.ProtoReflect.Descriptor instead. 1738 func (*Job_Error) Descriptor() ([]byte, []int) { 1739 return file_engine_proto_master_proto_rawDescGZIP(), []int{15, 0} 1740 } 1741 1742 func (x *Job_Error) GetCode() string { 1743 if x != nil { 1744 return x.Code 1745 } 1746 return "" 1747 } 1748 1749 func (x *Job_Error) GetMessage() string { 1750 if x != nil { 1751 return x.Message 1752 } 1753 return "" 1754 } 1755 1756 var File_engine_proto_master_proto protoreflect.FileDescriptor 1757 1758 var file_engine_proto_master_proto_rawDesc = []byte{ 1759 0x0a, 0x19, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 1760 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65, 0x6e, 0x67, 1761 0x69, 0x6e, 0x65, 0x70, 0x62, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 1762 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 1763 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 1764 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 1765 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 1766 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1767 0x6f, 0x1a, 0x1c, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 1768 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 1769 0x90, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 1770 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 1771 0x65, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 1772 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x02, 0x6f, 0x70, 1773 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 1774 0x62, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4f, 0x70, 0x52, 0x02, 0x6f, 1775 0x70, 0x22, 0x2f, 0x0a, 0x02, 0x4f, 0x70, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x70, 0x55, 0x6e, 0x6b, 1776 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x45, 0x71, 0x10, 0x01, 0x12, 0x07, 1777 0x0a, 0x03, 0x4e, 0x65, 0x71, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x65, 0x67, 0x65, 0x78, 1778 0x10, 0x03, 0x22, 0x63, 0x0a, 0x10, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 1779 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 1780 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x65, 1781 0x63, 0x75, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 1782 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 1783 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 1784 0x28, 0x04, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x22, 0x13, 0x0a, 0x11, 0x48, 0x65, 0x61, 0x72, 0x74, 1785 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc0, 0x01, 0x0a, 1786 0x08, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 1787 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 1788 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 1789 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 1790 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x36, 0x0a, 0x06, 1791 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 1792 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 1793 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 1794 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 1795 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1796 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 1797 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 1798 0x49, 0x0a, 0x17, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x45, 0x78, 0x65, 0x63, 0x75, 1799 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x08, 0x65, 0x78, 1800 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x65, 1801 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 1802 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x22, 0x16, 0x0a, 0x14, 0x4c, 0x69, 1803 0x73, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 1804 0x73, 0x74, 0x22, 0x49, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 1805 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x09, 0x65, 1806 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 1807 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 1808 0x6f, 0x72, 0x52, 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x22, 0x63, 0x0a, 1809 0x06, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 1810 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 1811 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 1812 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 1813 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6c, 0x65, 0x61, 0x64, 1814 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4c, 0x65, 0x61, 0x64, 1815 0x65, 0x72, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 1816 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x41, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 1817 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1818 0x2a, 0x0a, 0x07, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 1819 0x32, 0x10, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4d, 0x61, 0x73, 0x74, 1820 0x65, 0x72, 0x52, 0x07, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x95, 0x01, 0x0a, 0x13, 1821 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 1822 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 1823 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x09, 1824 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 1825 0x15, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 1826 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 1827 0x73, 0x12, 0x30, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x03, 1828 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 1829 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 1830 0x6f, 0x72, 0x73, 0x22, 0x5c, 0x0a, 0x14, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, 1831 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 1832 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1833 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 1834 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 1835 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 1836 0x72, 0x22, 0x12, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 1837 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3a, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c, 0x65, 0x61, 0x64, 1838 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x64, 1839 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 1840 0x28, 0x09, 0x52, 0x0d, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x41, 0x64, 0x64, 1841 0x72, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x4c, 0x65, 0x61, 0x64, 0x65, 1842 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xeb, 0x03, 0x0a, 0x03, 0x4a, 0x6f, 0x62, 1843 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 1844 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 1845 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x54, 0x79, 1846 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 1847 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 1848 0x70, 0x62, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 1849 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 1850 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1851 0x12, 0x1b, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 1852 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x2e, 0x0a, 1853 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 1854 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x45, 0x72, 0x72, 0x6f, 1855 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x30, 0x0a, 1856 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 1857 0x32, 0x12, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6c, 0x65, 1858 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x1a, 1859 0x35, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 1860 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 1861 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 1862 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x42, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 1863 0x0a, 0x0b, 0x54, 0x79, 0x70, 0x65, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 1864 0x0b, 0x0a, 0x07, 0x43, 0x56, 0x53, 0x44, 0x65, 0x6d, 0x6f, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 1865 0x44, 0x4d, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x43, 0x44, 0x43, 0x10, 0x03, 0x12, 0x0b, 0x0a, 1866 0x07, 0x46, 0x61, 0x6b, 0x65, 0x4a, 0x6f, 0x62, 0x10, 0x04, 0x22, 0x6a, 0x0a, 0x05, 0x53, 0x74, 1867 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x55, 0x6e, 0x6b, 0x6e, 1868 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 1869 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 1870 0x0a, 0x0a, 0x06, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x46, 1871 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x61, 0x6e, 1872 0x63, 0x65, 0x6c, 0x69, 0x6e, 0x67, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x61, 0x6e, 0x63, 1873 0x65, 0x6c, 0x65, 0x64, 0x10, 0x06, 0x22, 0x6f, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 1874 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x03, 0x6a, 0x6f, 1875 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 1876 0x70, 0x62, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x12, 0x1b, 0x0a, 0x09, 0x74, 1877 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 1878 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 1879 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 1880 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x82, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4a, 1881 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 1882 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e, 1883 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 1884 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 1885 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 1886 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 1887 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 1888 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x83, 0x02, 0x0a, 1889 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1890 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 1891 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 1892 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 1893 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 1894 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 1895 0x08, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 1896 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 1897 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 1898 0x75, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 1899 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 1900 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 1901 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x54, 0x79, 0x70, 1902 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 1903 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 1904 0x62, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 1905 0x74, 0x65, 0x22, 0x5d, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 1906 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x01, 1907 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 1908 0x4a, 0x6f, 0x62, 0x52, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 1909 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 1910 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 1911 0x6e, 0x22, 0x5e, 0x0a, 0x10, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4a, 0x6f, 0x62, 0x52, 0x65, 1912 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 1913 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 1914 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 1915 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 1916 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 1917 0x64, 0x22, 0x5e, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 1918 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 1919 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 1920 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 1921 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 1922 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 1923 0x64, 0x22, 0x3c, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x74, 1924 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x02, 0x74, 0x70, 1925 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 1926 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x74, 0x70, 0x22, 1927 0x30, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 1928 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 1929 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 1930 0x67, 0x22, 0x1b, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 1931 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x34, 1932 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 1933 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 1934 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 1935 0x6e, 0x66, 0x69, 0x67, 0x2a, 0x32, 0x0a, 0x09, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 1936 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x53, 1937 0x74, 0x6f, 0x72, 0x65, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x4d, 0x65, 0x74, 1938 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x10, 0x01, 0x32, 0x9c, 0x06, 0x0a, 0x09, 0x44, 0x69, 0x73, 1939 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, 0x77, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 1940 0x65, 0x72, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x12, 0x21, 0x2e, 0x65, 0x6e, 0x67, 1941 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x45, 0x78, 1942 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 1943 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 1944 0x72, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x1a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 1945 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x72, 0x65, 0x67, 1946 0x69, 0x73, 0x74, 0x65, 0x72, 0x3a, 0x08, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x12, 1947 0x6b, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x73, 1948 0x12, 0x1e, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 1949 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1950 0x1a, 0x1f, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 1951 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1952 0x65, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x61, 0x70, 0x69, 0x2f, 1953 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x63, 0x0a, 0x0b, 1954 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1c, 0x2e, 0x65, 0x6e, 1955 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 1956 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x65, 0x6e, 0x67, 0x69, 1957 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 1958 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 1959 0x12, 0x0f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 1960 0x73, 0x12, 0x46, 0x0a, 0x09, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x1a, 1961 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 1962 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x65, 0x6e, 0x67, 1963 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 1964 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0e, 0x51, 0x75, 0x65, 1965 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x1f, 0x2e, 0x65, 0x6e, 1966 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 1967 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x65, 1968 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x65, 0x74, 1969 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 1970 0x12, 0x61, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 1971 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 1972 0x62, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 1973 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6e, 1974 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x6f, 0x72, 1975 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1976 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 1977 0x12, 0x1a, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x4c, 1978 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x65, 1979 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x65, 0x61, 0x64, 0x65, 1980 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 1981 0x10, 0x12, 0x0e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x65, 0x61, 0x64, 0x65, 1982 0x72, 0x12, 0x64, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x4c, 0x65, 0x61, 0x64, 0x65, 1983 0x72, 0x12, 0x1d, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 1984 0x69, 0x67, 0x6e, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1985 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 1986 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 1987 0x22, 0x15, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 1988 0x2f, 0x72, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x32, 0x60, 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x53, 1989 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65, 1990 0x64, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x1d, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 1991 0x65, 0x70, 0x62, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 1992 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 1993 0x70, 0x62, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 1994 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0xc1, 0x03, 0x0a, 0x0a, 0x4a, 0x6f, 1995 0x62, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 1996 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x1a, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 1997 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1998 0x74, 0x1a, 0x0d, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4a, 0x6f, 0x62, 1999 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x22, 0x0c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 2000 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x3a, 0x03, 0x6a, 0x6f, 0x62, 0x12, 0x4d, 0x0a, 0x06, 0x47, 2001 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x17, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 2002 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 2003 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4a, 0x6f, 0x62, 0x22, 0x1b, 0x82, 2004 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6a, 2005 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x12, 0x57, 0x0a, 0x08, 0x4c, 0x69, 2006 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x19, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 2007 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 2008 0x74, 0x1a, 0x1a, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 2009 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x82, 2010 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6a, 2011 0x6f, 0x62, 0x73, 0x12, 0x5a, 0x0a, 0x09, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4a, 0x6f, 0x62, 2012 0x12, 0x1a, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x43, 0x61, 0x6e, 0x63, 2013 0x65, 0x6c, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x65, 2014 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x4a, 0x6f, 0x62, 0x22, 0x22, 0x82, 0xd3, 0xe4, 2015 0x93, 0x02, 0x1c, 0x22, 0x1a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6a, 0x6f, 0x62, 2016 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 2017 0x5c, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x1a, 0x2e, 0x65, 2018 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 2019 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 2020 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 2021 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x2a, 0x13, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 2022 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x42, 0x2b, 0x5a, 2023 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x69, 0x6e, 0x67, 2024 0x63, 0x61, 0x70, 0x2f, 0x74, 0x69, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 2025 0x65, 0x2f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 2026 0x6f, 0x33, 2027 } 2028 2029 var ( 2030 file_engine_proto_master_proto_rawDescOnce sync.Once 2031 file_engine_proto_master_proto_rawDescData = file_engine_proto_master_proto_rawDesc 2032 ) 2033 2034 func file_engine_proto_master_proto_rawDescGZIP() []byte { 2035 file_engine_proto_master_proto_rawDescOnce.Do(func() { 2036 file_engine_proto_master_proto_rawDescData = protoimpl.X.CompressGZIP(file_engine_proto_master_proto_rawDescData) 2037 }) 2038 return file_engine_proto_master_proto_rawDescData 2039 } 2040 2041 var file_engine_proto_master_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 2042 var file_engine_proto_master_proto_msgTypes = make([]protoimpl.MessageInfo, 28) 2043 var file_engine_proto_master_proto_goTypes = []interface{}{ 2044 (StoreType)(0), // 0: enginepb.StoreType 2045 (Selector_Op)(0), // 1: enginepb.Selector.Op 2046 (Job_Type)(0), // 2: enginepb.Job.Type 2047 (Job_State)(0), // 3: enginepb.Job.State 2048 (*Selector)(nil), // 4: enginepb.Selector 2049 (*HeartbeatRequest)(nil), // 5: enginepb.HeartbeatRequest 2050 (*HeartbeatResponse)(nil), // 6: enginepb.HeartbeatResponse 2051 (*Executor)(nil), // 7: enginepb.Executor 2052 (*RegisterExecutorRequest)(nil), // 8: enginepb.RegisterExecutorRequest 2053 (*ListExecutorsRequest)(nil), // 9: enginepb.ListExecutorsRequest 2054 (*ListExecutorsResponse)(nil), // 10: enginepb.ListExecutorsResponse 2055 (*Master)(nil), // 11: enginepb.Master 2056 (*ListMastersRequest)(nil), // 12: enginepb.ListMastersRequest 2057 (*ListMastersResponse)(nil), // 13: enginepb.ListMastersResponse 2058 (*ScheduleTaskRequest)(nil), // 14: enginepb.ScheduleTaskRequest 2059 (*ScheduleTaskResponse)(nil), // 15: enginepb.ScheduleTaskResponse 2060 (*GetLeaderRequest)(nil), // 16: enginepb.GetLeaderRequest 2061 (*GetLeaderResponse)(nil), // 17: enginepb.GetLeaderResponse 2062 (*ResignLeaderRequest)(nil), // 18: enginepb.ResignLeaderRequest 2063 (*Job)(nil), // 19: enginepb.Job 2064 (*CreateJobRequest)(nil), // 20: enginepb.CreateJobRequest 2065 (*GetJobRequest)(nil), // 21: enginepb.GetJobRequest 2066 (*ListJobsRequest)(nil), // 22: enginepb.ListJobsRequest 2067 (*ListJobsResponse)(nil), // 23: enginepb.ListJobsResponse 2068 (*CancelJobRequest)(nil), // 24: enginepb.CancelJobRequest 2069 (*DeleteJobRequest)(nil), // 25: enginepb.DeleteJobRequest 2070 (*QueryMetaStoreRequest)(nil), // 26: enginepb.QueryMetaStoreRequest 2071 (*QueryMetaStoreResponse)(nil), // 27: enginepb.QueryMetaStoreResponse 2072 (*QueryStorageConfigRequest)(nil), // 28: enginepb.QueryStorageConfigRequest 2073 (*QueryStorageConfigResponse)(nil), // 29: enginepb.QueryStorageConfigResponse 2074 nil, // 30: enginepb.Executor.LabelsEntry 2075 (*Job_Error)(nil), // 31: enginepb.Job.Error 2076 (*ResourceKey)(nil), // 32: enginepb.ResourceKey 2077 (*emptypb.Empty)(nil), // 33: google.protobuf.Empty 2078 } 2079 var file_engine_proto_master_proto_depIdxs = []int32{ 2080 1, // 0: enginepb.Selector.op:type_name -> enginepb.Selector.Op 2081 30, // 1: enginepb.Executor.labels:type_name -> enginepb.Executor.LabelsEntry 2082 7, // 2: enginepb.RegisterExecutorRequest.executor:type_name -> enginepb.Executor 2083 7, // 3: enginepb.ListExecutorsResponse.executors:type_name -> enginepb.Executor 2084 11, // 4: enginepb.ListMastersResponse.masters:type_name -> enginepb.Master 2085 32, // 5: enginepb.ScheduleTaskRequest.resources:type_name -> enginepb.ResourceKey 2086 4, // 6: enginepb.ScheduleTaskRequest.selectors:type_name -> enginepb.Selector 2087 2, // 7: enginepb.Job.type:type_name -> enginepb.Job.Type 2088 3, // 8: enginepb.Job.state:type_name -> enginepb.Job.State 2089 31, // 9: enginepb.Job.error:type_name -> enginepb.Job.Error 2090 4, // 10: enginepb.Job.selectors:type_name -> enginepb.Selector 2091 19, // 11: enginepb.CreateJobRequest.job:type_name -> enginepb.Job 2092 2, // 12: enginepb.ListJobsRequest.type:type_name -> enginepb.Job.Type 2093 3, // 13: enginepb.ListJobsRequest.state:type_name -> enginepb.Job.State 2094 19, // 14: enginepb.ListJobsResponse.jobs:type_name -> enginepb.Job 2095 0, // 15: enginepb.QueryMetaStoreRequest.tp:type_name -> enginepb.StoreType 2096 8, // 16: enginepb.Discovery.RegisterExecutor:input_type -> enginepb.RegisterExecutorRequest 2097 9, // 17: enginepb.Discovery.ListExecutors:input_type -> enginepb.ListExecutorsRequest 2098 12, // 18: enginepb.Discovery.ListMasters:input_type -> enginepb.ListMastersRequest 2099 5, // 19: enginepb.Discovery.Heartbeat:input_type -> enginepb.HeartbeatRequest 2100 26, // 20: enginepb.Discovery.QueryMetaStore:input_type -> enginepb.QueryMetaStoreRequest 2101 28, // 21: enginepb.Discovery.QueryStorageConfig:input_type -> enginepb.QueryStorageConfigRequest 2102 16, // 22: enginepb.Discovery.GetLeader:input_type -> enginepb.GetLeaderRequest 2103 18, // 23: enginepb.Discovery.ResignLeader:input_type -> enginepb.ResignLeaderRequest 2104 14, // 24: enginepb.TaskScheduler.ScheduleTask:input_type -> enginepb.ScheduleTaskRequest 2105 20, // 25: enginepb.JobManager.CreateJob:input_type -> enginepb.CreateJobRequest 2106 21, // 26: enginepb.JobManager.GetJob:input_type -> enginepb.GetJobRequest 2107 22, // 27: enginepb.JobManager.ListJobs:input_type -> enginepb.ListJobsRequest 2108 24, // 28: enginepb.JobManager.CancelJob:input_type -> enginepb.CancelJobRequest 2109 25, // 29: enginepb.JobManager.DeleteJob:input_type -> enginepb.DeleteJobRequest 2110 7, // 30: enginepb.Discovery.RegisterExecutor:output_type -> enginepb.Executor 2111 10, // 31: enginepb.Discovery.ListExecutors:output_type -> enginepb.ListExecutorsResponse 2112 13, // 32: enginepb.Discovery.ListMasters:output_type -> enginepb.ListMastersResponse 2113 6, // 33: enginepb.Discovery.Heartbeat:output_type -> enginepb.HeartbeatResponse 2114 27, // 34: enginepb.Discovery.QueryMetaStore:output_type -> enginepb.QueryMetaStoreResponse 2115 29, // 35: enginepb.Discovery.QueryStorageConfig:output_type -> enginepb.QueryStorageConfigResponse 2116 17, // 36: enginepb.Discovery.GetLeader:output_type -> enginepb.GetLeaderResponse 2117 33, // 37: enginepb.Discovery.ResignLeader:output_type -> google.protobuf.Empty 2118 15, // 38: enginepb.TaskScheduler.ScheduleTask:output_type -> enginepb.ScheduleTaskResponse 2119 19, // 39: enginepb.JobManager.CreateJob:output_type -> enginepb.Job 2120 19, // 40: enginepb.JobManager.GetJob:output_type -> enginepb.Job 2121 23, // 41: enginepb.JobManager.ListJobs:output_type -> enginepb.ListJobsResponse 2122 19, // 42: enginepb.JobManager.CancelJob:output_type -> enginepb.Job 2123 33, // 43: enginepb.JobManager.DeleteJob:output_type -> google.protobuf.Empty 2124 30, // [30:44] is the sub-list for method output_type 2125 16, // [16:30] is the sub-list for method input_type 2126 16, // [16:16] is the sub-list for extension type_name 2127 16, // [16:16] is the sub-list for extension extendee 2128 0, // [0:16] is the sub-list for field type_name 2129 } 2130 2131 func init() { file_engine_proto_master_proto_init() } 2132 func file_engine_proto_master_proto_init() { 2133 if File_engine_proto_master_proto != nil { 2134 return 2135 } 2136 file_engine_proto_resources_proto_init() 2137 if !protoimpl.UnsafeEnabled { 2138 file_engine_proto_master_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 2139 switch v := v.(*Selector); i { 2140 case 0: 2141 return &v.state 2142 case 1: 2143 return &v.sizeCache 2144 case 2: 2145 return &v.unknownFields 2146 default: 2147 return nil 2148 } 2149 } 2150 file_engine_proto_master_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 2151 switch v := v.(*HeartbeatRequest); i { 2152 case 0: 2153 return &v.state 2154 case 1: 2155 return &v.sizeCache 2156 case 2: 2157 return &v.unknownFields 2158 default: 2159 return nil 2160 } 2161 } 2162 file_engine_proto_master_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 2163 switch v := v.(*HeartbeatResponse); i { 2164 case 0: 2165 return &v.state 2166 case 1: 2167 return &v.sizeCache 2168 case 2: 2169 return &v.unknownFields 2170 default: 2171 return nil 2172 } 2173 } 2174 file_engine_proto_master_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 2175 switch v := v.(*Executor); i { 2176 case 0: 2177 return &v.state 2178 case 1: 2179 return &v.sizeCache 2180 case 2: 2181 return &v.unknownFields 2182 default: 2183 return nil 2184 } 2185 } 2186 file_engine_proto_master_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 2187 switch v := v.(*RegisterExecutorRequest); i { 2188 case 0: 2189 return &v.state 2190 case 1: 2191 return &v.sizeCache 2192 case 2: 2193 return &v.unknownFields 2194 default: 2195 return nil 2196 } 2197 } 2198 file_engine_proto_master_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 2199 switch v := v.(*ListExecutorsRequest); i { 2200 case 0: 2201 return &v.state 2202 case 1: 2203 return &v.sizeCache 2204 case 2: 2205 return &v.unknownFields 2206 default: 2207 return nil 2208 } 2209 } 2210 file_engine_proto_master_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 2211 switch v := v.(*ListExecutorsResponse); i { 2212 case 0: 2213 return &v.state 2214 case 1: 2215 return &v.sizeCache 2216 case 2: 2217 return &v.unknownFields 2218 default: 2219 return nil 2220 } 2221 } 2222 file_engine_proto_master_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 2223 switch v := v.(*Master); i { 2224 case 0: 2225 return &v.state 2226 case 1: 2227 return &v.sizeCache 2228 case 2: 2229 return &v.unknownFields 2230 default: 2231 return nil 2232 } 2233 } 2234 file_engine_proto_master_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 2235 switch v := v.(*ListMastersRequest); i { 2236 case 0: 2237 return &v.state 2238 case 1: 2239 return &v.sizeCache 2240 case 2: 2241 return &v.unknownFields 2242 default: 2243 return nil 2244 } 2245 } 2246 file_engine_proto_master_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2247 switch v := v.(*ListMastersResponse); i { 2248 case 0: 2249 return &v.state 2250 case 1: 2251 return &v.sizeCache 2252 case 2: 2253 return &v.unknownFields 2254 default: 2255 return nil 2256 } 2257 } 2258 file_engine_proto_master_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2259 switch v := v.(*ScheduleTaskRequest); i { 2260 case 0: 2261 return &v.state 2262 case 1: 2263 return &v.sizeCache 2264 case 2: 2265 return &v.unknownFields 2266 default: 2267 return nil 2268 } 2269 } 2270 file_engine_proto_master_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2271 switch v := v.(*ScheduleTaskResponse); i { 2272 case 0: 2273 return &v.state 2274 case 1: 2275 return &v.sizeCache 2276 case 2: 2277 return &v.unknownFields 2278 default: 2279 return nil 2280 } 2281 } 2282 file_engine_proto_master_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2283 switch v := v.(*GetLeaderRequest); i { 2284 case 0: 2285 return &v.state 2286 case 1: 2287 return &v.sizeCache 2288 case 2: 2289 return &v.unknownFields 2290 default: 2291 return nil 2292 } 2293 } 2294 file_engine_proto_master_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2295 switch v := v.(*GetLeaderResponse); i { 2296 case 0: 2297 return &v.state 2298 case 1: 2299 return &v.sizeCache 2300 case 2: 2301 return &v.unknownFields 2302 default: 2303 return nil 2304 } 2305 } 2306 file_engine_proto_master_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2307 switch v := v.(*ResignLeaderRequest); i { 2308 case 0: 2309 return &v.state 2310 case 1: 2311 return &v.sizeCache 2312 case 2: 2313 return &v.unknownFields 2314 default: 2315 return nil 2316 } 2317 } 2318 file_engine_proto_master_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2319 switch v := v.(*Job); i { 2320 case 0: 2321 return &v.state 2322 case 1: 2323 return &v.sizeCache 2324 case 2: 2325 return &v.unknownFields 2326 default: 2327 return nil 2328 } 2329 } 2330 file_engine_proto_master_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 2331 switch v := v.(*CreateJobRequest); i { 2332 case 0: 2333 return &v.state 2334 case 1: 2335 return &v.sizeCache 2336 case 2: 2337 return &v.unknownFields 2338 default: 2339 return nil 2340 } 2341 } 2342 file_engine_proto_master_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 2343 switch v := v.(*GetJobRequest); i { 2344 case 0: 2345 return &v.state 2346 case 1: 2347 return &v.sizeCache 2348 case 2: 2349 return &v.unknownFields 2350 default: 2351 return nil 2352 } 2353 } 2354 file_engine_proto_master_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 2355 switch v := v.(*ListJobsRequest); i { 2356 case 0: 2357 return &v.state 2358 case 1: 2359 return &v.sizeCache 2360 case 2: 2361 return &v.unknownFields 2362 default: 2363 return nil 2364 } 2365 } 2366 file_engine_proto_master_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 2367 switch v := v.(*ListJobsResponse); i { 2368 case 0: 2369 return &v.state 2370 case 1: 2371 return &v.sizeCache 2372 case 2: 2373 return &v.unknownFields 2374 default: 2375 return nil 2376 } 2377 } 2378 file_engine_proto_master_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 2379 switch v := v.(*CancelJobRequest); i { 2380 case 0: 2381 return &v.state 2382 case 1: 2383 return &v.sizeCache 2384 case 2: 2385 return &v.unknownFields 2386 default: 2387 return nil 2388 } 2389 } 2390 file_engine_proto_master_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 2391 switch v := v.(*DeleteJobRequest); i { 2392 case 0: 2393 return &v.state 2394 case 1: 2395 return &v.sizeCache 2396 case 2: 2397 return &v.unknownFields 2398 default: 2399 return nil 2400 } 2401 } 2402 file_engine_proto_master_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 2403 switch v := v.(*QueryMetaStoreRequest); i { 2404 case 0: 2405 return &v.state 2406 case 1: 2407 return &v.sizeCache 2408 case 2: 2409 return &v.unknownFields 2410 default: 2411 return nil 2412 } 2413 } 2414 file_engine_proto_master_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 2415 switch v := v.(*QueryMetaStoreResponse); i { 2416 case 0: 2417 return &v.state 2418 case 1: 2419 return &v.sizeCache 2420 case 2: 2421 return &v.unknownFields 2422 default: 2423 return nil 2424 } 2425 } 2426 file_engine_proto_master_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 2427 switch v := v.(*QueryStorageConfigRequest); i { 2428 case 0: 2429 return &v.state 2430 case 1: 2431 return &v.sizeCache 2432 case 2: 2433 return &v.unknownFields 2434 default: 2435 return nil 2436 } 2437 } 2438 file_engine_proto_master_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { 2439 switch v := v.(*QueryStorageConfigResponse); i { 2440 case 0: 2441 return &v.state 2442 case 1: 2443 return &v.sizeCache 2444 case 2: 2445 return &v.unknownFields 2446 default: 2447 return nil 2448 } 2449 } 2450 file_engine_proto_master_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { 2451 switch v := v.(*Job_Error); i { 2452 case 0: 2453 return &v.state 2454 case 1: 2455 return &v.sizeCache 2456 case 2: 2457 return &v.unknownFields 2458 default: 2459 return nil 2460 } 2461 } 2462 } 2463 type x struct{} 2464 out := protoimpl.TypeBuilder{ 2465 File: protoimpl.DescBuilder{ 2466 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2467 RawDescriptor: file_engine_proto_master_proto_rawDesc, 2468 NumEnums: 4, 2469 NumMessages: 28, 2470 NumExtensions: 0, 2471 NumServices: 3, 2472 }, 2473 GoTypes: file_engine_proto_master_proto_goTypes, 2474 DependencyIndexes: file_engine_proto_master_proto_depIdxs, 2475 EnumInfos: file_engine_proto_master_proto_enumTypes, 2476 MessageInfos: file_engine_proto_master_proto_msgTypes, 2477 }.Build() 2478 File_engine_proto_master_proto = out.File 2479 file_engine_proto_master_proto_rawDesc = nil 2480 file_engine_proto_master_proto_goTypes = nil 2481 file_engine_proto_master_proto_depIdxs = nil 2482 }