vitess.io/vitess@v0.16.2/go/vt/proto/mysqlctl/mysqlctl.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 // This file contains the service definition for making management API 17 // calls to mysqlctld. 18 19 // Code generated by protoc-gen-go. DO NOT EDIT. 20 // versions: 21 // protoc-gen-go v1.28.1 22 // protoc v3.21.3 23 // source: mysqlctl.proto 24 25 package mysqlctl 26 27 import ( 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30 reflect "reflect" 31 sync "sync" 32 topodata "vitess.io/vitess/go/vt/proto/topodata" 33 vttime "vitess.io/vitess/go/vt/proto/vttime" 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 // Status is an enum representing the possible status of a backup. 44 type BackupInfo_Status int32 45 46 const ( 47 BackupInfo_UNKNOWN BackupInfo_Status = 0 48 BackupInfo_INCOMPLETE BackupInfo_Status = 1 49 BackupInfo_COMPLETE BackupInfo_Status = 2 50 // A backup status of INVALID should be set if the backup is complete 51 // but unusable in some way (partial upload, corrupt file, etc). 52 BackupInfo_INVALID BackupInfo_Status = 3 53 // A backup status of VALID should be set if the backup is both 54 // complete and usuable. 55 BackupInfo_VALID BackupInfo_Status = 4 56 ) 57 58 // Enum value maps for BackupInfo_Status. 59 var ( 60 BackupInfo_Status_name = map[int32]string{ 61 0: "UNKNOWN", 62 1: "INCOMPLETE", 63 2: "COMPLETE", 64 3: "INVALID", 65 4: "VALID", 66 } 67 BackupInfo_Status_value = map[string]int32{ 68 "UNKNOWN": 0, 69 "INCOMPLETE": 1, 70 "COMPLETE": 2, 71 "INVALID": 3, 72 "VALID": 4, 73 } 74 ) 75 76 func (x BackupInfo_Status) Enum() *BackupInfo_Status { 77 p := new(BackupInfo_Status) 78 *p = x 79 return p 80 } 81 82 func (x BackupInfo_Status) String() string { 83 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 84 } 85 86 func (BackupInfo_Status) Descriptor() protoreflect.EnumDescriptor { 87 return file_mysqlctl_proto_enumTypes[0].Descriptor() 88 } 89 90 func (BackupInfo_Status) Type() protoreflect.EnumType { 91 return &file_mysqlctl_proto_enumTypes[0] 92 } 93 94 func (x BackupInfo_Status) Number() protoreflect.EnumNumber { 95 return protoreflect.EnumNumber(x) 96 } 97 98 // Deprecated: Use BackupInfo_Status.Descriptor instead. 99 func (BackupInfo_Status) EnumDescriptor() ([]byte, []int) { 100 return file_mysqlctl_proto_rawDescGZIP(), []int{10, 0} 101 } 102 103 type StartRequest struct { 104 state protoimpl.MessageState 105 sizeCache protoimpl.SizeCache 106 unknownFields protoimpl.UnknownFields 107 108 MysqldArgs []string `protobuf:"bytes,1,rep,name=mysqld_args,json=mysqldArgs,proto3" json:"mysqld_args,omitempty"` 109 } 110 111 func (x *StartRequest) Reset() { 112 *x = StartRequest{} 113 if protoimpl.UnsafeEnabled { 114 mi := &file_mysqlctl_proto_msgTypes[0] 115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 116 ms.StoreMessageInfo(mi) 117 } 118 } 119 120 func (x *StartRequest) String() string { 121 return protoimpl.X.MessageStringOf(x) 122 } 123 124 func (*StartRequest) ProtoMessage() {} 125 126 func (x *StartRequest) ProtoReflect() protoreflect.Message { 127 mi := &file_mysqlctl_proto_msgTypes[0] 128 if protoimpl.UnsafeEnabled && x != nil { 129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 130 if ms.LoadMessageInfo() == nil { 131 ms.StoreMessageInfo(mi) 132 } 133 return ms 134 } 135 return mi.MessageOf(x) 136 } 137 138 // Deprecated: Use StartRequest.ProtoReflect.Descriptor instead. 139 func (*StartRequest) Descriptor() ([]byte, []int) { 140 return file_mysqlctl_proto_rawDescGZIP(), []int{0} 141 } 142 143 func (x *StartRequest) GetMysqldArgs() []string { 144 if x != nil { 145 return x.MysqldArgs 146 } 147 return nil 148 } 149 150 type StartResponse struct { 151 state protoimpl.MessageState 152 sizeCache protoimpl.SizeCache 153 unknownFields protoimpl.UnknownFields 154 } 155 156 func (x *StartResponse) Reset() { 157 *x = StartResponse{} 158 if protoimpl.UnsafeEnabled { 159 mi := &file_mysqlctl_proto_msgTypes[1] 160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 161 ms.StoreMessageInfo(mi) 162 } 163 } 164 165 func (x *StartResponse) String() string { 166 return protoimpl.X.MessageStringOf(x) 167 } 168 169 func (*StartResponse) ProtoMessage() {} 170 171 func (x *StartResponse) ProtoReflect() protoreflect.Message { 172 mi := &file_mysqlctl_proto_msgTypes[1] 173 if protoimpl.UnsafeEnabled && x != nil { 174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 175 if ms.LoadMessageInfo() == nil { 176 ms.StoreMessageInfo(mi) 177 } 178 return ms 179 } 180 return mi.MessageOf(x) 181 } 182 183 // Deprecated: Use StartResponse.ProtoReflect.Descriptor instead. 184 func (*StartResponse) Descriptor() ([]byte, []int) { 185 return file_mysqlctl_proto_rawDescGZIP(), []int{1} 186 } 187 188 type ShutdownRequest struct { 189 state protoimpl.MessageState 190 sizeCache protoimpl.SizeCache 191 unknownFields protoimpl.UnknownFields 192 193 WaitForMysqld bool `protobuf:"varint,1,opt,name=wait_for_mysqld,json=waitForMysqld,proto3" json:"wait_for_mysqld,omitempty"` 194 } 195 196 func (x *ShutdownRequest) Reset() { 197 *x = ShutdownRequest{} 198 if protoimpl.UnsafeEnabled { 199 mi := &file_mysqlctl_proto_msgTypes[2] 200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 201 ms.StoreMessageInfo(mi) 202 } 203 } 204 205 func (x *ShutdownRequest) String() string { 206 return protoimpl.X.MessageStringOf(x) 207 } 208 209 func (*ShutdownRequest) ProtoMessage() {} 210 211 func (x *ShutdownRequest) ProtoReflect() protoreflect.Message { 212 mi := &file_mysqlctl_proto_msgTypes[2] 213 if protoimpl.UnsafeEnabled && x != nil { 214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 215 if ms.LoadMessageInfo() == nil { 216 ms.StoreMessageInfo(mi) 217 } 218 return ms 219 } 220 return mi.MessageOf(x) 221 } 222 223 // Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead. 224 func (*ShutdownRequest) Descriptor() ([]byte, []int) { 225 return file_mysqlctl_proto_rawDescGZIP(), []int{2} 226 } 227 228 func (x *ShutdownRequest) GetWaitForMysqld() bool { 229 if x != nil { 230 return x.WaitForMysqld 231 } 232 return false 233 } 234 235 type ShutdownResponse struct { 236 state protoimpl.MessageState 237 sizeCache protoimpl.SizeCache 238 unknownFields protoimpl.UnknownFields 239 } 240 241 func (x *ShutdownResponse) Reset() { 242 *x = ShutdownResponse{} 243 if protoimpl.UnsafeEnabled { 244 mi := &file_mysqlctl_proto_msgTypes[3] 245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 246 ms.StoreMessageInfo(mi) 247 } 248 } 249 250 func (x *ShutdownResponse) String() string { 251 return protoimpl.X.MessageStringOf(x) 252 } 253 254 func (*ShutdownResponse) ProtoMessage() {} 255 256 func (x *ShutdownResponse) ProtoReflect() protoreflect.Message { 257 mi := &file_mysqlctl_proto_msgTypes[3] 258 if protoimpl.UnsafeEnabled && x != nil { 259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 260 if ms.LoadMessageInfo() == nil { 261 ms.StoreMessageInfo(mi) 262 } 263 return ms 264 } 265 return mi.MessageOf(x) 266 } 267 268 // Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead. 269 func (*ShutdownResponse) Descriptor() ([]byte, []int) { 270 return file_mysqlctl_proto_rawDescGZIP(), []int{3} 271 } 272 273 type RunMysqlUpgradeRequest struct { 274 state protoimpl.MessageState 275 sizeCache protoimpl.SizeCache 276 unknownFields protoimpl.UnknownFields 277 } 278 279 func (x *RunMysqlUpgradeRequest) Reset() { 280 *x = RunMysqlUpgradeRequest{} 281 if protoimpl.UnsafeEnabled { 282 mi := &file_mysqlctl_proto_msgTypes[4] 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 284 ms.StoreMessageInfo(mi) 285 } 286 } 287 288 func (x *RunMysqlUpgradeRequest) String() string { 289 return protoimpl.X.MessageStringOf(x) 290 } 291 292 func (*RunMysqlUpgradeRequest) ProtoMessage() {} 293 294 func (x *RunMysqlUpgradeRequest) ProtoReflect() protoreflect.Message { 295 mi := &file_mysqlctl_proto_msgTypes[4] 296 if protoimpl.UnsafeEnabled && x != nil { 297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 298 if ms.LoadMessageInfo() == nil { 299 ms.StoreMessageInfo(mi) 300 } 301 return ms 302 } 303 return mi.MessageOf(x) 304 } 305 306 // Deprecated: Use RunMysqlUpgradeRequest.ProtoReflect.Descriptor instead. 307 func (*RunMysqlUpgradeRequest) Descriptor() ([]byte, []int) { 308 return file_mysqlctl_proto_rawDescGZIP(), []int{4} 309 } 310 311 type RunMysqlUpgradeResponse struct { 312 state protoimpl.MessageState 313 sizeCache protoimpl.SizeCache 314 unknownFields protoimpl.UnknownFields 315 } 316 317 func (x *RunMysqlUpgradeResponse) Reset() { 318 *x = RunMysqlUpgradeResponse{} 319 if protoimpl.UnsafeEnabled { 320 mi := &file_mysqlctl_proto_msgTypes[5] 321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 322 ms.StoreMessageInfo(mi) 323 } 324 } 325 326 func (x *RunMysqlUpgradeResponse) String() string { 327 return protoimpl.X.MessageStringOf(x) 328 } 329 330 func (*RunMysqlUpgradeResponse) ProtoMessage() {} 331 332 func (x *RunMysqlUpgradeResponse) ProtoReflect() protoreflect.Message { 333 mi := &file_mysqlctl_proto_msgTypes[5] 334 if protoimpl.UnsafeEnabled && x != nil { 335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 336 if ms.LoadMessageInfo() == nil { 337 ms.StoreMessageInfo(mi) 338 } 339 return ms 340 } 341 return mi.MessageOf(x) 342 } 343 344 // Deprecated: Use RunMysqlUpgradeResponse.ProtoReflect.Descriptor instead. 345 func (*RunMysqlUpgradeResponse) Descriptor() ([]byte, []int) { 346 return file_mysqlctl_proto_rawDescGZIP(), []int{5} 347 } 348 349 type ReinitConfigRequest struct { 350 state protoimpl.MessageState 351 sizeCache protoimpl.SizeCache 352 unknownFields protoimpl.UnknownFields 353 } 354 355 func (x *ReinitConfigRequest) Reset() { 356 *x = ReinitConfigRequest{} 357 if protoimpl.UnsafeEnabled { 358 mi := &file_mysqlctl_proto_msgTypes[6] 359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 360 ms.StoreMessageInfo(mi) 361 } 362 } 363 364 func (x *ReinitConfigRequest) String() string { 365 return protoimpl.X.MessageStringOf(x) 366 } 367 368 func (*ReinitConfigRequest) ProtoMessage() {} 369 370 func (x *ReinitConfigRequest) ProtoReflect() protoreflect.Message { 371 mi := &file_mysqlctl_proto_msgTypes[6] 372 if protoimpl.UnsafeEnabled && x != nil { 373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 374 if ms.LoadMessageInfo() == nil { 375 ms.StoreMessageInfo(mi) 376 } 377 return ms 378 } 379 return mi.MessageOf(x) 380 } 381 382 // Deprecated: Use ReinitConfigRequest.ProtoReflect.Descriptor instead. 383 func (*ReinitConfigRequest) Descriptor() ([]byte, []int) { 384 return file_mysqlctl_proto_rawDescGZIP(), []int{6} 385 } 386 387 type ReinitConfigResponse struct { 388 state protoimpl.MessageState 389 sizeCache protoimpl.SizeCache 390 unknownFields protoimpl.UnknownFields 391 } 392 393 func (x *ReinitConfigResponse) Reset() { 394 *x = ReinitConfigResponse{} 395 if protoimpl.UnsafeEnabled { 396 mi := &file_mysqlctl_proto_msgTypes[7] 397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 398 ms.StoreMessageInfo(mi) 399 } 400 } 401 402 func (x *ReinitConfigResponse) String() string { 403 return protoimpl.X.MessageStringOf(x) 404 } 405 406 func (*ReinitConfigResponse) ProtoMessage() {} 407 408 func (x *ReinitConfigResponse) ProtoReflect() protoreflect.Message { 409 mi := &file_mysqlctl_proto_msgTypes[7] 410 if protoimpl.UnsafeEnabled && x != nil { 411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 412 if ms.LoadMessageInfo() == nil { 413 ms.StoreMessageInfo(mi) 414 } 415 return ms 416 } 417 return mi.MessageOf(x) 418 } 419 420 // Deprecated: Use ReinitConfigResponse.ProtoReflect.Descriptor instead. 421 func (*ReinitConfigResponse) Descriptor() ([]byte, []int) { 422 return file_mysqlctl_proto_rawDescGZIP(), []int{7} 423 } 424 425 type RefreshConfigRequest struct { 426 state protoimpl.MessageState 427 sizeCache protoimpl.SizeCache 428 unknownFields protoimpl.UnknownFields 429 } 430 431 func (x *RefreshConfigRequest) Reset() { 432 *x = RefreshConfigRequest{} 433 if protoimpl.UnsafeEnabled { 434 mi := &file_mysqlctl_proto_msgTypes[8] 435 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 436 ms.StoreMessageInfo(mi) 437 } 438 } 439 440 func (x *RefreshConfigRequest) String() string { 441 return protoimpl.X.MessageStringOf(x) 442 } 443 444 func (*RefreshConfigRequest) ProtoMessage() {} 445 446 func (x *RefreshConfigRequest) ProtoReflect() protoreflect.Message { 447 mi := &file_mysqlctl_proto_msgTypes[8] 448 if protoimpl.UnsafeEnabled && x != nil { 449 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 450 if ms.LoadMessageInfo() == nil { 451 ms.StoreMessageInfo(mi) 452 } 453 return ms 454 } 455 return mi.MessageOf(x) 456 } 457 458 // Deprecated: Use RefreshConfigRequest.ProtoReflect.Descriptor instead. 459 func (*RefreshConfigRequest) Descriptor() ([]byte, []int) { 460 return file_mysqlctl_proto_rawDescGZIP(), []int{8} 461 } 462 463 type RefreshConfigResponse struct { 464 state protoimpl.MessageState 465 sizeCache protoimpl.SizeCache 466 unknownFields protoimpl.UnknownFields 467 } 468 469 func (x *RefreshConfigResponse) Reset() { 470 *x = RefreshConfigResponse{} 471 if protoimpl.UnsafeEnabled { 472 mi := &file_mysqlctl_proto_msgTypes[9] 473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 474 ms.StoreMessageInfo(mi) 475 } 476 } 477 478 func (x *RefreshConfigResponse) String() string { 479 return protoimpl.X.MessageStringOf(x) 480 } 481 482 func (*RefreshConfigResponse) ProtoMessage() {} 483 484 func (x *RefreshConfigResponse) ProtoReflect() protoreflect.Message { 485 mi := &file_mysqlctl_proto_msgTypes[9] 486 if protoimpl.UnsafeEnabled && x != nil { 487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 488 if ms.LoadMessageInfo() == nil { 489 ms.StoreMessageInfo(mi) 490 } 491 return ms 492 } 493 return mi.MessageOf(x) 494 } 495 496 // Deprecated: Use RefreshConfigResponse.ProtoReflect.Descriptor instead. 497 func (*RefreshConfigResponse) Descriptor() ([]byte, []int) { 498 return file_mysqlctl_proto_rawDescGZIP(), []int{9} 499 } 500 501 // BackupInfo is the read-only attributes of a mysqlctl/backupstorage.BackupHandle. 502 type BackupInfo struct { 503 state protoimpl.MessageState 504 sizeCache protoimpl.SizeCache 505 unknownFields protoimpl.UnknownFields 506 507 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 508 Directory string `protobuf:"bytes,2,opt,name=directory,proto3" json:"directory,omitempty"` 509 Keyspace string `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"` 510 Shard string `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"` 511 TabletAlias *topodata.TabletAlias `protobuf:"bytes,5,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` 512 Time *vttime.Time `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` 513 // Engine is the name of the backupengine implementation used to create 514 // this backup. 515 Engine string `protobuf:"bytes,7,opt,name=engine,proto3" json:"engine,omitempty"` 516 Status BackupInfo_Status `protobuf:"varint,8,opt,name=status,proto3,enum=mysqlctl.BackupInfo_Status" json:"status,omitempty"` 517 } 518 519 func (x *BackupInfo) Reset() { 520 *x = BackupInfo{} 521 if protoimpl.UnsafeEnabled { 522 mi := &file_mysqlctl_proto_msgTypes[10] 523 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 524 ms.StoreMessageInfo(mi) 525 } 526 } 527 528 func (x *BackupInfo) String() string { 529 return protoimpl.X.MessageStringOf(x) 530 } 531 532 func (*BackupInfo) ProtoMessage() {} 533 534 func (x *BackupInfo) ProtoReflect() protoreflect.Message { 535 mi := &file_mysqlctl_proto_msgTypes[10] 536 if protoimpl.UnsafeEnabled && x != nil { 537 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 538 if ms.LoadMessageInfo() == nil { 539 ms.StoreMessageInfo(mi) 540 } 541 return ms 542 } 543 return mi.MessageOf(x) 544 } 545 546 // Deprecated: Use BackupInfo.ProtoReflect.Descriptor instead. 547 func (*BackupInfo) Descriptor() ([]byte, []int) { 548 return file_mysqlctl_proto_rawDescGZIP(), []int{10} 549 } 550 551 func (x *BackupInfo) GetName() string { 552 if x != nil { 553 return x.Name 554 } 555 return "" 556 } 557 558 func (x *BackupInfo) GetDirectory() string { 559 if x != nil { 560 return x.Directory 561 } 562 return "" 563 } 564 565 func (x *BackupInfo) GetKeyspace() string { 566 if x != nil { 567 return x.Keyspace 568 } 569 return "" 570 } 571 572 func (x *BackupInfo) GetShard() string { 573 if x != nil { 574 return x.Shard 575 } 576 return "" 577 } 578 579 func (x *BackupInfo) GetTabletAlias() *topodata.TabletAlias { 580 if x != nil { 581 return x.TabletAlias 582 } 583 return nil 584 } 585 586 func (x *BackupInfo) GetTime() *vttime.Time { 587 if x != nil { 588 return x.Time 589 } 590 return nil 591 } 592 593 func (x *BackupInfo) GetEngine() string { 594 if x != nil { 595 return x.Engine 596 } 597 return "" 598 } 599 600 func (x *BackupInfo) GetStatus() BackupInfo_Status { 601 if x != nil { 602 return x.Status 603 } 604 return BackupInfo_UNKNOWN 605 } 606 607 var File_mysqlctl_proto protoreflect.FileDescriptor 608 609 var file_mysqlctl_proto_rawDesc = []byte{ 610 0x0a, 0x0e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 611 0x12, 0x08, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x1a, 0x0e, 0x74, 0x6f, 0x70, 0x6f, 612 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x76, 0x74, 0x74, 0x69, 613 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x72, 614 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x79, 0x73, 0x71, 615 0x6c, 0x64, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6d, 616 0x79, 0x73, 0x71, 0x6c, 0x64, 0x41, 0x72, 0x67, 0x73, 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x74, 0x61, 617 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x0a, 0x0f, 0x53, 0x68, 618 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 619 0x0f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x64, 620 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x4d, 621 0x79, 0x73, 0x71, 0x6c, 0x64, 0x22, 0x12, 0x0a, 0x10, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 622 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x75, 0x6e, 623 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 624 0x65, 0x73, 0x74, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x75, 0x6e, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x55, 625 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 626 0x0a, 0x13, 0x52, 0x65, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 627 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x69, 0x6e, 0x69, 0x74, 0x43, 628 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x0a, 629 0x14, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 630 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 631 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe6, 632 0x02, 0x0a, 0x0a, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 633 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 634 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 635 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 636 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 637 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 638 0x68, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 639 0x64, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 640 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 641 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 642 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x20, 0x0a, 0x04, 0x74, 643 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x76, 0x74, 0x74, 0x69, 644 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 645 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 646 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 647 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 648 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 649 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4b, 0x0a, 0x06, 0x53, 0x74, 650 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 651 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 652 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x12, 653 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 654 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x04, 0x32, 0x8a, 0x03, 0x0a, 0x08, 0x4d, 0x79, 0x73, 0x71, 655 0x6c, 0x43, 0x74, 0x6c, 0x12, 0x3a, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x16, 0x2e, 656 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 657 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 658 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 659 0x12, 0x43, 0x0a, 0x08, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x19, 0x2e, 0x6d, 660 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 661 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 662 0x74, 0x6c, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 663 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0f, 0x52, 0x75, 0x6e, 0x4d, 0x79, 0x73, 0x71, 664 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x20, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 665 0x63, 0x74, 0x6c, 0x2e, 0x52, 0x75, 0x6e, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x55, 0x70, 0x67, 0x72, 666 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x79, 0x73, 667 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x52, 0x75, 0x6e, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x55, 0x70, 668 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 669 0x4f, 0x0a, 0x0c, 0x52, 0x65, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 670 0x1d, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x52, 0x65, 0x69, 0x6e, 0x69, 671 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 672 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x52, 0x65, 0x69, 0x6e, 0x69, 0x74, 673 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 674 0x12, 0x52, 0x0a, 0x0d, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 675 0x67, 0x12, 0x1e, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x52, 0x65, 0x66, 676 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 677 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x52, 0x65, 0x66, 678 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 679 0x73, 0x65, 0x22, 0x00, 0x42, 0x27, 0x5a, 0x25, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x69, 680 0x6f, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x74, 0x2f, 0x70, 681 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x62, 0x06, 0x70, 682 0x72, 0x6f, 0x74, 0x6f, 0x33, 683 } 684 685 var ( 686 file_mysqlctl_proto_rawDescOnce sync.Once 687 file_mysqlctl_proto_rawDescData = file_mysqlctl_proto_rawDesc 688 ) 689 690 func file_mysqlctl_proto_rawDescGZIP() []byte { 691 file_mysqlctl_proto_rawDescOnce.Do(func() { 692 file_mysqlctl_proto_rawDescData = protoimpl.X.CompressGZIP(file_mysqlctl_proto_rawDescData) 693 }) 694 return file_mysqlctl_proto_rawDescData 695 } 696 697 var file_mysqlctl_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 698 var file_mysqlctl_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 699 var file_mysqlctl_proto_goTypes = []interface{}{ 700 (BackupInfo_Status)(0), // 0: mysqlctl.BackupInfo.Status 701 (*StartRequest)(nil), // 1: mysqlctl.StartRequest 702 (*StartResponse)(nil), // 2: mysqlctl.StartResponse 703 (*ShutdownRequest)(nil), // 3: mysqlctl.ShutdownRequest 704 (*ShutdownResponse)(nil), // 4: mysqlctl.ShutdownResponse 705 (*RunMysqlUpgradeRequest)(nil), // 5: mysqlctl.RunMysqlUpgradeRequest 706 (*RunMysqlUpgradeResponse)(nil), // 6: mysqlctl.RunMysqlUpgradeResponse 707 (*ReinitConfigRequest)(nil), // 7: mysqlctl.ReinitConfigRequest 708 (*ReinitConfigResponse)(nil), // 8: mysqlctl.ReinitConfigResponse 709 (*RefreshConfigRequest)(nil), // 9: mysqlctl.RefreshConfigRequest 710 (*RefreshConfigResponse)(nil), // 10: mysqlctl.RefreshConfigResponse 711 (*BackupInfo)(nil), // 11: mysqlctl.BackupInfo 712 (*topodata.TabletAlias)(nil), // 12: topodata.TabletAlias 713 (*vttime.Time)(nil), // 13: vttime.Time 714 } 715 var file_mysqlctl_proto_depIdxs = []int32{ 716 12, // 0: mysqlctl.BackupInfo.tablet_alias:type_name -> topodata.TabletAlias 717 13, // 1: mysqlctl.BackupInfo.time:type_name -> vttime.Time 718 0, // 2: mysqlctl.BackupInfo.status:type_name -> mysqlctl.BackupInfo.Status 719 1, // 3: mysqlctl.MysqlCtl.Start:input_type -> mysqlctl.StartRequest 720 3, // 4: mysqlctl.MysqlCtl.Shutdown:input_type -> mysqlctl.ShutdownRequest 721 5, // 5: mysqlctl.MysqlCtl.RunMysqlUpgrade:input_type -> mysqlctl.RunMysqlUpgradeRequest 722 7, // 6: mysqlctl.MysqlCtl.ReinitConfig:input_type -> mysqlctl.ReinitConfigRequest 723 9, // 7: mysqlctl.MysqlCtl.RefreshConfig:input_type -> mysqlctl.RefreshConfigRequest 724 2, // 8: mysqlctl.MysqlCtl.Start:output_type -> mysqlctl.StartResponse 725 4, // 9: mysqlctl.MysqlCtl.Shutdown:output_type -> mysqlctl.ShutdownResponse 726 6, // 10: mysqlctl.MysqlCtl.RunMysqlUpgrade:output_type -> mysqlctl.RunMysqlUpgradeResponse 727 8, // 11: mysqlctl.MysqlCtl.ReinitConfig:output_type -> mysqlctl.ReinitConfigResponse 728 10, // 12: mysqlctl.MysqlCtl.RefreshConfig:output_type -> mysqlctl.RefreshConfigResponse 729 8, // [8:13] is the sub-list for method output_type 730 3, // [3:8] is the sub-list for method input_type 731 3, // [3:3] is the sub-list for extension type_name 732 3, // [3:3] is the sub-list for extension extendee 733 0, // [0:3] is the sub-list for field type_name 734 } 735 736 func init() { file_mysqlctl_proto_init() } 737 func file_mysqlctl_proto_init() { 738 if File_mysqlctl_proto != nil { 739 return 740 } 741 if !protoimpl.UnsafeEnabled { 742 file_mysqlctl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 743 switch v := v.(*StartRequest); i { 744 case 0: 745 return &v.state 746 case 1: 747 return &v.sizeCache 748 case 2: 749 return &v.unknownFields 750 default: 751 return nil 752 } 753 } 754 file_mysqlctl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 755 switch v := v.(*StartResponse); i { 756 case 0: 757 return &v.state 758 case 1: 759 return &v.sizeCache 760 case 2: 761 return &v.unknownFields 762 default: 763 return nil 764 } 765 } 766 file_mysqlctl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 767 switch v := v.(*ShutdownRequest); i { 768 case 0: 769 return &v.state 770 case 1: 771 return &v.sizeCache 772 case 2: 773 return &v.unknownFields 774 default: 775 return nil 776 } 777 } 778 file_mysqlctl_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 779 switch v := v.(*ShutdownResponse); i { 780 case 0: 781 return &v.state 782 case 1: 783 return &v.sizeCache 784 case 2: 785 return &v.unknownFields 786 default: 787 return nil 788 } 789 } 790 file_mysqlctl_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 791 switch v := v.(*RunMysqlUpgradeRequest); i { 792 case 0: 793 return &v.state 794 case 1: 795 return &v.sizeCache 796 case 2: 797 return &v.unknownFields 798 default: 799 return nil 800 } 801 } 802 file_mysqlctl_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 803 switch v := v.(*RunMysqlUpgradeResponse); i { 804 case 0: 805 return &v.state 806 case 1: 807 return &v.sizeCache 808 case 2: 809 return &v.unknownFields 810 default: 811 return nil 812 } 813 } 814 file_mysqlctl_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 815 switch v := v.(*ReinitConfigRequest); i { 816 case 0: 817 return &v.state 818 case 1: 819 return &v.sizeCache 820 case 2: 821 return &v.unknownFields 822 default: 823 return nil 824 } 825 } 826 file_mysqlctl_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 827 switch v := v.(*ReinitConfigResponse); i { 828 case 0: 829 return &v.state 830 case 1: 831 return &v.sizeCache 832 case 2: 833 return &v.unknownFields 834 default: 835 return nil 836 } 837 } 838 file_mysqlctl_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 839 switch v := v.(*RefreshConfigRequest); i { 840 case 0: 841 return &v.state 842 case 1: 843 return &v.sizeCache 844 case 2: 845 return &v.unknownFields 846 default: 847 return nil 848 } 849 } 850 file_mysqlctl_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 851 switch v := v.(*RefreshConfigResponse); i { 852 case 0: 853 return &v.state 854 case 1: 855 return &v.sizeCache 856 case 2: 857 return &v.unknownFields 858 default: 859 return nil 860 } 861 } 862 file_mysqlctl_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 863 switch v := v.(*BackupInfo); i { 864 case 0: 865 return &v.state 866 case 1: 867 return &v.sizeCache 868 case 2: 869 return &v.unknownFields 870 default: 871 return nil 872 } 873 } 874 } 875 type x struct{} 876 out := protoimpl.TypeBuilder{ 877 File: protoimpl.DescBuilder{ 878 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 879 RawDescriptor: file_mysqlctl_proto_rawDesc, 880 NumEnums: 1, 881 NumMessages: 11, 882 NumExtensions: 0, 883 NumServices: 1, 884 }, 885 GoTypes: file_mysqlctl_proto_goTypes, 886 DependencyIndexes: file_mysqlctl_proto_depIdxs, 887 EnumInfos: file_mysqlctl_proto_enumTypes, 888 MessageInfos: file_mysqlctl_proto_msgTypes, 889 }.Build() 890 File_mysqlctl_proto = out.File 891 file_mysqlctl_proto_rawDesc = nil 892 file_mysqlctl_proto_goTypes = nil 893 file_mysqlctl_proto_depIdxs = nil 894 }