vitess.io/vitess@v0.16.2/go/vt/proto/automation/automation.pb.go (about) 1 // 2 //Copyright 2019 The Vitess Authors. 3 // 4 //Licensed under the Apache License, Version 2.0 (the "License"); 5 //you may not use this file except in compliance with the License. 6 //You may obtain a copy of the License at 7 // 8 //http://www.apache.org/licenses/LICENSE-2.0 9 // 10 //Unless required by applicable law or agreed to in writing, software 11 //distributed under the License is distributed on an "AS IS" BASIS, 12 //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 //See the License for the specific language governing permissions and 14 //limitations under the License. 15 16 // Protobuf data structures for the automation framework. 17 18 // Messages (e.g. Task) are used both for checkpoint data and API access 19 // (e.g. retrieving the current status of a pending cluster operation). 20 21 // Code generated by protoc-gen-go. DO NOT EDIT. 22 // versions: 23 // protoc-gen-go v1.28.1 24 // protoc v3.21.3 25 // source: automation.proto 26 27 package automation 28 29 import ( 30 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 31 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 32 reflect "reflect" 33 sync "sync" 34 ) 35 36 const ( 37 // Verify that this generated code is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 39 // Verify that runtime/protoimpl is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 41 ) 42 43 type ClusterOperationState int32 44 45 const ( 46 ClusterOperationState_UNKNOWN_CLUSTER_OPERATION_STATE ClusterOperationState = 0 47 ClusterOperationState_CLUSTER_OPERATION_NOT_STARTED ClusterOperationState = 1 48 ClusterOperationState_CLUSTER_OPERATION_RUNNING ClusterOperationState = 2 49 ClusterOperationState_CLUSTER_OPERATION_DONE ClusterOperationState = 3 50 ) 51 52 // Enum value maps for ClusterOperationState. 53 var ( 54 ClusterOperationState_name = map[int32]string{ 55 0: "UNKNOWN_CLUSTER_OPERATION_STATE", 56 1: "CLUSTER_OPERATION_NOT_STARTED", 57 2: "CLUSTER_OPERATION_RUNNING", 58 3: "CLUSTER_OPERATION_DONE", 59 } 60 ClusterOperationState_value = map[string]int32{ 61 "UNKNOWN_CLUSTER_OPERATION_STATE": 0, 62 "CLUSTER_OPERATION_NOT_STARTED": 1, 63 "CLUSTER_OPERATION_RUNNING": 2, 64 "CLUSTER_OPERATION_DONE": 3, 65 } 66 ) 67 68 func (x ClusterOperationState) Enum() *ClusterOperationState { 69 p := new(ClusterOperationState) 70 *p = x 71 return p 72 } 73 74 func (x ClusterOperationState) String() string { 75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 76 } 77 78 func (ClusterOperationState) Descriptor() protoreflect.EnumDescriptor { 79 return file_automation_proto_enumTypes[0].Descriptor() 80 } 81 82 func (ClusterOperationState) Type() protoreflect.EnumType { 83 return &file_automation_proto_enumTypes[0] 84 } 85 86 func (x ClusterOperationState) Number() protoreflect.EnumNumber { 87 return protoreflect.EnumNumber(x) 88 } 89 90 // Deprecated: Use ClusterOperationState.Descriptor instead. 91 func (ClusterOperationState) EnumDescriptor() ([]byte, []int) { 92 return file_automation_proto_rawDescGZIP(), []int{0} 93 } 94 95 type TaskState int32 96 97 const ( 98 TaskState_UNKNOWN_TASK_STATE TaskState = 0 99 TaskState_NOT_STARTED TaskState = 1 100 TaskState_RUNNING TaskState = 2 101 TaskState_DONE TaskState = 3 102 ) 103 104 // Enum value maps for TaskState. 105 var ( 106 TaskState_name = map[int32]string{ 107 0: "UNKNOWN_TASK_STATE", 108 1: "NOT_STARTED", 109 2: "RUNNING", 110 3: "DONE", 111 } 112 TaskState_value = map[string]int32{ 113 "UNKNOWN_TASK_STATE": 0, 114 "NOT_STARTED": 1, 115 "RUNNING": 2, 116 "DONE": 3, 117 } 118 ) 119 120 func (x TaskState) Enum() *TaskState { 121 p := new(TaskState) 122 *p = x 123 return p 124 } 125 126 func (x TaskState) String() string { 127 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 128 } 129 130 func (TaskState) Descriptor() protoreflect.EnumDescriptor { 131 return file_automation_proto_enumTypes[1].Descriptor() 132 } 133 134 func (TaskState) Type() protoreflect.EnumType { 135 return &file_automation_proto_enumTypes[1] 136 } 137 138 func (x TaskState) Number() protoreflect.EnumNumber { 139 return protoreflect.EnumNumber(x) 140 } 141 142 // Deprecated: Use TaskState.Descriptor instead. 143 func (TaskState) EnumDescriptor() ([]byte, []int) { 144 return file_automation_proto_rawDescGZIP(), []int{1} 145 } 146 147 type ClusterOperation struct { 148 state protoimpl.MessageState 149 sizeCache protoimpl.SizeCache 150 unknownFields protoimpl.UnknownFields 151 152 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 153 // TaskContainer are processed sequentially, one at a time. 154 SerialTasks []*TaskContainer `protobuf:"bytes,2,rep,name=serial_tasks,json=serialTasks,proto3" json:"serial_tasks,omitempty"` 155 // Cached value. This has to be re-evaluated e.g. after a checkpoint load because running tasks may have already finished. 156 State ClusterOperationState `protobuf:"varint,3,opt,name=state,proto3,enum=automation.ClusterOperationState" json:"state,omitempty"` 157 // Error of the first task which failed. Set after state advanced to CLUSTER_OPERATION_DONE. If empty, all tasks succeeded. Cached value, see state above. 158 Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` 159 } 160 161 func (x *ClusterOperation) Reset() { 162 *x = ClusterOperation{} 163 if protoimpl.UnsafeEnabled { 164 mi := &file_automation_proto_msgTypes[0] 165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 166 ms.StoreMessageInfo(mi) 167 } 168 } 169 170 func (x *ClusterOperation) String() string { 171 return protoimpl.X.MessageStringOf(x) 172 } 173 174 func (*ClusterOperation) ProtoMessage() {} 175 176 func (x *ClusterOperation) ProtoReflect() protoreflect.Message { 177 mi := &file_automation_proto_msgTypes[0] 178 if protoimpl.UnsafeEnabled && x != nil { 179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 180 if ms.LoadMessageInfo() == nil { 181 ms.StoreMessageInfo(mi) 182 } 183 return ms 184 } 185 return mi.MessageOf(x) 186 } 187 188 // Deprecated: Use ClusterOperation.ProtoReflect.Descriptor instead. 189 func (*ClusterOperation) Descriptor() ([]byte, []int) { 190 return file_automation_proto_rawDescGZIP(), []int{0} 191 } 192 193 func (x *ClusterOperation) GetId() string { 194 if x != nil { 195 return x.Id 196 } 197 return "" 198 } 199 200 func (x *ClusterOperation) GetSerialTasks() []*TaskContainer { 201 if x != nil { 202 return x.SerialTasks 203 } 204 return nil 205 } 206 207 func (x *ClusterOperation) GetState() ClusterOperationState { 208 if x != nil { 209 return x.State 210 } 211 return ClusterOperationState_UNKNOWN_CLUSTER_OPERATION_STATE 212 } 213 214 func (x *ClusterOperation) GetError() string { 215 if x != nil { 216 return x.Error 217 } 218 return "" 219 } 220 221 // TaskContainer holds one or more task which may be executed in parallel. 222 // "concurrency", if > 0, limits the amount of concurrently executed tasks. 223 type TaskContainer struct { 224 state protoimpl.MessageState 225 sizeCache protoimpl.SizeCache 226 unknownFields protoimpl.UnknownFields 227 228 ParallelTasks []*Task `protobuf:"bytes,1,rep,name=parallel_tasks,json=parallelTasks,proto3" json:"parallel_tasks,omitempty"` 229 Concurrency int32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"` 230 } 231 232 func (x *TaskContainer) Reset() { 233 *x = TaskContainer{} 234 if protoimpl.UnsafeEnabled { 235 mi := &file_automation_proto_msgTypes[1] 236 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 237 ms.StoreMessageInfo(mi) 238 } 239 } 240 241 func (x *TaskContainer) String() string { 242 return protoimpl.X.MessageStringOf(x) 243 } 244 245 func (*TaskContainer) ProtoMessage() {} 246 247 func (x *TaskContainer) ProtoReflect() protoreflect.Message { 248 mi := &file_automation_proto_msgTypes[1] 249 if protoimpl.UnsafeEnabled && x != nil { 250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 251 if ms.LoadMessageInfo() == nil { 252 ms.StoreMessageInfo(mi) 253 } 254 return ms 255 } 256 return mi.MessageOf(x) 257 } 258 259 // Deprecated: Use TaskContainer.ProtoReflect.Descriptor instead. 260 func (*TaskContainer) Descriptor() ([]byte, []int) { 261 return file_automation_proto_rawDescGZIP(), []int{1} 262 } 263 264 func (x *TaskContainer) GetParallelTasks() []*Task { 265 if x != nil { 266 return x.ParallelTasks 267 } 268 return nil 269 } 270 271 func (x *TaskContainer) GetConcurrency() int32 { 272 if x != nil { 273 return x.Concurrency 274 } 275 return 0 276 } 277 278 // Task represents a specific task which should be automatically executed. 279 type Task struct { 280 state protoimpl.MessageState 281 sizeCache protoimpl.SizeCache 282 unknownFields protoimpl.UnknownFields 283 284 // Task specification. 285 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 286 Parameters map[string]string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 287 // Runtime data. 288 Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` 289 State TaskState `protobuf:"varint,4,opt,name=state,proto3,enum=automation.TaskState" json:"state,omitempty"` 290 // Set after state advanced to DONE. 291 Output string `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"` 292 // Set after state advanced to DONE. If empty, the task did succeed. 293 Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` 294 } 295 296 func (x *Task) Reset() { 297 *x = Task{} 298 if protoimpl.UnsafeEnabled { 299 mi := &file_automation_proto_msgTypes[2] 300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 301 ms.StoreMessageInfo(mi) 302 } 303 } 304 305 func (x *Task) String() string { 306 return protoimpl.X.MessageStringOf(x) 307 } 308 309 func (*Task) ProtoMessage() {} 310 311 func (x *Task) ProtoReflect() protoreflect.Message { 312 mi := &file_automation_proto_msgTypes[2] 313 if protoimpl.UnsafeEnabled && x != nil { 314 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 315 if ms.LoadMessageInfo() == nil { 316 ms.StoreMessageInfo(mi) 317 } 318 return ms 319 } 320 return mi.MessageOf(x) 321 } 322 323 // Deprecated: Use Task.ProtoReflect.Descriptor instead. 324 func (*Task) Descriptor() ([]byte, []int) { 325 return file_automation_proto_rawDescGZIP(), []int{2} 326 } 327 328 func (x *Task) GetName() string { 329 if x != nil { 330 return x.Name 331 } 332 return "" 333 } 334 335 func (x *Task) GetParameters() map[string]string { 336 if x != nil { 337 return x.Parameters 338 } 339 return nil 340 } 341 342 func (x *Task) GetId() string { 343 if x != nil { 344 return x.Id 345 } 346 return "" 347 } 348 349 func (x *Task) GetState() TaskState { 350 if x != nil { 351 return x.State 352 } 353 return TaskState_UNKNOWN_TASK_STATE 354 } 355 356 func (x *Task) GetOutput() string { 357 if x != nil { 358 return x.Output 359 } 360 return "" 361 } 362 363 func (x *Task) GetError() string { 364 if x != nil { 365 return x.Error 366 } 367 return "" 368 } 369 370 type EnqueueClusterOperationRequest struct { 371 state protoimpl.MessageState 372 sizeCache protoimpl.SizeCache 373 unknownFields protoimpl.UnknownFields 374 375 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 376 Parameters map[string]string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 377 } 378 379 func (x *EnqueueClusterOperationRequest) Reset() { 380 *x = EnqueueClusterOperationRequest{} 381 if protoimpl.UnsafeEnabled { 382 mi := &file_automation_proto_msgTypes[3] 383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 384 ms.StoreMessageInfo(mi) 385 } 386 } 387 388 func (x *EnqueueClusterOperationRequest) String() string { 389 return protoimpl.X.MessageStringOf(x) 390 } 391 392 func (*EnqueueClusterOperationRequest) ProtoMessage() {} 393 394 func (x *EnqueueClusterOperationRequest) ProtoReflect() protoreflect.Message { 395 mi := &file_automation_proto_msgTypes[3] 396 if protoimpl.UnsafeEnabled && x != nil { 397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 398 if ms.LoadMessageInfo() == nil { 399 ms.StoreMessageInfo(mi) 400 } 401 return ms 402 } 403 return mi.MessageOf(x) 404 } 405 406 // Deprecated: Use EnqueueClusterOperationRequest.ProtoReflect.Descriptor instead. 407 func (*EnqueueClusterOperationRequest) Descriptor() ([]byte, []int) { 408 return file_automation_proto_rawDescGZIP(), []int{3} 409 } 410 411 func (x *EnqueueClusterOperationRequest) GetName() string { 412 if x != nil { 413 return x.Name 414 } 415 return "" 416 } 417 418 func (x *EnqueueClusterOperationRequest) GetParameters() map[string]string { 419 if x != nil { 420 return x.Parameters 421 } 422 return nil 423 } 424 425 type EnqueueClusterOperationResponse struct { 426 state protoimpl.MessageState 427 sizeCache protoimpl.SizeCache 428 unknownFields protoimpl.UnknownFields 429 430 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 431 } 432 433 func (x *EnqueueClusterOperationResponse) Reset() { 434 *x = EnqueueClusterOperationResponse{} 435 if protoimpl.UnsafeEnabled { 436 mi := &file_automation_proto_msgTypes[4] 437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 438 ms.StoreMessageInfo(mi) 439 } 440 } 441 442 func (x *EnqueueClusterOperationResponse) String() string { 443 return protoimpl.X.MessageStringOf(x) 444 } 445 446 func (*EnqueueClusterOperationResponse) ProtoMessage() {} 447 448 func (x *EnqueueClusterOperationResponse) ProtoReflect() protoreflect.Message { 449 mi := &file_automation_proto_msgTypes[4] 450 if protoimpl.UnsafeEnabled && x != nil { 451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 452 if ms.LoadMessageInfo() == nil { 453 ms.StoreMessageInfo(mi) 454 } 455 return ms 456 } 457 return mi.MessageOf(x) 458 } 459 460 // Deprecated: Use EnqueueClusterOperationResponse.ProtoReflect.Descriptor instead. 461 func (*EnqueueClusterOperationResponse) Descriptor() ([]byte, []int) { 462 return file_automation_proto_rawDescGZIP(), []int{4} 463 } 464 465 func (x *EnqueueClusterOperationResponse) GetId() string { 466 if x != nil { 467 return x.Id 468 } 469 return "" 470 } 471 472 type GetClusterOperationStateRequest struct { 473 state protoimpl.MessageState 474 sizeCache protoimpl.SizeCache 475 unknownFields protoimpl.UnknownFields 476 477 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 478 } 479 480 func (x *GetClusterOperationStateRequest) Reset() { 481 *x = GetClusterOperationStateRequest{} 482 if protoimpl.UnsafeEnabled { 483 mi := &file_automation_proto_msgTypes[5] 484 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 485 ms.StoreMessageInfo(mi) 486 } 487 } 488 489 func (x *GetClusterOperationStateRequest) String() string { 490 return protoimpl.X.MessageStringOf(x) 491 } 492 493 func (*GetClusterOperationStateRequest) ProtoMessage() {} 494 495 func (x *GetClusterOperationStateRequest) ProtoReflect() protoreflect.Message { 496 mi := &file_automation_proto_msgTypes[5] 497 if protoimpl.UnsafeEnabled && x != nil { 498 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 499 if ms.LoadMessageInfo() == nil { 500 ms.StoreMessageInfo(mi) 501 } 502 return ms 503 } 504 return mi.MessageOf(x) 505 } 506 507 // Deprecated: Use GetClusterOperationStateRequest.ProtoReflect.Descriptor instead. 508 func (*GetClusterOperationStateRequest) Descriptor() ([]byte, []int) { 509 return file_automation_proto_rawDescGZIP(), []int{5} 510 } 511 512 func (x *GetClusterOperationStateRequest) GetId() string { 513 if x != nil { 514 return x.Id 515 } 516 return "" 517 } 518 519 type GetClusterOperationStateResponse struct { 520 state protoimpl.MessageState 521 sizeCache protoimpl.SizeCache 522 unknownFields protoimpl.UnknownFields 523 524 State ClusterOperationState `protobuf:"varint,1,opt,name=state,proto3,enum=automation.ClusterOperationState" json:"state,omitempty"` 525 } 526 527 func (x *GetClusterOperationStateResponse) Reset() { 528 *x = GetClusterOperationStateResponse{} 529 if protoimpl.UnsafeEnabled { 530 mi := &file_automation_proto_msgTypes[6] 531 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 532 ms.StoreMessageInfo(mi) 533 } 534 } 535 536 func (x *GetClusterOperationStateResponse) String() string { 537 return protoimpl.X.MessageStringOf(x) 538 } 539 540 func (*GetClusterOperationStateResponse) ProtoMessage() {} 541 542 func (x *GetClusterOperationStateResponse) ProtoReflect() protoreflect.Message { 543 mi := &file_automation_proto_msgTypes[6] 544 if protoimpl.UnsafeEnabled && x != nil { 545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 546 if ms.LoadMessageInfo() == nil { 547 ms.StoreMessageInfo(mi) 548 } 549 return ms 550 } 551 return mi.MessageOf(x) 552 } 553 554 // Deprecated: Use GetClusterOperationStateResponse.ProtoReflect.Descriptor instead. 555 func (*GetClusterOperationStateResponse) Descriptor() ([]byte, []int) { 556 return file_automation_proto_rawDescGZIP(), []int{6} 557 } 558 559 func (x *GetClusterOperationStateResponse) GetState() ClusterOperationState { 560 if x != nil { 561 return x.State 562 } 563 return ClusterOperationState_UNKNOWN_CLUSTER_OPERATION_STATE 564 } 565 566 type GetClusterOperationDetailsRequest struct { 567 state protoimpl.MessageState 568 sizeCache protoimpl.SizeCache 569 unknownFields protoimpl.UnknownFields 570 571 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 572 } 573 574 func (x *GetClusterOperationDetailsRequest) Reset() { 575 *x = GetClusterOperationDetailsRequest{} 576 if protoimpl.UnsafeEnabled { 577 mi := &file_automation_proto_msgTypes[7] 578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 579 ms.StoreMessageInfo(mi) 580 } 581 } 582 583 func (x *GetClusterOperationDetailsRequest) String() string { 584 return protoimpl.X.MessageStringOf(x) 585 } 586 587 func (*GetClusterOperationDetailsRequest) ProtoMessage() {} 588 589 func (x *GetClusterOperationDetailsRequest) ProtoReflect() protoreflect.Message { 590 mi := &file_automation_proto_msgTypes[7] 591 if protoimpl.UnsafeEnabled && x != nil { 592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 593 if ms.LoadMessageInfo() == nil { 594 ms.StoreMessageInfo(mi) 595 } 596 return ms 597 } 598 return mi.MessageOf(x) 599 } 600 601 // Deprecated: Use GetClusterOperationDetailsRequest.ProtoReflect.Descriptor instead. 602 func (*GetClusterOperationDetailsRequest) Descriptor() ([]byte, []int) { 603 return file_automation_proto_rawDescGZIP(), []int{7} 604 } 605 606 func (x *GetClusterOperationDetailsRequest) GetId() string { 607 if x != nil { 608 return x.Id 609 } 610 return "" 611 } 612 613 type GetClusterOperationDetailsResponse struct { 614 state protoimpl.MessageState 615 sizeCache protoimpl.SizeCache 616 unknownFields protoimpl.UnknownFields 617 618 // Full snapshot of the execution e.g. including output of each task. 619 ClusterOp *ClusterOperation `protobuf:"bytes,2,opt,name=cluster_op,json=clusterOp,proto3" json:"cluster_op,omitempty"` 620 } 621 622 func (x *GetClusterOperationDetailsResponse) Reset() { 623 *x = GetClusterOperationDetailsResponse{} 624 if protoimpl.UnsafeEnabled { 625 mi := &file_automation_proto_msgTypes[8] 626 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 627 ms.StoreMessageInfo(mi) 628 } 629 } 630 631 func (x *GetClusterOperationDetailsResponse) String() string { 632 return protoimpl.X.MessageStringOf(x) 633 } 634 635 func (*GetClusterOperationDetailsResponse) ProtoMessage() {} 636 637 func (x *GetClusterOperationDetailsResponse) ProtoReflect() protoreflect.Message { 638 mi := &file_automation_proto_msgTypes[8] 639 if protoimpl.UnsafeEnabled && x != nil { 640 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 641 if ms.LoadMessageInfo() == nil { 642 ms.StoreMessageInfo(mi) 643 } 644 return ms 645 } 646 return mi.MessageOf(x) 647 } 648 649 // Deprecated: Use GetClusterOperationDetailsResponse.ProtoReflect.Descriptor instead. 650 func (*GetClusterOperationDetailsResponse) Descriptor() ([]byte, []int) { 651 return file_automation_proto_rawDescGZIP(), []int{8} 652 } 653 654 func (x *GetClusterOperationDetailsResponse) GetClusterOp() *ClusterOperation { 655 if x != nil { 656 return x.ClusterOp 657 } 658 return nil 659 } 660 661 var File_automation_proto protoreflect.FileDescriptor 662 663 var file_automation_proto_rawDesc = []byte{ 664 0x0a, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 665 0x74, 0x6f, 0x12, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 666 0x01, 0x0a, 0x10, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 667 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 668 0x02, 0x69, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x61, 669 0x73, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x75, 0x74, 0x6f, 670 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 671 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x61, 0x73, 0x6b, 672 0x73, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 673 0x32, 0x21, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6c, 674 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 675 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 676 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 677 0x22, 0x6a, 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 678 0x72, 0x12, 0x37, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x5f, 0x74, 0x61, 679 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x75, 0x74, 0x6f, 680 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x0d, 0x70, 0x61, 0x72, 681 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 682 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 683 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x86, 0x02, 0x0a, 684 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 685 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x70, 0x61, 0x72, 686 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 687 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 688 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 689 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 690 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x05, 0x73, 691 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x61, 0x75, 0x74, 692 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 693 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 694 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 695 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 696 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 697 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 698 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 699 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 700 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcf, 0x01, 0x0a, 0x1e, 0x45, 0x6e, 0x71, 0x75, 0x65, 0x75, 701 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 702 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 703 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 704 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 705 0x32, 0x3a, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x6e, 706 0x71, 0x75, 0x65, 0x75, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 707 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 708 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 709 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 710 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 711 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 712 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 713 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x31, 0x0a, 0x1f, 0x45, 0x6e, 0x71, 0x75, 0x65, 714 0x75, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 715 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 716 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x31, 0x0a, 0x1f, 0x47, 0x65, 717 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 718 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 719 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5b, 0x0a, 720 0x20, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 721 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 722 0x65, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 723 0x32, 0x21, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6c, 724 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 725 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x33, 0x0a, 0x21, 0x47, 0x65, 726 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 727 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 728 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 729 0x61, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 730 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 731 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 732 0x5f, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x75, 0x74, 0x6f, 733 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 734 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 735 0x4f, 0x70, 0x2a, 0x9a, 0x01, 0x0a, 0x15, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 736 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x1f, 737 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 738 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 739 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x4f, 0x50, 0x45, 740 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 741 0x45, 0x44, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 742 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 743 0x47, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x4f, 744 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x2a, 745 0x4b, 0x0a, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x12, 746 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 747 0x54, 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x52, 748 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 749 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x42, 0x29, 0x5a, 0x27, 750 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 751 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 752 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 753 } 754 755 var ( 756 file_automation_proto_rawDescOnce sync.Once 757 file_automation_proto_rawDescData = file_automation_proto_rawDesc 758 ) 759 760 func file_automation_proto_rawDescGZIP() []byte { 761 file_automation_proto_rawDescOnce.Do(func() { 762 file_automation_proto_rawDescData = protoimpl.X.CompressGZIP(file_automation_proto_rawDescData) 763 }) 764 return file_automation_proto_rawDescData 765 } 766 767 var file_automation_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 768 var file_automation_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 769 var file_automation_proto_goTypes = []interface{}{ 770 (ClusterOperationState)(0), // 0: automation.ClusterOperationState 771 (TaskState)(0), // 1: automation.TaskState 772 (*ClusterOperation)(nil), // 2: automation.ClusterOperation 773 (*TaskContainer)(nil), // 3: automation.TaskContainer 774 (*Task)(nil), // 4: automation.Task 775 (*EnqueueClusterOperationRequest)(nil), // 5: automation.EnqueueClusterOperationRequest 776 (*EnqueueClusterOperationResponse)(nil), // 6: automation.EnqueueClusterOperationResponse 777 (*GetClusterOperationStateRequest)(nil), // 7: automation.GetClusterOperationStateRequest 778 (*GetClusterOperationStateResponse)(nil), // 8: automation.GetClusterOperationStateResponse 779 (*GetClusterOperationDetailsRequest)(nil), // 9: automation.GetClusterOperationDetailsRequest 780 (*GetClusterOperationDetailsResponse)(nil), // 10: automation.GetClusterOperationDetailsResponse 781 nil, // 11: automation.Task.ParametersEntry 782 nil, // 12: automation.EnqueueClusterOperationRequest.ParametersEntry 783 } 784 var file_automation_proto_depIdxs = []int32{ 785 3, // 0: automation.ClusterOperation.serial_tasks:type_name -> automation.TaskContainer 786 0, // 1: automation.ClusterOperation.state:type_name -> automation.ClusterOperationState 787 4, // 2: automation.TaskContainer.parallel_tasks:type_name -> automation.Task 788 11, // 3: automation.Task.parameters:type_name -> automation.Task.ParametersEntry 789 1, // 4: automation.Task.state:type_name -> automation.TaskState 790 12, // 5: automation.EnqueueClusterOperationRequest.parameters:type_name -> automation.EnqueueClusterOperationRequest.ParametersEntry 791 0, // 6: automation.GetClusterOperationStateResponse.state:type_name -> automation.ClusterOperationState 792 2, // 7: automation.GetClusterOperationDetailsResponse.cluster_op:type_name -> automation.ClusterOperation 793 8, // [8:8] is the sub-list for method output_type 794 8, // [8:8] is the sub-list for method input_type 795 8, // [8:8] is the sub-list for extension type_name 796 8, // [8:8] is the sub-list for extension extendee 797 0, // [0:8] is the sub-list for field type_name 798 } 799 800 func init() { file_automation_proto_init() } 801 func file_automation_proto_init() { 802 if File_automation_proto != nil { 803 return 804 } 805 if !protoimpl.UnsafeEnabled { 806 file_automation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 807 switch v := v.(*ClusterOperation); i { 808 case 0: 809 return &v.state 810 case 1: 811 return &v.sizeCache 812 case 2: 813 return &v.unknownFields 814 default: 815 return nil 816 } 817 } 818 file_automation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 819 switch v := v.(*TaskContainer); i { 820 case 0: 821 return &v.state 822 case 1: 823 return &v.sizeCache 824 case 2: 825 return &v.unknownFields 826 default: 827 return nil 828 } 829 } 830 file_automation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 831 switch v := v.(*Task); i { 832 case 0: 833 return &v.state 834 case 1: 835 return &v.sizeCache 836 case 2: 837 return &v.unknownFields 838 default: 839 return nil 840 } 841 } 842 file_automation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 843 switch v := v.(*EnqueueClusterOperationRequest); i { 844 case 0: 845 return &v.state 846 case 1: 847 return &v.sizeCache 848 case 2: 849 return &v.unknownFields 850 default: 851 return nil 852 } 853 } 854 file_automation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 855 switch v := v.(*EnqueueClusterOperationResponse); i { 856 case 0: 857 return &v.state 858 case 1: 859 return &v.sizeCache 860 case 2: 861 return &v.unknownFields 862 default: 863 return nil 864 } 865 } 866 file_automation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 867 switch v := v.(*GetClusterOperationStateRequest); i { 868 case 0: 869 return &v.state 870 case 1: 871 return &v.sizeCache 872 case 2: 873 return &v.unknownFields 874 default: 875 return nil 876 } 877 } 878 file_automation_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 879 switch v := v.(*GetClusterOperationStateResponse); i { 880 case 0: 881 return &v.state 882 case 1: 883 return &v.sizeCache 884 case 2: 885 return &v.unknownFields 886 default: 887 return nil 888 } 889 } 890 file_automation_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 891 switch v := v.(*GetClusterOperationDetailsRequest); i { 892 case 0: 893 return &v.state 894 case 1: 895 return &v.sizeCache 896 case 2: 897 return &v.unknownFields 898 default: 899 return nil 900 } 901 } 902 file_automation_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 903 switch v := v.(*GetClusterOperationDetailsResponse); i { 904 case 0: 905 return &v.state 906 case 1: 907 return &v.sizeCache 908 case 2: 909 return &v.unknownFields 910 default: 911 return nil 912 } 913 } 914 } 915 type x struct{} 916 out := protoimpl.TypeBuilder{ 917 File: protoimpl.DescBuilder{ 918 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 919 RawDescriptor: file_automation_proto_rawDesc, 920 NumEnums: 2, 921 NumMessages: 11, 922 NumExtensions: 0, 923 NumServices: 0, 924 }, 925 GoTypes: file_automation_proto_goTypes, 926 DependencyIndexes: file_automation_proto_depIdxs, 927 EnumInfos: file_automation_proto_enumTypes, 928 MessageInfos: file_automation_proto_msgTypes, 929 }.Build() 930 File_automation_proto = out.File 931 file_automation_proto_rawDesc = nil 932 file_automation_proto_goTypes = nil 933 file_automation_proto_depIdxs = nil 934 }