vitess.io/vitess@v0.16.2/web/vtadmin/src/proto/vtadmin.d.ts (about) 1 import * as $protobuf from "protobufjs"; 2 /** Namespace vtadmin. */ 3 export namespace vtadmin { 4 5 /** Represents a VTAdmin */ 6 class VTAdmin extends $protobuf.rpc.Service { 7 8 /** 9 * Constructs a new VTAdmin service. 10 * @param rpcImpl RPC implementation 11 * @param [requestDelimited=false] Whether requests are length-delimited 12 * @param [responseDelimited=false] Whether responses are length-delimited 13 */ 14 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); 15 16 /** 17 * Creates new VTAdmin service using the specified rpc implementation. 18 * @param rpcImpl RPC implementation 19 * @param [requestDelimited=false] Whether requests are length-delimited 20 * @param [responseDelimited=false] Whether responses are length-delimited 21 * @returns RPC service. Useful where requests and/or responses are streamed. 22 */ 23 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): VTAdmin; 24 25 /** 26 * Calls CreateKeyspace. 27 * @param request CreateKeyspaceRequest message or plain object 28 * @param callback Node-style callback called with the error, if any, and CreateKeyspaceResponse 29 */ 30 public createKeyspace(request: vtadmin.ICreateKeyspaceRequest, callback: vtadmin.VTAdmin.CreateKeyspaceCallback): void; 31 32 /** 33 * Calls CreateKeyspace. 34 * @param request CreateKeyspaceRequest message or plain object 35 * @returns Promise 36 */ 37 public createKeyspace(request: vtadmin.ICreateKeyspaceRequest): Promise<vtadmin.CreateKeyspaceResponse>; 38 39 /** 40 * Calls CreateShard. 41 * @param request CreateShardRequest message or plain object 42 * @param callback Node-style callback called with the error, if any, and CreateShardResponse 43 */ 44 public createShard(request: vtadmin.ICreateShardRequest, callback: vtadmin.VTAdmin.CreateShardCallback): void; 45 46 /** 47 * Calls CreateShard. 48 * @param request CreateShardRequest message or plain object 49 * @returns Promise 50 */ 51 public createShard(request: vtadmin.ICreateShardRequest): Promise<vtctldata.CreateShardResponse>; 52 53 /** 54 * Calls DeleteKeyspace. 55 * @param request DeleteKeyspaceRequest message or plain object 56 * @param callback Node-style callback called with the error, if any, and DeleteKeyspaceResponse 57 */ 58 public deleteKeyspace(request: vtadmin.IDeleteKeyspaceRequest, callback: vtadmin.VTAdmin.DeleteKeyspaceCallback): void; 59 60 /** 61 * Calls DeleteKeyspace. 62 * @param request DeleteKeyspaceRequest message or plain object 63 * @returns Promise 64 */ 65 public deleteKeyspace(request: vtadmin.IDeleteKeyspaceRequest): Promise<vtctldata.DeleteKeyspaceResponse>; 66 67 /** 68 * Calls DeleteShards. 69 * @param request DeleteShardsRequest message or plain object 70 * @param callback Node-style callback called with the error, if any, and DeleteShardsResponse 71 */ 72 public deleteShards(request: vtadmin.IDeleteShardsRequest, callback: vtadmin.VTAdmin.DeleteShardsCallback): void; 73 74 /** 75 * Calls DeleteShards. 76 * @param request DeleteShardsRequest message or plain object 77 * @returns Promise 78 */ 79 public deleteShards(request: vtadmin.IDeleteShardsRequest): Promise<vtctldata.DeleteShardsResponse>; 80 81 /** 82 * Calls DeleteTablet. 83 * @param request DeleteTabletRequest message or plain object 84 * @param callback Node-style callback called with the error, if any, and DeleteTabletResponse 85 */ 86 public deleteTablet(request: vtadmin.IDeleteTabletRequest, callback: vtadmin.VTAdmin.DeleteTabletCallback): void; 87 88 /** 89 * Calls DeleteTablet. 90 * @param request DeleteTabletRequest message or plain object 91 * @returns Promise 92 */ 93 public deleteTablet(request: vtadmin.IDeleteTabletRequest): Promise<vtadmin.DeleteTabletResponse>; 94 95 /** 96 * Calls EmergencyFailoverShard. 97 * @param request EmergencyFailoverShardRequest message or plain object 98 * @param callback Node-style callback called with the error, if any, and EmergencyFailoverShardResponse 99 */ 100 public emergencyFailoverShard(request: vtadmin.IEmergencyFailoverShardRequest, callback: vtadmin.VTAdmin.EmergencyFailoverShardCallback): void; 101 102 /** 103 * Calls EmergencyFailoverShard. 104 * @param request EmergencyFailoverShardRequest message or plain object 105 * @returns Promise 106 */ 107 public emergencyFailoverShard(request: vtadmin.IEmergencyFailoverShardRequest): Promise<vtadmin.EmergencyFailoverShardResponse>; 108 109 /** 110 * Calls FindSchema. 111 * @param request FindSchemaRequest message or plain object 112 * @param callback Node-style callback called with the error, if any, and Schema 113 */ 114 public findSchema(request: vtadmin.IFindSchemaRequest, callback: vtadmin.VTAdmin.FindSchemaCallback): void; 115 116 /** 117 * Calls FindSchema. 118 * @param request FindSchemaRequest message or plain object 119 * @returns Promise 120 */ 121 public findSchema(request: vtadmin.IFindSchemaRequest): Promise<vtadmin.Schema>; 122 123 /** 124 * Calls GetBackups. 125 * @param request GetBackupsRequest message or plain object 126 * @param callback Node-style callback called with the error, if any, and GetBackupsResponse 127 */ 128 public getBackups(request: vtadmin.IGetBackupsRequest, callback: vtadmin.VTAdmin.GetBackupsCallback): void; 129 130 /** 131 * Calls GetBackups. 132 * @param request GetBackupsRequest message or plain object 133 * @returns Promise 134 */ 135 public getBackups(request: vtadmin.IGetBackupsRequest): Promise<vtadmin.GetBackupsResponse>; 136 137 /** 138 * Calls GetCellInfos. 139 * @param request GetCellInfosRequest message or plain object 140 * @param callback Node-style callback called with the error, if any, and GetCellInfosResponse 141 */ 142 public getCellInfos(request: vtadmin.IGetCellInfosRequest, callback: vtadmin.VTAdmin.GetCellInfosCallback): void; 143 144 /** 145 * Calls GetCellInfos. 146 * @param request GetCellInfosRequest message or plain object 147 * @returns Promise 148 */ 149 public getCellInfos(request: vtadmin.IGetCellInfosRequest): Promise<vtadmin.GetCellInfosResponse>; 150 151 /** 152 * Calls GetCellsAliases. 153 * @param request GetCellsAliasesRequest message or plain object 154 * @param callback Node-style callback called with the error, if any, and GetCellsAliasesResponse 155 */ 156 public getCellsAliases(request: vtadmin.IGetCellsAliasesRequest, callback: vtadmin.VTAdmin.GetCellsAliasesCallback): void; 157 158 /** 159 * Calls GetCellsAliases. 160 * @param request GetCellsAliasesRequest message or plain object 161 * @returns Promise 162 */ 163 public getCellsAliases(request: vtadmin.IGetCellsAliasesRequest): Promise<vtadmin.GetCellsAliasesResponse>; 164 165 /** 166 * Calls GetClusters. 167 * @param request GetClustersRequest message or plain object 168 * @param callback Node-style callback called with the error, if any, and GetClustersResponse 169 */ 170 public getClusters(request: vtadmin.IGetClustersRequest, callback: vtadmin.VTAdmin.GetClustersCallback): void; 171 172 /** 173 * Calls GetClusters. 174 * @param request GetClustersRequest message or plain object 175 * @returns Promise 176 */ 177 public getClusters(request: vtadmin.IGetClustersRequest): Promise<vtadmin.GetClustersResponse>; 178 179 /** 180 * Calls GetFullStatus. 181 * @param request GetFullStatusRequest message or plain object 182 * @param callback Node-style callback called with the error, if any, and GetFullStatusResponse 183 */ 184 public getFullStatus(request: vtadmin.IGetFullStatusRequest, callback: vtadmin.VTAdmin.GetFullStatusCallback): void; 185 186 /** 187 * Calls GetFullStatus. 188 * @param request GetFullStatusRequest message or plain object 189 * @returns Promise 190 */ 191 public getFullStatus(request: vtadmin.IGetFullStatusRequest): Promise<vtctldata.GetFullStatusResponse>; 192 193 /** 194 * Calls GetGates. 195 * @param request GetGatesRequest message or plain object 196 * @param callback Node-style callback called with the error, if any, and GetGatesResponse 197 */ 198 public getGates(request: vtadmin.IGetGatesRequest, callback: vtadmin.VTAdmin.GetGatesCallback): void; 199 200 /** 201 * Calls GetGates. 202 * @param request GetGatesRequest message or plain object 203 * @returns Promise 204 */ 205 public getGates(request: vtadmin.IGetGatesRequest): Promise<vtadmin.GetGatesResponse>; 206 207 /** 208 * Calls GetKeyspace. 209 * @param request GetKeyspaceRequest message or plain object 210 * @param callback Node-style callback called with the error, if any, and Keyspace 211 */ 212 public getKeyspace(request: vtadmin.IGetKeyspaceRequest, callback: vtadmin.VTAdmin.GetKeyspaceCallback): void; 213 214 /** 215 * Calls GetKeyspace. 216 * @param request GetKeyspaceRequest message or plain object 217 * @returns Promise 218 */ 219 public getKeyspace(request: vtadmin.IGetKeyspaceRequest): Promise<vtadmin.Keyspace>; 220 221 /** 222 * Calls GetKeyspaces. 223 * @param request GetKeyspacesRequest message or plain object 224 * @param callback Node-style callback called with the error, if any, and GetKeyspacesResponse 225 */ 226 public getKeyspaces(request: vtadmin.IGetKeyspacesRequest, callback: vtadmin.VTAdmin.GetKeyspacesCallback): void; 227 228 /** 229 * Calls GetKeyspaces. 230 * @param request GetKeyspacesRequest message or plain object 231 * @returns Promise 232 */ 233 public getKeyspaces(request: vtadmin.IGetKeyspacesRequest): Promise<vtadmin.GetKeyspacesResponse>; 234 235 /** 236 * Calls GetSchema. 237 * @param request GetSchemaRequest message or plain object 238 * @param callback Node-style callback called with the error, if any, and Schema 239 */ 240 public getSchema(request: vtadmin.IGetSchemaRequest, callback: vtadmin.VTAdmin.GetSchemaCallback): void; 241 242 /** 243 * Calls GetSchema. 244 * @param request GetSchemaRequest message or plain object 245 * @returns Promise 246 */ 247 public getSchema(request: vtadmin.IGetSchemaRequest): Promise<vtadmin.Schema>; 248 249 /** 250 * Calls GetSchemas. 251 * @param request GetSchemasRequest message or plain object 252 * @param callback Node-style callback called with the error, if any, and GetSchemasResponse 253 */ 254 public getSchemas(request: vtadmin.IGetSchemasRequest, callback: vtadmin.VTAdmin.GetSchemasCallback): void; 255 256 /** 257 * Calls GetSchemas. 258 * @param request GetSchemasRequest message or plain object 259 * @returns Promise 260 */ 261 public getSchemas(request: vtadmin.IGetSchemasRequest): Promise<vtadmin.GetSchemasResponse>; 262 263 /** 264 * Calls GetShardReplicationPositions. 265 * @param request GetShardReplicationPositionsRequest message or plain object 266 * @param callback Node-style callback called with the error, if any, and GetShardReplicationPositionsResponse 267 */ 268 public getShardReplicationPositions(request: vtadmin.IGetShardReplicationPositionsRequest, callback: vtadmin.VTAdmin.GetShardReplicationPositionsCallback): void; 269 270 /** 271 * Calls GetShardReplicationPositions. 272 * @param request GetShardReplicationPositionsRequest message or plain object 273 * @returns Promise 274 */ 275 public getShardReplicationPositions(request: vtadmin.IGetShardReplicationPositionsRequest): Promise<vtadmin.GetShardReplicationPositionsResponse>; 276 277 /** 278 * Calls GetSrvVSchema. 279 * @param request GetSrvVSchemaRequest message or plain object 280 * @param callback Node-style callback called with the error, if any, and SrvVSchema 281 */ 282 public getSrvVSchema(request: vtadmin.IGetSrvVSchemaRequest, callback: vtadmin.VTAdmin.GetSrvVSchemaCallback): void; 283 284 /** 285 * Calls GetSrvVSchema. 286 * @param request GetSrvVSchemaRequest message or plain object 287 * @returns Promise 288 */ 289 public getSrvVSchema(request: vtadmin.IGetSrvVSchemaRequest): Promise<vtadmin.SrvVSchema>; 290 291 /** 292 * Calls GetSrvVSchemas. 293 * @param request GetSrvVSchemasRequest message or plain object 294 * @param callback Node-style callback called with the error, if any, and GetSrvVSchemasResponse 295 */ 296 public getSrvVSchemas(request: vtadmin.IGetSrvVSchemasRequest, callback: vtadmin.VTAdmin.GetSrvVSchemasCallback): void; 297 298 /** 299 * Calls GetSrvVSchemas. 300 * @param request GetSrvVSchemasRequest message or plain object 301 * @returns Promise 302 */ 303 public getSrvVSchemas(request: vtadmin.IGetSrvVSchemasRequest): Promise<vtadmin.GetSrvVSchemasResponse>; 304 305 /** 306 * Calls GetTablet. 307 * @param request GetTabletRequest message or plain object 308 * @param callback Node-style callback called with the error, if any, and Tablet 309 */ 310 public getTablet(request: vtadmin.IGetTabletRequest, callback: vtadmin.VTAdmin.GetTabletCallback): void; 311 312 /** 313 * Calls GetTablet. 314 * @param request GetTabletRequest message or plain object 315 * @returns Promise 316 */ 317 public getTablet(request: vtadmin.IGetTabletRequest): Promise<vtadmin.Tablet>; 318 319 /** 320 * Calls GetTablets. 321 * @param request GetTabletsRequest message or plain object 322 * @param callback Node-style callback called with the error, if any, and GetTabletsResponse 323 */ 324 public getTablets(request: vtadmin.IGetTabletsRequest, callback: vtadmin.VTAdmin.GetTabletsCallback): void; 325 326 /** 327 * Calls GetTablets. 328 * @param request GetTabletsRequest message or plain object 329 * @returns Promise 330 */ 331 public getTablets(request: vtadmin.IGetTabletsRequest): Promise<vtadmin.GetTabletsResponse>; 332 333 /** 334 * Calls GetTopologyPath. 335 * @param request GetTopologyPathRequest message or plain object 336 * @param callback Node-style callback called with the error, if any, and GetTopologyPathResponse 337 */ 338 public getTopologyPath(request: vtadmin.IGetTopologyPathRequest, callback: vtadmin.VTAdmin.GetTopologyPathCallback): void; 339 340 /** 341 * Calls GetTopologyPath. 342 * @param request GetTopologyPathRequest message or plain object 343 * @returns Promise 344 */ 345 public getTopologyPath(request: vtadmin.IGetTopologyPathRequest): Promise<vtctldata.GetTopologyPathResponse>; 346 347 /** 348 * Calls GetVSchema. 349 * @param request GetVSchemaRequest message or plain object 350 * @param callback Node-style callback called with the error, if any, and VSchema 351 */ 352 public getVSchema(request: vtadmin.IGetVSchemaRequest, callback: vtadmin.VTAdmin.GetVSchemaCallback): void; 353 354 /** 355 * Calls GetVSchema. 356 * @param request GetVSchemaRequest message or plain object 357 * @returns Promise 358 */ 359 public getVSchema(request: vtadmin.IGetVSchemaRequest): Promise<vtadmin.VSchema>; 360 361 /** 362 * Calls GetVSchemas. 363 * @param request GetVSchemasRequest message or plain object 364 * @param callback Node-style callback called with the error, if any, and GetVSchemasResponse 365 */ 366 public getVSchemas(request: vtadmin.IGetVSchemasRequest, callback: vtadmin.VTAdmin.GetVSchemasCallback): void; 367 368 /** 369 * Calls GetVSchemas. 370 * @param request GetVSchemasRequest message or plain object 371 * @returns Promise 372 */ 373 public getVSchemas(request: vtadmin.IGetVSchemasRequest): Promise<vtadmin.GetVSchemasResponse>; 374 375 /** 376 * Calls GetVtctlds. 377 * @param request GetVtctldsRequest message or plain object 378 * @param callback Node-style callback called with the error, if any, and GetVtctldsResponse 379 */ 380 public getVtctlds(request: vtadmin.IGetVtctldsRequest, callback: vtadmin.VTAdmin.GetVtctldsCallback): void; 381 382 /** 383 * Calls GetVtctlds. 384 * @param request GetVtctldsRequest message or plain object 385 * @returns Promise 386 */ 387 public getVtctlds(request: vtadmin.IGetVtctldsRequest): Promise<vtadmin.GetVtctldsResponse>; 388 389 /** 390 * Calls GetWorkflow. 391 * @param request GetWorkflowRequest message or plain object 392 * @param callback Node-style callback called with the error, if any, and Workflow 393 */ 394 public getWorkflow(request: vtadmin.IGetWorkflowRequest, callback: vtadmin.VTAdmin.GetWorkflowCallback): void; 395 396 /** 397 * Calls GetWorkflow. 398 * @param request GetWorkflowRequest message or plain object 399 * @returns Promise 400 */ 401 public getWorkflow(request: vtadmin.IGetWorkflowRequest): Promise<vtadmin.Workflow>; 402 403 /** 404 * Calls GetWorkflows. 405 * @param request GetWorkflowsRequest message or plain object 406 * @param callback Node-style callback called with the error, if any, and GetWorkflowsResponse 407 */ 408 public getWorkflows(request: vtadmin.IGetWorkflowsRequest, callback: vtadmin.VTAdmin.GetWorkflowsCallback): void; 409 410 /** 411 * Calls GetWorkflows. 412 * @param request GetWorkflowsRequest message or plain object 413 * @returns Promise 414 */ 415 public getWorkflows(request: vtadmin.IGetWorkflowsRequest): Promise<vtadmin.GetWorkflowsResponse>; 416 417 /** 418 * Calls PingTablet. 419 * @param request PingTabletRequest message or plain object 420 * @param callback Node-style callback called with the error, if any, and PingTabletResponse 421 */ 422 public pingTablet(request: vtadmin.IPingTabletRequest, callback: vtadmin.VTAdmin.PingTabletCallback): void; 423 424 /** 425 * Calls PingTablet. 426 * @param request PingTabletRequest message or plain object 427 * @returns Promise 428 */ 429 public pingTablet(request: vtadmin.IPingTabletRequest): Promise<vtadmin.PingTabletResponse>; 430 431 /** 432 * Calls PlannedFailoverShard. 433 * @param request PlannedFailoverShardRequest message or plain object 434 * @param callback Node-style callback called with the error, if any, and PlannedFailoverShardResponse 435 */ 436 public plannedFailoverShard(request: vtadmin.IPlannedFailoverShardRequest, callback: vtadmin.VTAdmin.PlannedFailoverShardCallback): void; 437 438 /** 439 * Calls PlannedFailoverShard. 440 * @param request PlannedFailoverShardRequest message or plain object 441 * @returns Promise 442 */ 443 public plannedFailoverShard(request: vtadmin.IPlannedFailoverShardRequest): Promise<vtadmin.PlannedFailoverShardResponse>; 444 445 /** 446 * Calls RebuildKeyspaceGraph. 447 * @param request RebuildKeyspaceGraphRequest message or plain object 448 * @param callback Node-style callback called with the error, if any, and RebuildKeyspaceGraphResponse 449 */ 450 public rebuildKeyspaceGraph(request: vtadmin.IRebuildKeyspaceGraphRequest, callback: vtadmin.VTAdmin.RebuildKeyspaceGraphCallback): void; 451 452 /** 453 * Calls RebuildKeyspaceGraph. 454 * @param request RebuildKeyspaceGraphRequest message or plain object 455 * @returns Promise 456 */ 457 public rebuildKeyspaceGraph(request: vtadmin.IRebuildKeyspaceGraphRequest): Promise<vtadmin.RebuildKeyspaceGraphResponse>; 458 459 /** 460 * Calls RefreshState. 461 * @param request RefreshStateRequest message or plain object 462 * @param callback Node-style callback called with the error, if any, and RefreshStateResponse 463 */ 464 public refreshState(request: vtadmin.IRefreshStateRequest, callback: vtadmin.VTAdmin.RefreshStateCallback): void; 465 466 /** 467 * Calls RefreshState. 468 * @param request RefreshStateRequest message or plain object 469 * @returns Promise 470 */ 471 public refreshState(request: vtadmin.IRefreshStateRequest): Promise<vtadmin.RefreshStateResponse>; 472 473 /** 474 * Calls RefreshTabletReplicationSource. 475 * @param request RefreshTabletReplicationSourceRequest message or plain object 476 * @param callback Node-style callback called with the error, if any, and RefreshTabletReplicationSourceResponse 477 */ 478 public refreshTabletReplicationSource(request: vtadmin.IRefreshTabletReplicationSourceRequest, callback: vtadmin.VTAdmin.RefreshTabletReplicationSourceCallback): void; 479 480 /** 481 * Calls RefreshTabletReplicationSource. 482 * @param request RefreshTabletReplicationSourceRequest message or plain object 483 * @returns Promise 484 */ 485 public refreshTabletReplicationSource(request: vtadmin.IRefreshTabletReplicationSourceRequest): Promise<vtadmin.RefreshTabletReplicationSourceResponse>; 486 487 /** 488 * Calls ReloadSchemas. 489 * @param request ReloadSchemasRequest message or plain object 490 * @param callback Node-style callback called with the error, if any, and ReloadSchemasResponse 491 */ 492 public reloadSchemas(request: vtadmin.IReloadSchemasRequest, callback: vtadmin.VTAdmin.ReloadSchemasCallback): void; 493 494 /** 495 * Calls ReloadSchemas. 496 * @param request ReloadSchemasRequest message or plain object 497 * @returns Promise 498 */ 499 public reloadSchemas(request: vtadmin.IReloadSchemasRequest): Promise<vtadmin.ReloadSchemasResponse>; 500 501 /** 502 * Calls ReloadSchemaShard. 503 * @param request ReloadSchemaShardRequest message or plain object 504 * @param callback Node-style callback called with the error, if any, and ReloadSchemaShardResponse 505 */ 506 public reloadSchemaShard(request: vtadmin.IReloadSchemaShardRequest, callback: vtadmin.VTAdmin.ReloadSchemaShardCallback): void; 507 508 /** 509 * Calls ReloadSchemaShard. 510 * @param request ReloadSchemaShardRequest message or plain object 511 * @returns Promise 512 */ 513 public reloadSchemaShard(request: vtadmin.IReloadSchemaShardRequest): Promise<vtadmin.ReloadSchemaShardResponse>; 514 515 /** 516 * Calls RemoveKeyspaceCell. 517 * @param request RemoveKeyspaceCellRequest message or plain object 518 * @param callback Node-style callback called with the error, if any, and RemoveKeyspaceCellResponse 519 */ 520 public removeKeyspaceCell(request: vtadmin.IRemoveKeyspaceCellRequest, callback: vtadmin.VTAdmin.RemoveKeyspaceCellCallback): void; 521 522 /** 523 * Calls RemoveKeyspaceCell. 524 * @param request RemoveKeyspaceCellRequest message or plain object 525 * @returns Promise 526 */ 527 public removeKeyspaceCell(request: vtadmin.IRemoveKeyspaceCellRequest): Promise<vtadmin.RemoveKeyspaceCellResponse>; 528 529 /** 530 * Calls RunHealthCheck. 531 * @param request RunHealthCheckRequest message or plain object 532 * @param callback Node-style callback called with the error, if any, and RunHealthCheckResponse 533 */ 534 public runHealthCheck(request: vtadmin.IRunHealthCheckRequest, callback: vtadmin.VTAdmin.RunHealthCheckCallback): void; 535 536 /** 537 * Calls RunHealthCheck. 538 * @param request RunHealthCheckRequest message or plain object 539 * @returns Promise 540 */ 541 public runHealthCheck(request: vtadmin.IRunHealthCheckRequest): Promise<vtadmin.RunHealthCheckResponse>; 542 543 /** 544 * Calls SetReadOnly. 545 * @param request SetReadOnlyRequest message or plain object 546 * @param callback Node-style callback called with the error, if any, and SetReadOnlyResponse 547 */ 548 public setReadOnly(request: vtadmin.ISetReadOnlyRequest, callback: vtadmin.VTAdmin.SetReadOnlyCallback): void; 549 550 /** 551 * Calls SetReadOnly. 552 * @param request SetReadOnlyRequest message or plain object 553 * @returns Promise 554 */ 555 public setReadOnly(request: vtadmin.ISetReadOnlyRequest): Promise<vtadmin.SetReadOnlyResponse>; 556 557 /** 558 * Calls SetReadWrite. 559 * @param request SetReadWriteRequest message or plain object 560 * @param callback Node-style callback called with the error, if any, and SetReadWriteResponse 561 */ 562 public setReadWrite(request: vtadmin.ISetReadWriteRequest, callback: vtadmin.VTAdmin.SetReadWriteCallback): void; 563 564 /** 565 * Calls SetReadWrite. 566 * @param request SetReadWriteRequest message or plain object 567 * @returns Promise 568 */ 569 public setReadWrite(request: vtadmin.ISetReadWriteRequest): Promise<vtadmin.SetReadWriteResponse>; 570 571 /** 572 * Calls StartReplication. 573 * @param request StartReplicationRequest message or plain object 574 * @param callback Node-style callback called with the error, if any, and StartReplicationResponse 575 */ 576 public startReplication(request: vtadmin.IStartReplicationRequest, callback: vtadmin.VTAdmin.StartReplicationCallback): void; 577 578 /** 579 * Calls StartReplication. 580 * @param request StartReplicationRequest message or plain object 581 * @returns Promise 582 */ 583 public startReplication(request: vtadmin.IStartReplicationRequest): Promise<vtadmin.StartReplicationResponse>; 584 585 /** 586 * Calls StopReplication. 587 * @param request StopReplicationRequest message or plain object 588 * @param callback Node-style callback called with the error, if any, and StopReplicationResponse 589 */ 590 public stopReplication(request: vtadmin.IStopReplicationRequest, callback: vtadmin.VTAdmin.StopReplicationCallback): void; 591 592 /** 593 * Calls StopReplication. 594 * @param request StopReplicationRequest message or plain object 595 * @returns Promise 596 */ 597 public stopReplication(request: vtadmin.IStopReplicationRequest): Promise<vtadmin.StopReplicationResponse>; 598 599 /** 600 * Calls TabletExternallyPromoted. 601 * @param request TabletExternallyPromotedRequest message or plain object 602 * @param callback Node-style callback called with the error, if any, and TabletExternallyPromotedResponse 603 */ 604 public tabletExternallyPromoted(request: vtadmin.ITabletExternallyPromotedRequest, callback: vtadmin.VTAdmin.TabletExternallyPromotedCallback): void; 605 606 /** 607 * Calls TabletExternallyPromoted. 608 * @param request TabletExternallyPromotedRequest message or plain object 609 * @returns Promise 610 */ 611 public tabletExternallyPromoted(request: vtadmin.ITabletExternallyPromotedRequest): Promise<vtadmin.TabletExternallyPromotedResponse>; 612 613 /** 614 * Calls Validate. 615 * @param request ValidateRequest message or plain object 616 * @param callback Node-style callback called with the error, if any, and ValidateResponse 617 */ 618 public validate(request: vtadmin.IValidateRequest, callback: vtadmin.VTAdmin.ValidateCallback): void; 619 620 /** 621 * Calls Validate. 622 * @param request ValidateRequest message or plain object 623 * @returns Promise 624 */ 625 public validate(request: vtadmin.IValidateRequest): Promise<vtctldata.ValidateResponse>; 626 627 /** 628 * Calls ValidateKeyspace. 629 * @param request ValidateKeyspaceRequest message or plain object 630 * @param callback Node-style callback called with the error, if any, and ValidateKeyspaceResponse 631 */ 632 public validateKeyspace(request: vtadmin.IValidateKeyspaceRequest, callback: vtadmin.VTAdmin.ValidateKeyspaceCallback): void; 633 634 /** 635 * Calls ValidateKeyspace. 636 * @param request ValidateKeyspaceRequest message or plain object 637 * @returns Promise 638 */ 639 public validateKeyspace(request: vtadmin.IValidateKeyspaceRequest): Promise<vtctldata.ValidateKeyspaceResponse>; 640 641 /** 642 * Calls ValidateSchemaKeyspace. 643 * @param request ValidateSchemaKeyspaceRequest message or plain object 644 * @param callback Node-style callback called with the error, if any, and ValidateSchemaKeyspaceResponse 645 */ 646 public validateSchemaKeyspace(request: vtadmin.IValidateSchemaKeyspaceRequest, callback: vtadmin.VTAdmin.ValidateSchemaKeyspaceCallback): void; 647 648 /** 649 * Calls ValidateSchemaKeyspace. 650 * @param request ValidateSchemaKeyspaceRequest message or plain object 651 * @returns Promise 652 */ 653 public validateSchemaKeyspace(request: vtadmin.IValidateSchemaKeyspaceRequest): Promise<vtctldata.ValidateSchemaKeyspaceResponse>; 654 655 /** 656 * Calls ValidateShard. 657 * @param request ValidateShardRequest message or plain object 658 * @param callback Node-style callback called with the error, if any, and ValidateShardResponse 659 */ 660 public validateShard(request: vtadmin.IValidateShardRequest, callback: vtadmin.VTAdmin.ValidateShardCallback): void; 661 662 /** 663 * Calls ValidateShard. 664 * @param request ValidateShardRequest message or plain object 665 * @returns Promise 666 */ 667 public validateShard(request: vtadmin.IValidateShardRequest): Promise<vtctldata.ValidateShardResponse>; 668 669 /** 670 * Calls ValidateVersionKeyspace. 671 * @param request ValidateVersionKeyspaceRequest message or plain object 672 * @param callback Node-style callback called with the error, if any, and ValidateVersionKeyspaceResponse 673 */ 674 public validateVersionKeyspace(request: vtadmin.IValidateVersionKeyspaceRequest, callback: vtadmin.VTAdmin.ValidateVersionKeyspaceCallback): void; 675 676 /** 677 * Calls ValidateVersionKeyspace. 678 * @param request ValidateVersionKeyspaceRequest message or plain object 679 * @returns Promise 680 */ 681 public validateVersionKeyspace(request: vtadmin.IValidateVersionKeyspaceRequest): Promise<vtctldata.ValidateVersionKeyspaceResponse>; 682 683 /** 684 * Calls ValidateVersionShard. 685 * @param request ValidateVersionShardRequest message or plain object 686 * @param callback Node-style callback called with the error, if any, and ValidateVersionShardResponse 687 */ 688 public validateVersionShard(request: vtadmin.IValidateVersionShardRequest, callback: vtadmin.VTAdmin.ValidateVersionShardCallback): void; 689 690 /** 691 * Calls ValidateVersionShard. 692 * @param request ValidateVersionShardRequest message or plain object 693 * @returns Promise 694 */ 695 public validateVersionShard(request: vtadmin.IValidateVersionShardRequest): Promise<vtctldata.ValidateVersionShardResponse>; 696 697 /** 698 * Calls VTExplain. 699 * @param request VTExplainRequest message or plain object 700 * @param callback Node-style callback called with the error, if any, and VTExplainResponse 701 */ 702 public vTExplain(request: vtadmin.IVTExplainRequest, callback: vtadmin.VTAdmin.VTExplainCallback): void; 703 704 /** 705 * Calls VTExplain. 706 * @param request VTExplainRequest message or plain object 707 * @returns Promise 708 */ 709 public vTExplain(request: vtadmin.IVTExplainRequest): Promise<vtadmin.VTExplainResponse>; 710 } 711 712 namespace VTAdmin { 713 714 /** 715 * Callback as used by {@link vtadmin.VTAdmin#createKeyspace}. 716 * @param error Error, if any 717 * @param [response] CreateKeyspaceResponse 718 */ 719 type CreateKeyspaceCallback = (error: (Error|null), response?: vtadmin.CreateKeyspaceResponse) => void; 720 721 /** 722 * Callback as used by {@link vtadmin.VTAdmin#createShard}. 723 * @param error Error, if any 724 * @param [response] CreateShardResponse 725 */ 726 type CreateShardCallback = (error: (Error|null), response?: vtctldata.CreateShardResponse) => void; 727 728 /** 729 * Callback as used by {@link vtadmin.VTAdmin#deleteKeyspace}. 730 * @param error Error, if any 731 * @param [response] DeleteKeyspaceResponse 732 */ 733 type DeleteKeyspaceCallback = (error: (Error|null), response?: vtctldata.DeleteKeyspaceResponse) => void; 734 735 /** 736 * Callback as used by {@link vtadmin.VTAdmin#deleteShards}. 737 * @param error Error, if any 738 * @param [response] DeleteShardsResponse 739 */ 740 type DeleteShardsCallback = (error: (Error|null), response?: vtctldata.DeleteShardsResponse) => void; 741 742 /** 743 * Callback as used by {@link vtadmin.VTAdmin#deleteTablet}. 744 * @param error Error, if any 745 * @param [response] DeleteTabletResponse 746 */ 747 type DeleteTabletCallback = (error: (Error|null), response?: vtadmin.DeleteTabletResponse) => void; 748 749 /** 750 * Callback as used by {@link vtadmin.VTAdmin#emergencyFailoverShard}. 751 * @param error Error, if any 752 * @param [response] EmergencyFailoverShardResponse 753 */ 754 type EmergencyFailoverShardCallback = (error: (Error|null), response?: vtadmin.EmergencyFailoverShardResponse) => void; 755 756 /** 757 * Callback as used by {@link vtadmin.VTAdmin#findSchema}. 758 * @param error Error, if any 759 * @param [response] Schema 760 */ 761 type FindSchemaCallback = (error: (Error|null), response?: vtadmin.Schema) => void; 762 763 /** 764 * Callback as used by {@link vtadmin.VTAdmin#getBackups}. 765 * @param error Error, if any 766 * @param [response] GetBackupsResponse 767 */ 768 type GetBackupsCallback = (error: (Error|null), response?: vtadmin.GetBackupsResponse) => void; 769 770 /** 771 * Callback as used by {@link vtadmin.VTAdmin#getCellInfos}. 772 * @param error Error, if any 773 * @param [response] GetCellInfosResponse 774 */ 775 type GetCellInfosCallback = (error: (Error|null), response?: vtadmin.GetCellInfosResponse) => void; 776 777 /** 778 * Callback as used by {@link vtadmin.VTAdmin#getCellsAliases}. 779 * @param error Error, if any 780 * @param [response] GetCellsAliasesResponse 781 */ 782 type GetCellsAliasesCallback = (error: (Error|null), response?: vtadmin.GetCellsAliasesResponse) => void; 783 784 /** 785 * Callback as used by {@link vtadmin.VTAdmin#getClusters}. 786 * @param error Error, if any 787 * @param [response] GetClustersResponse 788 */ 789 type GetClustersCallback = (error: (Error|null), response?: vtadmin.GetClustersResponse) => void; 790 791 /** 792 * Callback as used by {@link vtadmin.VTAdmin#getFullStatus}. 793 * @param error Error, if any 794 * @param [response] GetFullStatusResponse 795 */ 796 type GetFullStatusCallback = (error: (Error|null), response?: vtctldata.GetFullStatusResponse) => void; 797 798 /** 799 * Callback as used by {@link vtadmin.VTAdmin#getGates}. 800 * @param error Error, if any 801 * @param [response] GetGatesResponse 802 */ 803 type GetGatesCallback = (error: (Error|null), response?: vtadmin.GetGatesResponse) => void; 804 805 /** 806 * Callback as used by {@link vtadmin.VTAdmin#getKeyspace}. 807 * @param error Error, if any 808 * @param [response] Keyspace 809 */ 810 type GetKeyspaceCallback = (error: (Error|null), response?: vtadmin.Keyspace) => void; 811 812 /** 813 * Callback as used by {@link vtadmin.VTAdmin#getKeyspaces}. 814 * @param error Error, if any 815 * @param [response] GetKeyspacesResponse 816 */ 817 type GetKeyspacesCallback = (error: (Error|null), response?: vtadmin.GetKeyspacesResponse) => void; 818 819 /** 820 * Callback as used by {@link vtadmin.VTAdmin#getSchema}. 821 * @param error Error, if any 822 * @param [response] Schema 823 */ 824 type GetSchemaCallback = (error: (Error|null), response?: vtadmin.Schema) => void; 825 826 /** 827 * Callback as used by {@link vtadmin.VTAdmin#getSchemas}. 828 * @param error Error, if any 829 * @param [response] GetSchemasResponse 830 */ 831 type GetSchemasCallback = (error: (Error|null), response?: vtadmin.GetSchemasResponse) => void; 832 833 /** 834 * Callback as used by {@link vtadmin.VTAdmin#getShardReplicationPositions}. 835 * @param error Error, if any 836 * @param [response] GetShardReplicationPositionsResponse 837 */ 838 type GetShardReplicationPositionsCallback = (error: (Error|null), response?: vtadmin.GetShardReplicationPositionsResponse) => void; 839 840 /** 841 * Callback as used by {@link vtadmin.VTAdmin#getSrvVSchema}. 842 * @param error Error, if any 843 * @param [response] SrvVSchema 844 */ 845 type GetSrvVSchemaCallback = (error: (Error|null), response?: vtadmin.SrvVSchema) => void; 846 847 /** 848 * Callback as used by {@link vtadmin.VTAdmin#getSrvVSchemas}. 849 * @param error Error, if any 850 * @param [response] GetSrvVSchemasResponse 851 */ 852 type GetSrvVSchemasCallback = (error: (Error|null), response?: vtadmin.GetSrvVSchemasResponse) => void; 853 854 /** 855 * Callback as used by {@link vtadmin.VTAdmin#getTablet}. 856 * @param error Error, if any 857 * @param [response] Tablet 858 */ 859 type GetTabletCallback = (error: (Error|null), response?: vtadmin.Tablet) => void; 860 861 /** 862 * Callback as used by {@link vtadmin.VTAdmin#getTablets}. 863 * @param error Error, if any 864 * @param [response] GetTabletsResponse 865 */ 866 type GetTabletsCallback = (error: (Error|null), response?: vtadmin.GetTabletsResponse) => void; 867 868 /** 869 * Callback as used by {@link vtadmin.VTAdmin#getTopologyPath}. 870 * @param error Error, if any 871 * @param [response] GetTopologyPathResponse 872 */ 873 type GetTopologyPathCallback = (error: (Error|null), response?: vtctldata.GetTopologyPathResponse) => void; 874 875 /** 876 * Callback as used by {@link vtadmin.VTAdmin#getVSchema}. 877 * @param error Error, if any 878 * @param [response] VSchema 879 */ 880 type GetVSchemaCallback = (error: (Error|null), response?: vtadmin.VSchema) => void; 881 882 /** 883 * Callback as used by {@link vtadmin.VTAdmin#getVSchemas}. 884 * @param error Error, if any 885 * @param [response] GetVSchemasResponse 886 */ 887 type GetVSchemasCallback = (error: (Error|null), response?: vtadmin.GetVSchemasResponse) => void; 888 889 /** 890 * Callback as used by {@link vtadmin.VTAdmin#getVtctlds}. 891 * @param error Error, if any 892 * @param [response] GetVtctldsResponse 893 */ 894 type GetVtctldsCallback = (error: (Error|null), response?: vtadmin.GetVtctldsResponse) => void; 895 896 /** 897 * Callback as used by {@link vtadmin.VTAdmin#getWorkflow}. 898 * @param error Error, if any 899 * @param [response] Workflow 900 */ 901 type GetWorkflowCallback = (error: (Error|null), response?: vtadmin.Workflow) => void; 902 903 /** 904 * Callback as used by {@link vtadmin.VTAdmin#getWorkflows}. 905 * @param error Error, if any 906 * @param [response] GetWorkflowsResponse 907 */ 908 type GetWorkflowsCallback = (error: (Error|null), response?: vtadmin.GetWorkflowsResponse) => void; 909 910 /** 911 * Callback as used by {@link vtadmin.VTAdmin#pingTablet}. 912 * @param error Error, if any 913 * @param [response] PingTabletResponse 914 */ 915 type PingTabletCallback = (error: (Error|null), response?: vtadmin.PingTabletResponse) => void; 916 917 /** 918 * Callback as used by {@link vtadmin.VTAdmin#plannedFailoverShard}. 919 * @param error Error, if any 920 * @param [response] PlannedFailoverShardResponse 921 */ 922 type PlannedFailoverShardCallback = (error: (Error|null), response?: vtadmin.PlannedFailoverShardResponse) => void; 923 924 /** 925 * Callback as used by {@link vtadmin.VTAdmin#rebuildKeyspaceGraph}. 926 * @param error Error, if any 927 * @param [response] RebuildKeyspaceGraphResponse 928 */ 929 type RebuildKeyspaceGraphCallback = (error: (Error|null), response?: vtadmin.RebuildKeyspaceGraphResponse) => void; 930 931 /** 932 * Callback as used by {@link vtadmin.VTAdmin#refreshState}. 933 * @param error Error, if any 934 * @param [response] RefreshStateResponse 935 */ 936 type RefreshStateCallback = (error: (Error|null), response?: vtadmin.RefreshStateResponse) => void; 937 938 /** 939 * Callback as used by {@link vtadmin.VTAdmin#refreshTabletReplicationSource}. 940 * @param error Error, if any 941 * @param [response] RefreshTabletReplicationSourceResponse 942 */ 943 type RefreshTabletReplicationSourceCallback = (error: (Error|null), response?: vtadmin.RefreshTabletReplicationSourceResponse) => void; 944 945 /** 946 * Callback as used by {@link vtadmin.VTAdmin#reloadSchemas}. 947 * @param error Error, if any 948 * @param [response] ReloadSchemasResponse 949 */ 950 type ReloadSchemasCallback = (error: (Error|null), response?: vtadmin.ReloadSchemasResponse) => void; 951 952 /** 953 * Callback as used by {@link vtadmin.VTAdmin#reloadSchemaShard}. 954 * @param error Error, if any 955 * @param [response] ReloadSchemaShardResponse 956 */ 957 type ReloadSchemaShardCallback = (error: (Error|null), response?: vtadmin.ReloadSchemaShardResponse) => void; 958 959 /** 960 * Callback as used by {@link vtadmin.VTAdmin#removeKeyspaceCell}. 961 * @param error Error, if any 962 * @param [response] RemoveKeyspaceCellResponse 963 */ 964 type RemoveKeyspaceCellCallback = (error: (Error|null), response?: vtadmin.RemoveKeyspaceCellResponse) => void; 965 966 /** 967 * Callback as used by {@link vtadmin.VTAdmin#runHealthCheck}. 968 * @param error Error, if any 969 * @param [response] RunHealthCheckResponse 970 */ 971 type RunHealthCheckCallback = (error: (Error|null), response?: vtadmin.RunHealthCheckResponse) => void; 972 973 /** 974 * Callback as used by {@link vtadmin.VTAdmin#setReadOnly}. 975 * @param error Error, if any 976 * @param [response] SetReadOnlyResponse 977 */ 978 type SetReadOnlyCallback = (error: (Error|null), response?: vtadmin.SetReadOnlyResponse) => void; 979 980 /** 981 * Callback as used by {@link vtadmin.VTAdmin#setReadWrite}. 982 * @param error Error, if any 983 * @param [response] SetReadWriteResponse 984 */ 985 type SetReadWriteCallback = (error: (Error|null), response?: vtadmin.SetReadWriteResponse) => void; 986 987 /** 988 * Callback as used by {@link vtadmin.VTAdmin#startReplication}. 989 * @param error Error, if any 990 * @param [response] StartReplicationResponse 991 */ 992 type StartReplicationCallback = (error: (Error|null), response?: vtadmin.StartReplicationResponse) => void; 993 994 /** 995 * Callback as used by {@link vtadmin.VTAdmin#stopReplication}. 996 * @param error Error, if any 997 * @param [response] StopReplicationResponse 998 */ 999 type StopReplicationCallback = (error: (Error|null), response?: vtadmin.StopReplicationResponse) => void; 1000 1001 /** 1002 * Callback as used by {@link vtadmin.VTAdmin#tabletExternallyPromoted}. 1003 * @param error Error, if any 1004 * @param [response] TabletExternallyPromotedResponse 1005 */ 1006 type TabletExternallyPromotedCallback = (error: (Error|null), response?: vtadmin.TabletExternallyPromotedResponse) => void; 1007 1008 /** 1009 * Callback as used by {@link vtadmin.VTAdmin#validate}. 1010 * @param error Error, if any 1011 * @param [response] ValidateResponse 1012 */ 1013 type ValidateCallback = (error: (Error|null), response?: vtctldata.ValidateResponse) => void; 1014 1015 /** 1016 * Callback as used by {@link vtadmin.VTAdmin#validateKeyspace}. 1017 * @param error Error, if any 1018 * @param [response] ValidateKeyspaceResponse 1019 */ 1020 type ValidateKeyspaceCallback = (error: (Error|null), response?: vtctldata.ValidateKeyspaceResponse) => void; 1021 1022 /** 1023 * Callback as used by {@link vtadmin.VTAdmin#validateSchemaKeyspace}. 1024 * @param error Error, if any 1025 * @param [response] ValidateSchemaKeyspaceResponse 1026 */ 1027 type ValidateSchemaKeyspaceCallback = (error: (Error|null), response?: vtctldata.ValidateSchemaKeyspaceResponse) => void; 1028 1029 /** 1030 * Callback as used by {@link vtadmin.VTAdmin#validateShard}. 1031 * @param error Error, if any 1032 * @param [response] ValidateShardResponse 1033 */ 1034 type ValidateShardCallback = (error: (Error|null), response?: vtctldata.ValidateShardResponse) => void; 1035 1036 /** 1037 * Callback as used by {@link vtadmin.VTAdmin#validateVersionKeyspace}. 1038 * @param error Error, if any 1039 * @param [response] ValidateVersionKeyspaceResponse 1040 */ 1041 type ValidateVersionKeyspaceCallback = (error: (Error|null), response?: vtctldata.ValidateVersionKeyspaceResponse) => void; 1042 1043 /** 1044 * Callback as used by {@link vtadmin.VTAdmin#validateVersionShard}. 1045 * @param error Error, if any 1046 * @param [response] ValidateVersionShardResponse 1047 */ 1048 type ValidateVersionShardCallback = (error: (Error|null), response?: vtctldata.ValidateVersionShardResponse) => void; 1049 1050 /** 1051 * Callback as used by {@link vtadmin.VTAdmin#vTExplain}. 1052 * @param error Error, if any 1053 * @param [response] VTExplainResponse 1054 */ 1055 type VTExplainCallback = (error: (Error|null), response?: vtadmin.VTExplainResponse) => void; 1056 } 1057 1058 /** Properties of a Cluster. */ 1059 interface ICluster { 1060 1061 /** Cluster id */ 1062 id?: (string|null); 1063 1064 /** Cluster name */ 1065 name?: (string|null); 1066 } 1067 1068 /** Represents a Cluster. */ 1069 class Cluster implements ICluster { 1070 1071 /** 1072 * Constructs a new Cluster. 1073 * @param [properties] Properties to set 1074 */ 1075 constructor(properties?: vtadmin.ICluster); 1076 1077 /** Cluster id. */ 1078 public id: string; 1079 1080 /** Cluster name. */ 1081 public name: string; 1082 1083 /** 1084 * Creates a new Cluster instance using the specified properties. 1085 * @param [properties] Properties to set 1086 * @returns Cluster instance 1087 */ 1088 public static create(properties?: vtadmin.ICluster): vtadmin.Cluster; 1089 1090 /** 1091 * Encodes the specified Cluster message. Does not implicitly {@link vtadmin.Cluster.verify|verify} messages. 1092 * @param message Cluster message or plain object to encode 1093 * @param [writer] Writer to encode to 1094 * @returns Writer 1095 */ 1096 public static encode(message: vtadmin.ICluster, writer?: $protobuf.Writer): $protobuf.Writer; 1097 1098 /** 1099 * Encodes the specified Cluster message, length delimited. Does not implicitly {@link vtadmin.Cluster.verify|verify} messages. 1100 * @param message Cluster message or plain object to encode 1101 * @param [writer] Writer to encode to 1102 * @returns Writer 1103 */ 1104 public static encodeDelimited(message: vtadmin.ICluster, writer?: $protobuf.Writer): $protobuf.Writer; 1105 1106 /** 1107 * Decodes a Cluster message from the specified reader or buffer. 1108 * @param reader Reader or buffer to decode from 1109 * @param [length] Message length if known beforehand 1110 * @returns Cluster 1111 * @throws {Error} If the payload is not a reader or valid buffer 1112 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1113 */ 1114 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.Cluster; 1115 1116 /** 1117 * Decodes a Cluster message from the specified reader or buffer, length delimited. 1118 * @param reader Reader or buffer to decode from 1119 * @returns Cluster 1120 * @throws {Error} If the payload is not a reader or valid buffer 1121 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1122 */ 1123 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.Cluster; 1124 1125 /** 1126 * Verifies a Cluster message. 1127 * @param message Plain object to verify 1128 * @returns `null` if valid, otherwise the reason why it is not 1129 */ 1130 public static verify(message: { [k: string]: any }): (string|null); 1131 1132 /** 1133 * Creates a Cluster message from a plain object. Also converts values to their respective internal types. 1134 * @param object Plain object 1135 * @returns Cluster 1136 */ 1137 public static fromObject(object: { [k: string]: any }): vtadmin.Cluster; 1138 1139 /** 1140 * Creates a plain object from a Cluster message. Also converts values to other types if specified. 1141 * @param message Cluster 1142 * @param [options] Conversion options 1143 * @returns Plain object 1144 */ 1145 public static toObject(message: vtadmin.Cluster, options?: $protobuf.IConversionOptions): { [k: string]: any }; 1146 1147 /** 1148 * Converts this Cluster to JSON. 1149 * @returns JSON object 1150 */ 1151 public toJSON(): { [k: string]: any }; 1152 } 1153 1154 /** Properties of a ClusterBackup. */ 1155 interface IClusterBackup { 1156 1157 /** ClusterBackup cluster */ 1158 cluster?: (vtadmin.ICluster|null); 1159 1160 /** ClusterBackup backup */ 1161 backup?: (mysqlctl.IBackupInfo|null); 1162 } 1163 1164 /** Represents a ClusterBackup. */ 1165 class ClusterBackup implements IClusterBackup { 1166 1167 /** 1168 * Constructs a new ClusterBackup. 1169 * @param [properties] Properties to set 1170 */ 1171 constructor(properties?: vtadmin.IClusterBackup); 1172 1173 /** ClusterBackup cluster. */ 1174 public cluster?: (vtadmin.ICluster|null); 1175 1176 /** ClusterBackup backup. */ 1177 public backup?: (mysqlctl.IBackupInfo|null); 1178 1179 /** 1180 * Creates a new ClusterBackup instance using the specified properties. 1181 * @param [properties] Properties to set 1182 * @returns ClusterBackup instance 1183 */ 1184 public static create(properties?: vtadmin.IClusterBackup): vtadmin.ClusterBackup; 1185 1186 /** 1187 * Encodes the specified ClusterBackup message. Does not implicitly {@link vtadmin.ClusterBackup.verify|verify} messages. 1188 * @param message ClusterBackup message or plain object to encode 1189 * @param [writer] Writer to encode to 1190 * @returns Writer 1191 */ 1192 public static encode(message: vtadmin.IClusterBackup, writer?: $protobuf.Writer): $protobuf.Writer; 1193 1194 /** 1195 * Encodes the specified ClusterBackup message, length delimited. Does not implicitly {@link vtadmin.ClusterBackup.verify|verify} messages. 1196 * @param message ClusterBackup message or plain object to encode 1197 * @param [writer] Writer to encode to 1198 * @returns Writer 1199 */ 1200 public static encodeDelimited(message: vtadmin.IClusterBackup, writer?: $protobuf.Writer): $protobuf.Writer; 1201 1202 /** 1203 * Decodes a ClusterBackup message from the specified reader or buffer. 1204 * @param reader Reader or buffer to decode from 1205 * @param [length] Message length if known beforehand 1206 * @returns ClusterBackup 1207 * @throws {Error} If the payload is not a reader or valid buffer 1208 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1209 */ 1210 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ClusterBackup; 1211 1212 /** 1213 * Decodes a ClusterBackup message from the specified reader or buffer, length delimited. 1214 * @param reader Reader or buffer to decode from 1215 * @returns ClusterBackup 1216 * @throws {Error} If the payload is not a reader or valid buffer 1217 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1218 */ 1219 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ClusterBackup; 1220 1221 /** 1222 * Verifies a ClusterBackup message. 1223 * @param message Plain object to verify 1224 * @returns `null` if valid, otherwise the reason why it is not 1225 */ 1226 public static verify(message: { [k: string]: any }): (string|null); 1227 1228 /** 1229 * Creates a ClusterBackup message from a plain object. Also converts values to their respective internal types. 1230 * @param object Plain object 1231 * @returns ClusterBackup 1232 */ 1233 public static fromObject(object: { [k: string]: any }): vtadmin.ClusterBackup; 1234 1235 /** 1236 * Creates a plain object from a ClusterBackup message. Also converts values to other types if specified. 1237 * @param message ClusterBackup 1238 * @param [options] Conversion options 1239 * @returns Plain object 1240 */ 1241 public static toObject(message: vtadmin.ClusterBackup, options?: $protobuf.IConversionOptions): { [k: string]: any }; 1242 1243 /** 1244 * Converts this ClusterBackup to JSON. 1245 * @returns JSON object 1246 */ 1247 public toJSON(): { [k: string]: any }; 1248 } 1249 1250 /** Properties of a ClusterCellsAliases. */ 1251 interface IClusterCellsAliases { 1252 1253 /** ClusterCellsAliases cluster */ 1254 cluster?: (vtadmin.ICluster|null); 1255 1256 /** ClusterCellsAliases aliases */ 1257 aliases?: ({ [k: string]: topodata.ICellsAlias }|null); 1258 } 1259 1260 /** Represents a ClusterCellsAliases. */ 1261 class ClusterCellsAliases implements IClusterCellsAliases { 1262 1263 /** 1264 * Constructs a new ClusterCellsAliases. 1265 * @param [properties] Properties to set 1266 */ 1267 constructor(properties?: vtadmin.IClusterCellsAliases); 1268 1269 /** ClusterCellsAliases cluster. */ 1270 public cluster?: (vtadmin.ICluster|null); 1271 1272 /** ClusterCellsAliases aliases. */ 1273 public aliases: { [k: string]: topodata.ICellsAlias }; 1274 1275 /** 1276 * Creates a new ClusterCellsAliases instance using the specified properties. 1277 * @param [properties] Properties to set 1278 * @returns ClusterCellsAliases instance 1279 */ 1280 public static create(properties?: vtadmin.IClusterCellsAliases): vtadmin.ClusterCellsAliases; 1281 1282 /** 1283 * Encodes the specified ClusterCellsAliases message. Does not implicitly {@link vtadmin.ClusterCellsAliases.verify|verify} messages. 1284 * @param message ClusterCellsAliases message or plain object to encode 1285 * @param [writer] Writer to encode to 1286 * @returns Writer 1287 */ 1288 public static encode(message: vtadmin.IClusterCellsAliases, writer?: $protobuf.Writer): $protobuf.Writer; 1289 1290 /** 1291 * Encodes the specified ClusterCellsAliases message, length delimited. Does not implicitly {@link vtadmin.ClusterCellsAliases.verify|verify} messages. 1292 * @param message ClusterCellsAliases message or plain object to encode 1293 * @param [writer] Writer to encode to 1294 * @returns Writer 1295 */ 1296 public static encodeDelimited(message: vtadmin.IClusterCellsAliases, writer?: $protobuf.Writer): $protobuf.Writer; 1297 1298 /** 1299 * Decodes a ClusterCellsAliases message from the specified reader or buffer. 1300 * @param reader Reader or buffer to decode from 1301 * @param [length] Message length if known beforehand 1302 * @returns ClusterCellsAliases 1303 * @throws {Error} If the payload is not a reader or valid buffer 1304 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1305 */ 1306 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ClusterCellsAliases; 1307 1308 /** 1309 * Decodes a ClusterCellsAliases message from the specified reader or buffer, length delimited. 1310 * @param reader Reader or buffer to decode from 1311 * @returns ClusterCellsAliases 1312 * @throws {Error} If the payload is not a reader or valid buffer 1313 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1314 */ 1315 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ClusterCellsAliases; 1316 1317 /** 1318 * Verifies a ClusterCellsAliases message. 1319 * @param message Plain object to verify 1320 * @returns `null` if valid, otherwise the reason why it is not 1321 */ 1322 public static verify(message: { [k: string]: any }): (string|null); 1323 1324 /** 1325 * Creates a ClusterCellsAliases message from a plain object. Also converts values to their respective internal types. 1326 * @param object Plain object 1327 * @returns ClusterCellsAliases 1328 */ 1329 public static fromObject(object: { [k: string]: any }): vtadmin.ClusterCellsAliases; 1330 1331 /** 1332 * Creates a plain object from a ClusterCellsAliases message. Also converts values to other types if specified. 1333 * @param message ClusterCellsAliases 1334 * @param [options] Conversion options 1335 * @returns Plain object 1336 */ 1337 public static toObject(message: vtadmin.ClusterCellsAliases, options?: $protobuf.IConversionOptions): { [k: string]: any }; 1338 1339 /** 1340 * Converts this ClusterCellsAliases to JSON. 1341 * @returns JSON object 1342 */ 1343 public toJSON(): { [k: string]: any }; 1344 } 1345 1346 /** Properties of a ClusterCellInfo. */ 1347 interface IClusterCellInfo { 1348 1349 /** ClusterCellInfo cluster */ 1350 cluster?: (vtadmin.ICluster|null); 1351 1352 /** ClusterCellInfo name */ 1353 name?: (string|null); 1354 1355 /** ClusterCellInfo cell_info */ 1356 cell_info?: (topodata.ICellInfo|null); 1357 } 1358 1359 /** Represents a ClusterCellInfo. */ 1360 class ClusterCellInfo implements IClusterCellInfo { 1361 1362 /** 1363 * Constructs a new ClusterCellInfo. 1364 * @param [properties] Properties to set 1365 */ 1366 constructor(properties?: vtadmin.IClusterCellInfo); 1367 1368 /** ClusterCellInfo cluster. */ 1369 public cluster?: (vtadmin.ICluster|null); 1370 1371 /** ClusterCellInfo name. */ 1372 public name: string; 1373 1374 /** ClusterCellInfo cell_info. */ 1375 public cell_info?: (topodata.ICellInfo|null); 1376 1377 /** 1378 * Creates a new ClusterCellInfo instance using the specified properties. 1379 * @param [properties] Properties to set 1380 * @returns ClusterCellInfo instance 1381 */ 1382 public static create(properties?: vtadmin.IClusterCellInfo): vtadmin.ClusterCellInfo; 1383 1384 /** 1385 * Encodes the specified ClusterCellInfo message. Does not implicitly {@link vtadmin.ClusterCellInfo.verify|verify} messages. 1386 * @param message ClusterCellInfo message or plain object to encode 1387 * @param [writer] Writer to encode to 1388 * @returns Writer 1389 */ 1390 public static encode(message: vtadmin.IClusterCellInfo, writer?: $protobuf.Writer): $protobuf.Writer; 1391 1392 /** 1393 * Encodes the specified ClusterCellInfo message, length delimited. Does not implicitly {@link vtadmin.ClusterCellInfo.verify|verify} messages. 1394 * @param message ClusterCellInfo message or plain object to encode 1395 * @param [writer] Writer to encode to 1396 * @returns Writer 1397 */ 1398 public static encodeDelimited(message: vtadmin.IClusterCellInfo, writer?: $protobuf.Writer): $protobuf.Writer; 1399 1400 /** 1401 * Decodes a ClusterCellInfo message from the specified reader or buffer. 1402 * @param reader Reader or buffer to decode from 1403 * @param [length] Message length if known beforehand 1404 * @returns ClusterCellInfo 1405 * @throws {Error} If the payload is not a reader or valid buffer 1406 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1407 */ 1408 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ClusterCellInfo; 1409 1410 /** 1411 * Decodes a ClusterCellInfo message from the specified reader or buffer, length delimited. 1412 * @param reader Reader or buffer to decode from 1413 * @returns ClusterCellInfo 1414 * @throws {Error} If the payload is not a reader or valid buffer 1415 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1416 */ 1417 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ClusterCellInfo; 1418 1419 /** 1420 * Verifies a ClusterCellInfo message. 1421 * @param message Plain object to verify 1422 * @returns `null` if valid, otherwise the reason why it is not 1423 */ 1424 public static verify(message: { [k: string]: any }): (string|null); 1425 1426 /** 1427 * Creates a ClusterCellInfo message from a plain object. Also converts values to their respective internal types. 1428 * @param object Plain object 1429 * @returns ClusterCellInfo 1430 */ 1431 public static fromObject(object: { [k: string]: any }): vtadmin.ClusterCellInfo; 1432 1433 /** 1434 * Creates a plain object from a ClusterCellInfo message. Also converts values to other types if specified. 1435 * @param message ClusterCellInfo 1436 * @param [options] Conversion options 1437 * @returns Plain object 1438 */ 1439 public static toObject(message: vtadmin.ClusterCellInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; 1440 1441 /** 1442 * Converts this ClusterCellInfo to JSON. 1443 * @returns JSON object 1444 */ 1445 public toJSON(): { [k: string]: any }; 1446 } 1447 1448 /** Properties of a ClusterShardReplicationPosition. */ 1449 interface IClusterShardReplicationPosition { 1450 1451 /** ClusterShardReplicationPosition cluster */ 1452 cluster?: (vtadmin.ICluster|null); 1453 1454 /** ClusterShardReplicationPosition keyspace */ 1455 keyspace?: (string|null); 1456 1457 /** ClusterShardReplicationPosition shard */ 1458 shard?: (string|null); 1459 1460 /** ClusterShardReplicationPosition position_info */ 1461 position_info?: (vtctldata.IShardReplicationPositionsResponse|null); 1462 } 1463 1464 /** Represents a ClusterShardReplicationPosition. */ 1465 class ClusterShardReplicationPosition implements IClusterShardReplicationPosition { 1466 1467 /** 1468 * Constructs a new ClusterShardReplicationPosition. 1469 * @param [properties] Properties to set 1470 */ 1471 constructor(properties?: vtadmin.IClusterShardReplicationPosition); 1472 1473 /** ClusterShardReplicationPosition cluster. */ 1474 public cluster?: (vtadmin.ICluster|null); 1475 1476 /** ClusterShardReplicationPosition keyspace. */ 1477 public keyspace: string; 1478 1479 /** ClusterShardReplicationPosition shard. */ 1480 public shard: string; 1481 1482 /** ClusterShardReplicationPosition position_info. */ 1483 public position_info?: (vtctldata.IShardReplicationPositionsResponse|null); 1484 1485 /** 1486 * Creates a new ClusterShardReplicationPosition instance using the specified properties. 1487 * @param [properties] Properties to set 1488 * @returns ClusterShardReplicationPosition instance 1489 */ 1490 public static create(properties?: vtadmin.IClusterShardReplicationPosition): vtadmin.ClusterShardReplicationPosition; 1491 1492 /** 1493 * Encodes the specified ClusterShardReplicationPosition message. Does not implicitly {@link vtadmin.ClusterShardReplicationPosition.verify|verify} messages. 1494 * @param message ClusterShardReplicationPosition message or plain object to encode 1495 * @param [writer] Writer to encode to 1496 * @returns Writer 1497 */ 1498 public static encode(message: vtadmin.IClusterShardReplicationPosition, writer?: $protobuf.Writer): $protobuf.Writer; 1499 1500 /** 1501 * Encodes the specified ClusterShardReplicationPosition message, length delimited. Does not implicitly {@link vtadmin.ClusterShardReplicationPosition.verify|verify} messages. 1502 * @param message ClusterShardReplicationPosition message or plain object to encode 1503 * @param [writer] Writer to encode to 1504 * @returns Writer 1505 */ 1506 public static encodeDelimited(message: vtadmin.IClusterShardReplicationPosition, writer?: $protobuf.Writer): $protobuf.Writer; 1507 1508 /** 1509 * Decodes a ClusterShardReplicationPosition message from the specified reader or buffer. 1510 * @param reader Reader or buffer to decode from 1511 * @param [length] Message length if known beforehand 1512 * @returns ClusterShardReplicationPosition 1513 * @throws {Error} If the payload is not a reader or valid buffer 1514 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1515 */ 1516 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ClusterShardReplicationPosition; 1517 1518 /** 1519 * Decodes a ClusterShardReplicationPosition message from the specified reader or buffer, length delimited. 1520 * @param reader Reader or buffer to decode from 1521 * @returns ClusterShardReplicationPosition 1522 * @throws {Error} If the payload is not a reader or valid buffer 1523 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1524 */ 1525 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ClusterShardReplicationPosition; 1526 1527 /** 1528 * Verifies a ClusterShardReplicationPosition message. 1529 * @param message Plain object to verify 1530 * @returns `null` if valid, otherwise the reason why it is not 1531 */ 1532 public static verify(message: { [k: string]: any }): (string|null); 1533 1534 /** 1535 * Creates a ClusterShardReplicationPosition message from a plain object. Also converts values to their respective internal types. 1536 * @param object Plain object 1537 * @returns ClusterShardReplicationPosition 1538 */ 1539 public static fromObject(object: { [k: string]: any }): vtadmin.ClusterShardReplicationPosition; 1540 1541 /** 1542 * Creates a plain object from a ClusterShardReplicationPosition message. Also converts values to other types if specified. 1543 * @param message ClusterShardReplicationPosition 1544 * @param [options] Conversion options 1545 * @returns Plain object 1546 */ 1547 public static toObject(message: vtadmin.ClusterShardReplicationPosition, options?: $protobuf.IConversionOptions): { [k: string]: any }; 1548 1549 /** 1550 * Converts this ClusterShardReplicationPosition to JSON. 1551 * @returns JSON object 1552 */ 1553 public toJSON(): { [k: string]: any }; 1554 } 1555 1556 /** Properties of a ClusterWorkflows. */ 1557 interface IClusterWorkflows { 1558 1559 /** ClusterWorkflows workflows */ 1560 workflows?: (vtadmin.IWorkflow[]|null); 1561 1562 /** ClusterWorkflows warnings */ 1563 warnings?: (string[]|null); 1564 } 1565 1566 /** Represents a ClusterWorkflows. */ 1567 class ClusterWorkflows implements IClusterWorkflows { 1568 1569 /** 1570 * Constructs a new ClusterWorkflows. 1571 * @param [properties] Properties to set 1572 */ 1573 constructor(properties?: vtadmin.IClusterWorkflows); 1574 1575 /** ClusterWorkflows workflows. */ 1576 public workflows: vtadmin.IWorkflow[]; 1577 1578 /** ClusterWorkflows warnings. */ 1579 public warnings: string[]; 1580 1581 /** 1582 * Creates a new ClusterWorkflows instance using the specified properties. 1583 * @param [properties] Properties to set 1584 * @returns ClusterWorkflows instance 1585 */ 1586 public static create(properties?: vtadmin.IClusterWorkflows): vtadmin.ClusterWorkflows; 1587 1588 /** 1589 * Encodes the specified ClusterWorkflows message. Does not implicitly {@link vtadmin.ClusterWorkflows.verify|verify} messages. 1590 * @param message ClusterWorkflows message or plain object to encode 1591 * @param [writer] Writer to encode to 1592 * @returns Writer 1593 */ 1594 public static encode(message: vtadmin.IClusterWorkflows, writer?: $protobuf.Writer): $protobuf.Writer; 1595 1596 /** 1597 * Encodes the specified ClusterWorkflows message, length delimited. Does not implicitly {@link vtadmin.ClusterWorkflows.verify|verify} messages. 1598 * @param message ClusterWorkflows message or plain object to encode 1599 * @param [writer] Writer to encode to 1600 * @returns Writer 1601 */ 1602 public static encodeDelimited(message: vtadmin.IClusterWorkflows, writer?: $protobuf.Writer): $protobuf.Writer; 1603 1604 /** 1605 * Decodes a ClusterWorkflows message from the specified reader or buffer. 1606 * @param reader Reader or buffer to decode from 1607 * @param [length] Message length if known beforehand 1608 * @returns ClusterWorkflows 1609 * @throws {Error} If the payload is not a reader or valid buffer 1610 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1611 */ 1612 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ClusterWorkflows; 1613 1614 /** 1615 * Decodes a ClusterWorkflows message from the specified reader or buffer, length delimited. 1616 * @param reader Reader or buffer to decode from 1617 * @returns ClusterWorkflows 1618 * @throws {Error} If the payload is not a reader or valid buffer 1619 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1620 */ 1621 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ClusterWorkflows; 1622 1623 /** 1624 * Verifies a ClusterWorkflows message. 1625 * @param message Plain object to verify 1626 * @returns `null` if valid, otherwise the reason why it is not 1627 */ 1628 public static verify(message: { [k: string]: any }): (string|null); 1629 1630 /** 1631 * Creates a ClusterWorkflows message from a plain object. Also converts values to their respective internal types. 1632 * @param object Plain object 1633 * @returns ClusterWorkflows 1634 */ 1635 public static fromObject(object: { [k: string]: any }): vtadmin.ClusterWorkflows; 1636 1637 /** 1638 * Creates a plain object from a ClusterWorkflows message. Also converts values to other types if specified. 1639 * @param message ClusterWorkflows 1640 * @param [options] Conversion options 1641 * @returns Plain object 1642 */ 1643 public static toObject(message: vtadmin.ClusterWorkflows, options?: $protobuf.IConversionOptions): { [k: string]: any }; 1644 1645 /** 1646 * Converts this ClusterWorkflows to JSON. 1647 * @returns JSON object 1648 */ 1649 public toJSON(): { [k: string]: any }; 1650 } 1651 1652 /** Properties of a Keyspace. */ 1653 interface IKeyspace { 1654 1655 /** Keyspace cluster */ 1656 cluster?: (vtadmin.ICluster|null); 1657 1658 /** Keyspace keyspace */ 1659 keyspace?: (vtctldata.IKeyspace|null); 1660 1661 /** Keyspace shards */ 1662 shards?: ({ [k: string]: vtctldata.IShard }|null); 1663 } 1664 1665 /** Represents a Keyspace. */ 1666 class Keyspace implements IKeyspace { 1667 1668 /** 1669 * Constructs a new Keyspace. 1670 * @param [properties] Properties to set 1671 */ 1672 constructor(properties?: vtadmin.IKeyspace); 1673 1674 /** Keyspace cluster. */ 1675 public cluster?: (vtadmin.ICluster|null); 1676 1677 /** Keyspace keyspace. */ 1678 public keyspace?: (vtctldata.IKeyspace|null); 1679 1680 /** Keyspace shards. */ 1681 public shards: { [k: string]: vtctldata.IShard }; 1682 1683 /** 1684 * Creates a new Keyspace instance using the specified properties. 1685 * @param [properties] Properties to set 1686 * @returns Keyspace instance 1687 */ 1688 public static create(properties?: vtadmin.IKeyspace): vtadmin.Keyspace; 1689 1690 /** 1691 * Encodes the specified Keyspace message. Does not implicitly {@link vtadmin.Keyspace.verify|verify} messages. 1692 * @param message Keyspace message or plain object to encode 1693 * @param [writer] Writer to encode to 1694 * @returns Writer 1695 */ 1696 public static encode(message: vtadmin.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; 1697 1698 /** 1699 * Encodes the specified Keyspace message, length delimited. Does not implicitly {@link vtadmin.Keyspace.verify|verify} messages. 1700 * @param message Keyspace message or plain object to encode 1701 * @param [writer] Writer to encode to 1702 * @returns Writer 1703 */ 1704 public static encodeDelimited(message: vtadmin.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; 1705 1706 /** 1707 * Decodes a Keyspace message from the specified reader or buffer. 1708 * @param reader Reader or buffer to decode from 1709 * @param [length] Message length if known beforehand 1710 * @returns Keyspace 1711 * @throws {Error} If the payload is not a reader or valid buffer 1712 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1713 */ 1714 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.Keyspace; 1715 1716 /** 1717 * Decodes a Keyspace message from the specified reader or buffer, length delimited. 1718 * @param reader Reader or buffer to decode from 1719 * @returns Keyspace 1720 * @throws {Error} If the payload is not a reader or valid buffer 1721 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1722 */ 1723 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.Keyspace; 1724 1725 /** 1726 * Verifies a Keyspace message. 1727 * @param message Plain object to verify 1728 * @returns `null` if valid, otherwise the reason why it is not 1729 */ 1730 public static verify(message: { [k: string]: any }): (string|null); 1731 1732 /** 1733 * Creates a Keyspace message from a plain object. Also converts values to their respective internal types. 1734 * @param object Plain object 1735 * @returns Keyspace 1736 */ 1737 public static fromObject(object: { [k: string]: any }): vtadmin.Keyspace; 1738 1739 /** 1740 * Creates a plain object from a Keyspace message. Also converts values to other types if specified. 1741 * @param message Keyspace 1742 * @param [options] Conversion options 1743 * @returns Plain object 1744 */ 1745 public static toObject(message: vtadmin.Keyspace, options?: $protobuf.IConversionOptions): { [k: string]: any }; 1746 1747 /** 1748 * Converts this Keyspace to JSON. 1749 * @returns JSON object 1750 */ 1751 public toJSON(): { [k: string]: any }; 1752 } 1753 1754 /** Properties of a Schema. */ 1755 interface ISchema { 1756 1757 /** Schema cluster */ 1758 cluster?: (vtadmin.ICluster|null); 1759 1760 /** Schema keyspace */ 1761 keyspace?: (string|null); 1762 1763 /** Schema table_definitions */ 1764 table_definitions?: (tabletmanagerdata.ITableDefinition[]|null); 1765 1766 /** Schema table_sizes */ 1767 table_sizes?: ({ [k: string]: vtadmin.Schema.ITableSize }|null); 1768 } 1769 1770 /** Represents a Schema. */ 1771 class Schema implements ISchema { 1772 1773 /** 1774 * Constructs a new Schema. 1775 * @param [properties] Properties to set 1776 */ 1777 constructor(properties?: vtadmin.ISchema); 1778 1779 /** Schema cluster. */ 1780 public cluster?: (vtadmin.ICluster|null); 1781 1782 /** Schema keyspace. */ 1783 public keyspace: string; 1784 1785 /** Schema table_definitions. */ 1786 public table_definitions: tabletmanagerdata.ITableDefinition[]; 1787 1788 /** Schema table_sizes. */ 1789 public table_sizes: { [k: string]: vtadmin.Schema.ITableSize }; 1790 1791 /** 1792 * Creates a new Schema instance using the specified properties. 1793 * @param [properties] Properties to set 1794 * @returns Schema instance 1795 */ 1796 public static create(properties?: vtadmin.ISchema): vtadmin.Schema; 1797 1798 /** 1799 * Encodes the specified Schema message. Does not implicitly {@link vtadmin.Schema.verify|verify} messages. 1800 * @param message Schema message or plain object to encode 1801 * @param [writer] Writer to encode to 1802 * @returns Writer 1803 */ 1804 public static encode(message: vtadmin.ISchema, writer?: $protobuf.Writer): $protobuf.Writer; 1805 1806 /** 1807 * Encodes the specified Schema message, length delimited. Does not implicitly {@link vtadmin.Schema.verify|verify} messages. 1808 * @param message Schema message or plain object to encode 1809 * @param [writer] Writer to encode to 1810 * @returns Writer 1811 */ 1812 public static encodeDelimited(message: vtadmin.ISchema, writer?: $protobuf.Writer): $protobuf.Writer; 1813 1814 /** 1815 * Decodes a Schema message from the specified reader or buffer. 1816 * @param reader Reader or buffer to decode from 1817 * @param [length] Message length if known beforehand 1818 * @returns Schema 1819 * @throws {Error} If the payload is not a reader or valid buffer 1820 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1821 */ 1822 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.Schema; 1823 1824 /** 1825 * Decodes a Schema message from the specified reader or buffer, length delimited. 1826 * @param reader Reader or buffer to decode from 1827 * @returns Schema 1828 * @throws {Error} If the payload is not a reader or valid buffer 1829 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1830 */ 1831 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.Schema; 1832 1833 /** 1834 * Verifies a Schema message. 1835 * @param message Plain object to verify 1836 * @returns `null` if valid, otherwise the reason why it is not 1837 */ 1838 public static verify(message: { [k: string]: any }): (string|null); 1839 1840 /** 1841 * Creates a Schema message from a plain object. Also converts values to their respective internal types. 1842 * @param object Plain object 1843 * @returns Schema 1844 */ 1845 public static fromObject(object: { [k: string]: any }): vtadmin.Schema; 1846 1847 /** 1848 * Creates a plain object from a Schema message. Also converts values to other types if specified. 1849 * @param message Schema 1850 * @param [options] Conversion options 1851 * @returns Plain object 1852 */ 1853 public static toObject(message: vtadmin.Schema, options?: $protobuf.IConversionOptions): { [k: string]: any }; 1854 1855 /** 1856 * Converts this Schema to JSON. 1857 * @returns JSON object 1858 */ 1859 public toJSON(): { [k: string]: any }; 1860 } 1861 1862 namespace Schema { 1863 1864 /** Properties of a ShardTableSize. */ 1865 interface IShardTableSize { 1866 1867 /** ShardTableSize row_count */ 1868 row_count?: (number|Long|null); 1869 1870 /** ShardTableSize data_length */ 1871 data_length?: (number|Long|null); 1872 } 1873 1874 /** Represents a ShardTableSize. */ 1875 class ShardTableSize implements IShardTableSize { 1876 1877 /** 1878 * Constructs a new ShardTableSize. 1879 * @param [properties] Properties to set 1880 */ 1881 constructor(properties?: vtadmin.Schema.IShardTableSize); 1882 1883 /** ShardTableSize row_count. */ 1884 public row_count: (number|Long); 1885 1886 /** ShardTableSize data_length. */ 1887 public data_length: (number|Long); 1888 1889 /** 1890 * Creates a new ShardTableSize instance using the specified properties. 1891 * @param [properties] Properties to set 1892 * @returns ShardTableSize instance 1893 */ 1894 public static create(properties?: vtadmin.Schema.IShardTableSize): vtadmin.Schema.ShardTableSize; 1895 1896 /** 1897 * Encodes the specified ShardTableSize message. Does not implicitly {@link vtadmin.Schema.ShardTableSize.verify|verify} messages. 1898 * @param message ShardTableSize message or plain object to encode 1899 * @param [writer] Writer to encode to 1900 * @returns Writer 1901 */ 1902 public static encode(message: vtadmin.Schema.IShardTableSize, writer?: $protobuf.Writer): $protobuf.Writer; 1903 1904 /** 1905 * Encodes the specified ShardTableSize message, length delimited. Does not implicitly {@link vtadmin.Schema.ShardTableSize.verify|verify} messages. 1906 * @param message ShardTableSize message or plain object to encode 1907 * @param [writer] Writer to encode to 1908 * @returns Writer 1909 */ 1910 public static encodeDelimited(message: vtadmin.Schema.IShardTableSize, writer?: $protobuf.Writer): $protobuf.Writer; 1911 1912 /** 1913 * Decodes a ShardTableSize message from the specified reader or buffer. 1914 * @param reader Reader or buffer to decode from 1915 * @param [length] Message length if known beforehand 1916 * @returns ShardTableSize 1917 * @throws {Error} If the payload is not a reader or valid buffer 1918 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1919 */ 1920 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.Schema.ShardTableSize; 1921 1922 /** 1923 * Decodes a ShardTableSize message from the specified reader or buffer, length delimited. 1924 * @param reader Reader or buffer to decode from 1925 * @returns ShardTableSize 1926 * @throws {Error} If the payload is not a reader or valid buffer 1927 * @throws {$protobuf.util.ProtocolError} If required fields are missing 1928 */ 1929 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.Schema.ShardTableSize; 1930 1931 /** 1932 * Verifies a ShardTableSize message. 1933 * @param message Plain object to verify 1934 * @returns `null` if valid, otherwise the reason why it is not 1935 */ 1936 public static verify(message: { [k: string]: any }): (string|null); 1937 1938 /** 1939 * Creates a ShardTableSize message from a plain object. Also converts values to their respective internal types. 1940 * @param object Plain object 1941 * @returns ShardTableSize 1942 */ 1943 public static fromObject(object: { [k: string]: any }): vtadmin.Schema.ShardTableSize; 1944 1945 /** 1946 * Creates a plain object from a ShardTableSize message. Also converts values to other types if specified. 1947 * @param message ShardTableSize 1948 * @param [options] Conversion options 1949 * @returns Plain object 1950 */ 1951 public static toObject(message: vtadmin.Schema.ShardTableSize, options?: $protobuf.IConversionOptions): { [k: string]: any }; 1952 1953 /** 1954 * Converts this ShardTableSize to JSON. 1955 * @returns JSON object 1956 */ 1957 public toJSON(): { [k: string]: any }; 1958 } 1959 1960 /** Properties of a TableSize. */ 1961 interface ITableSize { 1962 1963 /** TableSize row_count */ 1964 row_count?: (number|Long|null); 1965 1966 /** TableSize data_length */ 1967 data_length?: (number|Long|null); 1968 1969 /** TableSize by_shard */ 1970 by_shard?: ({ [k: string]: vtadmin.Schema.IShardTableSize }|null); 1971 } 1972 1973 /** Represents a TableSize. */ 1974 class TableSize implements ITableSize { 1975 1976 /** 1977 * Constructs a new TableSize. 1978 * @param [properties] Properties to set 1979 */ 1980 constructor(properties?: vtadmin.Schema.ITableSize); 1981 1982 /** TableSize row_count. */ 1983 public row_count: (number|Long); 1984 1985 /** TableSize data_length. */ 1986 public data_length: (number|Long); 1987 1988 /** TableSize by_shard. */ 1989 public by_shard: { [k: string]: vtadmin.Schema.IShardTableSize }; 1990 1991 /** 1992 * Creates a new TableSize instance using the specified properties. 1993 * @param [properties] Properties to set 1994 * @returns TableSize instance 1995 */ 1996 public static create(properties?: vtadmin.Schema.ITableSize): vtadmin.Schema.TableSize; 1997 1998 /** 1999 * Encodes the specified TableSize message. Does not implicitly {@link vtadmin.Schema.TableSize.verify|verify} messages. 2000 * @param message TableSize message or plain object to encode 2001 * @param [writer] Writer to encode to 2002 * @returns Writer 2003 */ 2004 public static encode(message: vtadmin.Schema.ITableSize, writer?: $protobuf.Writer): $protobuf.Writer; 2005 2006 /** 2007 * Encodes the specified TableSize message, length delimited. Does not implicitly {@link vtadmin.Schema.TableSize.verify|verify} messages. 2008 * @param message TableSize message or plain object to encode 2009 * @param [writer] Writer to encode to 2010 * @returns Writer 2011 */ 2012 public static encodeDelimited(message: vtadmin.Schema.ITableSize, writer?: $protobuf.Writer): $protobuf.Writer; 2013 2014 /** 2015 * Decodes a TableSize message from the specified reader or buffer. 2016 * @param reader Reader or buffer to decode from 2017 * @param [length] Message length if known beforehand 2018 * @returns TableSize 2019 * @throws {Error} If the payload is not a reader or valid buffer 2020 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2021 */ 2022 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.Schema.TableSize; 2023 2024 /** 2025 * Decodes a TableSize message from the specified reader or buffer, length delimited. 2026 * @param reader Reader or buffer to decode from 2027 * @returns TableSize 2028 * @throws {Error} If the payload is not a reader or valid buffer 2029 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2030 */ 2031 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.Schema.TableSize; 2032 2033 /** 2034 * Verifies a TableSize message. 2035 * @param message Plain object to verify 2036 * @returns `null` if valid, otherwise the reason why it is not 2037 */ 2038 public static verify(message: { [k: string]: any }): (string|null); 2039 2040 /** 2041 * Creates a TableSize message from a plain object. Also converts values to their respective internal types. 2042 * @param object Plain object 2043 * @returns TableSize 2044 */ 2045 public static fromObject(object: { [k: string]: any }): vtadmin.Schema.TableSize; 2046 2047 /** 2048 * Creates a plain object from a TableSize message. Also converts values to other types if specified. 2049 * @param message TableSize 2050 * @param [options] Conversion options 2051 * @returns Plain object 2052 */ 2053 public static toObject(message: vtadmin.Schema.TableSize, options?: $protobuf.IConversionOptions): { [k: string]: any }; 2054 2055 /** 2056 * Converts this TableSize to JSON. 2057 * @returns JSON object 2058 */ 2059 public toJSON(): { [k: string]: any }; 2060 } 2061 } 2062 2063 /** Properties of a Shard. */ 2064 interface IShard { 2065 2066 /** Shard cluster */ 2067 cluster?: (vtadmin.ICluster|null); 2068 2069 /** Shard shard */ 2070 shard?: (vtctldata.IShard|null); 2071 } 2072 2073 /** Represents a Shard. */ 2074 class Shard implements IShard { 2075 2076 /** 2077 * Constructs a new Shard. 2078 * @param [properties] Properties to set 2079 */ 2080 constructor(properties?: vtadmin.IShard); 2081 2082 /** Shard cluster. */ 2083 public cluster?: (vtadmin.ICluster|null); 2084 2085 /** Shard shard. */ 2086 public shard?: (vtctldata.IShard|null); 2087 2088 /** 2089 * Creates a new Shard instance using the specified properties. 2090 * @param [properties] Properties to set 2091 * @returns Shard instance 2092 */ 2093 public static create(properties?: vtadmin.IShard): vtadmin.Shard; 2094 2095 /** 2096 * Encodes the specified Shard message. Does not implicitly {@link vtadmin.Shard.verify|verify} messages. 2097 * @param message Shard message or plain object to encode 2098 * @param [writer] Writer to encode to 2099 * @returns Writer 2100 */ 2101 public static encode(message: vtadmin.IShard, writer?: $protobuf.Writer): $protobuf.Writer; 2102 2103 /** 2104 * Encodes the specified Shard message, length delimited. Does not implicitly {@link vtadmin.Shard.verify|verify} messages. 2105 * @param message Shard message or plain object to encode 2106 * @param [writer] Writer to encode to 2107 * @returns Writer 2108 */ 2109 public static encodeDelimited(message: vtadmin.IShard, writer?: $protobuf.Writer): $protobuf.Writer; 2110 2111 /** 2112 * Decodes a Shard message from the specified reader or buffer. 2113 * @param reader Reader or buffer to decode from 2114 * @param [length] Message length if known beforehand 2115 * @returns Shard 2116 * @throws {Error} If the payload is not a reader or valid buffer 2117 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2118 */ 2119 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.Shard; 2120 2121 /** 2122 * Decodes a Shard message from the specified reader or buffer, length delimited. 2123 * @param reader Reader or buffer to decode from 2124 * @returns Shard 2125 * @throws {Error} If the payload is not a reader or valid buffer 2126 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2127 */ 2128 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.Shard; 2129 2130 /** 2131 * Verifies a Shard message. 2132 * @param message Plain object to verify 2133 * @returns `null` if valid, otherwise the reason why it is not 2134 */ 2135 public static verify(message: { [k: string]: any }): (string|null); 2136 2137 /** 2138 * Creates a Shard message from a plain object. Also converts values to their respective internal types. 2139 * @param object Plain object 2140 * @returns Shard 2141 */ 2142 public static fromObject(object: { [k: string]: any }): vtadmin.Shard; 2143 2144 /** 2145 * Creates a plain object from a Shard message. Also converts values to other types if specified. 2146 * @param message Shard 2147 * @param [options] Conversion options 2148 * @returns Plain object 2149 */ 2150 public static toObject(message: vtadmin.Shard, options?: $protobuf.IConversionOptions): { [k: string]: any }; 2151 2152 /** 2153 * Converts this Shard to JSON. 2154 * @returns JSON object 2155 */ 2156 public toJSON(): { [k: string]: any }; 2157 } 2158 2159 /** Properties of a SrvVSchema. */ 2160 interface ISrvVSchema { 2161 2162 /** SrvVSchema cell */ 2163 cell?: (string|null); 2164 2165 /** SrvVSchema cluster */ 2166 cluster?: (vtadmin.ICluster|null); 2167 2168 /** SrvVSchema srv_v_schema */ 2169 srv_v_schema?: (vschema.ISrvVSchema|null); 2170 } 2171 2172 /** Represents a SrvVSchema. */ 2173 class SrvVSchema implements ISrvVSchema { 2174 2175 /** 2176 * Constructs a new SrvVSchema. 2177 * @param [properties] Properties to set 2178 */ 2179 constructor(properties?: vtadmin.ISrvVSchema); 2180 2181 /** SrvVSchema cell. */ 2182 public cell: string; 2183 2184 /** SrvVSchema cluster. */ 2185 public cluster?: (vtadmin.ICluster|null); 2186 2187 /** SrvVSchema srv_v_schema. */ 2188 public srv_v_schema?: (vschema.ISrvVSchema|null); 2189 2190 /** 2191 * Creates a new SrvVSchema instance using the specified properties. 2192 * @param [properties] Properties to set 2193 * @returns SrvVSchema instance 2194 */ 2195 public static create(properties?: vtadmin.ISrvVSchema): vtadmin.SrvVSchema; 2196 2197 /** 2198 * Encodes the specified SrvVSchema message. Does not implicitly {@link vtadmin.SrvVSchema.verify|verify} messages. 2199 * @param message SrvVSchema message or plain object to encode 2200 * @param [writer] Writer to encode to 2201 * @returns Writer 2202 */ 2203 public static encode(message: vtadmin.ISrvVSchema, writer?: $protobuf.Writer): $protobuf.Writer; 2204 2205 /** 2206 * Encodes the specified SrvVSchema message, length delimited. Does not implicitly {@link vtadmin.SrvVSchema.verify|verify} messages. 2207 * @param message SrvVSchema message or plain object to encode 2208 * @param [writer] Writer to encode to 2209 * @returns Writer 2210 */ 2211 public static encodeDelimited(message: vtadmin.ISrvVSchema, writer?: $protobuf.Writer): $protobuf.Writer; 2212 2213 /** 2214 * Decodes a SrvVSchema message from the specified reader or buffer. 2215 * @param reader Reader or buffer to decode from 2216 * @param [length] Message length if known beforehand 2217 * @returns SrvVSchema 2218 * @throws {Error} If the payload is not a reader or valid buffer 2219 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2220 */ 2221 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.SrvVSchema; 2222 2223 /** 2224 * Decodes a SrvVSchema message from the specified reader or buffer, length delimited. 2225 * @param reader Reader or buffer to decode from 2226 * @returns SrvVSchema 2227 * @throws {Error} If the payload is not a reader or valid buffer 2228 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2229 */ 2230 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.SrvVSchema; 2231 2232 /** 2233 * Verifies a SrvVSchema message. 2234 * @param message Plain object to verify 2235 * @returns `null` if valid, otherwise the reason why it is not 2236 */ 2237 public static verify(message: { [k: string]: any }): (string|null); 2238 2239 /** 2240 * Creates a SrvVSchema message from a plain object. Also converts values to their respective internal types. 2241 * @param object Plain object 2242 * @returns SrvVSchema 2243 */ 2244 public static fromObject(object: { [k: string]: any }): vtadmin.SrvVSchema; 2245 2246 /** 2247 * Creates a plain object from a SrvVSchema message. Also converts values to other types if specified. 2248 * @param message SrvVSchema 2249 * @param [options] Conversion options 2250 * @returns Plain object 2251 */ 2252 public static toObject(message: vtadmin.SrvVSchema, options?: $protobuf.IConversionOptions): { [k: string]: any }; 2253 2254 /** 2255 * Converts this SrvVSchema to JSON. 2256 * @returns JSON object 2257 */ 2258 public toJSON(): { [k: string]: any }; 2259 } 2260 2261 /** Properties of a Tablet. */ 2262 interface ITablet { 2263 2264 /** Tablet cluster */ 2265 cluster?: (vtadmin.ICluster|null); 2266 2267 /** Tablet tablet */ 2268 tablet?: (topodata.ITablet|null); 2269 2270 /** Tablet state */ 2271 state?: (vtadmin.Tablet.ServingState|null); 2272 2273 /** Tablet FQDN */ 2274 FQDN?: (string|null); 2275 } 2276 2277 /** Represents a Tablet. */ 2278 class Tablet implements ITablet { 2279 2280 /** 2281 * Constructs a new Tablet. 2282 * @param [properties] Properties to set 2283 */ 2284 constructor(properties?: vtadmin.ITablet); 2285 2286 /** Tablet cluster. */ 2287 public cluster?: (vtadmin.ICluster|null); 2288 2289 /** Tablet tablet. */ 2290 public tablet?: (topodata.ITablet|null); 2291 2292 /** Tablet state. */ 2293 public state: vtadmin.Tablet.ServingState; 2294 2295 /** Tablet FQDN. */ 2296 public FQDN: string; 2297 2298 /** 2299 * Creates a new Tablet instance using the specified properties. 2300 * @param [properties] Properties to set 2301 * @returns Tablet instance 2302 */ 2303 public static create(properties?: vtadmin.ITablet): vtadmin.Tablet; 2304 2305 /** 2306 * Encodes the specified Tablet message. Does not implicitly {@link vtadmin.Tablet.verify|verify} messages. 2307 * @param message Tablet message or plain object to encode 2308 * @param [writer] Writer to encode to 2309 * @returns Writer 2310 */ 2311 public static encode(message: vtadmin.ITablet, writer?: $protobuf.Writer): $protobuf.Writer; 2312 2313 /** 2314 * Encodes the specified Tablet message, length delimited. Does not implicitly {@link vtadmin.Tablet.verify|verify} messages. 2315 * @param message Tablet message or plain object to encode 2316 * @param [writer] Writer to encode to 2317 * @returns Writer 2318 */ 2319 public static encodeDelimited(message: vtadmin.ITablet, writer?: $protobuf.Writer): $protobuf.Writer; 2320 2321 /** 2322 * Decodes a Tablet message from the specified reader or buffer. 2323 * @param reader Reader or buffer to decode from 2324 * @param [length] Message length if known beforehand 2325 * @returns Tablet 2326 * @throws {Error} If the payload is not a reader or valid buffer 2327 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2328 */ 2329 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.Tablet; 2330 2331 /** 2332 * Decodes a Tablet message from the specified reader or buffer, length delimited. 2333 * @param reader Reader or buffer to decode from 2334 * @returns Tablet 2335 * @throws {Error} If the payload is not a reader or valid buffer 2336 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2337 */ 2338 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.Tablet; 2339 2340 /** 2341 * Verifies a Tablet message. 2342 * @param message Plain object to verify 2343 * @returns `null` if valid, otherwise the reason why it is not 2344 */ 2345 public static verify(message: { [k: string]: any }): (string|null); 2346 2347 /** 2348 * Creates a Tablet message from a plain object. Also converts values to their respective internal types. 2349 * @param object Plain object 2350 * @returns Tablet 2351 */ 2352 public static fromObject(object: { [k: string]: any }): vtadmin.Tablet; 2353 2354 /** 2355 * Creates a plain object from a Tablet message. Also converts values to other types if specified. 2356 * @param message Tablet 2357 * @param [options] Conversion options 2358 * @returns Plain object 2359 */ 2360 public static toObject(message: vtadmin.Tablet, options?: $protobuf.IConversionOptions): { [k: string]: any }; 2361 2362 /** 2363 * Converts this Tablet to JSON. 2364 * @returns JSON object 2365 */ 2366 public toJSON(): { [k: string]: any }; 2367 } 2368 2369 namespace Tablet { 2370 2371 /** ServingState enum. */ 2372 enum ServingState { 2373 UNKNOWN = 0, 2374 SERVING = 1, 2375 NOT_SERVING = 2 2376 } 2377 } 2378 2379 /** Properties of a VSchema. */ 2380 interface IVSchema { 2381 2382 /** VSchema cluster */ 2383 cluster?: (vtadmin.ICluster|null); 2384 2385 /** VSchema name */ 2386 name?: (string|null); 2387 2388 /** VSchema v_schema */ 2389 v_schema?: (vschema.IKeyspace|null); 2390 } 2391 2392 /** Represents a VSchema. */ 2393 class VSchema implements IVSchema { 2394 2395 /** 2396 * Constructs a new VSchema. 2397 * @param [properties] Properties to set 2398 */ 2399 constructor(properties?: vtadmin.IVSchema); 2400 2401 /** VSchema cluster. */ 2402 public cluster?: (vtadmin.ICluster|null); 2403 2404 /** VSchema name. */ 2405 public name: string; 2406 2407 /** VSchema v_schema. */ 2408 public v_schema?: (vschema.IKeyspace|null); 2409 2410 /** 2411 * Creates a new VSchema instance using the specified properties. 2412 * @param [properties] Properties to set 2413 * @returns VSchema instance 2414 */ 2415 public static create(properties?: vtadmin.IVSchema): vtadmin.VSchema; 2416 2417 /** 2418 * Encodes the specified VSchema message. Does not implicitly {@link vtadmin.VSchema.verify|verify} messages. 2419 * @param message VSchema message or plain object to encode 2420 * @param [writer] Writer to encode to 2421 * @returns Writer 2422 */ 2423 public static encode(message: vtadmin.IVSchema, writer?: $protobuf.Writer): $protobuf.Writer; 2424 2425 /** 2426 * Encodes the specified VSchema message, length delimited. Does not implicitly {@link vtadmin.VSchema.verify|verify} messages. 2427 * @param message VSchema message or plain object to encode 2428 * @param [writer] Writer to encode to 2429 * @returns Writer 2430 */ 2431 public static encodeDelimited(message: vtadmin.IVSchema, writer?: $protobuf.Writer): $protobuf.Writer; 2432 2433 /** 2434 * Decodes a VSchema message from the specified reader or buffer. 2435 * @param reader Reader or buffer to decode from 2436 * @param [length] Message length if known beforehand 2437 * @returns VSchema 2438 * @throws {Error} If the payload is not a reader or valid buffer 2439 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2440 */ 2441 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.VSchema; 2442 2443 /** 2444 * Decodes a VSchema message from the specified reader or buffer, length delimited. 2445 * @param reader Reader or buffer to decode from 2446 * @returns VSchema 2447 * @throws {Error} If the payload is not a reader or valid buffer 2448 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2449 */ 2450 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.VSchema; 2451 2452 /** 2453 * Verifies a VSchema message. 2454 * @param message Plain object to verify 2455 * @returns `null` if valid, otherwise the reason why it is not 2456 */ 2457 public static verify(message: { [k: string]: any }): (string|null); 2458 2459 /** 2460 * Creates a VSchema message from a plain object. Also converts values to their respective internal types. 2461 * @param object Plain object 2462 * @returns VSchema 2463 */ 2464 public static fromObject(object: { [k: string]: any }): vtadmin.VSchema; 2465 2466 /** 2467 * Creates a plain object from a VSchema message. Also converts values to other types if specified. 2468 * @param message VSchema 2469 * @param [options] Conversion options 2470 * @returns Plain object 2471 */ 2472 public static toObject(message: vtadmin.VSchema, options?: $protobuf.IConversionOptions): { [k: string]: any }; 2473 2474 /** 2475 * Converts this VSchema to JSON. 2476 * @returns JSON object 2477 */ 2478 public toJSON(): { [k: string]: any }; 2479 } 2480 2481 /** Properties of a Vtctld. */ 2482 interface IVtctld { 2483 2484 /** Vtctld hostname */ 2485 hostname?: (string|null); 2486 2487 /** Vtctld cluster */ 2488 cluster?: (vtadmin.ICluster|null); 2489 2490 /** Vtctld FQDN */ 2491 FQDN?: (string|null); 2492 } 2493 2494 /** Represents a Vtctld. */ 2495 class Vtctld implements IVtctld { 2496 2497 /** 2498 * Constructs a new Vtctld. 2499 * @param [properties] Properties to set 2500 */ 2501 constructor(properties?: vtadmin.IVtctld); 2502 2503 /** Vtctld hostname. */ 2504 public hostname: string; 2505 2506 /** Vtctld cluster. */ 2507 public cluster?: (vtadmin.ICluster|null); 2508 2509 /** Vtctld FQDN. */ 2510 public FQDN: string; 2511 2512 /** 2513 * Creates a new Vtctld instance using the specified properties. 2514 * @param [properties] Properties to set 2515 * @returns Vtctld instance 2516 */ 2517 public static create(properties?: vtadmin.IVtctld): vtadmin.Vtctld; 2518 2519 /** 2520 * Encodes the specified Vtctld message. Does not implicitly {@link vtadmin.Vtctld.verify|verify} messages. 2521 * @param message Vtctld message or plain object to encode 2522 * @param [writer] Writer to encode to 2523 * @returns Writer 2524 */ 2525 public static encode(message: vtadmin.IVtctld, writer?: $protobuf.Writer): $protobuf.Writer; 2526 2527 /** 2528 * Encodes the specified Vtctld message, length delimited. Does not implicitly {@link vtadmin.Vtctld.verify|verify} messages. 2529 * @param message Vtctld message or plain object to encode 2530 * @param [writer] Writer to encode to 2531 * @returns Writer 2532 */ 2533 public static encodeDelimited(message: vtadmin.IVtctld, writer?: $protobuf.Writer): $protobuf.Writer; 2534 2535 /** 2536 * Decodes a Vtctld message from the specified reader or buffer. 2537 * @param reader Reader or buffer to decode from 2538 * @param [length] Message length if known beforehand 2539 * @returns Vtctld 2540 * @throws {Error} If the payload is not a reader or valid buffer 2541 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2542 */ 2543 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.Vtctld; 2544 2545 /** 2546 * Decodes a Vtctld message from the specified reader or buffer, length delimited. 2547 * @param reader Reader or buffer to decode from 2548 * @returns Vtctld 2549 * @throws {Error} If the payload is not a reader or valid buffer 2550 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2551 */ 2552 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.Vtctld; 2553 2554 /** 2555 * Verifies a Vtctld message. 2556 * @param message Plain object to verify 2557 * @returns `null` if valid, otherwise the reason why it is not 2558 */ 2559 public static verify(message: { [k: string]: any }): (string|null); 2560 2561 /** 2562 * Creates a Vtctld message from a plain object. Also converts values to their respective internal types. 2563 * @param object Plain object 2564 * @returns Vtctld 2565 */ 2566 public static fromObject(object: { [k: string]: any }): vtadmin.Vtctld; 2567 2568 /** 2569 * Creates a plain object from a Vtctld message. Also converts values to other types if specified. 2570 * @param message Vtctld 2571 * @param [options] Conversion options 2572 * @returns Plain object 2573 */ 2574 public static toObject(message: vtadmin.Vtctld, options?: $protobuf.IConversionOptions): { [k: string]: any }; 2575 2576 /** 2577 * Converts this Vtctld to JSON. 2578 * @returns JSON object 2579 */ 2580 public toJSON(): { [k: string]: any }; 2581 } 2582 2583 /** Properties of a VTGate. */ 2584 interface IVTGate { 2585 2586 /** VTGate hostname */ 2587 hostname?: (string|null); 2588 2589 /** VTGate pool */ 2590 pool?: (string|null); 2591 2592 /** VTGate cell */ 2593 cell?: (string|null); 2594 2595 /** VTGate cluster */ 2596 cluster?: (vtadmin.ICluster|null); 2597 2598 /** VTGate keyspaces */ 2599 keyspaces?: (string[]|null); 2600 2601 /** VTGate FQDN */ 2602 FQDN?: (string|null); 2603 } 2604 2605 /** Represents a VTGate. */ 2606 class VTGate implements IVTGate { 2607 2608 /** 2609 * Constructs a new VTGate. 2610 * @param [properties] Properties to set 2611 */ 2612 constructor(properties?: vtadmin.IVTGate); 2613 2614 /** VTGate hostname. */ 2615 public hostname: string; 2616 2617 /** VTGate pool. */ 2618 public pool: string; 2619 2620 /** VTGate cell. */ 2621 public cell: string; 2622 2623 /** VTGate cluster. */ 2624 public cluster?: (vtadmin.ICluster|null); 2625 2626 /** VTGate keyspaces. */ 2627 public keyspaces: string[]; 2628 2629 /** VTGate FQDN. */ 2630 public FQDN: string; 2631 2632 /** 2633 * Creates a new VTGate instance using the specified properties. 2634 * @param [properties] Properties to set 2635 * @returns VTGate instance 2636 */ 2637 public static create(properties?: vtadmin.IVTGate): vtadmin.VTGate; 2638 2639 /** 2640 * Encodes the specified VTGate message. Does not implicitly {@link vtadmin.VTGate.verify|verify} messages. 2641 * @param message VTGate message or plain object to encode 2642 * @param [writer] Writer to encode to 2643 * @returns Writer 2644 */ 2645 public static encode(message: vtadmin.IVTGate, writer?: $protobuf.Writer): $protobuf.Writer; 2646 2647 /** 2648 * Encodes the specified VTGate message, length delimited. Does not implicitly {@link vtadmin.VTGate.verify|verify} messages. 2649 * @param message VTGate message or plain object to encode 2650 * @param [writer] Writer to encode to 2651 * @returns Writer 2652 */ 2653 public static encodeDelimited(message: vtadmin.IVTGate, writer?: $protobuf.Writer): $protobuf.Writer; 2654 2655 /** 2656 * Decodes a VTGate message from the specified reader or buffer. 2657 * @param reader Reader or buffer to decode from 2658 * @param [length] Message length if known beforehand 2659 * @returns VTGate 2660 * @throws {Error} If the payload is not a reader or valid buffer 2661 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2662 */ 2663 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.VTGate; 2664 2665 /** 2666 * Decodes a VTGate message from the specified reader or buffer, length delimited. 2667 * @param reader Reader or buffer to decode from 2668 * @returns VTGate 2669 * @throws {Error} If the payload is not a reader or valid buffer 2670 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2671 */ 2672 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.VTGate; 2673 2674 /** 2675 * Verifies a VTGate message. 2676 * @param message Plain object to verify 2677 * @returns `null` if valid, otherwise the reason why it is not 2678 */ 2679 public static verify(message: { [k: string]: any }): (string|null); 2680 2681 /** 2682 * Creates a VTGate message from a plain object. Also converts values to their respective internal types. 2683 * @param object Plain object 2684 * @returns VTGate 2685 */ 2686 public static fromObject(object: { [k: string]: any }): vtadmin.VTGate; 2687 2688 /** 2689 * Creates a plain object from a VTGate message. Also converts values to other types if specified. 2690 * @param message VTGate 2691 * @param [options] Conversion options 2692 * @returns Plain object 2693 */ 2694 public static toObject(message: vtadmin.VTGate, options?: $protobuf.IConversionOptions): { [k: string]: any }; 2695 2696 /** 2697 * Converts this VTGate to JSON. 2698 * @returns JSON object 2699 */ 2700 public toJSON(): { [k: string]: any }; 2701 } 2702 2703 /** Properties of a Workflow. */ 2704 interface IWorkflow { 2705 2706 /** Workflow cluster */ 2707 cluster?: (vtadmin.ICluster|null); 2708 2709 /** Workflow keyspace */ 2710 keyspace?: (string|null); 2711 2712 /** Workflow workflow */ 2713 workflow?: (vtctldata.IWorkflow|null); 2714 } 2715 2716 /** Represents a Workflow. */ 2717 class Workflow implements IWorkflow { 2718 2719 /** 2720 * Constructs a new Workflow. 2721 * @param [properties] Properties to set 2722 */ 2723 constructor(properties?: vtadmin.IWorkflow); 2724 2725 /** Workflow cluster. */ 2726 public cluster?: (vtadmin.ICluster|null); 2727 2728 /** Workflow keyspace. */ 2729 public keyspace: string; 2730 2731 /** Workflow workflow. */ 2732 public workflow?: (vtctldata.IWorkflow|null); 2733 2734 /** 2735 * Creates a new Workflow instance using the specified properties. 2736 * @param [properties] Properties to set 2737 * @returns Workflow instance 2738 */ 2739 public static create(properties?: vtadmin.IWorkflow): vtadmin.Workflow; 2740 2741 /** 2742 * Encodes the specified Workflow message. Does not implicitly {@link vtadmin.Workflow.verify|verify} messages. 2743 * @param message Workflow message or plain object to encode 2744 * @param [writer] Writer to encode to 2745 * @returns Writer 2746 */ 2747 public static encode(message: vtadmin.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; 2748 2749 /** 2750 * Encodes the specified Workflow message, length delimited. Does not implicitly {@link vtadmin.Workflow.verify|verify} messages. 2751 * @param message Workflow message or plain object to encode 2752 * @param [writer] Writer to encode to 2753 * @returns Writer 2754 */ 2755 public static encodeDelimited(message: vtadmin.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; 2756 2757 /** 2758 * Decodes a Workflow message from the specified reader or buffer. 2759 * @param reader Reader or buffer to decode from 2760 * @param [length] Message length if known beforehand 2761 * @returns Workflow 2762 * @throws {Error} If the payload is not a reader or valid buffer 2763 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2764 */ 2765 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.Workflow; 2766 2767 /** 2768 * Decodes a Workflow message from the specified reader or buffer, length delimited. 2769 * @param reader Reader or buffer to decode from 2770 * @returns Workflow 2771 * @throws {Error} If the payload is not a reader or valid buffer 2772 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2773 */ 2774 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.Workflow; 2775 2776 /** 2777 * Verifies a Workflow message. 2778 * @param message Plain object to verify 2779 * @returns `null` if valid, otherwise the reason why it is not 2780 */ 2781 public static verify(message: { [k: string]: any }): (string|null); 2782 2783 /** 2784 * Creates a Workflow message from a plain object. Also converts values to their respective internal types. 2785 * @param object Plain object 2786 * @returns Workflow 2787 */ 2788 public static fromObject(object: { [k: string]: any }): vtadmin.Workflow; 2789 2790 /** 2791 * Creates a plain object from a Workflow message. Also converts values to other types if specified. 2792 * @param message Workflow 2793 * @param [options] Conversion options 2794 * @returns Plain object 2795 */ 2796 public static toObject(message: vtadmin.Workflow, options?: $protobuf.IConversionOptions): { [k: string]: any }; 2797 2798 /** 2799 * Converts this Workflow to JSON. 2800 * @returns JSON object 2801 */ 2802 public toJSON(): { [k: string]: any }; 2803 } 2804 2805 /** Properties of a CreateKeyspaceRequest. */ 2806 interface ICreateKeyspaceRequest { 2807 2808 /** CreateKeyspaceRequest cluster_id */ 2809 cluster_id?: (string|null); 2810 2811 /** CreateKeyspaceRequest options */ 2812 options?: (vtctldata.ICreateKeyspaceRequest|null); 2813 } 2814 2815 /** Represents a CreateKeyspaceRequest. */ 2816 class CreateKeyspaceRequest implements ICreateKeyspaceRequest { 2817 2818 /** 2819 * Constructs a new CreateKeyspaceRequest. 2820 * @param [properties] Properties to set 2821 */ 2822 constructor(properties?: vtadmin.ICreateKeyspaceRequest); 2823 2824 /** CreateKeyspaceRequest cluster_id. */ 2825 public cluster_id: string; 2826 2827 /** CreateKeyspaceRequest options. */ 2828 public options?: (vtctldata.ICreateKeyspaceRequest|null); 2829 2830 /** 2831 * Creates a new CreateKeyspaceRequest instance using the specified properties. 2832 * @param [properties] Properties to set 2833 * @returns CreateKeyspaceRequest instance 2834 */ 2835 public static create(properties?: vtadmin.ICreateKeyspaceRequest): vtadmin.CreateKeyspaceRequest; 2836 2837 /** 2838 * Encodes the specified CreateKeyspaceRequest message. Does not implicitly {@link vtadmin.CreateKeyspaceRequest.verify|verify} messages. 2839 * @param message CreateKeyspaceRequest message or plain object to encode 2840 * @param [writer] Writer to encode to 2841 * @returns Writer 2842 */ 2843 public static encode(message: vtadmin.ICreateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 2844 2845 /** 2846 * Encodes the specified CreateKeyspaceRequest message, length delimited. Does not implicitly {@link vtadmin.CreateKeyspaceRequest.verify|verify} messages. 2847 * @param message CreateKeyspaceRequest message or plain object to encode 2848 * @param [writer] Writer to encode to 2849 * @returns Writer 2850 */ 2851 public static encodeDelimited(message: vtadmin.ICreateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 2852 2853 /** 2854 * Decodes a CreateKeyspaceRequest message from the specified reader or buffer. 2855 * @param reader Reader or buffer to decode from 2856 * @param [length] Message length if known beforehand 2857 * @returns CreateKeyspaceRequest 2858 * @throws {Error} If the payload is not a reader or valid buffer 2859 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2860 */ 2861 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.CreateKeyspaceRequest; 2862 2863 /** 2864 * Decodes a CreateKeyspaceRequest message from the specified reader or buffer, length delimited. 2865 * @param reader Reader or buffer to decode from 2866 * @returns CreateKeyspaceRequest 2867 * @throws {Error} If the payload is not a reader or valid buffer 2868 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2869 */ 2870 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.CreateKeyspaceRequest; 2871 2872 /** 2873 * Verifies a CreateKeyspaceRequest message. 2874 * @param message Plain object to verify 2875 * @returns `null` if valid, otherwise the reason why it is not 2876 */ 2877 public static verify(message: { [k: string]: any }): (string|null); 2878 2879 /** 2880 * Creates a CreateKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 2881 * @param object Plain object 2882 * @returns CreateKeyspaceRequest 2883 */ 2884 public static fromObject(object: { [k: string]: any }): vtadmin.CreateKeyspaceRequest; 2885 2886 /** 2887 * Creates a plain object from a CreateKeyspaceRequest message. Also converts values to other types if specified. 2888 * @param message CreateKeyspaceRequest 2889 * @param [options] Conversion options 2890 * @returns Plain object 2891 */ 2892 public static toObject(message: vtadmin.CreateKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 2893 2894 /** 2895 * Converts this CreateKeyspaceRequest to JSON. 2896 * @returns JSON object 2897 */ 2898 public toJSON(): { [k: string]: any }; 2899 } 2900 2901 /** Properties of a CreateKeyspaceResponse. */ 2902 interface ICreateKeyspaceResponse { 2903 2904 /** CreateKeyspaceResponse keyspace */ 2905 keyspace?: (vtadmin.IKeyspace|null); 2906 } 2907 2908 /** Represents a CreateKeyspaceResponse. */ 2909 class CreateKeyspaceResponse implements ICreateKeyspaceResponse { 2910 2911 /** 2912 * Constructs a new CreateKeyspaceResponse. 2913 * @param [properties] Properties to set 2914 */ 2915 constructor(properties?: vtadmin.ICreateKeyspaceResponse); 2916 2917 /** CreateKeyspaceResponse keyspace. */ 2918 public keyspace?: (vtadmin.IKeyspace|null); 2919 2920 /** 2921 * Creates a new CreateKeyspaceResponse instance using the specified properties. 2922 * @param [properties] Properties to set 2923 * @returns CreateKeyspaceResponse instance 2924 */ 2925 public static create(properties?: vtadmin.ICreateKeyspaceResponse): vtadmin.CreateKeyspaceResponse; 2926 2927 /** 2928 * Encodes the specified CreateKeyspaceResponse message. Does not implicitly {@link vtadmin.CreateKeyspaceResponse.verify|verify} messages. 2929 * @param message CreateKeyspaceResponse message or plain object to encode 2930 * @param [writer] Writer to encode to 2931 * @returns Writer 2932 */ 2933 public static encode(message: vtadmin.ICreateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 2934 2935 /** 2936 * Encodes the specified CreateKeyspaceResponse message, length delimited. Does not implicitly {@link vtadmin.CreateKeyspaceResponse.verify|verify} messages. 2937 * @param message CreateKeyspaceResponse message or plain object to encode 2938 * @param [writer] Writer to encode to 2939 * @returns Writer 2940 */ 2941 public static encodeDelimited(message: vtadmin.ICreateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 2942 2943 /** 2944 * Decodes a CreateKeyspaceResponse message from the specified reader or buffer. 2945 * @param reader Reader or buffer to decode from 2946 * @param [length] Message length if known beforehand 2947 * @returns CreateKeyspaceResponse 2948 * @throws {Error} If the payload is not a reader or valid buffer 2949 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2950 */ 2951 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.CreateKeyspaceResponse; 2952 2953 /** 2954 * Decodes a CreateKeyspaceResponse message from the specified reader or buffer, length delimited. 2955 * @param reader Reader or buffer to decode from 2956 * @returns CreateKeyspaceResponse 2957 * @throws {Error} If the payload is not a reader or valid buffer 2958 * @throws {$protobuf.util.ProtocolError} If required fields are missing 2959 */ 2960 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.CreateKeyspaceResponse; 2961 2962 /** 2963 * Verifies a CreateKeyspaceResponse message. 2964 * @param message Plain object to verify 2965 * @returns `null` if valid, otherwise the reason why it is not 2966 */ 2967 public static verify(message: { [k: string]: any }): (string|null); 2968 2969 /** 2970 * Creates a CreateKeyspaceResponse message from a plain object. Also converts values to their respective internal types. 2971 * @param object Plain object 2972 * @returns CreateKeyspaceResponse 2973 */ 2974 public static fromObject(object: { [k: string]: any }): vtadmin.CreateKeyspaceResponse; 2975 2976 /** 2977 * Creates a plain object from a CreateKeyspaceResponse message. Also converts values to other types if specified. 2978 * @param message CreateKeyspaceResponse 2979 * @param [options] Conversion options 2980 * @returns Plain object 2981 */ 2982 public static toObject(message: vtadmin.CreateKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 2983 2984 /** 2985 * Converts this CreateKeyspaceResponse to JSON. 2986 * @returns JSON object 2987 */ 2988 public toJSON(): { [k: string]: any }; 2989 } 2990 2991 /** Properties of a CreateShardRequest. */ 2992 interface ICreateShardRequest { 2993 2994 /** CreateShardRequest cluster_id */ 2995 cluster_id?: (string|null); 2996 2997 /** CreateShardRequest options */ 2998 options?: (vtctldata.ICreateShardRequest|null); 2999 } 3000 3001 /** Represents a CreateShardRequest. */ 3002 class CreateShardRequest implements ICreateShardRequest { 3003 3004 /** 3005 * Constructs a new CreateShardRequest. 3006 * @param [properties] Properties to set 3007 */ 3008 constructor(properties?: vtadmin.ICreateShardRequest); 3009 3010 /** CreateShardRequest cluster_id. */ 3011 public cluster_id: string; 3012 3013 /** CreateShardRequest options. */ 3014 public options?: (vtctldata.ICreateShardRequest|null); 3015 3016 /** 3017 * Creates a new CreateShardRequest instance using the specified properties. 3018 * @param [properties] Properties to set 3019 * @returns CreateShardRequest instance 3020 */ 3021 public static create(properties?: vtadmin.ICreateShardRequest): vtadmin.CreateShardRequest; 3022 3023 /** 3024 * Encodes the specified CreateShardRequest message. Does not implicitly {@link vtadmin.CreateShardRequest.verify|verify} messages. 3025 * @param message CreateShardRequest message or plain object to encode 3026 * @param [writer] Writer to encode to 3027 * @returns Writer 3028 */ 3029 public static encode(message: vtadmin.ICreateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3030 3031 /** 3032 * Encodes the specified CreateShardRequest message, length delimited. Does not implicitly {@link vtadmin.CreateShardRequest.verify|verify} messages. 3033 * @param message CreateShardRequest message or plain object to encode 3034 * @param [writer] Writer to encode to 3035 * @returns Writer 3036 */ 3037 public static encodeDelimited(message: vtadmin.ICreateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3038 3039 /** 3040 * Decodes a CreateShardRequest message from the specified reader or buffer. 3041 * @param reader Reader or buffer to decode from 3042 * @param [length] Message length if known beforehand 3043 * @returns CreateShardRequest 3044 * @throws {Error} If the payload is not a reader or valid buffer 3045 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3046 */ 3047 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.CreateShardRequest; 3048 3049 /** 3050 * Decodes a CreateShardRequest message from the specified reader or buffer, length delimited. 3051 * @param reader Reader or buffer to decode from 3052 * @returns CreateShardRequest 3053 * @throws {Error} If the payload is not a reader or valid buffer 3054 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3055 */ 3056 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.CreateShardRequest; 3057 3058 /** 3059 * Verifies a CreateShardRequest message. 3060 * @param message Plain object to verify 3061 * @returns `null` if valid, otherwise the reason why it is not 3062 */ 3063 public static verify(message: { [k: string]: any }): (string|null); 3064 3065 /** 3066 * Creates a CreateShardRequest message from a plain object. Also converts values to their respective internal types. 3067 * @param object Plain object 3068 * @returns CreateShardRequest 3069 */ 3070 public static fromObject(object: { [k: string]: any }): vtadmin.CreateShardRequest; 3071 3072 /** 3073 * Creates a plain object from a CreateShardRequest message. Also converts values to other types if specified. 3074 * @param message CreateShardRequest 3075 * @param [options] Conversion options 3076 * @returns Plain object 3077 */ 3078 public static toObject(message: vtadmin.CreateShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 3079 3080 /** 3081 * Converts this CreateShardRequest to JSON. 3082 * @returns JSON object 3083 */ 3084 public toJSON(): { [k: string]: any }; 3085 } 3086 3087 /** Properties of a DeleteKeyspaceRequest. */ 3088 interface IDeleteKeyspaceRequest { 3089 3090 /** DeleteKeyspaceRequest cluster_id */ 3091 cluster_id?: (string|null); 3092 3093 /** DeleteKeyspaceRequest options */ 3094 options?: (vtctldata.IDeleteKeyspaceRequest|null); 3095 } 3096 3097 /** Represents a DeleteKeyspaceRequest. */ 3098 class DeleteKeyspaceRequest implements IDeleteKeyspaceRequest { 3099 3100 /** 3101 * Constructs a new DeleteKeyspaceRequest. 3102 * @param [properties] Properties to set 3103 */ 3104 constructor(properties?: vtadmin.IDeleteKeyspaceRequest); 3105 3106 /** DeleteKeyspaceRequest cluster_id. */ 3107 public cluster_id: string; 3108 3109 /** DeleteKeyspaceRequest options. */ 3110 public options?: (vtctldata.IDeleteKeyspaceRequest|null); 3111 3112 /** 3113 * Creates a new DeleteKeyspaceRequest instance using the specified properties. 3114 * @param [properties] Properties to set 3115 * @returns DeleteKeyspaceRequest instance 3116 */ 3117 public static create(properties?: vtadmin.IDeleteKeyspaceRequest): vtadmin.DeleteKeyspaceRequest; 3118 3119 /** 3120 * Encodes the specified DeleteKeyspaceRequest message. Does not implicitly {@link vtadmin.DeleteKeyspaceRequest.verify|verify} messages. 3121 * @param message DeleteKeyspaceRequest message or plain object to encode 3122 * @param [writer] Writer to encode to 3123 * @returns Writer 3124 */ 3125 public static encode(message: vtadmin.IDeleteKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3126 3127 /** 3128 * Encodes the specified DeleteKeyspaceRequest message, length delimited. Does not implicitly {@link vtadmin.DeleteKeyspaceRequest.verify|verify} messages. 3129 * @param message DeleteKeyspaceRequest message or plain object to encode 3130 * @param [writer] Writer to encode to 3131 * @returns Writer 3132 */ 3133 public static encodeDelimited(message: vtadmin.IDeleteKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3134 3135 /** 3136 * Decodes a DeleteKeyspaceRequest message from the specified reader or buffer. 3137 * @param reader Reader or buffer to decode from 3138 * @param [length] Message length if known beforehand 3139 * @returns DeleteKeyspaceRequest 3140 * @throws {Error} If the payload is not a reader or valid buffer 3141 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3142 */ 3143 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.DeleteKeyspaceRequest; 3144 3145 /** 3146 * Decodes a DeleteKeyspaceRequest message from the specified reader or buffer, length delimited. 3147 * @param reader Reader or buffer to decode from 3148 * @returns DeleteKeyspaceRequest 3149 * @throws {Error} If the payload is not a reader or valid buffer 3150 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3151 */ 3152 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.DeleteKeyspaceRequest; 3153 3154 /** 3155 * Verifies a DeleteKeyspaceRequest message. 3156 * @param message Plain object to verify 3157 * @returns `null` if valid, otherwise the reason why it is not 3158 */ 3159 public static verify(message: { [k: string]: any }): (string|null); 3160 3161 /** 3162 * Creates a DeleteKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 3163 * @param object Plain object 3164 * @returns DeleteKeyspaceRequest 3165 */ 3166 public static fromObject(object: { [k: string]: any }): vtadmin.DeleteKeyspaceRequest; 3167 3168 /** 3169 * Creates a plain object from a DeleteKeyspaceRequest message. Also converts values to other types if specified. 3170 * @param message DeleteKeyspaceRequest 3171 * @param [options] Conversion options 3172 * @returns Plain object 3173 */ 3174 public static toObject(message: vtadmin.DeleteKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 3175 3176 /** 3177 * Converts this DeleteKeyspaceRequest to JSON. 3178 * @returns JSON object 3179 */ 3180 public toJSON(): { [k: string]: any }; 3181 } 3182 3183 /** Properties of a DeleteShardsRequest. */ 3184 interface IDeleteShardsRequest { 3185 3186 /** DeleteShardsRequest cluster_id */ 3187 cluster_id?: (string|null); 3188 3189 /** DeleteShardsRequest options */ 3190 options?: (vtctldata.IDeleteShardsRequest|null); 3191 } 3192 3193 /** Represents a DeleteShardsRequest. */ 3194 class DeleteShardsRequest implements IDeleteShardsRequest { 3195 3196 /** 3197 * Constructs a new DeleteShardsRequest. 3198 * @param [properties] Properties to set 3199 */ 3200 constructor(properties?: vtadmin.IDeleteShardsRequest); 3201 3202 /** DeleteShardsRequest cluster_id. */ 3203 public cluster_id: string; 3204 3205 /** DeleteShardsRequest options. */ 3206 public options?: (vtctldata.IDeleteShardsRequest|null); 3207 3208 /** 3209 * Creates a new DeleteShardsRequest instance using the specified properties. 3210 * @param [properties] Properties to set 3211 * @returns DeleteShardsRequest instance 3212 */ 3213 public static create(properties?: vtadmin.IDeleteShardsRequest): vtadmin.DeleteShardsRequest; 3214 3215 /** 3216 * Encodes the specified DeleteShardsRequest message. Does not implicitly {@link vtadmin.DeleteShardsRequest.verify|verify} messages. 3217 * @param message DeleteShardsRequest message or plain object to encode 3218 * @param [writer] Writer to encode to 3219 * @returns Writer 3220 */ 3221 public static encode(message: vtadmin.IDeleteShardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3222 3223 /** 3224 * Encodes the specified DeleteShardsRequest message, length delimited. Does not implicitly {@link vtadmin.DeleteShardsRequest.verify|verify} messages. 3225 * @param message DeleteShardsRequest message or plain object to encode 3226 * @param [writer] Writer to encode to 3227 * @returns Writer 3228 */ 3229 public static encodeDelimited(message: vtadmin.IDeleteShardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3230 3231 /** 3232 * Decodes a DeleteShardsRequest message from the specified reader or buffer. 3233 * @param reader Reader or buffer to decode from 3234 * @param [length] Message length if known beforehand 3235 * @returns DeleteShardsRequest 3236 * @throws {Error} If the payload is not a reader or valid buffer 3237 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3238 */ 3239 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.DeleteShardsRequest; 3240 3241 /** 3242 * Decodes a DeleteShardsRequest message from the specified reader or buffer, length delimited. 3243 * @param reader Reader or buffer to decode from 3244 * @returns DeleteShardsRequest 3245 * @throws {Error} If the payload is not a reader or valid buffer 3246 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3247 */ 3248 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.DeleteShardsRequest; 3249 3250 /** 3251 * Verifies a DeleteShardsRequest message. 3252 * @param message Plain object to verify 3253 * @returns `null` if valid, otherwise the reason why it is not 3254 */ 3255 public static verify(message: { [k: string]: any }): (string|null); 3256 3257 /** 3258 * Creates a DeleteShardsRequest message from a plain object. Also converts values to their respective internal types. 3259 * @param object Plain object 3260 * @returns DeleteShardsRequest 3261 */ 3262 public static fromObject(object: { [k: string]: any }): vtadmin.DeleteShardsRequest; 3263 3264 /** 3265 * Creates a plain object from a DeleteShardsRequest message. Also converts values to other types if specified. 3266 * @param message DeleteShardsRequest 3267 * @param [options] Conversion options 3268 * @returns Plain object 3269 */ 3270 public static toObject(message: vtadmin.DeleteShardsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 3271 3272 /** 3273 * Converts this DeleteShardsRequest to JSON. 3274 * @returns JSON object 3275 */ 3276 public toJSON(): { [k: string]: any }; 3277 } 3278 3279 /** Properties of a DeleteTabletRequest. */ 3280 interface IDeleteTabletRequest { 3281 3282 /** DeleteTabletRequest alias */ 3283 alias?: (topodata.ITabletAlias|null); 3284 3285 /** DeleteTabletRequest cluster_ids */ 3286 cluster_ids?: (string[]|null); 3287 3288 /** DeleteTabletRequest allow_primary */ 3289 allow_primary?: (boolean|null); 3290 } 3291 3292 /** Represents a DeleteTabletRequest. */ 3293 class DeleteTabletRequest implements IDeleteTabletRequest { 3294 3295 /** 3296 * Constructs a new DeleteTabletRequest. 3297 * @param [properties] Properties to set 3298 */ 3299 constructor(properties?: vtadmin.IDeleteTabletRequest); 3300 3301 /** DeleteTabletRequest alias. */ 3302 public alias?: (topodata.ITabletAlias|null); 3303 3304 /** DeleteTabletRequest cluster_ids. */ 3305 public cluster_ids: string[]; 3306 3307 /** DeleteTabletRequest allow_primary. */ 3308 public allow_primary: boolean; 3309 3310 /** 3311 * Creates a new DeleteTabletRequest instance using the specified properties. 3312 * @param [properties] Properties to set 3313 * @returns DeleteTabletRequest instance 3314 */ 3315 public static create(properties?: vtadmin.IDeleteTabletRequest): vtadmin.DeleteTabletRequest; 3316 3317 /** 3318 * Encodes the specified DeleteTabletRequest message. Does not implicitly {@link vtadmin.DeleteTabletRequest.verify|verify} messages. 3319 * @param message DeleteTabletRequest message or plain object to encode 3320 * @param [writer] Writer to encode to 3321 * @returns Writer 3322 */ 3323 public static encode(message: vtadmin.IDeleteTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3324 3325 /** 3326 * Encodes the specified DeleteTabletRequest message, length delimited. Does not implicitly {@link vtadmin.DeleteTabletRequest.verify|verify} messages. 3327 * @param message DeleteTabletRequest message or plain object to encode 3328 * @param [writer] Writer to encode to 3329 * @returns Writer 3330 */ 3331 public static encodeDelimited(message: vtadmin.IDeleteTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3332 3333 /** 3334 * Decodes a DeleteTabletRequest message from the specified reader or buffer. 3335 * @param reader Reader or buffer to decode from 3336 * @param [length] Message length if known beforehand 3337 * @returns DeleteTabletRequest 3338 * @throws {Error} If the payload is not a reader or valid buffer 3339 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3340 */ 3341 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.DeleteTabletRequest; 3342 3343 /** 3344 * Decodes a DeleteTabletRequest message from the specified reader or buffer, length delimited. 3345 * @param reader Reader or buffer to decode from 3346 * @returns DeleteTabletRequest 3347 * @throws {Error} If the payload is not a reader or valid buffer 3348 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3349 */ 3350 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.DeleteTabletRequest; 3351 3352 /** 3353 * Verifies a DeleteTabletRequest message. 3354 * @param message Plain object to verify 3355 * @returns `null` if valid, otherwise the reason why it is not 3356 */ 3357 public static verify(message: { [k: string]: any }): (string|null); 3358 3359 /** 3360 * Creates a DeleteTabletRequest message from a plain object. Also converts values to their respective internal types. 3361 * @param object Plain object 3362 * @returns DeleteTabletRequest 3363 */ 3364 public static fromObject(object: { [k: string]: any }): vtadmin.DeleteTabletRequest; 3365 3366 /** 3367 * Creates a plain object from a DeleteTabletRequest message. Also converts values to other types if specified. 3368 * @param message DeleteTabletRequest 3369 * @param [options] Conversion options 3370 * @returns Plain object 3371 */ 3372 public static toObject(message: vtadmin.DeleteTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 3373 3374 /** 3375 * Converts this DeleteTabletRequest to JSON. 3376 * @returns JSON object 3377 */ 3378 public toJSON(): { [k: string]: any }; 3379 } 3380 3381 /** Properties of a DeleteTabletResponse. */ 3382 interface IDeleteTabletResponse { 3383 3384 /** DeleteTabletResponse status */ 3385 status?: (string|null); 3386 3387 /** DeleteTabletResponse cluster */ 3388 cluster?: (vtadmin.ICluster|null); 3389 } 3390 3391 /** Represents a DeleteTabletResponse. */ 3392 class DeleteTabletResponse implements IDeleteTabletResponse { 3393 3394 /** 3395 * Constructs a new DeleteTabletResponse. 3396 * @param [properties] Properties to set 3397 */ 3398 constructor(properties?: vtadmin.IDeleteTabletResponse); 3399 3400 /** DeleteTabletResponse status. */ 3401 public status: string; 3402 3403 /** DeleteTabletResponse cluster. */ 3404 public cluster?: (vtadmin.ICluster|null); 3405 3406 /** 3407 * Creates a new DeleteTabletResponse instance using the specified properties. 3408 * @param [properties] Properties to set 3409 * @returns DeleteTabletResponse instance 3410 */ 3411 public static create(properties?: vtadmin.IDeleteTabletResponse): vtadmin.DeleteTabletResponse; 3412 3413 /** 3414 * Encodes the specified DeleteTabletResponse message. Does not implicitly {@link vtadmin.DeleteTabletResponse.verify|verify} messages. 3415 * @param message DeleteTabletResponse message or plain object to encode 3416 * @param [writer] Writer to encode to 3417 * @returns Writer 3418 */ 3419 public static encode(message: vtadmin.IDeleteTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 3420 3421 /** 3422 * Encodes the specified DeleteTabletResponse message, length delimited. Does not implicitly {@link vtadmin.DeleteTabletResponse.verify|verify} messages. 3423 * @param message DeleteTabletResponse message or plain object to encode 3424 * @param [writer] Writer to encode to 3425 * @returns Writer 3426 */ 3427 public static encodeDelimited(message: vtadmin.IDeleteTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 3428 3429 /** 3430 * Decodes a DeleteTabletResponse message from the specified reader or buffer. 3431 * @param reader Reader or buffer to decode from 3432 * @param [length] Message length if known beforehand 3433 * @returns DeleteTabletResponse 3434 * @throws {Error} If the payload is not a reader or valid buffer 3435 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3436 */ 3437 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.DeleteTabletResponse; 3438 3439 /** 3440 * Decodes a DeleteTabletResponse message from the specified reader or buffer, length delimited. 3441 * @param reader Reader or buffer to decode from 3442 * @returns DeleteTabletResponse 3443 * @throws {Error} If the payload is not a reader or valid buffer 3444 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3445 */ 3446 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.DeleteTabletResponse; 3447 3448 /** 3449 * Verifies a DeleteTabletResponse message. 3450 * @param message Plain object to verify 3451 * @returns `null` if valid, otherwise the reason why it is not 3452 */ 3453 public static verify(message: { [k: string]: any }): (string|null); 3454 3455 /** 3456 * Creates a DeleteTabletResponse message from a plain object. Also converts values to their respective internal types. 3457 * @param object Plain object 3458 * @returns DeleteTabletResponse 3459 */ 3460 public static fromObject(object: { [k: string]: any }): vtadmin.DeleteTabletResponse; 3461 3462 /** 3463 * Creates a plain object from a DeleteTabletResponse message. Also converts values to other types if specified. 3464 * @param message DeleteTabletResponse 3465 * @param [options] Conversion options 3466 * @returns Plain object 3467 */ 3468 public static toObject(message: vtadmin.DeleteTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 3469 3470 /** 3471 * Converts this DeleteTabletResponse to JSON. 3472 * @returns JSON object 3473 */ 3474 public toJSON(): { [k: string]: any }; 3475 } 3476 3477 /** Properties of an EmergencyFailoverShardRequest. */ 3478 interface IEmergencyFailoverShardRequest { 3479 3480 /** EmergencyFailoverShardRequest cluster_id */ 3481 cluster_id?: (string|null); 3482 3483 /** EmergencyFailoverShardRequest options */ 3484 options?: (vtctldata.IEmergencyReparentShardRequest|null); 3485 } 3486 3487 /** Represents an EmergencyFailoverShardRequest. */ 3488 class EmergencyFailoverShardRequest implements IEmergencyFailoverShardRequest { 3489 3490 /** 3491 * Constructs a new EmergencyFailoverShardRequest. 3492 * @param [properties] Properties to set 3493 */ 3494 constructor(properties?: vtadmin.IEmergencyFailoverShardRequest); 3495 3496 /** EmergencyFailoverShardRequest cluster_id. */ 3497 public cluster_id: string; 3498 3499 /** EmergencyFailoverShardRequest options. */ 3500 public options?: (vtctldata.IEmergencyReparentShardRequest|null); 3501 3502 /** 3503 * Creates a new EmergencyFailoverShardRequest instance using the specified properties. 3504 * @param [properties] Properties to set 3505 * @returns EmergencyFailoverShardRequest instance 3506 */ 3507 public static create(properties?: vtadmin.IEmergencyFailoverShardRequest): vtadmin.EmergencyFailoverShardRequest; 3508 3509 /** 3510 * Encodes the specified EmergencyFailoverShardRequest message. Does not implicitly {@link vtadmin.EmergencyFailoverShardRequest.verify|verify} messages. 3511 * @param message EmergencyFailoverShardRequest message or plain object to encode 3512 * @param [writer] Writer to encode to 3513 * @returns Writer 3514 */ 3515 public static encode(message: vtadmin.IEmergencyFailoverShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3516 3517 /** 3518 * Encodes the specified EmergencyFailoverShardRequest message, length delimited. Does not implicitly {@link vtadmin.EmergencyFailoverShardRequest.verify|verify} messages. 3519 * @param message EmergencyFailoverShardRequest message or plain object to encode 3520 * @param [writer] Writer to encode to 3521 * @returns Writer 3522 */ 3523 public static encodeDelimited(message: vtadmin.IEmergencyFailoverShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3524 3525 /** 3526 * Decodes an EmergencyFailoverShardRequest message from the specified reader or buffer. 3527 * @param reader Reader or buffer to decode from 3528 * @param [length] Message length if known beforehand 3529 * @returns EmergencyFailoverShardRequest 3530 * @throws {Error} If the payload is not a reader or valid buffer 3531 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3532 */ 3533 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.EmergencyFailoverShardRequest; 3534 3535 /** 3536 * Decodes an EmergencyFailoverShardRequest message from the specified reader or buffer, length delimited. 3537 * @param reader Reader or buffer to decode from 3538 * @returns EmergencyFailoverShardRequest 3539 * @throws {Error} If the payload is not a reader or valid buffer 3540 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3541 */ 3542 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.EmergencyFailoverShardRequest; 3543 3544 /** 3545 * Verifies an EmergencyFailoverShardRequest message. 3546 * @param message Plain object to verify 3547 * @returns `null` if valid, otherwise the reason why it is not 3548 */ 3549 public static verify(message: { [k: string]: any }): (string|null); 3550 3551 /** 3552 * Creates an EmergencyFailoverShardRequest message from a plain object. Also converts values to their respective internal types. 3553 * @param object Plain object 3554 * @returns EmergencyFailoverShardRequest 3555 */ 3556 public static fromObject(object: { [k: string]: any }): vtadmin.EmergencyFailoverShardRequest; 3557 3558 /** 3559 * Creates a plain object from an EmergencyFailoverShardRequest message. Also converts values to other types if specified. 3560 * @param message EmergencyFailoverShardRequest 3561 * @param [options] Conversion options 3562 * @returns Plain object 3563 */ 3564 public static toObject(message: vtadmin.EmergencyFailoverShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 3565 3566 /** 3567 * Converts this EmergencyFailoverShardRequest to JSON. 3568 * @returns JSON object 3569 */ 3570 public toJSON(): { [k: string]: any }; 3571 } 3572 3573 /** Properties of an EmergencyFailoverShardResponse. */ 3574 interface IEmergencyFailoverShardResponse { 3575 3576 /** EmergencyFailoverShardResponse cluster */ 3577 cluster?: (vtadmin.ICluster|null); 3578 3579 /** EmergencyFailoverShardResponse keyspace */ 3580 keyspace?: (string|null); 3581 3582 /** EmergencyFailoverShardResponse shard */ 3583 shard?: (string|null); 3584 3585 /** EmergencyFailoverShardResponse promoted_primary */ 3586 promoted_primary?: (topodata.ITabletAlias|null); 3587 3588 /** EmergencyFailoverShardResponse events */ 3589 events?: (logutil.IEvent[]|null); 3590 } 3591 3592 /** Represents an EmergencyFailoverShardResponse. */ 3593 class EmergencyFailoverShardResponse implements IEmergencyFailoverShardResponse { 3594 3595 /** 3596 * Constructs a new EmergencyFailoverShardResponse. 3597 * @param [properties] Properties to set 3598 */ 3599 constructor(properties?: vtadmin.IEmergencyFailoverShardResponse); 3600 3601 /** EmergencyFailoverShardResponse cluster. */ 3602 public cluster?: (vtadmin.ICluster|null); 3603 3604 /** EmergencyFailoverShardResponse keyspace. */ 3605 public keyspace: string; 3606 3607 /** EmergencyFailoverShardResponse shard. */ 3608 public shard: string; 3609 3610 /** EmergencyFailoverShardResponse promoted_primary. */ 3611 public promoted_primary?: (topodata.ITabletAlias|null); 3612 3613 /** EmergencyFailoverShardResponse events. */ 3614 public events: logutil.IEvent[]; 3615 3616 /** 3617 * Creates a new EmergencyFailoverShardResponse instance using the specified properties. 3618 * @param [properties] Properties to set 3619 * @returns EmergencyFailoverShardResponse instance 3620 */ 3621 public static create(properties?: vtadmin.IEmergencyFailoverShardResponse): vtadmin.EmergencyFailoverShardResponse; 3622 3623 /** 3624 * Encodes the specified EmergencyFailoverShardResponse message. Does not implicitly {@link vtadmin.EmergencyFailoverShardResponse.verify|verify} messages. 3625 * @param message EmergencyFailoverShardResponse message or plain object to encode 3626 * @param [writer] Writer to encode to 3627 * @returns Writer 3628 */ 3629 public static encode(message: vtadmin.IEmergencyFailoverShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 3630 3631 /** 3632 * Encodes the specified EmergencyFailoverShardResponse message, length delimited. Does not implicitly {@link vtadmin.EmergencyFailoverShardResponse.verify|verify} messages. 3633 * @param message EmergencyFailoverShardResponse message or plain object to encode 3634 * @param [writer] Writer to encode to 3635 * @returns Writer 3636 */ 3637 public static encodeDelimited(message: vtadmin.IEmergencyFailoverShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 3638 3639 /** 3640 * Decodes an EmergencyFailoverShardResponse message from the specified reader or buffer. 3641 * @param reader Reader or buffer to decode from 3642 * @param [length] Message length if known beforehand 3643 * @returns EmergencyFailoverShardResponse 3644 * @throws {Error} If the payload is not a reader or valid buffer 3645 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3646 */ 3647 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.EmergencyFailoverShardResponse; 3648 3649 /** 3650 * Decodes an EmergencyFailoverShardResponse message from the specified reader or buffer, length delimited. 3651 * @param reader Reader or buffer to decode from 3652 * @returns EmergencyFailoverShardResponse 3653 * @throws {Error} If the payload is not a reader or valid buffer 3654 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3655 */ 3656 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.EmergencyFailoverShardResponse; 3657 3658 /** 3659 * Verifies an EmergencyFailoverShardResponse message. 3660 * @param message Plain object to verify 3661 * @returns `null` if valid, otherwise the reason why it is not 3662 */ 3663 public static verify(message: { [k: string]: any }): (string|null); 3664 3665 /** 3666 * Creates an EmergencyFailoverShardResponse message from a plain object. Also converts values to their respective internal types. 3667 * @param object Plain object 3668 * @returns EmergencyFailoverShardResponse 3669 */ 3670 public static fromObject(object: { [k: string]: any }): vtadmin.EmergencyFailoverShardResponse; 3671 3672 /** 3673 * Creates a plain object from an EmergencyFailoverShardResponse message. Also converts values to other types if specified. 3674 * @param message EmergencyFailoverShardResponse 3675 * @param [options] Conversion options 3676 * @returns Plain object 3677 */ 3678 public static toObject(message: vtadmin.EmergencyFailoverShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 3679 3680 /** 3681 * Converts this EmergencyFailoverShardResponse to JSON. 3682 * @returns JSON object 3683 */ 3684 public toJSON(): { [k: string]: any }; 3685 } 3686 3687 /** Properties of a FindSchemaRequest. */ 3688 interface IFindSchemaRequest { 3689 3690 /** FindSchemaRequest table */ 3691 table?: (string|null); 3692 3693 /** FindSchemaRequest cluster_ids */ 3694 cluster_ids?: (string[]|null); 3695 3696 /** FindSchemaRequest table_size_options */ 3697 table_size_options?: (vtadmin.IGetSchemaTableSizeOptions|null); 3698 } 3699 3700 /** Represents a FindSchemaRequest. */ 3701 class FindSchemaRequest implements IFindSchemaRequest { 3702 3703 /** 3704 * Constructs a new FindSchemaRequest. 3705 * @param [properties] Properties to set 3706 */ 3707 constructor(properties?: vtadmin.IFindSchemaRequest); 3708 3709 /** FindSchemaRequest table. */ 3710 public table: string; 3711 3712 /** FindSchemaRequest cluster_ids. */ 3713 public cluster_ids: string[]; 3714 3715 /** FindSchemaRequest table_size_options. */ 3716 public table_size_options?: (vtadmin.IGetSchemaTableSizeOptions|null); 3717 3718 /** 3719 * Creates a new FindSchemaRequest instance using the specified properties. 3720 * @param [properties] Properties to set 3721 * @returns FindSchemaRequest instance 3722 */ 3723 public static create(properties?: vtadmin.IFindSchemaRequest): vtadmin.FindSchemaRequest; 3724 3725 /** 3726 * Encodes the specified FindSchemaRequest message. Does not implicitly {@link vtadmin.FindSchemaRequest.verify|verify} messages. 3727 * @param message FindSchemaRequest message or plain object to encode 3728 * @param [writer] Writer to encode to 3729 * @returns Writer 3730 */ 3731 public static encode(message: vtadmin.IFindSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3732 3733 /** 3734 * Encodes the specified FindSchemaRequest message, length delimited. Does not implicitly {@link vtadmin.FindSchemaRequest.verify|verify} messages. 3735 * @param message FindSchemaRequest message or plain object to encode 3736 * @param [writer] Writer to encode to 3737 * @returns Writer 3738 */ 3739 public static encodeDelimited(message: vtadmin.IFindSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3740 3741 /** 3742 * Decodes a FindSchemaRequest message from the specified reader or buffer. 3743 * @param reader Reader or buffer to decode from 3744 * @param [length] Message length if known beforehand 3745 * @returns FindSchemaRequest 3746 * @throws {Error} If the payload is not a reader or valid buffer 3747 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3748 */ 3749 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.FindSchemaRequest; 3750 3751 /** 3752 * Decodes a FindSchemaRequest message from the specified reader or buffer, length delimited. 3753 * @param reader Reader or buffer to decode from 3754 * @returns FindSchemaRequest 3755 * @throws {Error} If the payload is not a reader or valid buffer 3756 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3757 */ 3758 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.FindSchemaRequest; 3759 3760 /** 3761 * Verifies a FindSchemaRequest message. 3762 * @param message Plain object to verify 3763 * @returns `null` if valid, otherwise the reason why it is not 3764 */ 3765 public static verify(message: { [k: string]: any }): (string|null); 3766 3767 /** 3768 * Creates a FindSchemaRequest message from a plain object. Also converts values to their respective internal types. 3769 * @param object Plain object 3770 * @returns FindSchemaRequest 3771 */ 3772 public static fromObject(object: { [k: string]: any }): vtadmin.FindSchemaRequest; 3773 3774 /** 3775 * Creates a plain object from a FindSchemaRequest message. Also converts values to other types if specified. 3776 * @param message FindSchemaRequest 3777 * @param [options] Conversion options 3778 * @returns Plain object 3779 */ 3780 public static toObject(message: vtadmin.FindSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 3781 3782 /** 3783 * Converts this FindSchemaRequest to JSON. 3784 * @returns JSON object 3785 */ 3786 public toJSON(): { [k: string]: any }; 3787 } 3788 3789 /** Properties of a GetBackupsRequest. */ 3790 interface IGetBackupsRequest { 3791 3792 /** GetBackupsRequest cluster_ids */ 3793 cluster_ids?: (string[]|null); 3794 3795 /** GetBackupsRequest keyspaces */ 3796 keyspaces?: (string[]|null); 3797 3798 /** GetBackupsRequest keyspace_shards */ 3799 keyspace_shards?: (string[]|null); 3800 3801 /** GetBackupsRequest request_options */ 3802 request_options?: (vtctldata.IGetBackupsRequest|null); 3803 } 3804 3805 /** Represents a GetBackupsRequest. */ 3806 class GetBackupsRequest implements IGetBackupsRequest { 3807 3808 /** 3809 * Constructs a new GetBackupsRequest. 3810 * @param [properties] Properties to set 3811 */ 3812 constructor(properties?: vtadmin.IGetBackupsRequest); 3813 3814 /** GetBackupsRequest cluster_ids. */ 3815 public cluster_ids: string[]; 3816 3817 /** GetBackupsRequest keyspaces. */ 3818 public keyspaces: string[]; 3819 3820 /** GetBackupsRequest keyspace_shards. */ 3821 public keyspace_shards: string[]; 3822 3823 /** GetBackupsRequest request_options. */ 3824 public request_options?: (vtctldata.IGetBackupsRequest|null); 3825 3826 /** 3827 * Creates a new GetBackupsRequest instance using the specified properties. 3828 * @param [properties] Properties to set 3829 * @returns GetBackupsRequest instance 3830 */ 3831 public static create(properties?: vtadmin.IGetBackupsRequest): vtadmin.GetBackupsRequest; 3832 3833 /** 3834 * Encodes the specified GetBackupsRequest message. Does not implicitly {@link vtadmin.GetBackupsRequest.verify|verify} messages. 3835 * @param message GetBackupsRequest message or plain object to encode 3836 * @param [writer] Writer to encode to 3837 * @returns Writer 3838 */ 3839 public static encode(message: vtadmin.IGetBackupsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3840 3841 /** 3842 * Encodes the specified GetBackupsRequest message, length delimited. Does not implicitly {@link vtadmin.GetBackupsRequest.verify|verify} messages. 3843 * @param message GetBackupsRequest message or plain object to encode 3844 * @param [writer] Writer to encode to 3845 * @returns Writer 3846 */ 3847 public static encodeDelimited(message: vtadmin.IGetBackupsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 3848 3849 /** 3850 * Decodes a GetBackupsRequest message from the specified reader or buffer. 3851 * @param reader Reader or buffer to decode from 3852 * @param [length] Message length if known beforehand 3853 * @returns GetBackupsRequest 3854 * @throws {Error} If the payload is not a reader or valid buffer 3855 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3856 */ 3857 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetBackupsRequest; 3858 3859 /** 3860 * Decodes a GetBackupsRequest message from the specified reader or buffer, length delimited. 3861 * @param reader Reader or buffer to decode from 3862 * @returns GetBackupsRequest 3863 * @throws {Error} If the payload is not a reader or valid buffer 3864 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3865 */ 3866 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetBackupsRequest; 3867 3868 /** 3869 * Verifies a GetBackupsRequest message. 3870 * @param message Plain object to verify 3871 * @returns `null` if valid, otherwise the reason why it is not 3872 */ 3873 public static verify(message: { [k: string]: any }): (string|null); 3874 3875 /** 3876 * Creates a GetBackupsRequest message from a plain object. Also converts values to their respective internal types. 3877 * @param object Plain object 3878 * @returns GetBackupsRequest 3879 */ 3880 public static fromObject(object: { [k: string]: any }): vtadmin.GetBackupsRequest; 3881 3882 /** 3883 * Creates a plain object from a GetBackupsRequest message. Also converts values to other types if specified. 3884 * @param message GetBackupsRequest 3885 * @param [options] Conversion options 3886 * @returns Plain object 3887 */ 3888 public static toObject(message: vtadmin.GetBackupsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 3889 3890 /** 3891 * Converts this GetBackupsRequest to JSON. 3892 * @returns JSON object 3893 */ 3894 public toJSON(): { [k: string]: any }; 3895 } 3896 3897 /** Properties of a GetBackupsResponse. */ 3898 interface IGetBackupsResponse { 3899 3900 /** GetBackupsResponse backups */ 3901 backups?: (vtadmin.IClusterBackup[]|null); 3902 } 3903 3904 /** Represents a GetBackupsResponse. */ 3905 class GetBackupsResponse implements IGetBackupsResponse { 3906 3907 /** 3908 * Constructs a new GetBackupsResponse. 3909 * @param [properties] Properties to set 3910 */ 3911 constructor(properties?: vtadmin.IGetBackupsResponse); 3912 3913 /** GetBackupsResponse backups. */ 3914 public backups: vtadmin.IClusterBackup[]; 3915 3916 /** 3917 * Creates a new GetBackupsResponse instance using the specified properties. 3918 * @param [properties] Properties to set 3919 * @returns GetBackupsResponse instance 3920 */ 3921 public static create(properties?: vtadmin.IGetBackupsResponse): vtadmin.GetBackupsResponse; 3922 3923 /** 3924 * Encodes the specified GetBackupsResponse message. Does not implicitly {@link vtadmin.GetBackupsResponse.verify|verify} messages. 3925 * @param message GetBackupsResponse message or plain object to encode 3926 * @param [writer] Writer to encode to 3927 * @returns Writer 3928 */ 3929 public static encode(message: vtadmin.IGetBackupsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 3930 3931 /** 3932 * Encodes the specified GetBackupsResponse message, length delimited. Does not implicitly {@link vtadmin.GetBackupsResponse.verify|verify} messages. 3933 * @param message GetBackupsResponse message or plain object to encode 3934 * @param [writer] Writer to encode to 3935 * @returns Writer 3936 */ 3937 public static encodeDelimited(message: vtadmin.IGetBackupsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 3938 3939 /** 3940 * Decodes a GetBackupsResponse message from the specified reader or buffer. 3941 * @param reader Reader or buffer to decode from 3942 * @param [length] Message length if known beforehand 3943 * @returns GetBackupsResponse 3944 * @throws {Error} If the payload is not a reader or valid buffer 3945 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3946 */ 3947 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetBackupsResponse; 3948 3949 /** 3950 * Decodes a GetBackupsResponse message from the specified reader or buffer, length delimited. 3951 * @param reader Reader or buffer to decode from 3952 * @returns GetBackupsResponse 3953 * @throws {Error} If the payload is not a reader or valid buffer 3954 * @throws {$protobuf.util.ProtocolError} If required fields are missing 3955 */ 3956 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetBackupsResponse; 3957 3958 /** 3959 * Verifies a GetBackupsResponse message. 3960 * @param message Plain object to verify 3961 * @returns `null` if valid, otherwise the reason why it is not 3962 */ 3963 public static verify(message: { [k: string]: any }): (string|null); 3964 3965 /** 3966 * Creates a GetBackupsResponse message from a plain object. Also converts values to their respective internal types. 3967 * @param object Plain object 3968 * @returns GetBackupsResponse 3969 */ 3970 public static fromObject(object: { [k: string]: any }): vtadmin.GetBackupsResponse; 3971 3972 /** 3973 * Creates a plain object from a GetBackupsResponse message. Also converts values to other types if specified. 3974 * @param message GetBackupsResponse 3975 * @param [options] Conversion options 3976 * @returns Plain object 3977 */ 3978 public static toObject(message: vtadmin.GetBackupsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 3979 3980 /** 3981 * Converts this GetBackupsResponse to JSON. 3982 * @returns JSON object 3983 */ 3984 public toJSON(): { [k: string]: any }; 3985 } 3986 3987 /** Properties of a GetCellInfosRequest. */ 3988 interface IGetCellInfosRequest { 3989 3990 /** GetCellInfosRequest cluster_ids */ 3991 cluster_ids?: (string[]|null); 3992 3993 /** GetCellInfosRequest cells */ 3994 cells?: (string[]|null); 3995 3996 /** GetCellInfosRequest names_only */ 3997 names_only?: (boolean|null); 3998 } 3999 4000 /** Represents a GetCellInfosRequest. */ 4001 class GetCellInfosRequest implements IGetCellInfosRequest { 4002 4003 /** 4004 * Constructs a new GetCellInfosRequest. 4005 * @param [properties] Properties to set 4006 */ 4007 constructor(properties?: vtadmin.IGetCellInfosRequest); 4008 4009 /** GetCellInfosRequest cluster_ids. */ 4010 public cluster_ids: string[]; 4011 4012 /** GetCellInfosRequest cells. */ 4013 public cells: string[]; 4014 4015 /** GetCellInfosRequest names_only. */ 4016 public names_only: boolean; 4017 4018 /** 4019 * Creates a new GetCellInfosRequest instance using the specified properties. 4020 * @param [properties] Properties to set 4021 * @returns GetCellInfosRequest instance 4022 */ 4023 public static create(properties?: vtadmin.IGetCellInfosRequest): vtadmin.GetCellInfosRequest; 4024 4025 /** 4026 * Encodes the specified GetCellInfosRequest message. Does not implicitly {@link vtadmin.GetCellInfosRequest.verify|verify} messages. 4027 * @param message GetCellInfosRequest message or plain object to encode 4028 * @param [writer] Writer to encode to 4029 * @returns Writer 4030 */ 4031 public static encode(message: vtadmin.IGetCellInfosRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4032 4033 /** 4034 * Encodes the specified GetCellInfosRequest message, length delimited. Does not implicitly {@link vtadmin.GetCellInfosRequest.verify|verify} messages. 4035 * @param message GetCellInfosRequest message or plain object to encode 4036 * @param [writer] Writer to encode to 4037 * @returns Writer 4038 */ 4039 public static encodeDelimited(message: vtadmin.IGetCellInfosRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4040 4041 /** 4042 * Decodes a GetCellInfosRequest message from the specified reader or buffer. 4043 * @param reader Reader or buffer to decode from 4044 * @param [length] Message length if known beforehand 4045 * @returns GetCellInfosRequest 4046 * @throws {Error} If the payload is not a reader or valid buffer 4047 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4048 */ 4049 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetCellInfosRequest; 4050 4051 /** 4052 * Decodes a GetCellInfosRequest message from the specified reader or buffer, length delimited. 4053 * @param reader Reader or buffer to decode from 4054 * @returns GetCellInfosRequest 4055 * @throws {Error} If the payload is not a reader or valid buffer 4056 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4057 */ 4058 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetCellInfosRequest; 4059 4060 /** 4061 * Verifies a GetCellInfosRequest message. 4062 * @param message Plain object to verify 4063 * @returns `null` if valid, otherwise the reason why it is not 4064 */ 4065 public static verify(message: { [k: string]: any }): (string|null); 4066 4067 /** 4068 * Creates a GetCellInfosRequest message from a plain object. Also converts values to their respective internal types. 4069 * @param object Plain object 4070 * @returns GetCellInfosRequest 4071 */ 4072 public static fromObject(object: { [k: string]: any }): vtadmin.GetCellInfosRequest; 4073 4074 /** 4075 * Creates a plain object from a GetCellInfosRequest message. Also converts values to other types if specified. 4076 * @param message GetCellInfosRequest 4077 * @param [options] Conversion options 4078 * @returns Plain object 4079 */ 4080 public static toObject(message: vtadmin.GetCellInfosRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 4081 4082 /** 4083 * Converts this GetCellInfosRequest to JSON. 4084 * @returns JSON object 4085 */ 4086 public toJSON(): { [k: string]: any }; 4087 } 4088 4089 /** Properties of a GetCellInfosResponse. */ 4090 interface IGetCellInfosResponse { 4091 4092 /** GetCellInfosResponse cell_infos */ 4093 cell_infos?: (vtadmin.IClusterCellInfo[]|null); 4094 } 4095 4096 /** Represents a GetCellInfosResponse. */ 4097 class GetCellInfosResponse implements IGetCellInfosResponse { 4098 4099 /** 4100 * Constructs a new GetCellInfosResponse. 4101 * @param [properties] Properties to set 4102 */ 4103 constructor(properties?: vtadmin.IGetCellInfosResponse); 4104 4105 /** GetCellInfosResponse cell_infos. */ 4106 public cell_infos: vtadmin.IClusterCellInfo[]; 4107 4108 /** 4109 * Creates a new GetCellInfosResponse instance using the specified properties. 4110 * @param [properties] Properties to set 4111 * @returns GetCellInfosResponse instance 4112 */ 4113 public static create(properties?: vtadmin.IGetCellInfosResponse): vtadmin.GetCellInfosResponse; 4114 4115 /** 4116 * Encodes the specified GetCellInfosResponse message. Does not implicitly {@link vtadmin.GetCellInfosResponse.verify|verify} messages. 4117 * @param message GetCellInfosResponse message or plain object to encode 4118 * @param [writer] Writer to encode to 4119 * @returns Writer 4120 */ 4121 public static encode(message: vtadmin.IGetCellInfosResponse, writer?: $protobuf.Writer): $protobuf.Writer; 4122 4123 /** 4124 * Encodes the specified GetCellInfosResponse message, length delimited. Does not implicitly {@link vtadmin.GetCellInfosResponse.verify|verify} messages. 4125 * @param message GetCellInfosResponse message or plain object to encode 4126 * @param [writer] Writer to encode to 4127 * @returns Writer 4128 */ 4129 public static encodeDelimited(message: vtadmin.IGetCellInfosResponse, writer?: $protobuf.Writer): $protobuf.Writer; 4130 4131 /** 4132 * Decodes a GetCellInfosResponse message from the specified reader or buffer. 4133 * @param reader Reader or buffer to decode from 4134 * @param [length] Message length if known beforehand 4135 * @returns GetCellInfosResponse 4136 * @throws {Error} If the payload is not a reader or valid buffer 4137 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4138 */ 4139 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetCellInfosResponse; 4140 4141 /** 4142 * Decodes a GetCellInfosResponse message from the specified reader or buffer, length delimited. 4143 * @param reader Reader or buffer to decode from 4144 * @returns GetCellInfosResponse 4145 * @throws {Error} If the payload is not a reader or valid buffer 4146 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4147 */ 4148 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetCellInfosResponse; 4149 4150 /** 4151 * Verifies a GetCellInfosResponse message. 4152 * @param message Plain object to verify 4153 * @returns `null` if valid, otherwise the reason why it is not 4154 */ 4155 public static verify(message: { [k: string]: any }): (string|null); 4156 4157 /** 4158 * Creates a GetCellInfosResponse message from a plain object. Also converts values to their respective internal types. 4159 * @param object Plain object 4160 * @returns GetCellInfosResponse 4161 */ 4162 public static fromObject(object: { [k: string]: any }): vtadmin.GetCellInfosResponse; 4163 4164 /** 4165 * Creates a plain object from a GetCellInfosResponse message. Also converts values to other types if specified. 4166 * @param message GetCellInfosResponse 4167 * @param [options] Conversion options 4168 * @returns Plain object 4169 */ 4170 public static toObject(message: vtadmin.GetCellInfosResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 4171 4172 /** 4173 * Converts this GetCellInfosResponse to JSON. 4174 * @returns JSON object 4175 */ 4176 public toJSON(): { [k: string]: any }; 4177 } 4178 4179 /** Properties of a GetCellsAliasesRequest. */ 4180 interface IGetCellsAliasesRequest { 4181 4182 /** GetCellsAliasesRequest cluster_ids */ 4183 cluster_ids?: (string[]|null); 4184 } 4185 4186 /** Represents a GetCellsAliasesRequest. */ 4187 class GetCellsAliasesRequest implements IGetCellsAliasesRequest { 4188 4189 /** 4190 * Constructs a new GetCellsAliasesRequest. 4191 * @param [properties] Properties to set 4192 */ 4193 constructor(properties?: vtadmin.IGetCellsAliasesRequest); 4194 4195 /** GetCellsAliasesRequest cluster_ids. */ 4196 public cluster_ids: string[]; 4197 4198 /** 4199 * Creates a new GetCellsAliasesRequest instance using the specified properties. 4200 * @param [properties] Properties to set 4201 * @returns GetCellsAliasesRequest instance 4202 */ 4203 public static create(properties?: vtadmin.IGetCellsAliasesRequest): vtadmin.GetCellsAliasesRequest; 4204 4205 /** 4206 * Encodes the specified GetCellsAliasesRequest message. Does not implicitly {@link vtadmin.GetCellsAliasesRequest.verify|verify} messages. 4207 * @param message GetCellsAliasesRequest message or plain object to encode 4208 * @param [writer] Writer to encode to 4209 * @returns Writer 4210 */ 4211 public static encode(message: vtadmin.IGetCellsAliasesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4212 4213 /** 4214 * Encodes the specified GetCellsAliasesRequest message, length delimited. Does not implicitly {@link vtadmin.GetCellsAliasesRequest.verify|verify} messages. 4215 * @param message GetCellsAliasesRequest message or plain object to encode 4216 * @param [writer] Writer to encode to 4217 * @returns Writer 4218 */ 4219 public static encodeDelimited(message: vtadmin.IGetCellsAliasesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4220 4221 /** 4222 * Decodes a GetCellsAliasesRequest message from the specified reader or buffer. 4223 * @param reader Reader or buffer to decode from 4224 * @param [length] Message length if known beforehand 4225 * @returns GetCellsAliasesRequest 4226 * @throws {Error} If the payload is not a reader or valid buffer 4227 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4228 */ 4229 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetCellsAliasesRequest; 4230 4231 /** 4232 * Decodes a GetCellsAliasesRequest message from the specified reader or buffer, length delimited. 4233 * @param reader Reader or buffer to decode from 4234 * @returns GetCellsAliasesRequest 4235 * @throws {Error} If the payload is not a reader or valid buffer 4236 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4237 */ 4238 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetCellsAliasesRequest; 4239 4240 /** 4241 * Verifies a GetCellsAliasesRequest message. 4242 * @param message Plain object to verify 4243 * @returns `null` if valid, otherwise the reason why it is not 4244 */ 4245 public static verify(message: { [k: string]: any }): (string|null); 4246 4247 /** 4248 * Creates a GetCellsAliasesRequest message from a plain object. Also converts values to their respective internal types. 4249 * @param object Plain object 4250 * @returns GetCellsAliasesRequest 4251 */ 4252 public static fromObject(object: { [k: string]: any }): vtadmin.GetCellsAliasesRequest; 4253 4254 /** 4255 * Creates a plain object from a GetCellsAliasesRequest message. Also converts values to other types if specified. 4256 * @param message GetCellsAliasesRequest 4257 * @param [options] Conversion options 4258 * @returns Plain object 4259 */ 4260 public static toObject(message: vtadmin.GetCellsAliasesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 4261 4262 /** 4263 * Converts this GetCellsAliasesRequest to JSON. 4264 * @returns JSON object 4265 */ 4266 public toJSON(): { [k: string]: any }; 4267 } 4268 4269 /** Properties of a GetCellsAliasesResponse. */ 4270 interface IGetCellsAliasesResponse { 4271 4272 /** GetCellsAliasesResponse aliases */ 4273 aliases?: (vtadmin.IClusterCellsAliases[]|null); 4274 } 4275 4276 /** Represents a GetCellsAliasesResponse. */ 4277 class GetCellsAliasesResponse implements IGetCellsAliasesResponse { 4278 4279 /** 4280 * Constructs a new GetCellsAliasesResponse. 4281 * @param [properties] Properties to set 4282 */ 4283 constructor(properties?: vtadmin.IGetCellsAliasesResponse); 4284 4285 /** GetCellsAliasesResponse aliases. */ 4286 public aliases: vtadmin.IClusterCellsAliases[]; 4287 4288 /** 4289 * Creates a new GetCellsAliasesResponse instance using the specified properties. 4290 * @param [properties] Properties to set 4291 * @returns GetCellsAliasesResponse instance 4292 */ 4293 public static create(properties?: vtadmin.IGetCellsAliasesResponse): vtadmin.GetCellsAliasesResponse; 4294 4295 /** 4296 * Encodes the specified GetCellsAliasesResponse message. Does not implicitly {@link vtadmin.GetCellsAliasesResponse.verify|verify} messages. 4297 * @param message GetCellsAliasesResponse message or plain object to encode 4298 * @param [writer] Writer to encode to 4299 * @returns Writer 4300 */ 4301 public static encode(message: vtadmin.IGetCellsAliasesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 4302 4303 /** 4304 * Encodes the specified GetCellsAliasesResponse message, length delimited. Does not implicitly {@link vtadmin.GetCellsAliasesResponse.verify|verify} messages. 4305 * @param message GetCellsAliasesResponse message or plain object to encode 4306 * @param [writer] Writer to encode to 4307 * @returns Writer 4308 */ 4309 public static encodeDelimited(message: vtadmin.IGetCellsAliasesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 4310 4311 /** 4312 * Decodes a GetCellsAliasesResponse message from the specified reader or buffer. 4313 * @param reader Reader or buffer to decode from 4314 * @param [length] Message length if known beforehand 4315 * @returns GetCellsAliasesResponse 4316 * @throws {Error} If the payload is not a reader or valid buffer 4317 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4318 */ 4319 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetCellsAliasesResponse; 4320 4321 /** 4322 * Decodes a GetCellsAliasesResponse message from the specified reader or buffer, length delimited. 4323 * @param reader Reader or buffer to decode from 4324 * @returns GetCellsAliasesResponse 4325 * @throws {Error} If the payload is not a reader or valid buffer 4326 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4327 */ 4328 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetCellsAliasesResponse; 4329 4330 /** 4331 * Verifies a GetCellsAliasesResponse message. 4332 * @param message Plain object to verify 4333 * @returns `null` if valid, otherwise the reason why it is not 4334 */ 4335 public static verify(message: { [k: string]: any }): (string|null); 4336 4337 /** 4338 * Creates a GetCellsAliasesResponse message from a plain object. Also converts values to their respective internal types. 4339 * @param object Plain object 4340 * @returns GetCellsAliasesResponse 4341 */ 4342 public static fromObject(object: { [k: string]: any }): vtadmin.GetCellsAliasesResponse; 4343 4344 /** 4345 * Creates a plain object from a GetCellsAliasesResponse message. Also converts values to other types if specified. 4346 * @param message GetCellsAliasesResponse 4347 * @param [options] Conversion options 4348 * @returns Plain object 4349 */ 4350 public static toObject(message: vtadmin.GetCellsAliasesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 4351 4352 /** 4353 * Converts this GetCellsAliasesResponse to JSON. 4354 * @returns JSON object 4355 */ 4356 public toJSON(): { [k: string]: any }; 4357 } 4358 4359 /** Properties of a GetClustersRequest. */ 4360 interface IGetClustersRequest { 4361 } 4362 4363 /** Represents a GetClustersRequest. */ 4364 class GetClustersRequest implements IGetClustersRequest { 4365 4366 /** 4367 * Constructs a new GetClustersRequest. 4368 * @param [properties] Properties to set 4369 */ 4370 constructor(properties?: vtadmin.IGetClustersRequest); 4371 4372 /** 4373 * Creates a new GetClustersRequest instance using the specified properties. 4374 * @param [properties] Properties to set 4375 * @returns GetClustersRequest instance 4376 */ 4377 public static create(properties?: vtadmin.IGetClustersRequest): vtadmin.GetClustersRequest; 4378 4379 /** 4380 * Encodes the specified GetClustersRequest message. Does not implicitly {@link vtadmin.GetClustersRequest.verify|verify} messages. 4381 * @param message GetClustersRequest message or plain object to encode 4382 * @param [writer] Writer to encode to 4383 * @returns Writer 4384 */ 4385 public static encode(message: vtadmin.IGetClustersRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4386 4387 /** 4388 * Encodes the specified GetClustersRequest message, length delimited. Does not implicitly {@link vtadmin.GetClustersRequest.verify|verify} messages. 4389 * @param message GetClustersRequest message or plain object to encode 4390 * @param [writer] Writer to encode to 4391 * @returns Writer 4392 */ 4393 public static encodeDelimited(message: vtadmin.IGetClustersRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4394 4395 /** 4396 * Decodes a GetClustersRequest message from the specified reader or buffer. 4397 * @param reader Reader or buffer to decode from 4398 * @param [length] Message length if known beforehand 4399 * @returns GetClustersRequest 4400 * @throws {Error} If the payload is not a reader or valid buffer 4401 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4402 */ 4403 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetClustersRequest; 4404 4405 /** 4406 * Decodes a GetClustersRequest message from the specified reader or buffer, length delimited. 4407 * @param reader Reader or buffer to decode from 4408 * @returns GetClustersRequest 4409 * @throws {Error} If the payload is not a reader or valid buffer 4410 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4411 */ 4412 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetClustersRequest; 4413 4414 /** 4415 * Verifies a GetClustersRequest message. 4416 * @param message Plain object to verify 4417 * @returns `null` if valid, otherwise the reason why it is not 4418 */ 4419 public static verify(message: { [k: string]: any }): (string|null); 4420 4421 /** 4422 * Creates a GetClustersRequest message from a plain object. Also converts values to their respective internal types. 4423 * @param object Plain object 4424 * @returns GetClustersRequest 4425 */ 4426 public static fromObject(object: { [k: string]: any }): vtadmin.GetClustersRequest; 4427 4428 /** 4429 * Creates a plain object from a GetClustersRequest message. Also converts values to other types if specified. 4430 * @param message GetClustersRequest 4431 * @param [options] Conversion options 4432 * @returns Plain object 4433 */ 4434 public static toObject(message: vtadmin.GetClustersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 4435 4436 /** 4437 * Converts this GetClustersRequest to JSON. 4438 * @returns JSON object 4439 */ 4440 public toJSON(): { [k: string]: any }; 4441 } 4442 4443 /** Properties of a GetClustersResponse. */ 4444 interface IGetClustersResponse { 4445 4446 /** GetClustersResponse clusters */ 4447 clusters?: (vtadmin.ICluster[]|null); 4448 } 4449 4450 /** Represents a GetClustersResponse. */ 4451 class GetClustersResponse implements IGetClustersResponse { 4452 4453 /** 4454 * Constructs a new GetClustersResponse. 4455 * @param [properties] Properties to set 4456 */ 4457 constructor(properties?: vtadmin.IGetClustersResponse); 4458 4459 /** GetClustersResponse clusters. */ 4460 public clusters: vtadmin.ICluster[]; 4461 4462 /** 4463 * Creates a new GetClustersResponse instance using the specified properties. 4464 * @param [properties] Properties to set 4465 * @returns GetClustersResponse instance 4466 */ 4467 public static create(properties?: vtadmin.IGetClustersResponse): vtadmin.GetClustersResponse; 4468 4469 /** 4470 * Encodes the specified GetClustersResponse message. Does not implicitly {@link vtadmin.GetClustersResponse.verify|verify} messages. 4471 * @param message GetClustersResponse message or plain object to encode 4472 * @param [writer] Writer to encode to 4473 * @returns Writer 4474 */ 4475 public static encode(message: vtadmin.IGetClustersResponse, writer?: $protobuf.Writer): $protobuf.Writer; 4476 4477 /** 4478 * Encodes the specified GetClustersResponse message, length delimited. Does not implicitly {@link vtadmin.GetClustersResponse.verify|verify} messages. 4479 * @param message GetClustersResponse message or plain object to encode 4480 * @param [writer] Writer to encode to 4481 * @returns Writer 4482 */ 4483 public static encodeDelimited(message: vtadmin.IGetClustersResponse, writer?: $protobuf.Writer): $protobuf.Writer; 4484 4485 /** 4486 * Decodes a GetClustersResponse message from the specified reader or buffer. 4487 * @param reader Reader or buffer to decode from 4488 * @param [length] Message length if known beforehand 4489 * @returns GetClustersResponse 4490 * @throws {Error} If the payload is not a reader or valid buffer 4491 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4492 */ 4493 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetClustersResponse; 4494 4495 /** 4496 * Decodes a GetClustersResponse message from the specified reader or buffer, length delimited. 4497 * @param reader Reader or buffer to decode from 4498 * @returns GetClustersResponse 4499 * @throws {Error} If the payload is not a reader or valid buffer 4500 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4501 */ 4502 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetClustersResponse; 4503 4504 /** 4505 * Verifies a GetClustersResponse message. 4506 * @param message Plain object to verify 4507 * @returns `null` if valid, otherwise the reason why it is not 4508 */ 4509 public static verify(message: { [k: string]: any }): (string|null); 4510 4511 /** 4512 * Creates a GetClustersResponse message from a plain object. Also converts values to their respective internal types. 4513 * @param object Plain object 4514 * @returns GetClustersResponse 4515 */ 4516 public static fromObject(object: { [k: string]: any }): vtadmin.GetClustersResponse; 4517 4518 /** 4519 * Creates a plain object from a GetClustersResponse message. Also converts values to other types if specified. 4520 * @param message GetClustersResponse 4521 * @param [options] Conversion options 4522 * @returns Plain object 4523 */ 4524 public static toObject(message: vtadmin.GetClustersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 4525 4526 /** 4527 * Converts this GetClustersResponse to JSON. 4528 * @returns JSON object 4529 */ 4530 public toJSON(): { [k: string]: any }; 4531 } 4532 4533 /** Properties of a GetFullStatusRequest. */ 4534 interface IGetFullStatusRequest { 4535 4536 /** GetFullStatusRequest cluster_id */ 4537 cluster_id?: (string|null); 4538 4539 /** GetFullStatusRequest alias */ 4540 alias?: (topodata.ITabletAlias|null); 4541 } 4542 4543 /** Represents a GetFullStatusRequest. */ 4544 class GetFullStatusRequest implements IGetFullStatusRequest { 4545 4546 /** 4547 * Constructs a new GetFullStatusRequest. 4548 * @param [properties] Properties to set 4549 */ 4550 constructor(properties?: vtadmin.IGetFullStatusRequest); 4551 4552 /** GetFullStatusRequest cluster_id. */ 4553 public cluster_id: string; 4554 4555 /** GetFullStatusRequest alias. */ 4556 public alias?: (topodata.ITabletAlias|null); 4557 4558 /** 4559 * Creates a new GetFullStatusRequest instance using the specified properties. 4560 * @param [properties] Properties to set 4561 * @returns GetFullStatusRequest instance 4562 */ 4563 public static create(properties?: vtadmin.IGetFullStatusRequest): vtadmin.GetFullStatusRequest; 4564 4565 /** 4566 * Encodes the specified GetFullStatusRequest message. Does not implicitly {@link vtadmin.GetFullStatusRequest.verify|verify} messages. 4567 * @param message GetFullStatusRequest message or plain object to encode 4568 * @param [writer] Writer to encode to 4569 * @returns Writer 4570 */ 4571 public static encode(message: vtadmin.IGetFullStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4572 4573 /** 4574 * Encodes the specified GetFullStatusRequest message, length delimited. Does not implicitly {@link vtadmin.GetFullStatusRequest.verify|verify} messages. 4575 * @param message GetFullStatusRequest message or plain object to encode 4576 * @param [writer] Writer to encode to 4577 * @returns Writer 4578 */ 4579 public static encodeDelimited(message: vtadmin.IGetFullStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4580 4581 /** 4582 * Decodes a GetFullStatusRequest message from the specified reader or buffer. 4583 * @param reader Reader or buffer to decode from 4584 * @param [length] Message length if known beforehand 4585 * @returns GetFullStatusRequest 4586 * @throws {Error} If the payload is not a reader or valid buffer 4587 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4588 */ 4589 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetFullStatusRequest; 4590 4591 /** 4592 * Decodes a GetFullStatusRequest message from the specified reader or buffer, length delimited. 4593 * @param reader Reader or buffer to decode from 4594 * @returns GetFullStatusRequest 4595 * @throws {Error} If the payload is not a reader or valid buffer 4596 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4597 */ 4598 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetFullStatusRequest; 4599 4600 /** 4601 * Verifies a GetFullStatusRequest message. 4602 * @param message Plain object to verify 4603 * @returns `null` if valid, otherwise the reason why it is not 4604 */ 4605 public static verify(message: { [k: string]: any }): (string|null); 4606 4607 /** 4608 * Creates a GetFullStatusRequest message from a plain object. Also converts values to their respective internal types. 4609 * @param object Plain object 4610 * @returns GetFullStatusRequest 4611 */ 4612 public static fromObject(object: { [k: string]: any }): vtadmin.GetFullStatusRequest; 4613 4614 /** 4615 * Creates a plain object from a GetFullStatusRequest message. Also converts values to other types if specified. 4616 * @param message GetFullStatusRequest 4617 * @param [options] Conversion options 4618 * @returns Plain object 4619 */ 4620 public static toObject(message: vtadmin.GetFullStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 4621 4622 /** 4623 * Converts this GetFullStatusRequest to JSON. 4624 * @returns JSON object 4625 */ 4626 public toJSON(): { [k: string]: any }; 4627 } 4628 4629 /** Properties of a GetGatesRequest. */ 4630 interface IGetGatesRequest { 4631 4632 /** GetGatesRequest cluster_ids */ 4633 cluster_ids?: (string[]|null); 4634 } 4635 4636 /** Represents a GetGatesRequest. */ 4637 class GetGatesRequest implements IGetGatesRequest { 4638 4639 /** 4640 * Constructs a new GetGatesRequest. 4641 * @param [properties] Properties to set 4642 */ 4643 constructor(properties?: vtadmin.IGetGatesRequest); 4644 4645 /** GetGatesRequest cluster_ids. */ 4646 public cluster_ids: string[]; 4647 4648 /** 4649 * Creates a new GetGatesRequest instance using the specified properties. 4650 * @param [properties] Properties to set 4651 * @returns GetGatesRequest instance 4652 */ 4653 public static create(properties?: vtadmin.IGetGatesRequest): vtadmin.GetGatesRequest; 4654 4655 /** 4656 * Encodes the specified GetGatesRequest message. Does not implicitly {@link vtadmin.GetGatesRequest.verify|verify} messages. 4657 * @param message GetGatesRequest message or plain object to encode 4658 * @param [writer] Writer to encode to 4659 * @returns Writer 4660 */ 4661 public static encode(message: vtadmin.IGetGatesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4662 4663 /** 4664 * Encodes the specified GetGatesRequest message, length delimited. Does not implicitly {@link vtadmin.GetGatesRequest.verify|verify} messages. 4665 * @param message GetGatesRequest message or plain object to encode 4666 * @param [writer] Writer to encode to 4667 * @returns Writer 4668 */ 4669 public static encodeDelimited(message: vtadmin.IGetGatesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4670 4671 /** 4672 * Decodes a GetGatesRequest message from the specified reader or buffer. 4673 * @param reader Reader or buffer to decode from 4674 * @param [length] Message length if known beforehand 4675 * @returns GetGatesRequest 4676 * @throws {Error} If the payload is not a reader or valid buffer 4677 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4678 */ 4679 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetGatesRequest; 4680 4681 /** 4682 * Decodes a GetGatesRequest message from the specified reader or buffer, length delimited. 4683 * @param reader Reader or buffer to decode from 4684 * @returns GetGatesRequest 4685 * @throws {Error} If the payload is not a reader or valid buffer 4686 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4687 */ 4688 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetGatesRequest; 4689 4690 /** 4691 * Verifies a GetGatesRequest message. 4692 * @param message Plain object to verify 4693 * @returns `null` if valid, otherwise the reason why it is not 4694 */ 4695 public static verify(message: { [k: string]: any }): (string|null); 4696 4697 /** 4698 * Creates a GetGatesRequest message from a plain object. Also converts values to their respective internal types. 4699 * @param object Plain object 4700 * @returns GetGatesRequest 4701 */ 4702 public static fromObject(object: { [k: string]: any }): vtadmin.GetGatesRequest; 4703 4704 /** 4705 * Creates a plain object from a GetGatesRequest message. Also converts values to other types if specified. 4706 * @param message GetGatesRequest 4707 * @param [options] Conversion options 4708 * @returns Plain object 4709 */ 4710 public static toObject(message: vtadmin.GetGatesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 4711 4712 /** 4713 * Converts this GetGatesRequest to JSON. 4714 * @returns JSON object 4715 */ 4716 public toJSON(): { [k: string]: any }; 4717 } 4718 4719 /** Properties of a GetGatesResponse. */ 4720 interface IGetGatesResponse { 4721 4722 /** GetGatesResponse gates */ 4723 gates?: (vtadmin.IVTGate[]|null); 4724 } 4725 4726 /** Represents a GetGatesResponse. */ 4727 class GetGatesResponse implements IGetGatesResponse { 4728 4729 /** 4730 * Constructs a new GetGatesResponse. 4731 * @param [properties] Properties to set 4732 */ 4733 constructor(properties?: vtadmin.IGetGatesResponse); 4734 4735 /** GetGatesResponse gates. */ 4736 public gates: vtadmin.IVTGate[]; 4737 4738 /** 4739 * Creates a new GetGatesResponse instance using the specified properties. 4740 * @param [properties] Properties to set 4741 * @returns GetGatesResponse instance 4742 */ 4743 public static create(properties?: vtadmin.IGetGatesResponse): vtadmin.GetGatesResponse; 4744 4745 /** 4746 * Encodes the specified GetGatesResponse message. Does not implicitly {@link vtadmin.GetGatesResponse.verify|verify} messages. 4747 * @param message GetGatesResponse message or plain object to encode 4748 * @param [writer] Writer to encode to 4749 * @returns Writer 4750 */ 4751 public static encode(message: vtadmin.IGetGatesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 4752 4753 /** 4754 * Encodes the specified GetGatesResponse message, length delimited. Does not implicitly {@link vtadmin.GetGatesResponse.verify|verify} messages. 4755 * @param message GetGatesResponse message or plain object to encode 4756 * @param [writer] Writer to encode to 4757 * @returns Writer 4758 */ 4759 public static encodeDelimited(message: vtadmin.IGetGatesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 4760 4761 /** 4762 * Decodes a GetGatesResponse message from the specified reader or buffer. 4763 * @param reader Reader or buffer to decode from 4764 * @param [length] Message length if known beforehand 4765 * @returns GetGatesResponse 4766 * @throws {Error} If the payload is not a reader or valid buffer 4767 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4768 */ 4769 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetGatesResponse; 4770 4771 /** 4772 * Decodes a GetGatesResponse message from the specified reader or buffer, length delimited. 4773 * @param reader Reader or buffer to decode from 4774 * @returns GetGatesResponse 4775 * @throws {Error} If the payload is not a reader or valid buffer 4776 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4777 */ 4778 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetGatesResponse; 4779 4780 /** 4781 * Verifies a GetGatesResponse message. 4782 * @param message Plain object to verify 4783 * @returns `null` if valid, otherwise the reason why it is not 4784 */ 4785 public static verify(message: { [k: string]: any }): (string|null); 4786 4787 /** 4788 * Creates a GetGatesResponse message from a plain object. Also converts values to their respective internal types. 4789 * @param object Plain object 4790 * @returns GetGatesResponse 4791 */ 4792 public static fromObject(object: { [k: string]: any }): vtadmin.GetGatesResponse; 4793 4794 /** 4795 * Creates a plain object from a GetGatesResponse message. Also converts values to other types if specified. 4796 * @param message GetGatesResponse 4797 * @param [options] Conversion options 4798 * @returns Plain object 4799 */ 4800 public static toObject(message: vtadmin.GetGatesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 4801 4802 /** 4803 * Converts this GetGatesResponse to JSON. 4804 * @returns JSON object 4805 */ 4806 public toJSON(): { [k: string]: any }; 4807 } 4808 4809 /** Properties of a GetKeyspaceRequest. */ 4810 interface IGetKeyspaceRequest { 4811 4812 /** GetKeyspaceRequest cluster_id */ 4813 cluster_id?: (string|null); 4814 4815 /** GetKeyspaceRequest keyspace */ 4816 keyspace?: (string|null); 4817 } 4818 4819 /** Represents a GetKeyspaceRequest. */ 4820 class GetKeyspaceRequest implements IGetKeyspaceRequest { 4821 4822 /** 4823 * Constructs a new GetKeyspaceRequest. 4824 * @param [properties] Properties to set 4825 */ 4826 constructor(properties?: vtadmin.IGetKeyspaceRequest); 4827 4828 /** GetKeyspaceRequest cluster_id. */ 4829 public cluster_id: string; 4830 4831 /** GetKeyspaceRequest keyspace. */ 4832 public keyspace: string; 4833 4834 /** 4835 * Creates a new GetKeyspaceRequest instance using the specified properties. 4836 * @param [properties] Properties to set 4837 * @returns GetKeyspaceRequest instance 4838 */ 4839 public static create(properties?: vtadmin.IGetKeyspaceRequest): vtadmin.GetKeyspaceRequest; 4840 4841 /** 4842 * Encodes the specified GetKeyspaceRequest message. Does not implicitly {@link vtadmin.GetKeyspaceRequest.verify|verify} messages. 4843 * @param message GetKeyspaceRequest message or plain object to encode 4844 * @param [writer] Writer to encode to 4845 * @returns Writer 4846 */ 4847 public static encode(message: vtadmin.IGetKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4848 4849 /** 4850 * Encodes the specified GetKeyspaceRequest message, length delimited. Does not implicitly {@link vtadmin.GetKeyspaceRequest.verify|verify} messages. 4851 * @param message GetKeyspaceRequest message or plain object to encode 4852 * @param [writer] Writer to encode to 4853 * @returns Writer 4854 */ 4855 public static encodeDelimited(message: vtadmin.IGetKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4856 4857 /** 4858 * Decodes a GetKeyspaceRequest message from the specified reader or buffer. 4859 * @param reader Reader or buffer to decode from 4860 * @param [length] Message length if known beforehand 4861 * @returns GetKeyspaceRequest 4862 * @throws {Error} If the payload is not a reader or valid buffer 4863 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4864 */ 4865 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetKeyspaceRequest; 4866 4867 /** 4868 * Decodes a GetKeyspaceRequest message from the specified reader or buffer, length delimited. 4869 * @param reader Reader or buffer to decode from 4870 * @returns GetKeyspaceRequest 4871 * @throws {Error} If the payload is not a reader or valid buffer 4872 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4873 */ 4874 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetKeyspaceRequest; 4875 4876 /** 4877 * Verifies a GetKeyspaceRequest message. 4878 * @param message Plain object to verify 4879 * @returns `null` if valid, otherwise the reason why it is not 4880 */ 4881 public static verify(message: { [k: string]: any }): (string|null); 4882 4883 /** 4884 * Creates a GetKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 4885 * @param object Plain object 4886 * @returns GetKeyspaceRequest 4887 */ 4888 public static fromObject(object: { [k: string]: any }): vtadmin.GetKeyspaceRequest; 4889 4890 /** 4891 * Creates a plain object from a GetKeyspaceRequest message. Also converts values to other types if specified. 4892 * @param message GetKeyspaceRequest 4893 * @param [options] Conversion options 4894 * @returns Plain object 4895 */ 4896 public static toObject(message: vtadmin.GetKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 4897 4898 /** 4899 * Converts this GetKeyspaceRequest to JSON. 4900 * @returns JSON object 4901 */ 4902 public toJSON(): { [k: string]: any }; 4903 } 4904 4905 /** Properties of a GetKeyspacesRequest. */ 4906 interface IGetKeyspacesRequest { 4907 4908 /** GetKeyspacesRequest cluster_ids */ 4909 cluster_ids?: (string[]|null); 4910 } 4911 4912 /** Represents a GetKeyspacesRequest. */ 4913 class GetKeyspacesRequest implements IGetKeyspacesRequest { 4914 4915 /** 4916 * Constructs a new GetKeyspacesRequest. 4917 * @param [properties] Properties to set 4918 */ 4919 constructor(properties?: vtadmin.IGetKeyspacesRequest); 4920 4921 /** GetKeyspacesRequest cluster_ids. */ 4922 public cluster_ids: string[]; 4923 4924 /** 4925 * Creates a new GetKeyspacesRequest instance using the specified properties. 4926 * @param [properties] Properties to set 4927 * @returns GetKeyspacesRequest instance 4928 */ 4929 public static create(properties?: vtadmin.IGetKeyspacesRequest): vtadmin.GetKeyspacesRequest; 4930 4931 /** 4932 * Encodes the specified GetKeyspacesRequest message. Does not implicitly {@link vtadmin.GetKeyspacesRequest.verify|verify} messages. 4933 * @param message GetKeyspacesRequest message or plain object to encode 4934 * @param [writer] Writer to encode to 4935 * @returns Writer 4936 */ 4937 public static encode(message: vtadmin.IGetKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4938 4939 /** 4940 * Encodes the specified GetKeyspacesRequest message, length delimited. Does not implicitly {@link vtadmin.GetKeyspacesRequest.verify|verify} messages. 4941 * @param message GetKeyspacesRequest message or plain object to encode 4942 * @param [writer] Writer to encode to 4943 * @returns Writer 4944 */ 4945 public static encodeDelimited(message: vtadmin.IGetKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 4946 4947 /** 4948 * Decodes a GetKeyspacesRequest message from the specified reader or buffer. 4949 * @param reader Reader or buffer to decode from 4950 * @param [length] Message length if known beforehand 4951 * @returns GetKeyspacesRequest 4952 * @throws {Error} If the payload is not a reader or valid buffer 4953 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4954 */ 4955 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetKeyspacesRequest; 4956 4957 /** 4958 * Decodes a GetKeyspacesRequest message from the specified reader or buffer, length delimited. 4959 * @param reader Reader or buffer to decode from 4960 * @returns GetKeyspacesRequest 4961 * @throws {Error} If the payload is not a reader or valid buffer 4962 * @throws {$protobuf.util.ProtocolError} If required fields are missing 4963 */ 4964 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetKeyspacesRequest; 4965 4966 /** 4967 * Verifies a GetKeyspacesRequest message. 4968 * @param message Plain object to verify 4969 * @returns `null` if valid, otherwise the reason why it is not 4970 */ 4971 public static verify(message: { [k: string]: any }): (string|null); 4972 4973 /** 4974 * Creates a GetKeyspacesRequest message from a plain object. Also converts values to their respective internal types. 4975 * @param object Plain object 4976 * @returns GetKeyspacesRequest 4977 */ 4978 public static fromObject(object: { [k: string]: any }): vtadmin.GetKeyspacesRequest; 4979 4980 /** 4981 * Creates a plain object from a GetKeyspacesRequest message. Also converts values to other types if specified. 4982 * @param message GetKeyspacesRequest 4983 * @param [options] Conversion options 4984 * @returns Plain object 4985 */ 4986 public static toObject(message: vtadmin.GetKeyspacesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 4987 4988 /** 4989 * Converts this GetKeyspacesRequest to JSON. 4990 * @returns JSON object 4991 */ 4992 public toJSON(): { [k: string]: any }; 4993 } 4994 4995 /** Properties of a GetKeyspacesResponse. */ 4996 interface IGetKeyspacesResponse { 4997 4998 /** GetKeyspacesResponse keyspaces */ 4999 keyspaces?: (vtadmin.IKeyspace[]|null); 5000 } 5001 5002 /** Represents a GetKeyspacesResponse. */ 5003 class GetKeyspacesResponse implements IGetKeyspacesResponse { 5004 5005 /** 5006 * Constructs a new GetKeyspacesResponse. 5007 * @param [properties] Properties to set 5008 */ 5009 constructor(properties?: vtadmin.IGetKeyspacesResponse); 5010 5011 /** GetKeyspacesResponse keyspaces. */ 5012 public keyspaces: vtadmin.IKeyspace[]; 5013 5014 /** 5015 * Creates a new GetKeyspacesResponse instance using the specified properties. 5016 * @param [properties] Properties to set 5017 * @returns GetKeyspacesResponse instance 5018 */ 5019 public static create(properties?: vtadmin.IGetKeyspacesResponse): vtadmin.GetKeyspacesResponse; 5020 5021 /** 5022 * Encodes the specified GetKeyspacesResponse message. Does not implicitly {@link vtadmin.GetKeyspacesResponse.verify|verify} messages. 5023 * @param message GetKeyspacesResponse message or plain object to encode 5024 * @param [writer] Writer to encode to 5025 * @returns Writer 5026 */ 5027 public static encode(message: vtadmin.IGetKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 5028 5029 /** 5030 * Encodes the specified GetKeyspacesResponse message, length delimited. Does not implicitly {@link vtadmin.GetKeyspacesResponse.verify|verify} messages. 5031 * @param message GetKeyspacesResponse message or plain object to encode 5032 * @param [writer] Writer to encode to 5033 * @returns Writer 5034 */ 5035 public static encodeDelimited(message: vtadmin.IGetKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 5036 5037 /** 5038 * Decodes a GetKeyspacesResponse message from the specified reader or buffer. 5039 * @param reader Reader or buffer to decode from 5040 * @param [length] Message length if known beforehand 5041 * @returns GetKeyspacesResponse 5042 * @throws {Error} If the payload is not a reader or valid buffer 5043 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5044 */ 5045 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetKeyspacesResponse; 5046 5047 /** 5048 * Decodes a GetKeyspacesResponse message from the specified reader or buffer, length delimited. 5049 * @param reader Reader or buffer to decode from 5050 * @returns GetKeyspacesResponse 5051 * @throws {Error} If the payload is not a reader or valid buffer 5052 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5053 */ 5054 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetKeyspacesResponse; 5055 5056 /** 5057 * Verifies a GetKeyspacesResponse message. 5058 * @param message Plain object to verify 5059 * @returns `null` if valid, otherwise the reason why it is not 5060 */ 5061 public static verify(message: { [k: string]: any }): (string|null); 5062 5063 /** 5064 * Creates a GetKeyspacesResponse message from a plain object. Also converts values to their respective internal types. 5065 * @param object Plain object 5066 * @returns GetKeyspacesResponse 5067 */ 5068 public static fromObject(object: { [k: string]: any }): vtadmin.GetKeyspacesResponse; 5069 5070 /** 5071 * Creates a plain object from a GetKeyspacesResponse message. Also converts values to other types if specified. 5072 * @param message GetKeyspacesResponse 5073 * @param [options] Conversion options 5074 * @returns Plain object 5075 */ 5076 public static toObject(message: vtadmin.GetKeyspacesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 5077 5078 /** 5079 * Converts this GetKeyspacesResponse to JSON. 5080 * @returns JSON object 5081 */ 5082 public toJSON(): { [k: string]: any }; 5083 } 5084 5085 /** Properties of a GetSchemaRequest. */ 5086 interface IGetSchemaRequest { 5087 5088 /** GetSchemaRequest cluster_id */ 5089 cluster_id?: (string|null); 5090 5091 /** GetSchemaRequest keyspace */ 5092 keyspace?: (string|null); 5093 5094 /** GetSchemaRequest table */ 5095 table?: (string|null); 5096 5097 /** GetSchemaRequest table_size_options */ 5098 table_size_options?: (vtadmin.IGetSchemaTableSizeOptions|null); 5099 } 5100 5101 /** Represents a GetSchemaRequest. */ 5102 class GetSchemaRequest implements IGetSchemaRequest { 5103 5104 /** 5105 * Constructs a new GetSchemaRequest. 5106 * @param [properties] Properties to set 5107 */ 5108 constructor(properties?: vtadmin.IGetSchemaRequest); 5109 5110 /** GetSchemaRequest cluster_id. */ 5111 public cluster_id: string; 5112 5113 /** GetSchemaRequest keyspace. */ 5114 public keyspace: string; 5115 5116 /** GetSchemaRequest table. */ 5117 public table: string; 5118 5119 /** GetSchemaRequest table_size_options. */ 5120 public table_size_options?: (vtadmin.IGetSchemaTableSizeOptions|null); 5121 5122 /** 5123 * Creates a new GetSchemaRequest instance using the specified properties. 5124 * @param [properties] Properties to set 5125 * @returns GetSchemaRequest instance 5126 */ 5127 public static create(properties?: vtadmin.IGetSchemaRequest): vtadmin.GetSchemaRequest; 5128 5129 /** 5130 * Encodes the specified GetSchemaRequest message. Does not implicitly {@link vtadmin.GetSchemaRequest.verify|verify} messages. 5131 * @param message GetSchemaRequest message or plain object to encode 5132 * @param [writer] Writer to encode to 5133 * @returns Writer 5134 */ 5135 public static encode(message: vtadmin.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5136 5137 /** 5138 * Encodes the specified GetSchemaRequest message, length delimited. Does not implicitly {@link vtadmin.GetSchemaRequest.verify|verify} messages. 5139 * @param message GetSchemaRequest message or plain object to encode 5140 * @param [writer] Writer to encode to 5141 * @returns Writer 5142 */ 5143 public static encodeDelimited(message: vtadmin.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5144 5145 /** 5146 * Decodes a GetSchemaRequest message from the specified reader or buffer. 5147 * @param reader Reader or buffer to decode from 5148 * @param [length] Message length if known beforehand 5149 * @returns GetSchemaRequest 5150 * @throws {Error} If the payload is not a reader or valid buffer 5151 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5152 */ 5153 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetSchemaRequest; 5154 5155 /** 5156 * Decodes a GetSchemaRequest message from the specified reader or buffer, length delimited. 5157 * @param reader Reader or buffer to decode from 5158 * @returns GetSchemaRequest 5159 * @throws {Error} If the payload is not a reader or valid buffer 5160 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5161 */ 5162 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetSchemaRequest; 5163 5164 /** 5165 * Verifies a GetSchemaRequest message. 5166 * @param message Plain object to verify 5167 * @returns `null` if valid, otherwise the reason why it is not 5168 */ 5169 public static verify(message: { [k: string]: any }): (string|null); 5170 5171 /** 5172 * Creates a GetSchemaRequest message from a plain object. Also converts values to their respective internal types. 5173 * @param object Plain object 5174 * @returns GetSchemaRequest 5175 */ 5176 public static fromObject(object: { [k: string]: any }): vtadmin.GetSchemaRequest; 5177 5178 /** 5179 * Creates a plain object from a GetSchemaRequest message. Also converts values to other types if specified. 5180 * @param message GetSchemaRequest 5181 * @param [options] Conversion options 5182 * @returns Plain object 5183 */ 5184 public static toObject(message: vtadmin.GetSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 5185 5186 /** 5187 * Converts this GetSchemaRequest to JSON. 5188 * @returns JSON object 5189 */ 5190 public toJSON(): { [k: string]: any }; 5191 } 5192 5193 /** Properties of a GetSchemasRequest. */ 5194 interface IGetSchemasRequest { 5195 5196 /** GetSchemasRequest cluster_ids */ 5197 cluster_ids?: (string[]|null); 5198 5199 /** GetSchemasRequest table_size_options */ 5200 table_size_options?: (vtadmin.IGetSchemaTableSizeOptions|null); 5201 } 5202 5203 /** Represents a GetSchemasRequest. */ 5204 class GetSchemasRequest implements IGetSchemasRequest { 5205 5206 /** 5207 * Constructs a new GetSchemasRequest. 5208 * @param [properties] Properties to set 5209 */ 5210 constructor(properties?: vtadmin.IGetSchemasRequest); 5211 5212 /** GetSchemasRequest cluster_ids. */ 5213 public cluster_ids: string[]; 5214 5215 /** GetSchemasRequest table_size_options. */ 5216 public table_size_options?: (vtadmin.IGetSchemaTableSizeOptions|null); 5217 5218 /** 5219 * Creates a new GetSchemasRequest instance using the specified properties. 5220 * @param [properties] Properties to set 5221 * @returns GetSchemasRequest instance 5222 */ 5223 public static create(properties?: vtadmin.IGetSchemasRequest): vtadmin.GetSchemasRequest; 5224 5225 /** 5226 * Encodes the specified GetSchemasRequest message. Does not implicitly {@link vtadmin.GetSchemasRequest.verify|verify} messages. 5227 * @param message GetSchemasRequest message or plain object to encode 5228 * @param [writer] Writer to encode to 5229 * @returns Writer 5230 */ 5231 public static encode(message: vtadmin.IGetSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5232 5233 /** 5234 * Encodes the specified GetSchemasRequest message, length delimited. Does not implicitly {@link vtadmin.GetSchemasRequest.verify|verify} messages. 5235 * @param message GetSchemasRequest message or plain object to encode 5236 * @param [writer] Writer to encode to 5237 * @returns Writer 5238 */ 5239 public static encodeDelimited(message: vtadmin.IGetSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5240 5241 /** 5242 * Decodes a GetSchemasRequest message from the specified reader or buffer. 5243 * @param reader Reader or buffer to decode from 5244 * @param [length] Message length if known beforehand 5245 * @returns GetSchemasRequest 5246 * @throws {Error} If the payload is not a reader or valid buffer 5247 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5248 */ 5249 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetSchemasRequest; 5250 5251 /** 5252 * Decodes a GetSchemasRequest message from the specified reader or buffer, length delimited. 5253 * @param reader Reader or buffer to decode from 5254 * @returns GetSchemasRequest 5255 * @throws {Error} If the payload is not a reader or valid buffer 5256 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5257 */ 5258 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetSchemasRequest; 5259 5260 /** 5261 * Verifies a GetSchemasRequest message. 5262 * @param message Plain object to verify 5263 * @returns `null` if valid, otherwise the reason why it is not 5264 */ 5265 public static verify(message: { [k: string]: any }): (string|null); 5266 5267 /** 5268 * Creates a GetSchemasRequest message from a plain object. Also converts values to their respective internal types. 5269 * @param object Plain object 5270 * @returns GetSchemasRequest 5271 */ 5272 public static fromObject(object: { [k: string]: any }): vtadmin.GetSchemasRequest; 5273 5274 /** 5275 * Creates a plain object from a GetSchemasRequest message. Also converts values to other types if specified. 5276 * @param message GetSchemasRequest 5277 * @param [options] Conversion options 5278 * @returns Plain object 5279 */ 5280 public static toObject(message: vtadmin.GetSchemasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 5281 5282 /** 5283 * Converts this GetSchemasRequest to JSON. 5284 * @returns JSON object 5285 */ 5286 public toJSON(): { [k: string]: any }; 5287 } 5288 5289 /** Properties of a GetSchemasResponse. */ 5290 interface IGetSchemasResponse { 5291 5292 /** GetSchemasResponse schemas */ 5293 schemas?: (vtadmin.ISchema[]|null); 5294 } 5295 5296 /** Represents a GetSchemasResponse. */ 5297 class GetSchemasResponse implements IGetSchemasResponse { 5298 5299 /** 5300 * Constructs a new GetSchemasResponse. 5301 * @param [properties] Properties to set 5302 */ 5303 constructor(properties?: vtadmin.IGetSchemasResponse); 5304 5305 /** GetSchemasResponse schemas. */ 5306 public schemas: vtadmin.ISchema[]; 5307 5308 /** 5309 * Creates a new GetSchemasResponse instance using the specified properties. 5310 * @param [properties] Properties to set 5311 * @returns GetSchemasResponse instance 5312 */ 5313 public static create(properties?: vtadmin.IGetSchemasResponse): vtadmin.GetSchemasResponse; 5314 5315 /** 5316 * Encodes the specified GetSchemasResponse message. Does not implicitly {@link vtadmin.GetSchemasResponse.verify|verify} messages. 5317 * @param message GetSchemasResponse message or plain object to encode 5318 * @param [writer] Writer to encode to 5319 * @returns Writer 5320 */ 5321 public static encode(message: vtadmin.IGetSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 5322 5323 /** 5324 * Encodes the specified GetSchemasResponse message, length delimited. Does not implicitly {@link vtadmin.GetSchemasResponse.verify|verify} messages. 5325 * @param message GetSchemasResponse message or plain object to encode 5326 * @param [writer] Writer to encode to 5327 * @returns Writer 5328 */ 5329 public static encodeDelimited(message: vtadmin.IGetSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 5330 5331 /** 5332 * Decodes a GetSchemasResponse message from the specified reader or buffer. 5333 * @param reader Reader or buffer to decode from 5334 * @param [length] Message length if known beforehand 5335 * @returns GetSchemasResponse 5336 * @throws {Error} If the payload is not a reader or valid buffer 5337 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5338 */ 5339 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetSchemasResponse; 5340 5341 /** 5342 * Decodes a GetSchemasResponse message from the specified reader or buffer, length delimited. 5343 * @param reader Reader or buffer to decode from 5344 * @returns GetSchemasResponse 5345 * @throws {Error} If the payload is not a reader or valid buffer 5346 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5347 */ 5348 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetSchemasResponse; 5349 5350 /** 5351 * Verifies a GetSchemasResponse message. 5352 * @param message Plain object to verify 5353 * @returns `null` if valid, otherwise the reason why it is not 5354 */ 5355 public static verify(message: { [k: string]: any }): (string|null); 5356 5357 /** 5358 * Creates a GetSchemasResponse message from a plain object. Also converts values to their respective internal types. 5359 * @param object Plain object 5360 * @returns GetSchemasResponse 5361 */ 5362 public static fromObject(object: { [k: string]: any }): vtadmin.GetSchemasResponse; 5363 5364 /** 5365 * Creates a plain object from a GetSchemasResponse message. Also converts values to other types if specified. 5366 * @param message GetSchemasResponse 5367 * @param [options] Conversion options 5368 * @returns Plain object 5369 */ 5370 public static toObject(message: vtadmin.GetSchemasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 5371 5372 /** 5373 * Converts this GetSchemasResponse to JSON. 5374 * @returns JSON object 5375 */ 5376 public toJSON(): { [k: string]: any }; 5377 } 5378 5379 /** Properties of a GetShardReplicationPositionsRequest. */ 5380 interface IGetShardReplicationPositionsRequest { 5381 5382 /** GetShardReplicationPositionsRequest cluster_ids */ 5383 cluster_ids?: (string[]|null); 5384 5385 /** GetShardReplicationPositionsRequest keyspaces */ 5386 keyspaces?: (string[]|null); 5387 5388 /** GetShardReplicationPositionsRequest keyspace_shards */ 5389 keyspace_shards?: (string[]|null); 5390 } 5391 5392 /** Represents a GetShardReplicationPositionsRequest. */ 5393 class GetShardReplicationPositionsRequest implements IGetShardReplicationPositionsRequest { 5394 5395 /** 5396 * Constructs a new GetShardReplicationPositionsRequest. 5397 * @param [properties] Properties to set 5398 */ 5399 constructor(properties?: vtadmin.IGetShardReplicationPositionsRequest); 5400 5401 /** GetShardReplicationPositionsRequest cluster_ids. */ 5402 public cluster_ids: string[]; 5403 5404 /** GetShardReplicationPositionsRequest keyspaces. */ 5405 public keyspaces: string[]; 5406 5407 /** GetShardReplicationPositionsRequest keyspace_shards. */ 5408 public keyspace_shards: string[]; 5409 5410 /** 5411 * Creates a new GetShardReplicationPositionsRequest instance using the specified properties. 5412 * @param [properties] Properties to set 5413 * @returns GetShardReplicationPositionsRequest instance 5414 */ 5415 public static create(properties?: vtadmin.IGetShardReplicationPositionsRequest): vtadmin.GetShardReplicationPositionsRequest; 5416 5417 /** 5418 * Encodes the specified GetShardReplicationPositionsRequest message. Does not implicitly {@link vtadmin.GetShardReplicationPositionsRequest.verify|verify} messages. 5419 * @param message GetShardReplicationPositionsRequest message or plain object to encode 5420 * @param [writer] Writer to encode to 5421 * @returns Writer 5422 */ 5423 public static encode(message: vtadmin.IGetShardReplicationPositionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5424 5425 /** 5426 * Encodes the specified GetShardReplicationPositionsRequest message, length delimited. Does not implicitly {@link vtadmin.GetShardReplicationPositionsRequest.verify|verify} messages. 5427 * @param message GetShardReplicationPositionsRequest message or plain object to encode 5428 * @param [writer] Writer to encode to 5429 * @returns Writer 5430 */ 5431 public static encodeDelimited(message: vtadmin.IGetShardReplicationPositionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5432 5433 /** 5434 * Decodes a GetShardReplicationPositionsRequest message from the specified reader or buffer. 5435 * @param reader Reader or buffer to decode from 5436 * @param [length] Message length if known beforehand 5437 * @returns GetShardReplicationPositionsRequest 5438 * @throws {Error} If the payload is not a reader or valid buffer 5439 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5440 */ 5441 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetShardReplicationPositionsRequest; 5442 5443 /** 5444 * Decodes a GetShardReplicationPositionsRequest message from the specified reader or buffer, length delimited. 5445 * @param reader Reader or buffer to decode from 5446 * @returns GetShardReplicationPositionsRequest 5447 * @throws {Error} If the payload is not a reader or valid buffer 5448 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5449 */ 5450 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetShardReplicationPositionsRequest; 5451 5452 /** 5453 * Verifies a GetShardReplicationPositionsRequest message. 5454 * @param message Plain object to verify 5455 * @returns `null` if valid, otherwise the reason why it is not 5456 */ 5457 public static verify(message: { [k: string]: any }): (string|null); 5458 5459 /** 5460 * Creates a GetShardReplicationPositionsRequest message from a plain object. Also converts values to their respective internal types. 5461 * @param object Plain object 5462 * @returns GetShardReplicationPositionsRequest 5463 */ 5464 public static fromObject(object: { [k: string]: any }): vtadmin.GetShardReplicationPositionsRequest; 5465 5466 /** 5467 * Creates a plain object from a GetShardReplicationPositionsRequest message. Also converts values to other types if specified. 5468 * @param message GetShardReplicationPositionsRequest 5469 * @param [options] Conversion options 5470 * @returns Plain object 5471 */ 5472 public static toObject(message: vtadmin.GetShardReplicationPositionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 5473 5474 /** 5475 * Converts this GetShardReplicationPositionsRequest to JSON. 5476 * @returns JSON object 5477 */ 5478 public toJSON(): { [k: string]: any }; 5479 } 5480 5481 /** Properties of a GetShardReplicationPositionsResponse. */ 5482 interface IGetShardReplicationPositionsResponse { 5483 5484 /** GetShardReplicationPositionsResponse replication_positions */ 5485 replication_positions?: (vtadmin.IClusterShardReplicationPosition[]|null); 5486 } 5487 5488 /** Represents a GetShardReplicationPositionsResponse. */ 5489 class GetShardReplicationPositionsResponse implements IGetShardReplicationPositionsResponse { 5490 5491 /** 5492 * Constructs a new GetShardReplicationPositionsResponse. 5493 * @param [properties] Properties to set 5494 */ 5495 constructor(properties?: vtadmin.IGetShardReplicationPositionsResponse); 5496 5497 /** GetShardReplicationPositionsResponse replication_positions. */ 5498 public replication_positions: vtadmin.IClusterShardReplicationPosition[]; 5499 5500 /** 5501 * Creates a new GetShardReplicationPositionsResponse instance using the specified properties. 5502 * @param [properties] Properties to set 5503 * @returns GetShardReplicationPositionsResponse instance 5504 */ 5505 public static create(properties?: vtadmin.IGetShardReplicationPositionsResponse): vtadmin.GetShardReplicationPositionsResponse; 5506 5507 /** 5508 * Encodes the specified GetShardReplicationPositionsResponse message. Does not implicitly {@link vtadmin.GetShardReplicationPositionsResponse.verify|verify} messages. 5509 * @param message GetShardReplicationPositionsResponse message or plain object to encode 5510 * @param [writer] Writer to encode to 5511 * @returns Writer 5512 */ 5513 public static encode(message: vtadmin.IGetShardReplicationPositionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 5514 5515 /** 5516 * Encodes the specified GetShardReplicationPositionsResponse message, length delimited. Does not implicitly {@link vtadmin.GetShardReplicationPositionsResponse.verify|verify} messages. 5517 * @param message GetShardReplicationPositionsResponse message or plain object to encode 5518 * @param [writer] Writer to encode to 5519 * @returns Writer 5520 */ 5521 public static encodeDelimited(message: vtadmin.IGetShardReplicationPositionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 5522 5523 /** 5524 * Decodes a GetShardReplicationPositionsResponse message from the specified reader or buffer. 5525 * @param reader Reader or buffer to decode from 5526 * @param [length] Message length if known beforehand 5527 * @returns GetShardReplicationPositionsResponse 5528 * @throws {Error} If the payload is not a reader or valid buffer 5529 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5530 */ 5531 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetShardReplicationPositionsResponse; 5532 5533 /** 5534 * Decodes a GetShardReplicationPositionsResponse message from the specified reader or buffer, length delimited. 5535 * @param reader Reader or buffer to decode from 5536 * @returns GetShardReplicationPositionsResponse 5537 * @throws {Error} If the payload is not a reader or valid buffer 5538 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5539 */ 5540 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetShardReplicationPositionsResponse; 5541 5542 /** 5543 * Verifies a GetShardReplicationPositionsResponse message. 5544 * @param message Plain object to verify 5545 * @returns `null` if valid, otherwise the reason why it is not 5546 */ 5547 public static verify(message: { [k: string]: any }): (string|null); 5548 5549 /** 5550 * Creates a GetShardReplicationPositionsResponse message from a plain object. Also converts values to their respective internal types. 5551 * @param object Plain object 5552 * @returns GetShardReplicationPositionsResponse 5553 */ 5554 public static fromObject(object: { [k: string]: any }): vtadmin.GetShardReplicationPositionsResponse; 5555 5556 /** 5557 * Creates a plain object from a GetShardReplicationPositionsResponse message. Also converts values to other types if specified. 5558 * @param message GetShardReplicationPositionsResponse 5559 * @param [options] Conversion options 5560 * @returns Plain object 5561 */ 5562 public static toObject(message: vtadmin.GetShardReplicationPositionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 5563 5564 /** 5565 * Converts this GetShardReplicationPositionsResponse to JSON. 5566 * @returns JSON object 5567 */ 5568 public toJSON(): { [k: string]: any }; 5569 } 5570 5571 /** Properties of a GetSrvVSchemaRequest. */ 5572 interface IGetSrvVSchemaRequest { 5573 5574 /** GetSrvVSchemaRequest cluster_id */ 5575 cluster_id?: (string|null); 5576 5577 /** GetSrvVSchemaRequest cell */ 5578 cell?: (string|null); 5579 } 5580 5581 /** Represents a GetSrvVSchemaRequest. */ 5582 class GetSrvVSchemaRequest implements IGetSrvVSchemaRequest { 5583 5584 /** 5585 * Constructs a new GetSrvVSchemaRequest. 5586 * @param [properties] Properties to set 5587 */ 5588 constructor(properties?: vtadmin.IGetSrvVSchemaRequest); 5589 5590 /** GetSrvVSchemaRequest cluster_id. */ 5591 public cluster_id: string; 5592 5593 /** GetSrvVSchemaRequest cell. */ 5594 public cell: string; 5595 5596 /** 5597 * Creates a new GetSrvVSchemaRequest instance using the specified properties. 5598 * @param [properties] Properties to set 5599 * @returns GetSrvVSchemaRequest instance 5600 */ 5601 public static create(properties?: vtadmin.IGetSrvVSchemaRequest): vtadmin.GetSrvVSchemaRequest; 5602 5603 /** 5604 * Encodes the specified GetSrvVSchemaRequest message. Does not implicitly {@link vtadmin.GetSrvVSchemaRequest.verify|verify} messages. 5605 * @param message GetSrvVSchemaRequest message or plain object to encode 5606 * @param [writer] Writer to encode to 5607 * @returns Writer 5608 */ 5609 public static encode(message: vtadmin.IGetSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5610 5611 /** 5612 * Encodes the specified GetSrvVSchemaRequest message, length delimited. Does not implicitly {@link vtadmin.GetSrvVSchemaRequest.verify|verify} messages. 5613 * @param message GetSrvVSchemaRequest message or plain object to encode 5614 * @param [writer] Writer to encode to 5615 * @returns Writer 5616 */ 5617 public static encodeDelimited(message: vtadmin.IGetSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5618 5619 /** 5620 * Decodes a GetSrvVSchemaRequest message from the specified reader or buffer. 5621 * @param reader Reader or buffer to decode from 5622 * @param [length] Message length if known beforehand 5623 * @returns GetSrvVSchemaRequest 5624 * @throws {Error} If the payload is not a reader or valid buffer 5625 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5626 */ 5627 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetSrvVSchemaRequest; 5628 5629 /** 5630 * Decodes a GetSrvVSchemaRequest message from the specified reader or buffer, length delimited. 5631 * @param reader Reader or buffer to decode from 5632 * @returns GetSrvVSchemaRequest 5633 * @throws {Error} If the payload is not a reader or valid buffer 5634 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5635 */ 5636 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetSrvVSchemaRequest; 5637 5638 /** 5639 * Verifies a GetSrvVSchemaRequest message. 5640 * @param message Plain object to verify 5641 * @returns `null` if valid, otherwise the reason why it is not 5642 */ 5643 public static verify(message: { [k: string]: any }): (string|null); 5644 5645 /** 5646 * Creates a GetSrvVSchemaRequest message from a plain object. Also converts values to their respective internal types. 5647 * @param object Plain object 5648 * @returns GetSrvVSchemaRequest 5649 */ 5650 public static fromObject(object: { [k: string]: any }): vtadmin.GetSrvVSchemaRequest; 5651 5652 /** 5653 * Creates a plain object from a GetSrvVSchemaRequest message. Also converts values to other types if specified. 5654 * @param message GetSrvVSchemaRequest 5655 * @param [options] Conversion options 5656 * @returns Plain object 5657 */ 5658 public static toObject(message: vtadmin.GetSrvVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 5659 5660 /** 5661 * Converts this GetSrvVSchemaRequest to JSON. 5662 * @returns JSON object 5663 */ 5664 public toJSON(): { [k: string]: any }; 5665 } 5666 5667 /** Properties of a GetSrvVSchemasRequest. */ 5668 interface IGetSrvVSchemasRequest { 5669 5670 /** GetSrvVSchemasRequest cluster_ids */ 5671 cluster_ids?: (string[]|null); 5672 5673 /** GetSrvVSchemasRequest cells */ 5674 cells?: (string[]|null); 5675 } 5676 5677 /** Represents a GetSrvVSchemasRequest. */ 5678 class GetSrvVSchemasRequest implements IGetSrvVSchemasRequest { 5679 5680 /** 5681 * Constructs a new GetSrvVSchemasRequest. 5682 * @param [properties] Properties to set 5683 */ 5684 constructor(properties?: vtadmin.IGetSrvVSchemasRequest); 5685 5686 /** GetSrvVSchemasRequest cluster_ids. */ 5687 public cluster_ids: string[]; 5688 5689 /** GetSrvVSchemasRequest cells. */ 5690 public cells: string[]; 5691 5692 /** 5693 * Creates a new GetSrvVSchemasRequest instance using the specified properties. 5694 * @param [properties] Properties to set 5695 * @returns GetSrvVSchemasRequest instance 5696 */ 5697 public static create(properties?: vtadmin.IGetSrvVSchemasRequest): vtadmin.GetSrvVSchemasRequest; 5698 5699 /** 5700 * Encodes the specified GetSrvVSchemasRequest message. Does not implicitly {@link vtadmin.GetSrvVSchemasRequest.verify|verify} messages. 5701 * @param message GetSrvVSchemasRequest message or plain object to encode 5702 * @param [writer] Writer to encode to 5703 * @returns Writer 5704 */ 5705 public static encode(message: vtadmin.IGetSrvVSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5706 5707 /** 5708 * Encodes the specified GetSrvVSchemasRequest message, length delimited. Does not implicitly {@link vtadmin.GetSrvVSchemasRequest.verify|verify} messages. 5709 * @param message GetSrvVSchemasRequest message or plain object to encode 5710 * @param [writer] Writer to encode to 5711 * @returns Writer 5712 */ 5713 public static encodeDelimited(message: vtadmin.IGetSrvVSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5714 5715 /** 5716 * Decodes a GetSrvVSchemasRequest message from the specified reader or buffer. 5717 * @param reader Reader or buffer to decode from 5718 * @param [length] Message length if known beforehand 5719 * @returns GetSrvVSchemasRequest 5720 * @throws {Error} If the payload is not a reader or valid buffer 5721 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5722 */ 5723 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetSrvVSchemasRequest; 5724 5725 /** 5726 * Decodes a GetSrvVSchemasRequest message from the specified reader or buffer, length delimited. 5727 * @param reader Reader or buffer to decode from 5728 * @returns GetSrvVSchemasRequest 5729 * @throws {Error} If the payload is not a reader or valid buffer 5730 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5731 */ 5732 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetSrvVSchemasRequest; 5733 5734 /** 5735 * Verifies a GetSrvVSchemasRequest message. 5736 * @param message Plain object to verify 5737 * @returns `null` if valid, otherwise the reason why it is not 5738 */ 5739 public static verify(message: { [k: string]: any }): (string|null); 5740 5741 /** 5742 * Creates a GetSrvVSchemasRequest message from a plain object. Also converts values to their respective internal types. 5743 * @param object Plain object 5744 * @returns GetSrvVSchemasRequest 5745 */ 5746 public static fromObject(object: { [k: string]: any }): vtadmin.GetSrvVSchemasRequest; 5747 5748 /** 5749 * Creates a plain object from a GetSrvVSchemasRequest message. Also converts values to other types if specified. 5750 * @param message GetSrvVSchemasRequest 5751 * @param [options] Conversion options 5752 * @returns Plain object 5753 */ 5754 public static toObject(message: vtadmin.GetSrvVSchemasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 5755 5756 /** 5757 * Converts this GetSrvVSchemasRequest to JSON. 5758 * @returns JSON object 5759 */ 5760 public toJSON(): { [k: string]: any }; 5761 } 5762 5763 /** Properties of a GetSrvVSchemasResponse. */ 5764 interface IGetSrvVSchemasResponse { 5765 5766 /** GetSrvVSchemasResponse srv_v_schemas */ 5767 srv_v_schemas?: (vtadmin.ISrvVSchema[]|null); 5768 } 5769 5770 /** Represents a GetSrvVSchemasResponse. */ 5771 class GetSrvVSchemasResponse implements IGetSrvVSchemasResponse { 5772 5773 /** 5774 * Constructs a new GetSrvVSchemasResponse. 5775 * @param [properties] Properties to set 5776 */ 5777 constructor(properties?: vtadmin.IGetSrvVSchemasResponse); 5778 5779 /** GetSrvVSchemasResponse srv_v_schemas. */ 5780 public srv_v_schemas: vtadmin.ISrvVSchema[]; 5781 5782 /** 5783 * Creates a new GetSrvVSchemasResponse instance using the specified properties. 5784 * @param [properties] Properties to set 5785 * @returns GetSrvVSchemasResponse instance 5786 */ 5787 public static create(properties?: vtadmin.IGetSrvVSchemasResponse): vtadmin.GetSrvVSchemasResponse; 5788 5789 /** 5790 * Encodes the specified GetSrvVSchemasResponse message. Does not implicitly {@link vtadmin.GetSrvVSchemasResponse.verify|verify} messages. 5791 * @param message GetSrvVSchemasResponse message or plain object to encode 5792 * @param [writer] Writer to encode to 5793 * @returns Writer 5794 */ 5795 public static encode(message: vtadmin.IGetSrvVSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 5796 5797 /** 5798 * Encodes the specified GetSrvVSchemasResponse message, length delimited. Does not implicitly {@link vtadmin.GetSrvVSchemasResponse.verify|verify} messages. 5799 * @param message GetSrvVSchemasResponse message or plain object to encode 5800 * @param [writer] Writer to encode to 5801 * @returns Writer 5802 */ 5803 public static encodeDelimited(message: vtadmin.IGetSrvVSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 5804 5805 /** 5806 * Decodes a GetSrvVSchemasResponse message from the specified reader or buffer. 5807 * @param reader Reader or buffer to decode from 5808 * @param [length] Message length if known beforehand 5809 * @returns GetSrvVSchemasResponse 5810 * @throws {Error} If the payload is not a reader or valid buffer 5811 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5812 */ 5813 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetSrvVSchemasResponse; 5814 5815 /** 5816 * Decodes a GetSrvVSchemasResponse message from the specified reader or buffer, length delimited. 5817 * @param reader Reader or buffer to decode from 5818 * @returns GetSrvVSchemasResponse 5819 * @throws {Error} If the payload is not a reader or valid buffer 5820 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5821 */ 5822 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetSrvVSchemasResponse; 5823 5824 /** 5825 * Verifies a GetSrvVSchemasResponse message. 5826 * @param message Plain object to verify 5827 * @returns `null` if valid, otherwise the reason why it is not 5828 */ 5829 public static verify(message: { [k: string]: any }): (string|null); 5830 5831 /** 5832 * Creates a GetSrvVSchemasResponse message from a plain object. Also converts values to their respective internal types. 5833 * @param object Plain object 5834 * @returns GetSrvVSchemasResponse 5835 */ 5836 public static fromObject(object: { [k: string]: any }): vtadmin.GetSrvVSchemasResponse; 5837 5838 /** 5839 * Creates a plain object from a GetSrvVSchemasResponse message. Also converts values to other types if specified. 5840 * @param message GetSrvVSchemasResponse 5841 * @param [options] Conversion options 5842 * @returns Plain object 5843 */ 5844 public static toObject(message: vtadmin.GetSrvVSchemasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 5845 5846 /** 5847 * Converts this GetSrvVSchemasResponse to JSON. 5848 * @returns JSON object 5849 */ 5850 public toJSON(): { [k: string]: any }; 5851 } 5852 5853 /** Properties of a GetSchemaTableSizeOptions. */ 5854 interface IGetSchemaTableSizeOptions { 5855 5856 /** GetSchemaTableSizeOptions aggregate_sizes */ 5857 aggregate_sizes?: (boolean|null); 5858 5859 /** GetSchemaTableSizeOptions include_non_serving_shards */ 5860 include_non_serving_shards?: (boolean|null); 5861 } 5862 5863 /** Represents a GetSchemaTableSizeOptions. */ 5864 class GetSchemaTableSizeOptions implements IGetSchemaTableSizeOptions { 5865 5866 /** 5867 * Constructs a new GetSchemaTableSizeOptions. 5868 * @param [properties] Properties to set 5869 */ 5870 constructor(properties?: vtadmin.IGetSchemaTableSizeOptions); 5871 5872 /** GetSchemaTableSizeOptions aggregate_sizes. */ 5873 public aggregate_sizes: boolean; 5874 5875 /** GetSchemaTableSizeOptions include_non_serving_shards. */ 5876 public include_non_serving_shards: boolean; 5877 5878 /** 5879 * Creates a new GetSchemaTableSizeOptions instance using the specified properties. 5880 * @param [properties] Properties to set 5881 * @returns GetSchemaTableSizeOptions instance 5882 */ 5883 public static create(properties?: vtadmin.IGetSchemaTableSizeOptions): vtadmin.GetSchemaTableSizeOptions; 5884 5885 /** 5886 * Encodes the specified GetSchemaTableSizeOptions message. Does not implicitly {@link vtadmin.GetSchemaTableSizeOptions.verify|verify} messages. 5887 * @param message GetSchemaTableSizeOptions message or plain object to encode 5888 * @param [writer] Writer to encode to 5889 * @returns Writer 5890 */ 5891 public static encode(message: vtadmin.IGetSchemaTableSizeOptions, writer?: $protobuf.Writer): $protobuf.Writer; 5892 5893 /** 5894 * Encodes the specified GetSchemaTableSizeOptions message, length delimited. Does not implicitly {@link vtadmin.GetSchemaTableSizeOptions.verify|verify} messages. 5895 * @param message GetSchemaTableSizeOptions message or plain object to encode 5896 * @param [writer] Writer to encode to 5897 * @returns Writer 5898 */ 5899 public static encodeDelimited(message: vtadmin.IGetSchemaTableSizeOptions, writer?: $protobuf.Writer): $protobuf.Writer; 5900 5901 /** 5902 * Decodes a GetSchemaTableSizeOptions message from the specified reader or buffer. 5903 * @param reader Reader or buffer to decode from 5904 * @param [length] Message length if known beforehand 5905 * @returns GetSchemaTableSizeOptions 5906 * @throws {Error} If the payload is not a reader or valid buffer 5907 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5908 */ 5909 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetSchemaTableSizeOptions; 5910 5911 /** 5912 * Decodes a GetSchemaTableSizeOptions message from the specified reader or buffer, length delimited. 5913 * @param reader Reader or buffer to decode from 5914 * @returns GetSchemaTableSizeOptions 5915 * @throws {Error} If the payload is not a reader or valid buffer 5916 * @throws {$protobuf.util.ProtocolError} If required fields are missing 5917 */ 5918 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetSchemaTableSizeOptions; 5919 5920 /** 5921 * Verifies a GetSchemaTableSizeOptions message. 5922 * @param message Plain object to verify 5923 * @returns `null` if valid, otherwise the reason why it is not 5924 */ 5925 public static verify(message: { [k: string]: any }): (string|null); 5926 5927 /** 5928 * Creates a GetSchemaTableSizeOptions message from a plain object. Also converts values to their respective internal types. 5929 * @param object Plain object 5930 * @returns GetSchemaTableSizeOptions 5931 */ 5932 public static fromObject(object: { [k: string]: any }): vtadmin.GetSchemaTableSizeOptions; 5933 5934 /** 5935 * Creates a plain object from a GetSchemaTableSizeOptions message. Also converts values to other types if specified. 5936 * @param message GetSchemaTableSizeOptions 5937 * @param [options] Conversion options 5938 * @returns Plain object 5939 */ 5940 public static toObject(message: vtadmin.GetSchemaTableSizeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; 5941 5942 /** 5943 * Converts this GetSchemaTableSizeOptions to JSON. 5944 * @returns JSON object 5945 */ 5946 public toJSON(): { [k: string]: any }; 5947 } 5948 5949 /** Properties of a GetTabletRequest. */ 5950 interface IGetTabletRequest { 5951 5952 /** GetTabletRequest alias */ 5953 alias?: (topodata.ITabletAlias|null); 5954 5955 /** GetTabletRequest cluster_ids */ 5956 cluster_ids?: (string[]|null); 5957 } 5958 5959 /** Represents a GetTabletRequest. */ 5960 class GetTabletRequest implements IGetTabletRequest { 5961 5962 /** 5963 * Constructs a new GetTabletRequest. 5964 * @param [properties] Properties to set 5965 */ 5966 constructor(properties?: vtadmin.IGetTabletRequest); 5967 5968 /** GetTabletRequest alias. */ 5969 public alias?: (topodata.ITabletAlias|null); 5970 5971 /** GetTabletRequest cluster_ids. */ 5972 public cluster_ids: string[]; 5973 5974 /** 5975 * Creates a new GetTabletRequest instance using the specified properties. 5976 * @param [properties] Properties to set 5977 * @returns GetTabletRequest instance 5978 */ 5979 public static create(properties?: vtadmin.IGetTabletRequest): vtadmin.GetTabletRequest; 5980 5981 /** 5982 * Encodes the specified GetTabletRequest message. Does not implicitly {@link vtadmin.GetTabletRequest.verify|verify} messages. 5983 * @param message GetTabletRequest message or plain object to encode 5984 * @param [writer] Writer to encode to 5985 * @returns Writer 5986 */ 5987 public static encode(message: vtadmin.IGetTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5988 5989 /** 5990 * Encodes the specified GetTabletRequest message, length delimited. Does not implicitly {@link vtadmin.GetTabletRequest.verify|verify} messages. 5991 * @param message GetTabletRequest message or plain object to encode 5992 * @param [writer] Writer to encode to 5993 * @returns Writer 5994 */ 5995 public static encodeDelimited(message: vtadmin.IGetTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 5996 5997 /** 5998 * Decodes a GetTabletRequest message from the specified reader or buffer. 5999 * @param reader Reader or buffer to decode from 6000 * @param [length] Message length if known beforehand 6001 * @returns GetTabletRequest 6002 * @throws {Error} If the payload is not a reader or valid buffer 6003 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6004 */ 6005 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetTabletRequest; 6006 6007 /** 6008 * Decodes a GetTabletRequest message from the specified reader or buffer, length delimited. 6009 * @param reader Reader or buffer to decode from 6010 * @returns GetTabletRequest 6011 * @throws {Error} If the payload is not a reader or valid buffer 6012 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6013 */ 6014 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetTabletRequest; 6015 6016 /** 6017 * Verifies a GetTabletRequest message. 6018 * @param message Plain object to verify 6019 * @returns `null` if valid, otherwise the reason why it is not 6020 */ 6021 public static verify(message: { [k: string]: any }): (string|null); 6022 6023 /** 6024 * Creates a GetTabletRequest message from a plain object. Also converts values to their respective internal types. 6025 * @param object Plain object 6026 * @returns GetTabletRequest 6027 */ 6028 public static fromObject(object: { [k: string]: any }): vtadmin.GetTabletRequest; 6029 6030 /** 6031 * Creates a plain object from a GetTabletRequest message. Also converts values to other types if specified. 6032 * @param message GetTabletRequest 6033 * @param [options] Conversion options 6034 * @returns Plain object 6035 */ 6036 public static toObject(message: vtadmin.GetTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 6037 6038 /** 6039 * Converts this GetTabletRequest to JSON. 6040 * @returns JSON object 6041 */ 6042 public toJSON(): { [k: string]: any }; 6043 } 6044 6045 /** Properties of a GetTabletsRequest. */ 6046 interface IGetTabletsRequest { 6047 6048 /** GetTabletsRequest cluster_ids */ 6049 cluster_ids?: (string[]|null); 6050 } 6051 6052 /** Represents a GetTabletsRequest. */ 6053 class GetTabletsRequest implements IGetTabletsRequest { 6054 6055 /** 6056 * Constructs a new GetTabletsRequest. 6057 * @param [properties] Properties to set 6058 */ 6059 constructor(properties?: vtadmin.IGetTabletsRequest); 6060 6061 /** GetTabletsRequest cluster_ids. */ 6062 public cluster_ids: string[]; 6063 6064 /** 6065 * Creates a new GetTabletsRequest instance using the specified properties. 6066 * @param [properties] Properties to set 6067 * @returns GetTabletsRequest instance 6068 */ 6069 public static create(properties?: vtadmin.IGetTabletsRequest): vtadmin.GetTabletsRequest; 6070 6071 /** 6072 * Encodes the specified GetTabletsRequest message. Does not implicitly {@link vtadmin.GetTabletsRequest.verify|verify} messages. 6073 * @param message GetTabletsRequest message or plain object to encode 6074 * @param [writer] Writer to encode to 6075 * @returns Writer 6076 */ 6077 public static encode(message: vtadmin.IGetTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6078 6079 /** 6080 * Encodes the specified GetTabletsRequest message, length delimited. Does not implicitly {@link vtadmin.GetTabletsRequest.verify|verify} messages. 6081 * @param message GetTabletsRequest message or plain object to encode 6082 * @param [writer] Writer to encode to 6083 * @returns Writer 6084 */ 6085 public static encodeDelimited(message: vtadmin.IGetTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6086 6087 /** 6088 * Decodes a GetTabletsRequest message from the specified reader or buffer. 6089 * @param reader Reader or buffer to decode from 6090 * @param [length] Message length if known beforehand 6091 * @returns GetTabletsRequest 6092 * @throws {Error} If the payload is not a reader or valid buffer 6093 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6094 */ 6095 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetTabletsRequest; 6096 6097 /** 6098 * Decodes a GetTabletsRequest message from the specified reader or buffer, length delimited. 6099 * @param reader Reader or buffer to decode from 6100 * @returns GetTabletsRequest 6101 * @throws {Error} If the payload is not a reader or valid buffer 6102 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6103 */ 6104 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetTabletsRequest; 6105 6106 /** 6107 * Verifies a GetTabletsRequest message. 6108 * @param message Plain object to verify 6109 * @returns `null` if valid, otherwise the reason why it is not 6110 */ 6111 public static verify(message: { [k: string]: any }): (string|null); 6112 6113 /** 6114 * Creates a GetTabletsRequest message from a plain object. Also converts values to their respective internal types. 6115 * @param object Plain object 6116 * @returns GetTabletsRequest 6117 */ 6118 public static fromObject(object: { [k: string]: any }): vtadmin.GetTabletsRequest; 6119 6120 /** 6121 * Creates a plain object from a GetTabletsRequest message. Also converts values to other types if specified. 6122 * @param message GetTabletsRequest 6123 * @param [options] Conversion options 6124 * @returns Plain object 6125 */ 6126 public static toObject(message: vtadmin.GetTabletsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 6127 6128 /** 6129 * Converts this GetTabletsRequest to JSON. 6130 * @returns JSON object 6131 */ 6132 public toJSON(): { [k: string]: any }; 6133 } 6134 6135 /** Properties of a GetTabletsResponse. */ 6136 interface IGetTabletsResponse { 6137 6138 /** GetTabletsResponse tablets */ 6139 tablets?: (vtadmin.ITablet[]|null); 6140 } 6141 6142 /** Represents a GetTabletsResponse. */ 6143 class GetTabletsResponse implements IGetTabletsResponse { 6144 6145 /** 6146 * Constructs a new GetTabletsResponse. 6147 * @param [properties] Properties to set 6148 */ 6149 constructor(properties?: vtadmin.IGetTabletsResponse); 6150 6151 /** GetTabletsResponse tablets. */ 6152 public tablets: vtadmin.ITablet[]; 6153 6154 /** 6155 * Creates a new GetTabletsResponse instance using the specified properties. 6156 * @param [properties] Properties to set 6157 * @returns GetTabletsResponse instance 6158 */ 6159 public static create(properties?: vtadmin.IGetTabletsResponse): vtadmin.GetTabletsResponse; 6160 6161 /** 6162 * Encodes the specified GetTabletsResponse message. Does not implicitly {@link vtadmin.GetTabletsResponse.verify|verify} messages. 6163 * @param message GetTabletsResponse message or plain object to encode 6164 * @param [writer] Writer to encode to 6165 * @returns Writer 6166 */ 6167 public static encode(message: vtadmin.IGetTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 6168 6169 /** 6170 * Encodes the specified GetTabletsResponse message, length delimited. Does not implicitly {@link vtadmin.GetTabletsResponse.verify|verify} messages. 6171 * @param message GetTabletsResponse message or plain object to encode 6172 * @param [writer] Writer to encode to 6173 * @returns Writer 6174 */ 6175 public static encodeDelimited(message: vtadmin.IGetTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 6176 6177 /** 6178 * Decodes a GetTabletsResponse message from the specified reader or buffer. 6179 * @param reader Reader or buffer to decode from 6180 * @param [length] Message length if known beforehand 6181 * @returns GetTabletsResponse 6182 * @throws {Error} If the payload is not a reader or valid buffer 6183 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6184 */ 6185 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetTabletsResponse; 6186 6187 /** 6188 * Decodes a GetTabletsResponse message from the specified reader or buffer, length delimited. 6189 * @param reader Reader or buffer to decode from 6190 * @returns GetTabletsResponse 6191 * @throws {Error} If the payload is not a reader or valid buffer 6192 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6193 */ 6194 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetTabletsResponse; 6195 6196 /** 6197 * Verifies a GetTabletsResponse message. 6198 * @param message Plain object to verify 6199 * @returns `null` if valid, otherwise the reason why it is not 6200 */ 6201 public static verify(message: { [k: string]: any }): (string|null); 6202 6203 /** 6204 * Creates a GetTabletsResponse message from a plain object. Also converts values to their respective internal types. 6205 * @param object Plain object 6206 * @returns GetTabletsResponse 6207 */ 6208 public static fromObject(object: { [k: string]: any }): vtadmin.GetTabletsResponse; 6209 6210 /** 6211 * Creates a plain object from a GetTabletsResponse message. Also converts values to other types if specified. 6212 * @param message GetTabletsResponse 6213 * @param [options] Conversion options 6214 * @returns Plain object 6215 */ 6216 public static toObject(message: vtadmin.GetTabletsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 6217 6218 /** 6219 * Converts this GetTabletsResponse to JSON. 6220 * @returns JSON object 6221 */ 6222 public toJSON(): { [k: string]: any }; 6223 } 6224 6225 /** Properties of a GetTopologyPathRequest. */ 6226 interface IGetTopologyPathRequest { 6227 6228 /** GetTopologyPathRequest cluster_id */ 6229 cluster_id?: (string|null); 6230 6231 /** GetTopologyPathRequest path */ 6232 path?: (string|null); 6233 } 6234 6235 /** Represents a GetTopologyPathRequest. */ 6236 class GetTopologyPathRequest implements IGetTopologyPathRequest { 6237 6238 /** 6239 * Constructs a new GetTopologyPathRequest. 6240 * @param [properties] Properties to set 6241 */ 6242 constructor(properties?: vtadmin.IGetTopologyPathRequest); 6243 6244 /** GetTopologyPathRequest cluster_id. */ 6245 public cluster_id: string; 6246 6247 /** GetTopologyPathRequest path. */ 6248 public path: string; 6249 6250 /** 6251 * Creates a new GetTopologyPathRequest instance using the specified properties. 6252 * @param [properties] Properties to set 6253 * @returns GetTopologyPathRequest instance 6254 */ 6255 public static create(properties?: vtadmin.IGetTopologyPathRequest): vtadmin.GetTopologyPathRequest; 6256 6257 /** 6258 * Encodes the specified GetTopologyPathRequest message. Does not implicitly {@link vtadmin.GetTopologyPathRequest.verify|verify} messages. 6259 * @param message GetTopologyPathRequest message or plain object to encode 6260 * @param [writer] Writer to encode to 6261 * @returns Writer 6262 */ 6263 public static encode(message: vtadmin.IGetTopologyPathRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6264 6265 /** 6266 * Encodes the specified GetTopologyPathRequest message, length delimited. Does not implicitly {@link vtadmin.GetTopologyPathRequest.verify|verify} messages. 6267 * @param message GetTopologyPathRequest message or plain object to encode 6268 * @param [writer] Writer to encode to 6269 * @returns Writer 6270 */ 6271 public static encodeDelimited(message: vtadmin.IGetTopologyPathRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6272 6273 /** 6274 * Decodes a GetTopologyPathRequest message from the specified reader or buffer. 6275 * @param reader Reader or buffer to decode from 6276 * @param [length] Message length if known beforehand 6277 * @returns GetTopologyPathRequest 6278 * @throws {Error} If the payload is not a reader or valid buffer 6279 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6280 */ 6281 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetTopologyPathRequest; 6282 6283 /** 6284 * Decodes a GetTopologyPathRequest message from the specified reader or buffer, length delimited. 6285 * @param reader Reader or buffer to decode from 6286 * @returns GetTopologyPathRequest 6287 * @throws {Error} If the payload is not a reader or valid buffer 6288 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6289 */ 6290 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetTopologyPathRequest; 6291 6292 /** 6293 * Verifies a GetTopologyPathRequest message. 6294 * @param message Plain object to verify 6295 * @returns `null` if valid, otherwise the reason why it is not 6296 */ 6297 public static verify(message: { [k: string]: any }): (string|null); 6298 6299 /** 6300 * Creates a GetTopologyPathRequest message from a plain object. Also converts values to their respective internal types. 6301 * @param object Plain object 6302 * @returns GetTopologyPathRequest 6303 */ 6304 public static fromObject(object: { [k: string]: any }): vtadmin.GetTopologyPathRequest; 6305 6306 /** 6307 * Creates a plain object from a GetTopologyPathRequest message. Also converts values to other types if specified. 6308 * @param message GetTopologyPathRequest 6309 * @param [options] Conversion options 6310 * @returns Plain object 6311 */ 6312 public static toObject(message: vtadmin.GetTopologyPathRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 6313 6314 /** 6315 * Converts this GetTopologyPathRequest to JSON. 6316 * @returns JSON object 6317 */ 6318 public toJSON(): { [k: string]: any }; 6319 } 6320 6321 /** Properties of a GetVSchemaRequest. */ 6322 interface IGetVSchemaRequest { 6323 6324 /** GetVSchemaRequest cluster_id */ 6325 cluster_id?: (string|null); 6326 6327 /** GetVSchemaRequest keyspace */ 6328 keyspace?: (string|null); 6329 } 6330 6331 /** Represents a GetVSchemaRequest. */ 6332 class GetVSchemaRequest implements IGetVSchemaRequest { 6333 6334 /** 6335 * Constructs a new GetVSchemaRequest. 6336 * @param [properties] Properties to set 6337 */ 6338 constructor(properties?: vtadmin.IGetVSchemaRequest); 6339 6340 /** GetVSchemaRequest cluster_id. */ 6341 public cluster_id: string; 6342 6343 /** GetVSchemaRequest keyspace. */ 6344 public keyspace: string; 6345 6346 /** 6347 * Creates a new GetVSchemaRequest instance using the specified properties. 6348 * @param [properties] Properties to set 6349 * @returns GetVSchemaRequest instance 6350 */ 6351 public static create(properties?: vtadmin.IGetVSchemaRequest): vtadmin.GetVSchemaRequest; 6352 6353 /** 6354 * Encodes the specified GetVSchemaRequest message. Does not implicitly {@link vtadmin.GetVSchemaRequest.verify|verify} messages. 6355 * @param message GetVSchemaRequest message or plain object to encode 6356 * @param [writer] Writer to encode to 6357 * @returns Writer 6358 */ 6359 public static encode(message: vtadmin.IGetVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6360 6361 /** 6362 * Encodes the specified GetVSchemaRequest message, length delimited. Does not implicitly {@link vtadmin.GetVSchemaRequest.verify|verify} messages. 6363 * @param message GetVSchemaRequest message or plain object to encode 6364 * @param [writer] Writer to encode to 6365 * @returns Writer 6366 */ 6367 public static encodeDelimited(message: vtadmin.IGetVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6368 6369 /** 6370 * Decodes a GetVSchemaRequest message from the specified reader or buffer. 6371 * @param reader Reader or buffer to decode from 6372 * @param [length] Message length if known beforehand 6373 * @returns GetVSchemaRequest 6374 * @throws {Error} If the payload is not a reader or valid buffer 6375 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6376 */ 6377 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetVSchemaRequest; 6378 6379 /** 6380 * Decodes a GetVSchemaRequest message from the specified reader or buffer, length delimited. 6381 * @param reader Reader or buffer to decode from 6382 * @returns GetVSchemaRequest 6383 * @throws {Error} If the payload is not a reader or valid buffer 6384 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6385 */ 6386 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetVSchemaRequest; 6387 6388 /** 6389 * Verifies a GetVSchemaRequest message. 6390 * @param message Plain object to verify 6391 * @returns `null` if valid, otherwise the reason why it is not 6392 */ 6393 public static verify(message: { [k: string]: any }): (string|null); 6394 6395 /** 6396 * Creates a GetVSchemaRequest message from a plain object. Also converts values to their respective internal types. 6397 * @param object Plain object 6398 * @returns GetVSchemaRequest 6399 */ 6400 public static fromObject(object: { [k: string]: any }): vtadmin.GetVSchemaRequest; 6401 6402 /** 6403 * Creates a plain object from a GetVSchemaRequest message. Also converts values to other types if specified. 6404 * @param message GetVSchemaRequest 6405 * @param [options] Conversion options 6406 * @returns Plain object 6407 */ 6408 public static toObject(message: vtadmin.GetVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 6409 6410 /** 6411 * Converts this GetVSchemaRequest to JSON. 6412 * @returns JSON object 6413 */ 6414 public toJSON(): { [k: string]: any }; 6415 } 6416 6417 /** Properties of a GetVSchemasRequest. */ 6418 interface IGetVSchemasRequest { 6419 6420 /** GetVSchemasRequest cluster_ids */ 6421 cluster_ids?: (string[]|null); 6422 } 6423 6424 /** Represents a GetVSchemasRequest. */ 6425 class GetVSchemasRequest implements IGetVSchemasRequest { 6426 6427 /** 6428 * Constructs a new GetVSchemasRequest. 6429 * @param [properties] Properties to set 6430 */ 6431 constructor(properties?: vtadmin.IGetVSchemasRequest); 6432 6433 /** GetVSchemasRequest cluster_ids. */ 6434 public cluster_ids: string[]; 6435 6436 /** 6437 * Creates a new GetVSchemasRequest instance using the specified properties. 6438 * @param [properties] Properties to set 6439 * @returns GetVSchemasRequest instance 6440 */ 6441 public static create(properties?: vtadmin.IGetVSchemasRequest): vtadmin.GetVSchemasRequest; 6442 6443 /** 6444 * Encodes the specified GetVSchemasRequest message. Does not implicitly {@link vtadmin.GetVSchemasRequest.verify|verify} messages. 6445 * @param message GetVSchemasRequest message or plain object to encode 6446 * @param [writer] Writer to encode to 6447 * @returns Writer 6448 */ 6449 public static encode(message: vtadmin.IGetVSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6450 6451 /** 6452 * Encodes the specified GetVSchemasRequest message, length delimited. Does not implicitly {@link vtadmin.GetVSchemasRequest.verify|verify} messages. 6453 * @param message GetVSchemasRequest message or plain object to encode 6454 * @param [writer] Writer to encode to 6455 * @returns Writer 6456 */ 6457 public static encodeDelimited(message: vtadmin.IGetVSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6458 6459 /** 6460 * Decodes a GetVSchemasRequest message from the specified reader or buffer. 6461 * @param reader Reader or buffer to decode from 6462 * @param [length] Message length if known beforehand 6463 * @returns GetVSchemasRequest 6464 * @throws {Error} If the payload is not a reader or valid buffer 6465 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6466 */ 6467 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetVSchemasRequest; 6468 6469 /** 6470 * Decodes a GetVSchemasRequest message from the specified reader or buffer, length delimited. 6471 * @param reader Reader or buffer to decode from 6472 * @returns GetVSchemasRequest 6473 * @throws {Error} If the payload is not a reader or valid buffer 6474 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6475 */ 6476 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetVSchemasRequest; 6477 6478 /** 6479 * Verifies a GetVSchemasRequest message. 6480 * @param message Plain object to verify 6481 * @returns `null` if valid, otherwise the reason why it is not 6482 */ 6483 public static verify(message: { [k: string]: any }): (string|null); 6484 6485 /** 6486 * Creates a GetVSchemasRequest message from a plain object. Also converts values to their respective internal types. 6487 * @param object Plain object 6488 * @returns GetVSchemasRequest 6489 */ 6490 public static fromObject(object: { [k: string]: any }): vtadmin.GetVSchemasRequest; 6491 6492 /** 6493 * Creates a plain object from a GetVSchemasRequest message. Also converts values to other types if specified. 6494 * @param message GetVSchemasRequest 6495 * @param [options] Conversion options 6496 * @returns Plain object 6497 */ 6498 public static toObject(message: vtadmin.GetVSchemasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 6499 6500 /** 6501 * Converts this GetVSchemasRequest to JSON. 6502 * @returns JSON object 6503 */ 6504 public toJSON(): { [k: string]: any }; 6505 } 6506 6507 /** Properties of a GetVSchemasResponse. */ 6508 interface IGetVSchemasResponse { 6509 6510 /** GetVSchemasResponse v_schemas */ 6511 v_schemas?: (vtadmin.IVSchema[]|null); 6512 } 6513 6514 /** Represents a GetVSchemasResponse. */ 6515 class GetVSchemasResponse implements IGetVSchemasResponse { 6516 6517 /** 6518 * Constructs a new GetVSchemasResponse. 6519 * @param [properties] Properties to set 6520 */ 6521 constructor(properties?: vtadmin.IGetVSchemasResponse); 6522 6523 /** GetVSchemasResponse v_schemas. */ 6524 public v_schemas: vtadmin.IVSchema[]; 6525 6526 /** 6527 * Creates a new GetVSchemasResponse instance using the specified properties. 6528 * @param [properties] Properties to set 6529 * @returns GetVSchemasResponse instance 6530 */ 6531 public static create(properties?: vtadmin.IGetVSchemasResponse): vtadmin.GetVSchemasResponse; 6532 6533 /** 6534 * Encodes the specified GetVSchemasResponse message. Does not implicitly {@link vtadmin.GetVSchemasResponse.verify|verify} messages. 6535 * @param message GetVSchemasResponse message or plain object to encode 6536 * @param [writer] Writer to encode to 6537 * @returns Writer 6538 */ 6539 public static encode(message: vtadmin.IGetVSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 6540 6541 /** 6542 * Encodes the specified GetVSchemasResponse message, length delimited. Does not implicitly {@link vtadmin.GetVSchemasResponse.verify|verify} messages. 6543 * @param message GetVSchemasResponse message or plain object to encode 6544 * @param [writer] Writer to encode to 6545 * @returns Writer 6546 */ 6547 public static encodeDelimited(message: vtadmin.IGetVSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 6548 6549 /** 6550 * Decodes a GetVSchemasResponse message from the specified reader or buffer. 6551 * @param reader Reader or buffer to decode from 6552 * @param [length] Message length if known beforehand 6553 * @returns GetVSchemasResponse 6554 * @throws {Error} If the payload is not a reader or valid buffer 6555 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6556 */ 6557 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetVSchemasResponse; 6558 6559 /** 6560 * Decodes a GetVSchemasResponse message from the specified reader or buffer, length delimited. 6561 * @param reader Reader or buffer to decode from 6562 * @returns GetVSchemasResponse 6563 * @throws {Error} If the payload is not a reader or valid buffer 6564 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6565 */ 6566 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetVSchemasResponse; 6567 6568 /** 6569 * Verifies a GetVSchemasResponse message. 6570 * @param message Plain object to verify 6571 * @returns `null` if valid, otherwise the reason why it is not 6572 */ 6573 public static verify(message: { [k: string]: any }): (string|null); 6574 6575 /** 6576 * Creates a GetVSchemasResponse message from a plain object. Also converts values to their respective internal types. 6577 * @param object Plain object 6578 * @returns GetVSchemasResponse 6579 */ 6580 public static fromObject(object: { [k: string]: any }): vtadmin.GetVSchemasResponse; 6581 6582 /** 6583 * Creates a plain object from a GetVSchemasResponse message. Also converts values to other types if specified. 6584 * @param message GetVSchemasResponse 6585 * @param [options] Conversion options 6586 * @returns Plain object 6587 */ 6588 public static toObject(message: vtadmin.GetVSchemasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 6589 6590 /** 6591 * Converts this GetVSchemasResponse to JSON. 6592 * @returns JSON object 6593 */ 6594 public toJSON(): { [k: string]: any }; 6595 } 6596 6597 /** Properties of a GetVtctldsRequest. */ 6598 interface IGetVtctldsRequest { 6599 6600 /** GetVtctldsRequest cluster_ids */ 6601 cluster_ids?: (string[]|null); 6602 } 6603 6604 /** Represents a GetVtctldsRequest. */ 6605 class GetVtctldsRequest implements IGetVtctldsRequest { 6606 6607 /** 6608 * Constructs a new GetVtctldsRequest. 6609 * @param [properties] Properties to set 6610 */ 6611 constructor(properties?: vtadmin.IGetVtctldsRequest); 6612 6613 /** GetVtctldsRequest cluster_ids. */ 6614 public cluster_ids: string[]; 6615 6616 /** 6617 * Creates a new GetVtctldsRequest instance using the specified properties. 6618 * @param [properties] Properties to set 6619 * @returns GetVtctldsRequest instance 6620 */ 6621 public static create(properties?: vtadmin.IGetVtctldsRequest): vtadmin.GetVtctldsRequest; 6622 6623 /** 6624 * Encodes the specified GetVtctldsRequest message. Does not implicitly {@link vtadmin.GetVtctldsRequest.verify|verify} messages. 6625 * @param message GetVtctldsRequest message or plain object to encode 6626 * @param [writer] Writer to encode to 6627 * @returns Writer 6628 */ 6629 public static encode(message: vtadmin.IGetVtctldsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6630 6631 /** 6632 * Encodes the specified GetVtctldsRequest message, length delimited. Does not implicitly {@link vtadmin.GetVtctldsRequest.verify|verify} messages. 6633 * @param message GetVtctldsRequest message or plain object to encode 6634 * @param [writer] Writer to encode to 6635 * @returns Writer 6636 */ 6637 public static encodeDelimited(message: vtadmin.IGetVtctldsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6638 6639 /** 6640 * Decodes a GetVtctldsRequest message from the specified reader or buffer. 6641 * @param reader Reader or buffer to decode from 6642 * @param [length] Message length if known beforehand 6643 * @returns GetVtctldsRequest 6644 * @throws {Error} If the payload is not a reader or valid buffer 6645 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6646 */ 6647 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetVtctldsRequest; 6648 6649 /** 6650 * Decodes a GetVtctldsRequest message from the specified reader or buffer, length delimited. 6651 * @param reader Reader or buffer to decode from 6652 * @returns GetVtctldsRequest 6653 * @throws {Error} If the payload is not a reader or valid buffer 6654 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6655 */ 6656 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetVtctldsRequest; 6657 6658 /** 6659 * Verifies a GetVtctldsRequest message. 6660 * @param message Plain object to verify 6661 * @returns `null` if valid, otherwise the reason why it is not 6662 */ 6663 public static verify(message: { [k: string]: any }): (string|null); 6664 6665 /** 6666 * Creates a GetVtctldsRequest message from a plain object. Also converts values to their respective internal types. 6667 * @param object Plain object 6668 * @returns GetVtctldsRequest 6669 */ 6670 public static fromObject(object: { [k: string]: any }): vtadmin.GetVtctldsRequest; 6671 6672 /** 6673 * Creates a plain object from a GetVtctldsRequest message. Also converts values to other types if specified. 6674 * @param message GetVtctldsRequest 6675 * @param [options] Conversion options 6676 * @returns Plain object 6677 */ 6678 public static toObject(message: vtadmin.GetVtctldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 6679 6680 /** 6681 * Converts this GetVtctldsRequest to JSON. 6682 * @returns JSON object 6683 */ 6684 public toJSON(): { [k: string]: any }; 6685 } 6686 6687 /** Properties of a GetVtctldsResponse. */ 6688 interface IGetVtctldsResponse { 6689 6690 /** GetVtctldsResponse vtctlds */ 6691 vtctlds?: (vtadmin.IVtctld[]|null); 6692 } 6693 6694 /** Represents a GetVtctldsResponse. */ 6695 class GetVtctldsResponse implements IGetVtctldsResponse { 6696 6697 /** 6698 * Constructs a new GetVtctldsResponse. 6699 * @param [properties] Properties to set 6700 */ 6701 constructor(properties?: vtadmin.IGetVtctldsResponse); 6702 6703 /** GetVtctldsResponse vtctlds. */ 6704 public vtctlds: vtadmin.IVtctld[]; 6705 6706 /** 6707 * Creates a new GetVtctldsResponse instance using the specified properties. 6708 * @param [properties] Properties to set 6709 * @returns GetVtctldsResponse instance 6710 */ 6711 public static create(properties?: vtadmin.IGetVtctldsResponse): vtadmin.GetVtctldsResponse; 6712 6713 /** 6714 * Encodes the specified GetVtctldsResponse message. Does not implicitly {@link vtadmin.GetVtctldsResponse.verify|verify} messages. 6715 * @param message GetVtctldsResponse message or plain object to encode 6716 * @param [writer] Writer to encode to 6717 * @returns Writer 6718 */ 6719 public static encode(message: vtadmin.IGetVtctldsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 6720 6721 /** 6722 * Encodes the specified GetVtctldsResponse message, length delimited. Does not implicitly {@link vtadmin.GetVtctldsResponse.verify|verify} messages. 6723 * @param message GetVtctldsResponse message or plain object to encode 6724 * @param [writer] Writer to encode to 6725 * @returns Writer 6726 */ 6727 public static encodeDelimited(message: vtadmin.IGetVtctldsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 6728 6729 /** 6730 * Decodes a GetVtctldsResponse message from the specified reader or buffer. 6731 * @param reader Reader or buffer to decode from 6732 * @param [length] Message length if known beforehand 6733 * @returns GetVtctldsResponse 6734 * @throws {Error} If the payload is not a reader or valid buffer 6735 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6736 */ 6737 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetVtctldsResponse; 6738 6739 /** 6740 * Decodes a GetVtctldsResponse message from the specified reader or buffer, length delimited. 6741 * @param reader Reader or buffer to decode from 6742 * @returns GetVtctldsResponse 6743 * @throws {Error} If the payload is not a reader or valid buffer 6744 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6745 */ 6746 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetVtctldsResponse; 6747 6748 /** 6749 * Verifies a GetVtctldsResponse message. 6750 * @param message Plain object to verify 6751 * @returns `null` if valid, otherwise the reason why it is not 6752 */ 6753 public static verify(message: { [k: string]: any }): (string|null); 6754 6755 /** 6756 * Creates a GetVtctldsResponse message from a plain object. Also converts values to their respective internal types. 6757 * @param object Plain object 6758 * @returns GetVtctldsResponse 6759 */ 6760 public static fromObject(object: { [k: string]: any }): vtadmin.GetVtctldsResponse; 6761 6762 /** 6763 * Creates a plain object from a GetVtctldsResponse message. Also converts values to other types if specified. 6764 * @param message GetVtctldsResponse 6765 * @param [options] Conversion options 6766 * @returns Plain object 6767 */ 6768 public static toObject(message: vtadmin.GetVtctldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 6769 6770 /** 6771 * Converts this GetVtctldsResponse to JSON. 6772 * @returns JSON object 6773 */ 6774 public toJSON(): { [k: string]: any }; 6775 } 6776 6777 /** Properties of a GetWorkflowRequest. */ 6778 interface IGetWorkflowRequest { 6779 6780 /** GetWorkflowRequest cluster_id */ 6781 cluster_id?: (string|null); 6782 6783 /** GetWorkflowRequest keyspace */ 6784 keyspace?: (string|null); 6785 6786 /** GetWorkflowRequest name */ 6787 name?: (string|null); 6788 6789 /** GetWorkflowRequest active_only */ 6790 active_only?: (boolean|null); 6791 } 6792 6793 /** Represents a GetWorkflowRequest. */ 6794 class GetWorkflowRequest implements IGetWorkflowRequest { 6795 6796 /** 6797 * Constructs a new GetWorkflowRequest. 6798 * @param [properties] Properties to set 6799 */ 6800 constructor(properties?: vtadmin.IGetWorkflowRequest); 6801 6802 /** GetWorkflowRequest cluster_id. */ 6803 public cluster_id: string; 6804 6805 /** GetWorkflowRequest keyspace. */ 6806 public keyspace: string; 6807 6808 /** GetWorkflowRequest name. */ 6809 public name: string; 6810 6811 /** GetWorkflowRequest active_only. */ 6812 public active_only: boolean; 6813 6814 /** 6815 * Creates a new GetWorkflowRequest instance using the specified properties. 6816 * @param [properties] Properties to set 6817 * @returns GetWorkflowRequest instance 6818 */ 6819 public static create(properties?: vtadmin.IGetWorkflowRequest): vtadmin.GetWorkflowRequest; 6820 6821 /** 6822 * Encodes the specified GetWorkflowRequest message. Does not implicitly {@link vtadmin.GetWorkflowRequest.verify|verify} messages. 6823 * @param message GetWorkflowRequest message or plain object to encode 6824 * @param [writer] Writer to encode to 6825 * @returns Writer 6826 */ 6827 public static encode(message: vtadmin.IGetWorkflowRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6828 6829 /** 6830 * Encodes the specified GetWorkflowRequest message, length delimited. Does not implicitly {@link vtadmin.GetWorkflowRequest.verify|verify} messages. 6831 * @param message GetWorkflowRequest message or plain object to encode 6832 * @param [writer] Writer to encode to 6833 * @returns Writer 6834 */ 6835 public static encodeDelimited(message: vtadmin.IGetWorkflowRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6836 6837 /** 6838 * Decodes a GetWorkflowRequest message from the specified reader or buffer. 6839 * @param reader Reader or buffer to decode from 6840 * @param [length] Message length if known beforehand 6841 * @returns GetWorkflowRequest 6842 * @throws {Error} If the payload is not a reader or valid buffer 6843 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6844 */ 6845 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetWorkflowRequest; 6846 6847 /** 6848 * Decodes a GetWorkflowRequest message from the specified reader or buffer, length delimited. 6849 * @param reader Reader or buffer to decode from 6850 * @returns GetWorkflowRequest 6851 * @throws {Error} If the payload is not a reader or valid buffer 6852 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6853 */ 6854 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetWorkflowRequest; 6855 6856 /** 6857 * Verifies a GetWorkflowRequest message. 6858 * @param message Plain object to verify 6859 * @returns `null` if valid, otherwise the reason why it is not 6860 */ 6861 public static verify(message: { [k: string]: any }): (string|null); 6862 6863 /** 6864 * Creates a GetWorkflowRequest message from a plain object. Also converts values to their respective internal types. 6865 * @param object Plain object 6866 * @returns GetWorkflowRequest 6867 */ 6868 public static fromObject(object: { [k: string]: any }): vtadmin.GetWorkflowRequest; 6869 6870 /** 6871 * Creates a plain object from a GetWorkflowRequest message. Also converts values to other types if specified. 6872 * @param message GetWorkflowRequest 6873 * @param [options] Conversion options 6874 * @returns Plain object 6875 */ 6876 public static toObject(message: vtadmin.GetWorkflowRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 6877 6878 /** 6879 * Converts this GetWorkflowRequest to JSON. 6880 * @returns JSON object 6881 */ 6882 public toJSON(): { [k: string]: any }; 6883 } 6884 6885 /** Properties of a GetWorkflowsRequest. */ 6886 interface IGetWorkflowsRequest { 6887 6888 /** GetWorkflowsRequest cluster_ids */ 6889 cluster_ids?: (string[]|null); 6890 6891 /** GetWorkflowsRequest active_only */ 6892 active_only?: (boolean|null); 6893 6894 /** GetWorkflowsRequest keyspaces */ 6895 keyspaces?: (string[]|null); 6896 6897 /** GetWorkflowsRequest ignore_keyspaces */ 6898 ignore_keyspaces?: (string[]|null); 6899 } 6900 6901 /** Represents a GetWorkflowsRequest. */ 6902 class GetWorkflowsRequest implements IGetWorkflowsRequest { 6903 6904 /** 6905 * Constructs a new GetWorkflowsRequest. 6906 * @param [properties] Properties to set 6907 */ 6908 constructor(properties?: vtadmin.IGetWorkflowsRequest); 6909 6910 /** GetWorkflowsRequest cluster_ids. */ 6911 public cluster_ids: string[]; 6912 6913 /** GetWorkflowsRequest active_only. */ 6914 public active_only: boolean; 6915 6916 /** GetWorkflowsRequest keyspaces. */ 6917 public keyspaces: string[]; 6918 6919 /** GetWorkflowsRequest ignore_keyspaces. */ 6920 public ignore_keyspaces: string[]; 6921 6922 /** 6923 * Creates a new GetWorkflowsRequest instance using the specified properties. 6924 * @param [properties] Properties to set 6925 * @returns GetWorkflowsRequest instance 6926 */ 6927 public static create(properties?: vtadmin.IGetWorkflowsRequest): vtadmin.GetWorkflowsRequest; 6928 6929 /** 6930 * Encodes the specified GetWorkflowsRequest message. Does not implicitly {@link vtadmin.GetWorkflowsRequest.verify|verify} messages. 6931 * @param message GetWorkflowsRequest message or plain object to encode 6932 * @param [writer] Writer to encode to 6933 * @returns Writer 6934 */ 6935 public static encode(message: vtadmin.IGetWorkflowsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6936 6937 /** 6938 * Encodes the specified GetWorkflowsRequest message, length delimited. Does not implicitly {@link vtadmin.GetWorkflowsRequest.verify|verify} messages. 6939 * @param message GetWorkflowsRequest message or plain object to encode 6940 * @param [writer] Writer to encode to 6941 * @returns Writer 6942 */ 6943 public static encodeDelimited(message: vtadmin.IGetWorkflowsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 6944 6945 /** 6946 * Decodes a GetWorkflowsRequest message from the specified reader or buffer. 6947 * @param reader Reader or buffer to decode from 6948 * @param [length] Message length if known beforehand 6949 * @returns GetWorkflowsRequest 6950 * @throws {Error} If the payload is not a reader or valid buffer 6951 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6952 */ 6953 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetWorkflowsRequest; 6954 6955 /** 6956 * Decodes a GetWorkflowsRequest message from the specified reader or buffer, length delimited. 6957 * @param reader Reader or buffer to decode from 6958 * @returns GetWorkflowsRequest 6959 * @throws {Error} If the payload is not a reader or valid buffer 6960 * @throws {$protobuf.util.ProtocolError} If required fields are missing 6961 */ 6962 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetWorkflowsRequest; 6963 6964 /** 6965 * Verifies a GetWorkflowsRequest message. 6966 * @param message Plain object to verify 6967 * @returns `null` if valid, otherwise the reason why it is not 6968 */ 6969 public static verify(message: { [k: string]: any }): (string|null); 6970 6971 /** 6972 * Creates a GetWorkflowsRequest message from a plain object. Also converts values to their respective internal types. 6973 * @param object Plain object 6974 * @returns GetWorkflowsRequest 6975 */ 6976 public static fromObject(object: { [k: string]: any }): vtadmin.GetWorkflowsRequest; 6977 6978 /** 6979 * Creates a plain object from a GetWorkflowsRequest message. Also converts values to other types if specified. 6980 * @param message GetWorkflowsRequest 6981 * @param [options] Conversion options 6982 * @returns Plain object 6983 */ 6984 public static toObject(message: vtadmin.GetWorkflowsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 6985 6986 /** 6987 * Converts this GetWorkflowsRequest to JSON. 6988 * @returns JSON object 6989 */ 6990 public toJSON(): { [k: string]: any }; 6991 } 6992 6993 /** Properties of a GetWorkflowsResponse. */ 6994 interface IGetWorkflowsResponse { 6995 6996 /** GetWorkflowsResponse workflows_by_cluster */ 6997 workflows_by_cluster?: ({ [k: string]: vtadmin.IClusterWorkflows }|null); 6998 } 6999 7000 /** Represents a GetWorkflowsResponse. */ 7001 class GetWorkflowsResponse implements IGetWorkflowsResponse { 7002 7003 /** 7004 * Constructs a new GetWorkflowsResponse. 7005 * @param [properties] Properties to set 7006 */ 7007 constructor(properties?: vtadmin.IGetWorkflowsResponse); 7008 7009 /** GetWorkflowsResponse workflows_by_cluster. */ 7010 public workflows_by_cluster: { [k: string]: vtadmin.IClusterWorkflows }; 7011 7012 /** 7013 * Creates a new GetWorkflowsResponse instance using the specified properties. 7014 * @param [properties] Properties to set 7015 * @returns GetWorkflowsResponse instance 7016 */ 7017 public static create(properties?: vtadmin.IGetWorkflowsResponse): vtadmin.GetWorkflowsResponse; 7018 7019 /** 7020 * Encodes the specified GetWorkflowsResponse message. Does not implicitly {@link vtadmin.GetWorkflowsResponse.verify|verify} messages. 7021 * @param message GetWorkflowsResponse message or plain object to encode 7022 * @param [writer] Writer to encode to 7023 * @returns Writer 7024 */ 7025 public static encode(message: vtadmin.IGetWorkflowsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 7026 7027 /** 7028 * Encodes the specified GetWorkflowsResponse message, length delimited. Does not implicitly {@link vtadmin.GetWorkflowsResponse.verify|verify} messages. 7029 * @param message GetWorkflowsResponse message or plain object to encode 7030 * @param [writer] Writer to encode to 7031 * @returns Writer 7032 */ 7033 public static encodeDelimited(message: vtadmin.IGetWorkflowsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 7034 7035 /** 7036 * Decodes a GetWorkflowsResponse message from the specified reader or buffer. 7037 * @param reader Reader or buffer to decode from 7038 * @param [length] Message length if known beforehand 7039 * @returns GetWorkflowsResponse 7040 * @throws {Error} If the payload is not a reader or valid buffer 7041 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7042 */ 7043 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.GetWorkflowsResponse; 7044 7045 /** 7046 * Decodes a GetWorkflowsResponse message from the specified reader or buffer, length delimited. 7047 * @param reader Reader or buffer to decode from 7048 * @returns GetWorkflowsResponse 7049 * @throws {Error} If the payload is not a reader or valid buffer 7050 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7051 */ 7052 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.GetWorkflowsResponse; 7053 7054 /** 7055 * Verifies a GetWorkflowsResponse message. 7056 * @param message Plain object to verify 7057 * @returns `null` if valid, otherwise the reason why it is not 7058 */ 7059 public static verify(message: { [k: string]: any }): (string|null); 7060 7061 /** 7062 * Creates a GetWorkflowsResponse message from a plain object. Also converts values to their respective internal types. 7063 * @param object Plain object 7064 * @returns GetWorkflowsResponse 7065 */ 7066 public static fromObject(object: { [k: string]: any }): vtadmin.GetWorkflowsResponse; 7067 7068 /** 7069 * Creates a plain object from a GetWorkflowsResponse message. Also converts values to other types if specified. 7070 * @param message GetWorkflowsResponse 7071 * @param [options] Conversion options 7072 * @returns Plain object 7073 */ 7074 public static toObject(message: vtadmin.GetWorkflowsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 7075 7076 /** 7077 * Converts this GetWorkflowsResponse to JSON. 7078 * @returns JSON object 7079 */ 7080 public toJSON(): { [k: string]: any }; 7081 } 7082 7083 /** Properties of a PingTabletRequest. */ 7084 interface IPingTabletRequest { 7085 7086 /** PingTabletRequest alias */ 7087 alias?: (topodata.ITabletAlias|null); 7088 7089 /** PingTabletRequest cluster_ids */ 7090 cluster_ids?: (string[]|null); 7091 } 7092 7093 /** Represents a PingTabletRequest. */ 7094 class PingTabletRequest implements IPingTabletRequest { 7095 7096 /** 7097 * Constructs a new PingTabletRequest. 7098 * @param [properties] Properties to set 7099 */ 7100 constructor(properties?: vtadmin.IPingTabletRequest); 7101 7102 /** PingTabletRequest alias. */ 7103 public alias?: (topodata.ITabletAlias|null); 7104 7105 /** PingTabletRequest cluster_ids. */ 7106 public cluster_ids: string[]; 7107 7108 /** 7109 * Creates a new PingTabletRequest instance using the specified properties. 7110 * @param [properties] Properties to set 7111 * @returns PingTabletRequest instance 7112 */ 7113 public static create(properties?: vtadmin.IPingTabletRequest): vtadmin.PingTabletRequest; 7114 7115 /** 7116 * Encodes the specified PingTabletRequest message. Does not implicitly {@link vtadmin.PingTabletRequest.verify|verify} messages. 7117 * @param message PingTabletRequest message or plain object to encode 7118 * @param [writer] Writer to encode to 7119 * @returns Writer 7120 */ 7121 public static encode(message: vtadmin.IPingTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 7122 7123 /** 7124 * Encodes the specified PingTabletRequest message, length delimited. Does not implicitly {@link vtadmin.PingTabletRequest.verify|verify} messages. 7125 * @param message PingTabletRequest message or plain object to encode 7126 * @param [writer] Writer to encode to 7127 * @returns Writer 7128 */ 7129 public static encodeDelimited(message: vtadmin.IPingTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 7130 7131 /** 7132 * Decodes a PingTabletRequest message from the specified reader or buffer. 7133 * @param reader Reader or buffer to decode from 7134 * @param [length] Message length if known beforehand 7135 * @returns PingTabletRequest 7136 * @throws {Error} If the payload is not a reader or valid buffer 7137 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7138 */ 7139 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.PingTabletRequest; 7140 7141 /** 7142 * Decodes a PingTabletRequest message from the specified reader or buffer, length delimited. 7143 * @param reader Reader or buffer to decode from 7144 * @returns PingTabletRequest 7145 * @throws {Error} If the payload is not a reader or valid buffer 7146 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7147 */ 7148 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.PingTabletRequest; 7149 7150 /** 7151 * Verifies a PingTabletRequest message. 7152 * @param message Plain object to verify 7153 * @returns `null` if valid, otherwise the reason why it is not 7154 */ 7155 public static verify(message: { [k: string]: any }): (string|null); 7156 7157 /** 7158 * Creates a PingTabletRequest message from a plain object. Also converts values to their respective internal types. 7159 * @param object Plain object 7160 * @returns PingTabletRequest 7161 */ 7162 public static fromObject(object: { [k: string]: any }): vtadmin.PingTabletRequest; 7163 7164 /** 7165 * Creates a plain object from a PingTabletRequest message. Also converts values to other types if specified. 7166 * @param message PingTabletRequest 7167 * @param [options] Conversion options 7168 * @returns Plain object 7169 */ 7170 public static toObject(message: vtadmin.PingTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 7171 7172 /** 7173 * Converts this PingTabletRequest to JSON. 7174 * @returns JSON object 7175 */ 7176 public toJSON(): { [k: string]: any }; 7177 } 7178 7179 /** Properties of a PingTabletResponse. */ 7180 interface IPingTabletResponse { 7181 7182 /** PingTabletResponse status */ 7183 status?: (string|null); 7184 7185 /** PingTabletResponse cluster */ 7186 cluster?: (vtadmin.ICluster|null); 7187 } 7188 7189 /** Represents a PingTabletResponse. */ 7190 class PingTabletResponse implements IPingTabletResponse { 7191 7192 /** 7193 * Constructs a new PingTabletResponse. 7194 * @param [properties] Properties to set 7195 */ 7196 constructor(properties?: vtadmin.IPingTabletResponse); 7197 7198 /** PingTabletResponse status. */ 7199 public status: string; 7200 7201 /** PingTabletResponse cluster. */ 7202 public cluster?: (vtadmin.ICluster|null); 7203 7204 /** 7205 * Creates a new PingTabletResponse instance using the specified properties. 7206 * @param [properties] Properties to set 7207 * @returns PingTabletResponse instance 7208 */ 7209 public static create(properties?: vtadmin.IPingTabletResponse): vtadmin.PingTabletResponse; 7210 7211 /** 7212 * Encodes the specified PingTabletResponse message. Does not implicitly {@link vtadmin.PingTabletResponse.verify|verify} messages. 7213 * @param message PingTabletResponse message or plain object to encode 7214 * @param [writer] Writer to encode to 7215 * @returns Writer 7216 */ 7217 public static encode(message: vtadmin.IPingTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 7218 7219 /** 7220 * Encodes the specified PingTabletResponse message, length delimited. Does not implicitly {@link vtadmin.PingTabletResponse.verify|verify} messages. 7221 * @param message PingTabletResponse message or plain object to encode 7222 * @param [writer] Writer to encode to 7223 * @returns Writer 7224 */ 7225 public static encodeDelimited(message: vtadmin.IPingTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 7226 7227 /** 7228 * Decodes a PingTabletResponse message from the specified reader or buffer. 7229 * @param reader Reader or buffer to decode from 7230 * @param [length] Message length if known beforehand 7231 * @returns PingTabletResponse 7232 * @throws {Error} If the payload is not a reader or valid buffer 7233 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7234 */ 7235 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.PingTabletResponse; 7236 7237 /** 7238 * Decodes a PingTabletResponse message from the specified reader or buffer, length delimited. 7239 * @param reader Reader or buffer to decode from 7240 * @returns PingTabletResponse 7241 * @throws {Error} If the payload is not a reader or valid buffer 7242 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7243 */ 7244 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.PingTabletResponse; 7245 7246 /** 7247 * Verifies a PingTabletResponse message. 7248 * @param message Plain object to verify 7249 * @returns `null` if valid, otherwise the reason why it is not 7250 */ 7251 public static verify(message: { [k: string]: any }): (string|null); 7252 7253 /** 7254 * Creates a PingTabletResponse message from a plain object. Also converts values to their respective internal types. 7255 * @param object Plain object 7256 * @returns PingTabletResponse 7257 */ 7258 public static fromObject(object: { [k: string]: any }): vtadmin.PingTabletResponse; 7259 7260 /** 7261 * Creates a plain object from a PingTabletResponse message. Also converts values to other types if specified. 7262 * @param message PingTabletResponse 7263 * @param [options] Conversion options 7264 * @returns Plain object 7265 */ 7266 public static toObject(message: vtadmin.PingTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 7267 7268 /** 7269 * Converts this PingTabletResponse to JSON. 7270 * @returns JSON object 7271 */ 7272 public toJSON(): { [k: string]: any }; 7273 } 7274 7275 /** Properties of a PlannedFailoverShardRequest. */ 7276 interface IPlannedFailoverShardRequest { 7277 7278 /** PlannedFailoverShardRequest cluster_id */ 7279 cluster_id?: (string|null); 7280 7281 /** PlannedFailoverShardRequest options */ 7282 options?: (vtctldata.IPlannedReparentShardRequest|null); 7283 } 7284 7285 /** Represents a PlannedFailoverShardRequest. */ 7286 class PlannedFailoverShardRequest implements IPlannedFailoverShardRequest { 7287 7288 /** 7289 * Constructs a new PlannedFailoverShardRequest. 7290 * @param [properties] Properties to set 7291 */ 7292 constructor(properties?: vtadmin.IPlannedFailoverShardRequest); 7293 7294 /** PlannedFailoverShardRequest cluster_id. */ 7295 public cluster_id: string; 7296 7297 /** PlannedFailoverShardRequest options. */ 7298 public options?: (vtctldata.IPlannedReparentShardRequest|null); 7299 7300 /** 7301 * Creates a new PlannedFailoverShardRequest instance using the specified properties. 7302 * @param [properties] Properties to set 7303 * @returns PlannedFailoverShardRequest instance 7304 */ 7305 public static create(properties?: vtadmin.IPlannedFailoverShardRequest): vtadmin.PlannedFailoverShardRequest; 7306 7307 /** 7308 * Encodes the specified PlannedFailoverShardRequest message. Does not implicitly {@link vtadmin.PlannedFailoverShardRequest.verify|verify} messages. 7309 * @param message PlannedFailoverShardRequest message or plain object to encode 7310 * @param [writer] Writer to encode to 7311 * @returns Writer 7312 */ 7313 public static encode(message: vtadmin.IPlannedFailoverShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 7314 7315 /** 7316 * Encodes the specified PlannedFailoverShardRequest message, length delimited. Does not implicitly {@link vtadmin.PlannedFailoverShardRequest.verify|verify} messages. 7317 * @param message PlannedFailoverShardRequest message or plain object to encode 7318 * @param [writer] Writer to encode to 7319 * @returns Writer 7320 */ 7321 public static encodeDelimited(message: vtadmin.IPlannedFailoverShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 7322 7323 /** 7324 * Decodes a PlannedFailoverShardRequest message from the specified reader or buffer. 7325 * @param reader Reader or buffer to decode from 7326 * @param [length] Message length if known beforehand 7327 * @returns PlannedFailoverShardRequest 7328 * @throws {Error} If the payload is not a reader or valid buffer 7329 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7330 */ 7331 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.PlannedFailoverShardRequest; 7332 7333 /** 7334 * Decodes a PlannedFailoverShardRequest message from the specified reader or buffer, length delimited. 7335 * @param reader Reader or buffer to decode from 7336 * @returns PlannedFailoverShardRequest 7337 * @throws {Error} If the payload is not a reader or valid buffer 7338 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7339 */ 7340 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.PlannedFailoverShardRequest; 7341 7342 /** 7343 * Verifies a PlannedFailoverShardRequest message. 7344 * @param message Plain object to verify 7345 * @returns `null` if valid, otherwise the reason why it is not 7346 */ 7347 public static verify(message: { [k: string]: any }): (string|null); 7348 7349 /** 7350 * Creates a PlannedFailoverShardRequest message from a plain object. Also converts values to their respective internal types. 7351 * @param object Plain object 7352 * @returns PlannedFailoverShardRequest 7353 */ 7354 public static fromObject(object: { [k: string]: any }): vtadmin.PlannedFailoverShardRequest; 7355 7356 /** 7357 * Creates a plain object from a PlannedFailoverShardRequest message. Also converts values to other types if specified. 7358 * @param message PlannedFailoverShardRequest 7359 * @param [options] Conversion options 7360 * @returns Plain object 7361 */ 7362 public static toObject(message: vtadmin.PlannedFailoverShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 7363 7364 /** 7365 * Converts this PlannedFailoverShardRequest to JSON. 7366 * @returns JSON object 7367 */ 7368 public toJSON(): { [k: string]: any }; 7369 } 7370 7371 /** Properties of a PlannedFailoverShardResponse. */ 7372 interface IPlannedFailoverShardResponse { 7373 7374 /** PlannedFailoverShardResponse cluster */ 7375 cluster?: (vtadmin.ICluster|null); 7376 7377 /** PlannedFailoverShardResponse keyspace */ 7378 keyspace?: (string|null); 7379 7380 /** PlannedFailoverShardResponse shard */ 7381 shard?: (string|null); 7382 7383 /** PlannedFailoverShardResponse promoted_primary */ 7384 promoted_primary?: (topodata.ITabletAlias|null); 7385 7386 /** PlannedFailoverShardResponse events */ 7387 events?: (logutil.IEvent[]|null); 7388 } 7389 7390 /** Represents a PlannedFailoverShardResponse. */ 7391 class PlannedFailoverShardResponse implements IPlannedFailoverShardResponse { 7392 7393 /** 7394 * Constructs a new PlannedFailoverShardResponse. 7395 * @param [properties] Properties to set 7396 */ 7397 constructor(properties?: vtadmin.IPlannedFailoverShardResponse); 7398 7399 /** PlannedFailoverShardResponse cluster. */ 7400 public cluster?: (vtadmin.ICluster|null); 7401 7402 /** PlannedFailoverShardResponse keyspace. */ 7403 public keyspace: string; 7404 7405 /** PlannedFailoverShardResponse shard. */ 7406 public shard: string; 7407 7408 /** PlannedFailoverShardResponse promoted_primary. */ 7409 public promoted_primary?: (topodata.ITabletAlias|null); 7410 7411 /** PlannedFailoverShardResponse events. */ 7412 public events: logutil.IEvent[]; 7413 7414 /** 7415 * Creates a new PlannedFailoverShardResponse instance using the specified properties. 7416 * @param [properties] Properties to set 7417 * @returns PlannedFailoverShardResponse instance 7418 */ 7419 public static create(properties?: vtadmin.IPlannedFailoverShardResponse): vtadmin.PlannedFailoverShardResponse; 7420 7421 /** 7422 * Encodes the specified PlannedFailoverShardResponse message. Does not implicitly {@link vtadmin.PlannedFailoverShardResponse.verify|verify} messages. 7423 * @param message PlannedFailoverShardResponse message or plain object to encode 7424 * @param [writer] Writer to encode to 7425 * @returns Writer 7426 */ 7427 public static encode(message: vtadmin.IPlannedFailoverShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 7428 7429 /** 7430 * Encodes the specified PlannedFailoverShardResponse message, length delimited. Does not implicitly {@link vtadmin.PlannedFailoverShardResponse.verify|verify} messages. 7431 * @param message PlannedFailoverShardResponse message or plain object to encode 7432 * @param [writer] Writer to encode to 7433 * @returns Writer 7434 */ 7435 public static encodeDelimited(message: vtadmin.IPlannedFailoverShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 7436 7437 /** 7438 * Decodes a PlannedFailoverShardResponse message from the specified reader or buffer. 7439 * @param reader Reader or buffer to decode from 7440 * @param [length] Message length if known beforehand 7441 * @returns PlannedFailoverShardResponse 7442 * @throws {Error} If the payload is not a reader or valid buffer 7443 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7444 */ 7445 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.PlannedFailoverShardResponse; 7446 7447 /** 7448 * Decodes a PlannedFailoverShardResponse message from the specified reader or buffer, length delimited. 7449 * @param reader Reader or buffer to decode from 7450 * @returns PlannedFailoverShardResponse 7451 * @throws {Error} If the payload is not a reader or valid buffer 7452 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7453 */ 7454 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.PlannedFailoverShardResponse; 7455 7456 /** 7457 * Verifies a PlannedFailoverShardResponse message. 7458 * @param message Plain object to verify 7459 * @returns `null` if valid, otherwise the reason why it is not 7460 */ 7461 public static verify(message: { [k: string]: any }): (string|null); 7462 7463 /** 7464 * Creates a PlannedFailoverShardResponse message from a plain object. Also converts values to their respective internal types. 7465 * @param object Plain object 7466 * @returns PlannedFailoverShardResponse 7467 */ 7468 public static fromObject(object: { [k: string]: any }): vtadmin.PlannedFailoverShardResponse; 7469 7470 /** 7471 * Creates a plain object from a PlannedFailoverShardResponse message. Also converts values to other types if specified. 7472 * @param message PlannedFailoverShardResponse 7473 * @param [options] Conversion options 7474 * @returns Plain object 7475 */ 7476 public static toObject(message: vtadmin.PlannedFailoverShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 7477 7478 /** 7479 * Converts this PlannedFailoverShardResponse to JSON. 7480 * @returns JSON object 7481 */ 7482 public toJSON(): { [k: string]: any }; 7483 } 7484 7485 /** Properties of a RebuildKeyspaceGraphRequest. */ 7486 interface IRebuildKeyspaceGraphRequest { 7487 7488 /** RebuildKeyspaceGraphRequest cluster_id */ 7489 cluster_id?: (string|null); 7490 7491 /** RebuildKeyspaceGraphRequest keyspace */ 7492 keyspace?: (string|null); 7493 7494 /** RebuildKeyspaceGraphRequest cells */ 7495 cells?: (string[]|null); 7496 7497 /** RebuildKeyspaceGraphRequest allow_partial */ 7498 allow_partial?: (boolean|null); 7499 } 7500 7501 /** Represents a RebuildKeyspaceGraphRequest. */ 7502 class RebuildKeyspaceGraphRequest implements IRebuildKeyspaceGraphRequest { 7503 7504 /** 7505 * Constructs a new RebuildKeyspaceGraphRequest. 7506 * @param [properties] Properties to set 7507 */ 7508 constructor(properties?: vtadmin.IRebuildKeyspaceGraphRequest); 7509 7510 /** RebuildKeyspaceGraphRequest cluster_id. */ 7511 public cluster_id: string; 7512 7513 /** RebuildKeyspaceGraphRequest keyspace. */ 7514 public keyspace: string; 7515 7516 /** RebuildKeyspaceGraphRequest cells. */ 7517 public cells: string[]; 7518 7519 /** RebuildKeyspaceGraphRequest allow_partial. */ 7520 public allow_partial: boolean; 7521 7522 /** 7523 * Creates a new RebuildKeyspaceGraphRequest instance using the specified properties. 7524 * @param [properties] Properties to set 7525 * @returns RebuildKeyspaceGraphRequest instance 7526 */ 7527 public static create(properties?: vtadmin.IRebuildKeyspaceGraphRequest): vtadmin.RebuildKeyspaceGraphRequest; 7528 7529 /** 7530 * Encodes the specified RebuildKeyspaceGraphRequest message. Does not implicitly {@link vtadmin.RebuildKeyspaceGraphRequest.verify|verify} messages. 7531 * @param message RebuildKeyspaceGraphRequest message or plain object to encode 7532 * @param [writer] Writer to encode to 7533 * @returns Writer 7534 */ 7535 public static encode(message: vtadmin.IRebuildKeyspaceGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; 7536 7537 /** 7538 * Encodes the specified RebuildKeyspaceGraphRequest message, length delimited. Does not implicitly {@link vtadmin.RebuildKeyspaceGraphRequest.verify|verify} messages. 7539 * @param message RebuildKeyspaceGraphRequest message or plain object to encode 7540 * @param [writer] Writer to encode to 7541 * @returns Writer 7542 */ 7543 public static encodeDelimited(message: vtadmin.IRebuildKeyspaceGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; 7544 7545 /** 7546 * Decodes a RebuildKeyspaceGraphRequest message from the specified reader or buffer. 7547 * @param reader Reader or buffer to decode from 7548 * @param [length] Message length if known beforehand 7549 * @returns RebuildKeyspaceGraphRequest 7550 * @throws {Error} If the payload is not a reader or valid buffer 7551 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7552 */ 7553 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.RebuildKeyspaceGraphRequest; 7554 7555 /** 7556 * Decodes a RebuildKeyspaceGraphRequest message from the specified reader or buffer, length delimited. 7557 * @param reader Reader or buffer to decode from 7558 * @returns RebuildKeyspaceGraphRequest 7559 * @throws {Error} If the payload is not a reader or valid buffer 7560 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7561 */ 7562 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.RebuildKeyspaceGraphRequest; 7563 7564 /** 7565 * Verifies a RebuildKeyspaceGraphRequest message. 7566 * @param message Plain object to verify 7567 * @returns `null` if valid, otherwise the reason why it is not 7568 */ 7569 public static verify(message: { [k: string]: any }): (string|null); 7570 7571 /** 7572 * Creates a RebuildKeyspaceGraphRequest message from a plain object. Also converts values to their respective internal types. 7573 * @param object Plain object 7574 * @returns RebuildKeyspaceGraphRequest 7575 */ 7576 public static fromObject(object: { [k: string]: any }): vtadmin.RebuildKeyspaceGraphRequest; 7577 7578 /** 7579 * Creates a plain object from a RebuildKeyspaceGraphRequest message. Also converts values to other types if specified. 7580 * @param message RebuildKeyspaceGraphRequest 7581 * @param [options] Conversion options 7582 * @returns Plain object 7583 */ 7584 public static toObject(message: vtadmin.RebuildKeyspaceGraphRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 7585 7586 /** 7587 * Converts this RebuildKeyspaceGraphRequest to JSON. 7588 * @returns JSON object 7589 */ 7590 public toJSON(): { [k: string]: any }; 7591 } 7592 7593 /** Properties of a RebuildKeyspaceGraphResponse. */ 7594 interface IRebuildKeyspaceGraphResponse { 7595 7596 /** RebuildKeyspaceGraphResponse status */ 7597 status?: (string|null); 7598 } 7599 7600 /** Represents a RebuildKeyspaceGraphResponse. */ 7601 class RebuildKeyspaceGraphResponse implements IRebuildKeyspaceGraphResponse { 7602 7603 /** 7604 * Constructs a new RebuildKeyspaceGraphResponse. 7605 * @param [properties] Properties to set 7606 */ 7607 constructor(properties?: vtadmin.IRebuildKeyspaceGraphResponse); 7608 7609 /** RebuildKeyspaceGraphResponse status. */ 7610 public status: string; 7611 7612 /** 7613 * Creates a new RebuildKeyspaceGraphResponse instance using the specified properties. 7614 * @param [properties] Properties to set 7615 * @returns RebuildKeyspaceGraphResponse instance 7616 */ 7617 public static create(properties?: vtadmin.IRebuildKeyspaceGraphResponse): vtadmin.RebuildKeyspaceGraphResponse; 7618 7619 /** 7620 * Encodes the specified RebuildKeyspaceGraphResponse message. Does not implicitly {@link vtadmin.RebuildKeyspaceGraphResponse.verify|verify} messages. 7621 * @param message RebuildKeyspaceGraphResponse message or plain object to encode 7622 * @param [writer] Writer to encode to 7623 * @returns Writer 7624 */ 7625 public static encode(message: vtadmin.IRebuildKeyspaceGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; 7626 7627 /** 7628 * Encodes the specified RebuildKeyspaceGraphResponse message, length delimited. Does not implicitly {@link vtadmin.RebuildKeyspaceGraphResponse.verify|verify} messages. 7629 * @param message RebuildKeyspaceGraphResponse message or plain object to encode 7630 * @param [writer] Writer to encode to 7631 * @returns Writer 7632 */ 7633 public static encodeDelimited(message: vtadmin.IRebuildKeyspaceGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; 7634 7635 /** 7636 * Decodes a RebuildKeyspaceGraphResponse message from the specified reader or buffer. 7637 * @param reader Reader or buffer to decode from 7638 * @param [length] Message length if known beforehand 7639 * @returns RebuildKeyspaceGraphResponse 7640 * @throws {Error} If the payload is not a reader or valid buffer 7641 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7642 */ 7643 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.RebuildKeyspaceGraphResponse; 7644 7645 /** 7646 * Decodes a RebuildKeyspaceGraphResponse message from the specified reader or buffer, length delimited. 7647 * @param reader Reader or buffer to decode from 7648 * @returns RebuildKeyspaceGraphResponse 7649 * @throws {Error} If the payload is not a reader or valid buffer 7650 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7651 */ 7652 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.RebuildKeyspaceGraphResponse; 7653 7654 /** 7655 * Verifies a RebuildKeyspaceGraphResponse message. 7656 * @param message Plain object to verify 7657 * @returns `null` if valid, otherwise the reason why it is not 7658 */ 7659 public static verify(message: { [k: string]: any }): (string|null); 7660 7661 /** 7662 * Creates a RebuildKeyspaceGraphResponse message from a plain object. Also converts values to their respective internal types. 7663 * @param object Plain object 7664 * @returns RebuildKeyspaceGraphResponse 7665 */ 7666 public static fromObject(object: { [k: string]: any }): vtadmin.RebuildKeyspaceGraphResponse; 7667 7668 /** 7669 * Creates a plain object from a RebuildKeyspaceGraphResponse message. Also converts values to other types if specified. 7670 * @param message RebuildKeyspaceGraphResponse 7671 * @param [options] Conversion options 7672 * @returns Plain object 7673 */ 7674 public static toObject(message: vtadmin.RebuildKeyspaceGraphResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 7675 7676 /** 7677 * Converts this RebuildKeyspaceGraphResponse to JSON. 7678 * @returns JSON object 7679 */ 7680 public toJSON(): { [k: string]: any }; 7681 } 7682 7683 /** Properties of a RefreshStateRequest. */ 7684 interface IRefreshStateRequest { 7685 7686 /** RefreshStateRequest alias */ 7687 alias?: (topodata.ITabletAlias|null); 7688 7689 /** RefreshStateRequest cluster_ids */ 7690 cluster_ids?: (string[]|null); 7691 } 7692 7693 /** Represents a RefreshStateRequest. */ 7694 class RefreshStateRequest implements IRefreshStateRequest { 7695 7696 /** 7697 * Constructs a new RefreshStateRequest. 7698 * @param [properties] Properties to set 7699 */ 7700 constructor(properties?: vtadmin.IRefreshStateRequest); 7701 7702 /** RefreshStateRequest alias. */ 7703 public alias?: (topodata.ITabletAlias|null); 7704 7705 /** RefreshStateRequest cluster_ids. */ 7706 public cluster_ids: string[]; 7707 7708 /** 7709 * Creates a new RefreshStateRequest instance using the specified properties. 7710 * @param [properties] Properties to set 7711 * @returns RefreshStateRequest instance 7712 */ 7713 public static create(properties?: vtadmin.IRefreshStateRequest): vtadmin.RefreshStateRequest; 7714 7715 /** 7716 * Encodes the specified RefreshStateRequest message. Does not implicitly {@link vtadmin.RefreshStateRequest.verify|verify} messages. 7717 * @param message RefreshStateRequest message or plain object to encode 7718 * @param [writer] Writer to encode to 7719 * @returns Writer 7720 */ 7721 public static encode(message: vtadmin.IRefreshStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; 7722 7723 /** 7724 * Encodes the specified RefreshStateRequest message, length delimited. Does not implicitly {@link vtadmin.RefreshStateRequest.verify|verify} messages. 7725 * @param message RefreshStateRequest message or plain object to encode 7726 * @param [writer] Writer to encode to 7727 * @returns Writer 7728 */ 7729 public static encodeDelimited(message: vtadmin.IRefreshStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; 7730 7731 /** 7732 * Decodes a RefreshStateRequest message from the specified reader or buffer. 7733 * @param reader Reader or buffer to decode from 7734 * @param [length] Message length if known beforehand 7735 * @returns RefreshStateRequest 7736 * @throws {Error} If the payload is not a reader or valid buffer 7737 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7738 */ 7739 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.RefreshStateRequest; 7740 7741 /** 7742 * Decodes a RefreshStateRequest message from the specified reader or buffer, length delimited. 7743 * @param reader Reader or buffer to decode from 7744 * @returns RefreshStateRequest 7745 * @throws {Error} If the payload is not a reader or valid buffer 7746 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7747 */ 7748 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.RefreshStateRequest; 7749 7750 /** 7751 * Verifies a RefreshStateRequest message. 7752 * @param message Plain object to verify 7753 * @returns `null` if valid, otherwise the reason why it is not 7754 */ 7755 public static verify(message: { [k: string]: any }): (string|null); 7756 7757 /** 7758 * Creates a RefreshStateRequest message from a plain object. Also converts values to their respective internal types. 7759 * @param object Plain object 7760 * @returns RefreshStateRequest 7761 */ 7762 public static fromObject(object: { [k: string]: any }): vtadmin.RefreshStateRequest; 7763 7764 /** 7765 * Creates a plain object from a RefreshStateRequest message. Also converts values to other types if specified. 7766 * @param message RefreshStateRequest 7767 * @param [options] Conversion options 7768 * @returns Plain object 7769 */ 7770 public static toObject(message: vtadmin.RefreshStateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 7771 7772 /** 7773 * Converts this RefreshStateRequest to JSON. 7774 * @returns JSON object 7775 */ 7776 public toJSON(): { [k: string]: any }; 7777 } 7778 7779 /** Properties of a RefreshStateResponse. */ 7780 interface IRefreshStateResponse { 7781 7782 /** RefreshStateResponse status */ 7783 status?: (string|null); 7784 7785 /** RefreshStateResponse cluster */ 7786 cluster?: (vtadmin.ICluster|null); 7787 } 7788 7789 /** Represents a RefreshStateResponse. */ 7790 class RefreshStateResponse implements IRefreshStateResponse { 7791 7792 /** 7793 * Constructs a new RefreshStateResponse. 7794 * @param [properties] Properties to set 7795 */ 7796 constructor(properties?: vtadmin.IRefreshStateResponse); 7797 7798 /** RefreshStateResponse status. */ 7799 public status: string; 7800 7801 /** RefreshStateResponse cluster. */ 7802 public cluster?: (vtadmin.ICluster|null); 7803 7804 /** 7805 * Creates a new RefreshStateResponse instance using the specified properties. 7806 * @param [properties] Properties to set 7807 * @returns RefreshStateResponse instance 7808 */ 7809 public static create(properties?: vtadmin.IRefreshStateResponse): vtadmin.RefreshStateResponse; 7810 7811 /** 7812 * Encodes the specified RefreshStateResponse message. Does not implicitly {@link vtadmin.RefreshStateResponse.verify|verify} messages. 7813 * @param message RefreshStateResponse message or plain object to encode 7814 * @param [writer] Writer to encode to 7815 * @returns Writer 7816 */ 7817 public static encode(message: vtadmin.IRefreshStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; 7818 7819 /** 7820 * Encodes the specified RefreshStateResponse message, length delimited. Does not implicitly {@link vtadmin.RefreshStateResponse.verify|verify} messages. 7821 * @param message RefreshStateResponse message or plain object to encode 7822 * @param [writer] Writer to encode to 7823 * @returns Writer 7824 */ 7825 public static encodeDelimited(message: vtadmin.IRefreshStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; 7826 7827 /** 7828 * Decodes a RefreshStateResponse message from the specified reader or buffer. 7829 * @param reader Reader or buffer to decode from 7830 * @param [length] Message length if known beforehand 7831 * @returns RefreshStateResponse 7832 * @throws {Error} If the payload is not a reader or valid buffer 7833 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7834 */ 7835 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.RefreshStateResponse; 7836 7837 /** 7838 * Decodes a RefreshStateResponse message from the specified reader or buffer, length delimited. 7839 * @param reader Reader or buffer to decode from 7840 * @returns RefreshStateResponse 7841 * @throws {Error} If the payload is not a reader or valid buffer 7842 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7843 */ 7844 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.RefreshStateResponse; 7845 7846 /** 7847 * Verifies a RefreshStateResponse message. 7848 * @param message Plain object to verify 7849 * @returns `null` if valid, otherwise the reason why it is not 7850 */ 7851 public static verify(message: { [k: string]: any }): (string|null); 7852 7853 /** 7854 * Creates a RefreshStateResponse message from a plain object. Also converts values to their respective internal types. 7855 * @param object Plain object 7856 * @returns RefreshStateResponse 7857 */ 7858 public static fromObject(object: { [k: string]: any }): vtadmin.RefreshStateResponse; 7859 7860 /** 7861 * Creates a plain object from a RefreshStateResponse message. Also converts values to other types if specified. 7862 * @param message RefreshStateResponse 7863 * @param [options] Conversion options 7864 * @returns Plain object 7865 */ 7866 public static toObject(message: vtadmin.RefreshStateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 7867 7868 /** 7869 * Converts this RefreshStateResponse to JSON. 7870 * @returns JSON object 7871 */ 7872 public toJSON(): { [k: string]: any }; 7873 } 7874 7875 /** Properties of a ReloadSchemasRequest. */ 7876 interface IReloadSchemasRequest { 7877 7878 /** ReloadSchemasRequest keyspaces */ 7879 keyspaces?: (string[]|null); 7880 7881 /** ReloadSchemasRequest keyspace_shards */ 7882 keyspace_shards?: (string[]|null); 7883 7884 /** ReloadSchemasRequest tablets */ 7885 tablets?: (topodata.ITabletAlias[]|null); 7886 7887 /** ReloadSchemasRequest cluster_ids */ 7888 cluster_ids?: (string[]|null); 7889 7890 /** ReloadSchemasRequest concurrency */ 7891 concurrency?: (number|null); 7892 7893 /** ReloadSchemasRequest wait_position */ 7894 wait_position?: (string|null); 7895 7896 /** ReloadSchemasRequest include_primary */ 7897 include_primary?: (boolean|null); 7898 } 7899 7900 /** Represents a ReloadSchemasRequest. */ 7901 class ReloadSchemasRequest implements IReloadSchemasRequest { 7902 7903 /** 7904 * Constructs a new ReloadSchemasRequest. 7905 * @param [properties] Properties to set 7906 */ 7907 constructor(properties?: vtadmin.IReloadSchemasRequest); 7908 7909 /** ReloadSchemasRequest keyspaces. */ 7910 public keyspaces: string[]; 7911 7912 /** ReloadSchemasRequest keyspace_shards. */ 7913 public keyspace_shards: string[]; 7914 7915 /** ReloadSchemasRequest tablets. */ 7916 public tablets: topodata.ITabletAlias[]; 7917 7918 /** ReloadSchemasRequest cluster_ids. */ 7919 public cluster_ids: string[]; 7920 7921 /** ReloadSchemasRequest concurrency. */ 7922 public concurrency: number; 7923 7924 /** ReloadSchemasRequest wait_position. */ 7925 public wait_position: string; 7926 7927 /** ReloadSchemasRequest include_primary. */ 7928 public include_primary: boolean; 7929 7930 /** 7931 * Creates a new ReloadSchemasRequest instance using the specified properties. 7932 * @param [properties] Properties to set 7933 * @returns ReloadSchemasRequest instance 7934 */ 7935 public static create(properties?: vtadmin.IReloadSchemasRequest): vtadmin.ReloadSchemasRequest; 7936 7937 /** 7938 * Encodes the specified ReloadSchemasRequest message. Does not implicitly {@link vtadmin.ReloadSchemasRequest.verify|verify} messages. 7939 * @param message ReloadSchemasRequest message or plain object to encode 7940 * @param [writer] Writer to encode to 7941 * @returns Writer 7942 */ 7943 public static encode(message: vtadmin.IReloadSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 7944 7945 /** 7946 * Encodes the specified ReloadSchemasRequest message, length delimited. Does not implicitly {@link vtadmin.ReloadSchemasRequest.verify|verify} messages. 7947 * @param message ReloadSchemasRequest message or plain object to encode 7948 * @param [writer] Writer to encode to 7949 * @returns Writer 7950 */ 7951 public static encodeDelimited(message: vtadmin.IReloadSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 7952 7953 /** 7954 * Decodes a ReloadSchemasRequest message from the specified reader or buffer. 7955 * @param reader Reader or buffer to decode from 7956 * @param [length] Message length if known beforehand 7957 * @returns ReloadSchemasRequest 7958 * @throws {Error} If the payload is not a reader or valid buffer 7959 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7960 */ 7961 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ReloadSchemasRequest; 7962 7963 /** 7964 * Decodes a ReloadSchemasRequest message from the specified reader or buffer, length delimited. 7965 * @param reader Reader or buffer to decode from 7966 * @returns ReloadSchemasRequest 7967 * @throws {Error} If the payload is not a reader or valid buffer 7968 * @throws {$protobuf.util.ProtocolError} If required fields are missing 7969 */ 7970 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ReloadSchemasRequest; 7971 7972 /** 7973 * Verifies a ReloadSchemasRequest message. 7974 * @param message Plain object to verify 7975 * @returns `null` if valid, otherwise the reason why it is not 7976 */ 7977 public static verify(message: { [k: string]: any }): (string|null); 7978 7979 /** 7980 * Creates a ReloadSchemasRequest message from a plain object. Also converts values to their respective internal types. 7981 * @param object Plain object 7982 * @returns ReloadSchemasRequest 7983 */ 7984 public static fromObject(object: { [k: string]: any }): vtadmin.ReloadSchemasRequest; 7985 7986 /** 7987 * Creates a plain object from a ReloadSchemasRequest message. Also converts values to other types if specified. 7988 * @param message ReloadSchemasRequest 7989 * @param [options] Conversion options 7990 * @returns Plain object 7991 */ 7992 public static toObject(message: vtadmin.ReloadSchemasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 7993 7994 /** 7995 * Converts this ReloadSchemasRequest to JSON. 7996 * @returns JSON object 7997 */ 7998 public toJSON(): { [k: string]: any }; 7999 } 8000 8001 /** Properties of a ReloadSchemasResponse. */ 8002 interface IReloadSchemasResponse { 8003 8004 /** ReloadSchemasResponse keyspace_results */ 8005 keyspace_results?: (vtadmin.ReloadSchemasResponse.IKeyspaceResult[]|null); 8006 8007 /** ReloadSchemasResponse shard_results */ 8008 shard_results?: (vtadmin.ReloadSchemasResponse.IShardResult[]|null); 8009 8010 /** ReloadSchemasResponse tablet_results */ 8011 tablet_results?: (vtadmin.ReloadSchemasResponse.ITabletResult[]|null); 8012 } 8013 8014 /** Represents a ReloadSchemasResponse. */ 8015 class ReloadSchemasResponse implements IReloadSchemasResponse { 8016 8017 /** 8018 * Constructs a new ReloadSchemasResponse. 8019 * @param [properties] Properties to set 8020 */ 8021 constructor(properties?: vtadmin.IReloadSchemasResponse); 8022 8023 /** ReloadSchemasResponse keyspace_results. */ 8024 public keyspace_results: vtadmin.ReloadSchemasResponse.IKeyspaceResult[]; 8025 8026 /** ReloadSchemasResponse shard_results. */ 8027 public shard_results: vtadmin.ReloadSchemasResponse.IShardResult[]; 8028 8029 /** ReloadSchemasResponse tablet_results. */ 8030 public tablet_results: vtadmin.ReloadSchemasResponse.ITabletResult[]; 8031 8032 /** 8033 * Creates a new ReloadSchemasResponse instance using the specified properties. 8034 * @param [properties] Properties to set 8035 * @returns ReloadSchemasResponse instance 8036 */ 8037 public static create(properties?: vtadmin.IReloadSchemasResponse): vtadmin.ReloadSchemasResponse; 8038 8039 /** 8040 * Encodes the specified ReloadSchemasResponse message. Does not implicitly {@link vtadmin.ReloadSchemasResponse.verify|verify} messages. 8041 * @param message ReloadSchemasResponse message or plain object to encode 8042 * @param [writer] Writer to encode to 8043 * @returns Writer 8044 */ 8045 public static encode(message: vtadmin.IReloadSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 8046 8047 /** 8048 * Encodes the specified ReloadSchemasResponse message, length delimited. Does not implicitly {@link vtadmin.ReloadSchemasResponse.verify|verify} messages. 8049 * @param message ReloadSchemasResponse message or plain object to encode 8050 * @param [writer] Writer to encode to 8051 * @returns Writer 8052 */ 8053 public static encodeDelimited(message: vtadmin.IReloadSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 8054 8055 /** 8056 * Decodes a ReloadSchemasResponse message from the specified reader or buffer. 8057 * @param reader Reader or buffer to decode from 8058 * @param [length] Message length if known beforehand 8059 * @returns ReloadSchemasResponse 8060 * @throws {Error} If the payload is not a reader or valid buffer 8061 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8062 */ 8063 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ReloadSchemasResponse; 8064 8065 /** 8066 * Decodes a ReloadSchemasResponse message from the specified reader or buffer, length delimited. 8067 * @param reader Reader or buffer to decode from 8068 * @returns ReloadSchemasResponse 8069 * @throws {Error} If the payload is not a reader or valid buffer 8070 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8071 */ 8072 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ReloadSchemasResponse; 8073 8074 /** 8075 * Verifies a ReloadSchemasResponse message. 8076 * @param message Plain object to verify 8077 * @returns `null` if valid, otherwise the reason why it is not 8078 */ 8079 public static verify(message: { [k: string]: any }): (string|null); 8080 8081 /** 8082 * Creates a ReloadSchemasResponse message from a plain object. Also converts values to their respective internal types. 8083 * @param object Plain object 8084 * @returns ReloadSchemasResponse 8085 */ 8086 public static fromObject(object: { [k: string]: any }): vtadmin.ReloadSchemasResponse; 8087 8088 /** 8089 * Creates a plain object from a ReloadSchemasResponse message. Also converts values to other types if specified. 8090 * @param message ReloadSchemasResponse 8091 * @param [options] Conversion options 8092 * @returns Plain object 8093 */ 8094 public static toObject(message: vtadmin.ReloadSchemasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 8095 8096 /** 8097 * Converts this ReloadSchemasResponse to JSON. 8098 * @returns JSON object 8099 */ 8100 public toJSON(): { [k: string]: any }; 8101 } 8102 8103 namespace ReloadSchemasResponse { 8104 8105 /** Properties of a KeyspaceResult. */ 8106 interface IKeyspaceResult { 8107 8108 /** KeyspaceResult keyspace */ 8109 keyspace?: (vtadmin.IKeyspace|null); 8110 8111 /** KeyspaceResult events */ 8112 events?: (logutil.IEvent[]|null); 8113 } 8114 8115 /** Represents a KeyspaceResult. */ 8116 class KeyspaceResult implements IKeyspaceResult { 8117 8118 /** 8119 * Constructs a new KeyspaceResult. 8120 * @param [properties] Properties to set 8121 */ 8122 constructor(properties?: vtadmin.ReloadSchemasResponse.IKeyspaceResult); 8123 8124 /** KeyspaceResult keyspace. */ 8125 public keyspace?: (vtadmin.IKeyspace|null); 8126 8127 /** KeyspaceResult events. */ 8128 public events: logutil.IEvent[]; 8129 8130 /** 8131 * Creates a new KeyspaceResult instance using the specified properties. 8132 * @param [properties] Properties to set 8133 * @returns KeyspaceResult instance 8134 */ 8135 public static create(properties?: vtadmin.ReloadSchemasResponse.IKeyspaceResult): vtadmin.ReloadSchemasResponse.KeyspaceResult; 8136 8137 /** 8138 * Encodes the specified KeyspaceResult message. Does not implicitly {@link vtadmin.ReloadSchemasResponse.KeyspaceResult.verify|verify} messages. 8139 * @param message KeyspaceResult message or plain object to encode 8140 * @param [writer] Writer to encode to 8141 * @returns Writer 8142 */ 8143 public static encode(message: vtadmin.ReloadSchemasResponse.IKeyspaceResult, writer?: $protobuf.Writer): $protobuf.Writer; 8144 8145 /** 8146 * Encodes the specified KeyspaceResult message, length delimited. Does not implicitly {@link vtadmin.ReloadSchemasResponse.KeyspaceResult.verify|verify} messages. 8147 * @param message KeyspaceResult message or plain object to encode 8148 * @param [writer] Writer to encode to 8149 * @returns Writer 8150 */ 8151 public static encodeDelimited(message: vtadmin.ReloadSchemasResponse.IKeyspaceResult, writer?: $protobuf.Writer): $protobuf.Writer; 8152 8153 /** 8154 * Decodes a KeyspaceResult message from the specified reader or buffer. 8155 * @param reader Reader or buffer to decode from 8156 * @param [length] Message length if known beforehand 8157 * @returns KeyspaceResult 8158 * @throws {Error} If the payload is not a reader or valid buffer 8159 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8160 */ 8161 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ReloadSchemasResponse.KeyspaceResult; 8162 8163 /** 8164 * Decodes a KeyspaceResult message from the specified reader or buffer, length delimited. 8165 * @param reader Reader or buffer to decode from 8166 * @returns KeyspaceResult 8167 * @throws {Error} If the payload is not a reader or valid buffer 8168 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8169 */ 8170 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ReloadSchemasResponse.KeyspaceResult; 8171 8172 /** 8173 * Verifies a KeyspaceResult message. 8174 * @param message Plain object to verify 8175 * @returns `null` if valid, otherwise the reason why it is not 8176 */ 8177 public static verify(message: { [k: string]: any }): (string|null); 8178 8179 /** 8180 * Creates a KeyspaceResult message from a plain object. Also converts values to their respective internal types. 8181 * @param object Plain object 8182 * @returns KeyspaceResult 8183 */ 8184 public static fromObject(object: { [k: string]: any }): vtadmin.ReloadSchemasResponse.KeyspaceResult; 8185 8186 /** 8187 * Creates a plain object from a KeyspaceResult message. Also converts values to other types if specified. 8188 * @param message KeyspaceResult 8189 * @param [options] Conversion options 8190 * @returns Plain object 8191 */ 8192 public static toObject(message: vtadmin.ReloadSchemasResponse.KeyspaceResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; 8193 8194 /** 8195 * Converts this KeyspaceResult to JSON. 8196 * @returns JSON object 8197 */ 8198 public toJSON(): { [k: string]: any }; 8199 } 8200 8201 /** Properties of a ShardResult. */ 8202 interface IShardResult { 8203 8204 /** ShardResult shard */ 8205 shard?: (vtadmin.IShard|null); 8206 8207 /** ShardResult events */ 8208 events?: (logutil.IEvent[]|null); 8209 } 8210 8211 /** Represents a ShardResult. */ 8212 class ShardResult implements IShardResult { 8213 8214 /** 8215 * Constructs a new ShardResult. 8216 * @param [properties] Properties to set 8217 */ 8218 constructor(properties?: vtadmin.ReloadSchemasResponse.IShardResult); 8219 8220 /** ShardResult shard. */ 8221 public shard?: (vtadmin.IShard|null); 8222 8223 /** ShardResult events. */ 8224 public events: logutil.IEvent[]; 8225 8226 /** 8227 * Creates a new ShardResult instance using the specified properties. 8228 * @param [properties] Properties to set 8229 * @returns ShardResult instance 8230 */ 8231 public static create(properties?: vtadmin.ReloadSchemasResponse.IShardResult): vtadmin.ReloadSchemasResponse.ShardResult; 8232 8233 /** 8234 * Encodes the specified ShardResult message. Does not implicitly {@link vtadmin.ReloadSchemasResponse.ShardResult.verify|verify} messages. 8235 * @param message ShardResult message or plain object to encode 8236 * @param [writer] Writer to encode to 8237 * @returns Writer 8238 */ 8239 public static encode(message: vtadmin.ReloadSchemasResponse.IShardResult, writer?: $protobuf.Writer): $protobuf.Writer; 8240 8241 /** 8242 * Encodes the specified ShardResult message, length delimited. Does not implicitly {@link vtadmin.ReloadSchemasResponse.ShardResult.verify|verify} messages. 8243 * @param message ShardResult message or plain object to encode 8244 * @param [writer] Writer to encode to 8245 * @returns Writer 8246 */ 8247 public static encodeDelimited(message: vtadmin.ReloadSchemasResponse.IShardResult, writer?: $protobuf.Writer): $protobuf.Writer; 8248 8249 /** 8250 * Decodes a ShardResult message from the specified reader or buffer. 8251 * @param reader Reader or buffer to decode from 8252 * @param [length] Message length if known beforehand 8253 * @returns ShardResult 8254 * @throws {Error} If the payload is not a reader or valid buffer 8255 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8256 */ 8257 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ReloadSchemasResponse.ShardResult; 8258 8259 /** 8260 * Decodes a ShardResult message from the specified reader or buffer, length delimited. 8261 * @param reader Reader or buffer to decode from 8262 * @returns ShardResult 8263 * @throws {Error} If the payload is not a reader or valid buffer 8264 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8265 */ 8266 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ReloadSchemasResponse.ShardResult; 8267 8268 /** 8269 * Verifies a ShardResult message. 8270 * @param message Plain object to verify 8271 * @returns `null` if valid, otherwise the reason why it is not 8272 */ 8273 public static verify(message: { [k: string]: any }): (string|null); 8274 8275 /** 8276 * Creates a ShardResult message from a plain object. Also converts values to their respective internal types. 8277 * @param object Plain object 8278 * @returns ShardResult 8279 */ 8280 public static fromObject(object: { [k: string]: any }): vtadmin.ReloadSchemasResponse.ShardResult; 8281 8282 /** 8283 * Creates a plain object from a ShardResult message. Also converts values to other types if specified. 8284 * @param message ShardResult 8285 * @param [options] Conversion options 8286 * @returns Plain object 8287 */ 8288 public static toObject(message: vtadmin.ReloadSchemasResponse.ShardResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; 8289 8290 /** 8291 * Converts this ShardResult to JSON. 8292 * @returns JSON object 8293 */ 8294 public toJSON(): { [k: string]: any }; 8295 } 8296 8297 /** Properties of a TabletResult. */ 8298 interface ITabletResult { 8299 8300 /** TabletResult tablet */ 8301 tablet?: (vtadmin.ITablet|null); 8302 8303 /** TabletResult result */ 8304 result?: (string|null); 8305 } 8306 8307 /** Represents a TabletResult. */ 8308 class TabletResult implements ITabletResult { 8309 8310 /** 8311 * Constructs a new TabletResult. 8312 * @param [properties] Properties to set 8313 */ 8314 constructor(properties?: vtadmin.ReloadSchemasResponse.ITabletResult); 8315 8316 /** TabletResult tablet. */ 8317 public tablet?: (vtadmin.ITablet|null); 8318 8319 /** TabletResult result. */ 8320 public result: string; 8321 8322 /** 8323 * Creates a new TabletResult instance using the specified properties. 8324 * @param [properties] Properties to set 8325 * @returns TabletResult instance 8326 */ 8327 public static create(properties?: vtadmin.ReloadSchemasResponse.ITabletResult): vtadmin.ReloadSchemasResponse.TabletResult; 8328 8329 /** 8330 * Encodes the specified TabletResult message. Does not implicitly {@link vtadmin.ReloadSchemasResponse.TabletResult.verify|verify} messages. 8331 * @param message TabletResult message or plain object to encode 8332 * @param [writer] Writer to encode to 8333 * @returns Writer 8334 */ 8335 public static encode(message: vtadmin.ReloadSchemasResponse.ITabletResult, writer?: $protobuf.Writer): $protobuf.Writer; 8336 8337 /** 8338 * Encodes the specified TabletResult message, length delimited. Does not implicitly {@link vtadmin.ReloadSchemasResponse.TabletResult.verify|verify} messages. 8339 * @param message TabletResult message or plain object to encode 8340 * @param [writer] Writer to encode to 8341 * @returns Writer 8342 */ 8343 public static encodeDelimited(message: vtadmin.ReloadSchemasResponse.ITabletResult, writer?: $protobuf.Writer): $protobuf.Writer; 8344 8345 /** 8346 * Decodes a TabletResult message from the specified reader or buffer. 8347 * @param reader Reader or buffer to decode from 8348 * @param [length] Message length if known beforehand 8349 * @returns TabletResult 8350 * @throws {Error} If the payload is not a reader or valid buffer 8351 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8352 */ 8353 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ReloadSchemasResponse.TabletResult; 8354 8355 /** 8356 * Decodes a TabletResult message from the specified reader or buffer, length delimited. 8357 * @param reader Reader or buffer to decode from 8358 * @returns TabletResult 8359 * @throws {Error} If the payload is not a reader or valid buffer 8360 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8361 */ 8362 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ReloadSchemasResponse.TabletResult; 8363 8364 /** 8365 * Verifies a TabletResult message. 8366 * @param message Plain object to verify 8367 * @returns `null` if valid, otherwise the reason why it is not 8368 */ 8369 public static verify(message: { [k: string]: any }): (string|null); 8370 8371 /** 8372 * Creates a TabletResult message from a plain object. Also converts values to their respective internal types. 8373 * @param object Plain object 8374 * @returns TabletResult 8375 */ 8376 public static fromObject(object: { [k: string]: any }): vtadmin.ReloadSchemasResponse.TabletResult; 8377 8378 /** 8379 * Creates a plain object from a TabletResult message. Also converts values to other types if specified. 8380 * @param message TabletResult 8381 * @param [options] Conversion options 8382 * @returns Plain object 8383 */ 8384 public static toObject(message: vtadmin.ReloadSchemasResponse.TabletResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; 8385 8386 /** 8387 * Converts this TabletResult to JSON. 8388 * @returns JSON object 8389 */ 8390 public toJSON(): { [k: string]: any }; 8391 } 8392 } 8393 8394 /** Properties of a ReloadSchemaShardRequest. */ 8395 interface IReloadSchemaShardRequest { 8396 8397 /** ReloadSchemaShardRequest cluster_id */ 8398 cluster_id?: (string|null); 8399 8400 /** ReloadSchemaShardRequest keyspace */ 8401 keyspace?: (string|null); 8402 8403 /** ReloadSchemaShardRequest shard */ 8404 shard?: (string|null); 8405 8406 /** ReloadSchemaShardRequest wait_position */ 8407 wait_position?: (string|null); 8408 8409 /** ReloadSchemaShardRequest include_primary */ 8410 include_primary?: (boolean|null); 8411 8412 /** ReloadSchemaShardRequest concurrency */ 8413 concurrency?: (number|null); 8414 } 8415 8416 /** Represents a ReloadSchemaShardRequest. */ 8417 class ReloadSchemaShardRequest implements IReloadSchemaShardRequest { 8418 8419 /** 8420 * Constructs a new ReloadSchemaShardRequest. 8421 * @param [properties] Properties to set 8422 */ 8423 constructor(properties?: vtadmin.IReloadSchemaShardRequest); 8424 8425 /** ReloadSchemaShardRequest cluster_id. */ 8426 public cluster_id: string; 8427 8428 /** ReloadSchemaShardRequest keyspace. */ 8429 public keyspace: string; 8430 8431 /** ReloadSchemaShardRequest shard. */ 8432 public shard: string; 8433 8434 /** ReloadSchemaShardRequest wait_position. */ 8435 public wait_position: string; 8436 8437 /** ReloadSchemaShardRequest include_primary. */ 8438 public include_primary: boolean; 8439 8440 /** ReloadSchemaShardRequest concurrency. */ 8441 public concurrency: number; 8442 8443 /** 8444 * Creates a new ReloadSchemaShardRequest instance using the specified properties. 8445 * @param [properties] Properties to set 8446 * @returns ReloadSchemaShardRequest instance 8447 */ 8448 public static create(properties?: vtadmin.IReloadSchemaShardRequest): vtadmin.ReloadSchemaShardRequest; 8449 8450 /** 8451 * Encodes the specified ReloadSchemaShardRequest message. Does not implicitly {@link vtadmin.ReloadSchemaShardRequest.verify|verify} messages. 8452 * @param message ReloadSchemaShardRequest message or plain object to encode 8453 * @param [writer] Writer to encode to 8454 * @returns Writer 8455 */ 8456 public static encode(message: vtadmin.IReloadSchemaShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 8457 8458 /** 8459 * Encodes the specified ReloadSchemaShardRequest message, length delimited. Does not implicitly {@link vtadmin.ReloadSchemaShardRequest.verify|verify} messages. 8460 * @param message ReloadSchemaShardRequest message or plain object to encode 8461 * @param [writer] Writer to encode to 8462 * @returns Writer 8463 */ 8464 public static encodeDelimited(message: vtadmin.IReloadSchemaShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 8465 8466 /** 8467 * Decodes a ReloadSchemaShardRequest message from the specified reader or buffer. 8468 * @param reader Reader or buffer to decode from 8469 * @param [length] Message length if known beforehand 8470 * @returns ReloadSchemaShardRequest 8471 * @throws {Error} If the payload is not a reader or valid buffer 8472 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8473 */ 8474 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ReloadSchemaShardRequest; 8475 8476 /** 8477 * Decodes a ReloadSchemaShardRequest message from the specified reader or buffer, length delimited. 8478 * @param reader Reader or buffer to decode from 8479 * @returns ReloadSchemaShardRequest 8480 * @throws {Error} If the payload is not a reader or valid buffer 8481 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8482 */ 8483 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ReloadSchemaShardRequest; 8484 8485 /** 8486 * Verifies a ReloadSchemaShardRequest message. 8487 * @param message Plain object to verify 8488 * @returns `null` if valid, otherwise the reason why it is not 8489 */ 8490 public static verify(message: { [k: string]: any }): (string|null); 8491 8492 /** 8493 * Creates a ReloadSchemaShardRequest message from a plain object. Also converts values to their respective internal types. 8494 * @param object Plain object 8495 * @returns ReloadSchemaShardRequest 8496 */ 8497 public static fromObject(object: { [k: string]: any }): vtadmin.ReloadSchemaShardRequest; 8498 8499 /** 8500 * Creates a plain object from a ReloadSchemaShardRequest message. Also converts values to other types if specified. 8501 * @param message ReloadSchemaShardRequest 8502 * @param [options] Conversion options 8503 * @returns Plain object 8504 */ 8505 public static toObject(message: vtadmin.ReloadSchemaShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 8506 8507 /** 8508 * Converts this ReloadSchemaShardRequest to JSON. 8509 * @returns JSON object 8510 */ 8511 public toJSON(): { [k: string]: any }; 8512 } 8513 8514 /** Properties of a ReloadSchemaShardResponse. */ 8515 interface IReloadSchemaShardResponse { 8516 8517 /** ReloadSchemaShardResponse events */ 8518 events?: (logutil.IEvent[]|null); 8519 } 8520 8521 /** Represents a ReloadSchemaShardResponse. */ 8522 class ReloadSchemaShardResponse implements IReloadSchemaShardResponse { 8523 8524 /** 8525 * Constructs a new ReloadSchemaShardResponse. 8526 * @param [properties] Properties to set 8527 */ 8528 constructor(properties?: vtadmin.IReloadSchemaShardResponse); 8529 8530 /** ReloadSchemaShardResponse events. */ 8531 public events: logutil.IEvent[]; 8532 8533 /** 8534 * Creates a new ReloadSchemaShardResponse instance using the specified properties. 8535 * @param [properties] Properties to set 8536 * @returns ReloadSchemaShardResponse instance 8537 */ 8538 public static create(properties?: vtadmin.IReloadSchemaShardResponse): vtadmin.ReloadSchemaShardResponse; 8539 8540 /** 8541 * Encodes the specified ReloadSchemaShardResponse message. Does not implicitly {@link vtadmin.ReloadSchemaShardResponse.verify|verify} messages. 8542 * @param message ReloadSchemaShardResponse message or plain object to encode 8543 * @param [writer] Writer to encode to 8544 * @returns Writer 8545 */ 8546 public static encode(message: vtadmin.IReloadSchemaShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 8547 8548 /** 8549 * Encodes the specified ReloadSchemaShardResponse message, length delimited. Does not implicitly {@link vtadmin.ReloadSchemaShardResponse.verify|verify} messages. 8550 * @param message ReloadSchemaShardResponse message or plain object to encode 8551 * @param [writer] Writer to encode to 8552 * @returns Writer 8553 */ 8554 public static encodeDelimited(message: vtadmin.IReloadSchemaShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 8555 8556 /** 8557 * Decodes a ReloadSchemaShardResponse message from the specified reader or buffer. 8558 * @param reader Reader or buffer to decode from 8559 * @param [length] Message length if known beforehand 8560 * @returns ReloadSchemaShardResponse 8561 * @throws {Error} If the payload is not a reader or valid buffer 8562 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8563 */ 8564 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ReloadSchemaShardResponse; 8565 8566 /** 8567 * Decodes a ReloadSchemaShardResponse message from the specified reader or buffer, length delimited. 8568 * @param reader Reader or buffer to decode from 8569 * @returns ReloadSchemaShardResponse 8570 * @throws {Error} If the payload is not a reader or valid buffer 8571 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8572 */ 8573 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ReloadSchemaShardResponse; 8574 8575 /** 8576 * Verifies a ReloadSchemaShardResponse message. 8577 * @param message Plain object to verify 8578 * @returns `null` if valid, otherwise the reason why it is not 8579 */ 8580 public static verify(message: { [k: string]: any }): (string|null); 8581 8582 /** 8583 * Creates a ReloadSchemaShardResponse message from a plain object. Also converts values to their respective internal types. 8584 * @param object Plain object 8585 * @returns ReloadSchemaShardResponse 8586 */ 8587 public static fromObject(object: { [k: string]: any }): vtadmin.ReloadSchemaShardResponse; 8588 8589 /** 8590 * Creates a plain object from a ReloadSchemaShardResponse message. Also converts values to other types if specified. 8591 * @param message ReloadSchemaShardResponse 8592 * @param [options] Conversion options 8593 * @returns Plain object 8594 */ 8595 public static toObject(message: vtadmin.ReloadSchemaShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 8596 8597 /** 8598 * Converts this ReloadSchemaShardResponse to JSON. 8599 * @returns JSON object 8600 */ 8601 public toJSON(): { [k: string]: any }; 8602 } 8603 8604 /** Properties of a RefreshTabletReplicationSourceRequest. */ 8605 interface IRefreshTabletReplicationSourceRequest { 8606 8607 /** RefreshTabletReplicationSourceRequest alias */ 8608 alias?: (topodata.ITabletAlias|null); 8609 8610 /** RefreshTabletReplicationSourceRequest cluster_ids */ 8611 cluster_ids?: (string[]|null); 8612 } 8613 8614 /** Represents a RefreshTabletReplicationSourceRequest. */ 8615 class RefreshTabletReplicationSourceRequest implements IRefreshTabletReplicationSourceRequest { 8616 8617 /** 8618 * Constructs a new RefreshTabletReplicationSourceRequest. 8619 * @param [properties] Properties to set 8620 */ 8621 constructor(properties?: vtadmin.IRefreshTabletReplicationSourceRequest); 8622 8623 /** RefreshTabletReplicationSourceRequest alias. */ 8624 public alias?: (topodata.ITabletAlias|null); 8625 8626 /** RefreshTabletReplicationSourceRequest cluster_ids. */ 8627 public cluster_ids: string[]; 8628 8629 /** 8630 * Creates a new RefreshTabletReplicationSourceRequest instance using the specified properties. 8631 * @param [properties] Properties to set 8632 * @returns RefreshTabletReplicationSourceRequest instance 8633 */ 8634 public static create(properties?: vtadmin.IRefreshTabletReplicationSourceRequest): vtadmin.RefreshTabletReplicationSourceRequest; 8635 8636 /** 8637 * Encodes the specified RefreshTabletReplicationSourceRequest message. Does not implicitly {@link vtadmin.RefreshTabletReplicationSourceRequest.verify|verify} messages. 8638 * @param message RefreshTabletReplicationSourceRequest message or plain object to encode 8639 * @param [writer] Writer to encode to 8640 * @returns Writer 8641 */ 8642 public static encode(message: vtadmin.IRefreshTabletReplicationSourceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 8643 8644 /** 8645 * Encodes the specified RefreshTabletReplicationSourceRequest message, length delimited. Does not implicitly {@link vtadmin.RefreshTabletReplicationSourceRequest.verify|verify} messages. 8646 * @param message RefreshTabletReplicationSourceRequest message or plain object to encode 8647 * @param [writer] Writer to encode to 8648 * @returns Writer 8649 */ 8650 public static encodeDelimited(message: vtadmin.IRefreshTabletReplicationSourceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 8651 8652 /** 8653 * Decodes a RefreshTabletReplicationSourceRequest message from the specified reader or buffer. 8654 * @param reader Reader or buffer to decode from 8655 * @param [length] Message length if known beforehand 8656 * @returns RefreshTabletReplicationSourceRequest 8657 * @throws {Error} If the payload is not a reader or valid buffer 8658 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8659 */ 8660 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.RefreshTabletReplicationSourceRequest; 8661 8662 /** 8663 * Decodes a RefreshTabletReplicationSourceRequest message from the specified reader or buffer, length delimited. 8664 * @param reader Reader or buffer to decode from 8665 * @returns RefreshTabletReplicationSourceRequest 8666 * @throws {Error} If the payload is not a reader or valid buffer 8667 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8668 */ 8669 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.RefreshTabletReplicationSourceRequest; 8670 8671 /** 8672 * Verifies a RefreshTabletReplicationSourceRequest message. 8673 * @param message Plain object to verify 8674 * @returns `null` if valid, otherwise the reason why it is not 8675 */ 8676 public static verify(message: { [k: string]: any }): (string|null); 8677 8678 /** 8679 * Creates a RefreshTabletReplicationSourceRequest message from a plain object. Also converts values to their respective internal types. 8680 * @param object Plain object 8681 * @returns RefreshTabletReplicationSourceRequest 8682 */ 8683 public static fromObject(object: { [k: string]: any }): vtadmin.RefreshTabletReplicationSourceRequest; 8684 8685 /** 8686 * Creates a plain object from a RefreshTabletReplicationSourceRequest message. Also converts values to other types if specified. 8687 * @param message RefreshTabletReplicationSourceRequest 8688 * @param [options] Conversion options 8689 * @returns Plain object 8690 */ 8691 public static toObject(message: vtadmin.RefreshTabletReplicationSourceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 8692 8693 /** 8694 * Converts this RefreshTabletReplicationSourceRequest to JSON. 8695 * @returns JSON object 8696 */ 8697 public toJSON(): { [k: string]: any }; 8698 } 8699 8700 /** Properties of a RefreshTabletReplicationSourceResponse. */ 8701 interface IRefreshTabletReplicationSourceResponse { 8702 8703 /** RefreshTabletReplicationSourceResponse keyspace */ 8704 keyspace?: (string|null); 8705 8706 /** RefreshTabletReplicationSourceResponse shard */ 8707 shard?: (string|null); 8708 8709 /** RefreshTabletReplicationSourceResponse primary */ 8710 primary?: (topodata.ITabletAlias|null); 8711 8712 /** RefreshTabletReplicationSourceResponse cluster */ 8713 cluster?: (vtadmin.ICluster|null); 8714 } 8715 8716 /** Represents a RefreshTabletReplicationSourceResponse. */ 8717 class RefreshTabletReplicationSourceResponse implements IRefreshTabletReplicationSourceResponse { 8718 8719 /** 8720 * Constructs a new RefreshTabletReplicationSourceResponse. 8721 * @param [properties] Properties to set 8722 */ 8723 constructor(properties?: vtadmin.IRefreshTabletReplicationSourceResponse); 8724 8725 /** RefreshTabletReplicationSourceResponse keyspace. */ 8726 public keyspace: string; 8727 8728 /** RefreshTabletReplicationSourceResponse shard. */ 8729 public shard: string; 8730 8731 /** RefreshTabletReplicationSourceResponse primary. */ 8732 public primary?: (topodata.ITabletAlias|null); 8733 8734 /** RefreshTabletReplicationSourceResponse cluster. */ 8735 public cluster?: (vtadmin.ICluster|null); 8736 8737 /** 8738 * Creates a new RefreshTabletReplicationSourceResponse instance using the specified properties. 8739 * @param [properties] Properties to set 8740 * @returns RefreshTabletReplicationSourceResponse instance 8741 */ 8742 public static create(properties?: vtadmin.IRefreshTabletReplicationSourceResponse): vtadmin.RefreshTabletReplicationSourceResponse; 8743 8744 /** 8745 * Encodes the specified RefreshTabletReplicationSourceResponse message. Does not implicitly {@link vtadmin.RefreshTabletReplicationSourceResponse.verify|verify} messages. 8746 * @param message RefreshTabletReplicationSourceResponse message or plain object to encode 8747 * @param [writer] Writer to encode to 8748 * @returns Writer 8749 */ 8750 public static encode(message: vtadmin.IRefreshTabletReplicationSourceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 8751 8752 /** 8753 * Encodes the specified RefreshTabletReplicationSourceResponse message, length delimited. Does not implicitly {@link vtadmin.RefreshTabletReplicationSourceResponse.verify|verify} messages. 8754 * @param message RefreshTabletReplicationSourceResponse message or plain object to encode 8755 * @param [writer] Writer to encode to 8756 * @returns Writer 8757 */ 8758 public static encodeDelimited(message: vtadmin.IRefreshTabletReplicationSourceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 8759 8760 /** 8761 * Decodes a RefreshTabletReplicationSourceResponse message from the specified reader or buffer. 8762 * @param reader Reader or buffer to decode from 8763 * @param [length] Message length if known beforehand 8764 * @returns RefreshTabletReplicationSourceResponse 8765 * @throws {Error} If the payload is not a reader or valid buffer 8766 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8767 */ 8768 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.RefreshTabletReplicationSourceResponse; 8769 8770 /** 8771 * Decodes a RefreshTabletReplicationSourceResponse message from the specified reader or buffer, length delimited. 8772 * @param reader Reader or buffer to decode from 8773 * @returns RefreshTabletReplicationSourceResponse 8774 * @throws {Error} If the payload is not a reader or valid buffer 8775 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8776 */ 8777 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.RefreshTabletReplicationSourceResponse; 8778 8779 /** 8780 * Verifies a RefreshTabletReplicationSourceResponse message. 8781 * @param message Plain object to verify 8782 * @returns `null` if valid, otherwise the reason why it is not 8783 */ 8784 public static verify(message: { [k: string]: any }): (string|null); 8785 8786 /** 8787 * Creates a RefreshTabletReplicationSourceResponse message from a plain object. Also converts values to their respective internal types. 8788 * @param object Plain object 8789 * @returns RefreshTabletReplicationSourceResponse 8790 */ 8791 public static fromObject(object: { [k: string]: any }): vtadmin.RefreshTabletReplicationSourceResponse; 8792 8793 /** 8794 * Creates a plain object from a RefreshTabletReplicationSourceResponse message. Also converts values to other types if specified. 8795 * @param message RefreshTabletReplicationSourceResponse 8796 * @param [options] Conversion options 8797 * @returns Plain object 8798 */ 8799 public static toObject(message: vtadmin.RefreshTabletReplicationSourceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 8800 8801 /** 8802 * Converts this RefreshTabletReplicationSourceResponse to JSON. 8803 * @returns JSON object 8804 */ 8805 public toJSON(): { [k: string]: any }; 8806 } 8807 8808 /** Properties of a RemoveKeyspaceCellRequest. */ 8809 interface IRemoveKeyspaceCellRequest { 8810 8811 /** RemoveKeyspaceCellRequest cluster_id */ 8812 cluster_id?: (string|null); 8813 8814 /** RemoveKeyspaceCellRequest keyspace */ 8815 keyspace?: (string|null); 8816 8817 /** RemoveKeyspaceCellRequest cell */ 8818 cell?: (string|null); 8819 8820 /** RemoveKeyspaceCellRequest force */ 8821 force?: (boolean|null); 8822 8823 /** RemoveKeyspaceCellRequest recursive */ 8824 recursive?: (boolean|null); 8825 } 8826 8827 /** Represents a RemoveKeyspaceCellRequest. */ 8828 class RemoveKeyspaceCellRequest implements IRemoveKeyspaceCellRequest { 8829 8830 /** 8831 * Constructs a new RemoveKeyspaceCellRequest. 8832 * @param [properties] Properties to set 8833 */ 8834 constructor(properties?: vtadmin.IRemoveKeyspaceCellRequest); 8835 8836 /** RemoveKeyspaceCellRequest cluster_id. */ 8837 public cluster_id: string; 8838 8839 /** RemoveKeyspaceCellRequest keyspace. */ 8840 public keyspace: string; 8841 8842 /** RemoveKeyspaceCellRequest cell. */ 8843 public cell: string; 8844 8845 /** RemoveKeyspaceCellRequest force. */ 8846 public force: boolean; 8847 8848 /** RemoveKeyspaceCellRequest recursive. */ 8849 public recursive: boolean; 8850 8851 /** 8852 * Creates a new RemoveKeyspaceCellRequest instance using the specified properties. 8853 * @param [properties] Properties to set 8854 * @returns RemoveKeyspaceCellRequest instance 8855 */ 8856 public static create(properties?: vtadmin.IRemoveKeyspaceCellRequest): vtadmin.RemoveKeyspaceCellRequest; 8857 8858 /** 8859 * Encodes the specified RemoveKeyspaceCellRequest message. Does not implicitly {@link vtadmin.RemoveKeyspaceCellRequest.verify|verify} messages. 8860 * @param message RemoveKeyspaceCellRequest message or plain object to encode 8861 * @param [writer] Writer to encode to 8862 * @returns Writer 8863 */ 8864 public static encode(message: vtadmin.IRemoveKeyspaceCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; 8865 8866 /** 8867 * Encodes the specified RemoveKeyspaceCellRequest message, length delimited. Does not implicitly {@link vtadmin.RemoveKeyspaceCellRequest.verify|verify} messages. 8868 * @param message RemoveKeyspaceCellRequest message or plain object to encode 8869 * @param [writer] Writer to encode to 8870 * @returns Writer 8871 */ 8872 public static encodeDelimited(message: vtadmin.IRemoveKeyspaceCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; 8873 8874 /** 8875 * Decodes a RemoveKeyspaceCellRequest message from the specified reader or buffer. 8876 * @param reader Reader or buffer to decode from 8877 * @param [length] Message length if known beforehand 8878 * @returns RemoveKeyspaceCellRequest 8879 * @throws {Error} If the payload is not a reader or valid buffer 8880 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8881 */ 8882 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.RemoveKeyspaceCellRequest; 8883 8884 /** 8885 * Decodes a RemoveKeyspaceCellRequest message from the specified reader or buffer, length delimited. 8886 * @param reader Reader or buffer to decode from 8887 * @returns RemoveKeyspaceCellRequest 8888 * @throws {Error} If the payload is not a reader or valid buffer 8889 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8890 */ 8891 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.RemoveKeyspaceCellRequest; 8892 8893 /** 8894 * Verifies a RemoveKeyspaceCellRequest message. 8895 * @param message Plain object to verify 8896 * @returns `null` if valid, otherwise the reason why it is not 8897 */ 8898 public static verify(message: { [k: string]: any }): (string|null); 8899 8900 /** 8901 * Creates a RemoveKeyspaceCellRequest message from a plain object. Also converts values to their respective internal types. 8902 * @param object Plain object 8903 * @returns RemoveKeyspaceCellRequest 8904 */ 8905 public static fromObject(object: { [k: string]: any }): vtadmin.RemoveKeyspaceCellRequest; 8906 8907 /** 8908 * Creates a plain object from a RemoveKeyspaceCellRequest message. Also converts values to other types if specified. 8909 * @param message RemoveKeyspaceCellRequest 8910 * @param [options] Conversion options 8911 * @returns Plain object 8912 */ 8913 public static toObject(message: vtadmin.RemoveKeyspaceCellRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 8914 8915 /** 8916 * Converts this RemoveKeyspaceCellRequest to JSON. 8917 * @returns JSON object 8918 */ 8919 public toJSON(): { [k: string]: any }; 8920 } 8921 8922 /** Properties of a RemoveKeyspaceCellResponse. */ 8923 interface IRemoveKeyspaceCellResponse { 8924 8925 /** RemoveKeyspaceCellResponse status */ 8926 status?: (string|null); 8927 } 8928 8929 /** Represents a RemoveKeyspaceCellResponse. */ 8930 class RemoveKeyspaceCellResponse implements IRemoveKeyspaceCellResponse { 8931 8932 /** 8933 * Constructs a new RemoveKeyspaceCellResponse. 8934 * @param [properties] Properties to set 8935 */ 8936 constructor(properties?: vtadmin.IRemoveKeyspaceCellResponse); 8937 8938 /** RemoveKeyspaceCellResponse status. */ 8939 public status: string; 8940 8941 /** 8942 * Creates a new RemoveKeyspaceCellResponse instance using the specified properties. 8943 * @param [properties] Properties to set 8944 * @returns RemoveKeyspaceCellResponse instance 8945 */ 8946 public static create(properties?: vtadmin.IRemoveKeyspaceCellResponse): vtadmin.RemoveKeyspaceCellResponse; 8947 8948 /** 8949 * Encodes the specified RemoveKeyspaceCellResponse message. Does not implicitly {@link vtadmin.RemoveKeyspaceCellResponse.verify|verify} messages. 8950 * @param message RemoveKeyspaceCellResponse message or plain object to encode 8951 * @param [writer] Writer to encode to 8952 * @returns Writer 8953 */ 8954 public static encode(message: vtadmin.IRemoveKeyspaceCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; 8955 8956 /** 8957 * Encodes the specified RemoveKeyspaceCellResponse message, length delimited. Does not implicitly {@link vtadmin.RemoveKeyspaceCellResponse.verify|verify} messages. 8958 * @param message RemoveKeyspaceCellResponse message or plain object to encode 8959 * @param [writer] Writer to encode to 8960 * @returns Writer 8961 */ 8962 public static encodeDelimited(message: vtadmin.IRemoveKeyspaceCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; 8963 8964 /** 8965 * Decodes a RemoveKeyspaceCellResponse message from the specified reader or buffer. 8966 * @param reader Reader or buffer to decode from 8967 * @param [length] Message length if known beforehand 8968 * @returns RemoveKeyspaceCellResponse 8969 * @throws {Error} If the payload is not a reader or valid buffer 8970 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8971 */ 8972 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.RemoveKeyspaceCellResponse; 8973 8974 /** 8975 * Decodes a RemoveKeyspaceCellResponse message from the specified reader or buffer, length delimited. 8976 * @param reader Reader or buffer to decode from 8977 * @returns RemoveKeyspaceCellResponse 8978 * @throws {Error} If the payload is not a reader or valid buffer 8979 * @throws {$protobuf.util.ProtocolError} If required fields are missing 8980 */ 8981 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.RemoveKeyspaceCellResponse; 8982 8983 /** 8984 * Verifies a RemoveKeyspaceCellResponse message. 8985 * @param message Plain object to verify 8986 * @returns `null` if valid, otherwise the reason why it is not 8987 */ 8988 public static verify(message: { [k: string]: any }): (string|null); 8989 8990 /** 8991 * Creates a RemoveKeyspaceCellResponse message from a plain object. Also converts values to their respective internal types. 8992 * @param object Plain object 8993 * @returns RemoveKeyspaceCellResponse 8994 */ 8995 public static fromObject(object: { [k: string]: any }): vtadmin.RemoveKeyspaceCellResponse; 8996 8997 /** 8998 * Creates a plain object from a RemoveKeyspaceCellResponse message. Also converts values to other types if specified. 8999 * @param message RemoveKeyspaceCellResponse 9000 * @param [options] Conversion options 9001 * @returns Plain object 9002 */ 9003 public static toObject(message: vtadmin.RemoveKeyspaceCellResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 9004 9005 /** 9006 * Converts this RemoveKeyspaceCellResponse to JSON. 9007 * @returns JSON object 9008 */ 9009 public toJSON(): { [k: string]: any }; 9010 } 9011 9012 /** Properties of a RunHealthCheckRequest. */ 9013 interface IRunHealthCheckRequest { 9014 9015 /** RunHealthCheckRequest alias */ 9016 alias?: (topodata.ITabletAlias|null); 9017 9018 /** RunHealthCheckRequest cluster_ids */ 9019 cluster_ids?: (string[]|null); 9020 } 9021 9022 /** Represents a RunHealthCheckRequest. */ 9023 class RunHealthCheckRequest implements IRunHealthCheckRequest { 9024 9025 /** 9026 * Constructs a new RunHealthCheckRequest. 9027 * @param [properties] Properties to set 9028 */ 9029 constructor(properties?: vtadmin.IRunHealthCheckRequest); 9030 9031 /** RunHealthCheckRequest alias. */ 9032 public alias?: (topodata.ITabletAlias|null); 9033 9034 /** RunHealthCheckRequest cluster_ids. */ 9035 public cluster_ids: string[]; 9036 9037 /** 9038 * Creates a new RunHealthCheckRequest instance using the specified properties. 9039 * @param [properties] Properties to set 9040 * @returns RunHealthCheckRequest instance 9041 */ 9042 public static create(properties?: vtadmin.IRunHealthCheckRequest): vtadmin.RunHealthCheckRequest; 9043 9044 /** 9045 * Encodes the specified RunHealthCheckRequest message. Does not implicitly {@link vtadmin.RunHealthCheckRequest.verify|verify} messages. 9046 * @param message RunHealthCheckRequest message or plain object to encode 9047 * @param [writer] Writer to encode to 9048 * @returns Writer 9049 */ 9050 public static encode(message: vtadmin.IRunHealthCheckRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9051 9052 /** 9053 * Encodes the specified RunHealthCheckRequest message, length delimited. Does not implicitly {@link vtadmin.RunHealthCheckRequest.verify|verify} messages. 9054 * @param message RunHealthCheckRequest message or plain object to encode 9055 * @param [writer] Writer to encode to 9056 * @returns Writer 9057 */ 9058 public static encodeDelimited(message: vtadmin.IRunHealthCheckRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9059 9060 /** 9061 * Decodes a RunHealthCheckRequest message from the specified reader or buffer. 9062 * @param reader Reader or buffer to decode from 9063 * @param [length] Message length if known beforehand 9064 * @returns RunHealthCheckRequest 9065 * @throws {Error} If the payload is not a reader or valid buffer 9066 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9067 */ 9068 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.RunHealthCheckRequest; 9069 9070 /** 9071 * Decodes a RunHealthCheckRequest message from the specified reader or buffer, length delimited. 9072 * @param reader Reader or buffer to decode from 9073 * @returns RunHealthCheckRequest 9074 * @throws {Error} If the payload is not a reader or valid buffer 9075 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9076 */ 9077 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.RunHealthCheckRequest; 9078 9079 /** 9080 * Verifies a RunHealthCheckRequest message. 9081 * @param message Plain object to verify 9082 * @returns `null` if valid, otherwise the reason why it is not 9083 */ 9084 public static verify(message: { [k: string]: any }): (string|null); 9085 9086 /** 9087 * Creates a RunHealthCheckRequest message from a plain object. Also converts values to their respective internal types. 9088 * @param object Plain object 9089 * @returns RunHealthCheckRequest 9090 */ 9091 public static fromObject(object: { [k: string]: any }): vtadmin.RunHealthCheckRequest; 9092 9093 /** 9094 * Creates a plain object from a RunHealthCheckRequest message. Also converts values to other types if specified. 9095 * @param message RunHealthCheckRequest 9096 * @param [options] Conversion options 9097 * @returns Plain object 9098 */ 9099 public static toObject(message: vtadmin.RunHealthCheckRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 9100 9101 /** 9102 * Converts this RunHealthCheckRequest to JSON. 9103 * @returns JSON object 9104 */ 9105 public toJSON(): { [k: string]: any }; 9106 } 9107 9108 /** Properties of a RunHealthCheckResponse. */ 9109 interface IRunHealthCheckResponse { 9110 9111 /** RunHealthCheckResponse status */ 9112 status?: (string|null); 9113 9114 /** RunHealthCheckResponse cluster */ 9115 cluster?: (vtadmin.ICluster|null); 9116 } 9117 9118 /** Represents a RunHealthCheckResponse. */ 9119 class RunHealthCheckResponse implements IRunHealthCheckResponse { 9120 9121 /** 9122 * Constructs a new RunHealthCheckResponse. 9123 * @param [properties] Properties to set 9124 */ 9125 constructor(properties?: vtadmin.IRunHealthCheckResponse); 9126 9127 /** RunHealthCheckResponse status. */ 9128 public status: string; 9129 9130 /** RunHealthCheckResponse cluster. */ 9131 public cluster?: (vtadmin.ICluster|null); 9132 9133 /** 9134 * Creates a new RunHealthCheckResponse instance using the specified properties. 9135 * @param [properties] Properties to set 9136 * @returns RunHealthCheckResponse instance 9137 */ 9138 public static create(properties?: vtadmin.IRunHealthCheckResponse): vtadmin.RunHealthCheckResponse; 9139 9140 /** 9141 * Encodes the specified RunHealthCheckResponse message. Does not implicitly {@link vtadmin.RunHealthCheckResponse.verify|verify} messages. 9142 * @param message RunHealthCheckResponse message or plain object to encode 9143 * @param [writer] Writer to encode to 9144 * @returns Writer 9145 */ 9146 public static encode(message: vtadmin.IRunHealthCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer; 9147 9148 /** 9149 * Encodes the specified RunHealthCheckResponse message, length delimited. Does not implicitly {@link vtadmin.RunHealthCheckResponse.verify|verify} messages. 9150 * @param message RunHealthCheckResponse message or plain object to encode 9151 * @param [writer] Writer to encode to 9152 * @returns Writer 9153 */ 9154 public static encodeDelimited(message: vtadmin.IRunHealthCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer; 9155 9156 /** 9157 * Decodes a RunHealthCheckResponse message from the specified reader or buffer. 9158 * @param reader Reader or buffer to decode from 9159 * @param [length] Message length if known beforehand 9160 * @returns RunHealthCheckResponse 9161 * @throws {Error} If the payload is not a reader or valid buffer 9162 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9163 */ 9164 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.RunHealthCheckResponse; 9165 9166 /** 9167 * Decodes a RunHealthCheckResponse message from the specified reader or buffer, length delimited. 9168 * @param reader Reader or buffer to decode from 9169 * @returns RunHealthCheckResponse 9170 * @throws {Error} If the payload is not a reader or valid buffer 9171 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9172 */ 9173 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.RunHealthCheckResponse; 9174 9175 /** 9176 * Verifies a RunHealthCheckResponse message. 9177 * @param message Plain object to verify 9178 * @returns `null` if valid, otherwise the reason why it is not 9179 */ 9180 public static verify(message: { [k: string]: any }): (string|null); 9181 9182 /** 9183 * Creates a RunHealthCheckResponse message from a plain object. Also converts values to their respective internal types. 9184 * @param object Plain object 9185 * @returns RunHealthCheckResponse 9186 */ 9187 public static fromObject(object: { [k: string]: any }): vtadmin.RunHealthCheckResponse; 9188 9189 /** 9190 * Creates a plain object from a RunHealthCheckResponse message. Also converts values to other types if specified. 9191 * @param message RunHealthCheckResponse 9192 * @param [options] Conversion options 9193 * @returns Plain object 9194 */ 9195 public static toObject(message: vtadmin.RunHealthCheckResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 9196 9197 /** 9198 * Converts this RunHealthCheckResponse to JSON. 9199 * @returns JSON object 9200 */ 9201 public toJSON(): { [k: string]: any }; 9202 } 9203 9204 /** Properties of a SetReadOnlyRequest. */ 9205 interface ISetReadOnlyRequest { 9206 9207 /** SetReadOnlyRequest alias */ 9208 alias?: (topodata.ITabletAlias|null); 9209 9210 /** SetReadOnlyRequest cluster_ids */ 9211 cluster_ids?: (string[]|null); 9212 } 9213 9214 /** Represents a SetReadOnlyRequest. */ 9215 class SetReadOnlyRequest implements ISetReadOnlyRequest { 9216 9217 /** 9218 * Constructs a new SetReadOnlyRequest. 9219 * @param [properties] Properties to set 9220 */ 9221 constructor(properties?: vtadmin.ISetReadOnlyRequest); 9222 9223 /** SetReadOnlyRequest alias. */ 9224 public alias?: (topodata.ITabletAlias|null); 9225 9226 /** SetReadOnlyRequest cluster_ids. */ 9227 public cluster_ids: string[]; 9228 9229 /** 9230 * Creates a new SetReadOnlyRequest instance using the specified properties. 9231 * @param [properties] Properties to set 9232 * @returns SetReadOnlyRequest instance 9233 */ 9234 public static create(properties?: vtadmin.ISetReadOnlyRequest): vtadmin.SetReadOnlyRequest; 9235 9236 /** 9237 * Encodes the specified SetReadOnlyRequest message. Does not implicitly {@link vtadmin.SetReadOnlyRequest.verify|verify} messages. 9238 * @param message SetReadOnlyRequest message or plain object to encode 9239 * @param [writer] Writer to encode to 9240 * @returns Writer 9241 */ 9242 public static encode(message: vtadmin.ISetReadOnlyRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9243 9244 /** 9245 * Encodes the specified SetReadOnlyRequest message, length delimited. Does not implicitly {@link vtadmin.SetReadOnlyRequest.verify|verify} messages. 9246 * @param message SetReadOnlyRequest message or plain object to encode 9247 * @param [writer] Writer to encode to 9248 * @returns Writer 9249 */ 9250 public static encodeDelimited(message: vtadmin.ISetReadOnlyRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9251 9252 /** 9253 * Decodes a SetReadOnlyRequest message from the specified reader or buffer. 9254 * @param reader Reader or buffer to decode from 9255 * @param [length] Message length if known beforehand 9256 * @returns SetReadOnlyRequest 9257 * @throws {Error} If the payload is not a reader or valid buffer 9258 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9259 */ 9260 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.SetReadOnlyRequest; 9261 9262 /** 9263 * Decodes a SetReadOnlyRequest message from the specified reader or buffer, length delimited. 9264 * @param reader Reader or buffer to decode from 9265 * @returns SetReadOnlyRequest 9266 * @throws {Error} If the payload is not a reader or valid buffer 9267 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9268 */ 9269 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.SetReadOnlyRequest; 9270 9271 /** 9272 * Verifies a SetReadOnlyRequest message. 9273 * @param message Plain object to verify 9274 * @returns `null` if valid, otherwise the reason why it is not 9275 */ 9276 public static verify(message: { [k: string]: any }): (string|null); 9277 9278 /** 9279 * Creates a SetReadOnlyRequest message from a plain object. Also converts values to their respective internal types. 9280 * @param object Plain object 9281 * @returns SetReadOnlyRequest 9282 */ 9283 public static fromObject(object: { [k: string]: any }): vtadmin.SetReadOnlyRequest; 9284 9285 /** 9286 * Creates a plain object from a SetReadOnlyRequest message. Also converts values to other types if specified. 9287 * @param message SetReadOnlyRequest 9288 * @param [options] Conversion options 9289 * @returns Plain object 9290 */ 9291 public static toObject(message: vtadmin.SetReadOnlyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 9292 9293 /** 9294 * Converts this SetReadOnlyRequest to JSON. 9295 * @returns JSON object 9296 */ 9297 public toJSON(): { [k: string]: any }; 9298 } 9299 9300 /** Properties of a SetReadOnlyResponse. */ 9301 interface ISetReadOnlyResponse { 9302 } 9303 9304 /** Represents a SetReadOnlyResponse. */ 9305 class SetReadOnlyResponse implements ISetReadOnlyResponse { 9306 9307 /** 9308 * Constructs a new SetReadOnlyResponse. 9309 * @param [properties] Properties to set 9310 */ 9311 constructor(properties?: vtadmin.ISetReadOnlyResponse); 9312 9313 /** 9314 * Creates a new SetReadOnlyResponse instance using the specified properties. 9315 * @param [properties] Properties to set 9316 * @returns SetReadOnlyResponse instance 9317 */ 9318 public static create(properties?: vtadmin.ISetReadOnlyResponse): vtadmin.SetReadOnlyResponse; 9319 9320 /** 9321 * Encodes the specified SetReadOnlyResponse message. Does not implicitly {@link vtadmin.SetReadOnlyResponse.verify|verify} messages. 9322 * @param message SetReadOnlyResponse message or plain object to encode 9323 * @param [writer] Writer to encode to 9324 * @returns Writer 9325 */ 9326 public static encode(message: vtadmin.ISetReadOnlyResponse, writer?: $protobuf.Writer): $protobuf.Writer; 9327 9328 /** 9329 * Encodes the specified SetReadOnlyResponse message, length delimited. Does not implicitly {@link vtadmin.SetReadOnlyResponse.verify|verify} messages. 9330 * @param message SetReadOnlyResponse message or plain object to encode 9331 * @param [writer] Writer to encode to 9332 * @returns Writer 9333 */ 9334 public static encodeDelimited(message: vtadmin.ISetReadOnlyResponse, writer?: $protobuf.Writer): $protobuf.Writer; 9335 9336 /** 9337 * Decodes a SetReadOnlyResponse message from the specified reader or buffer. 9338 * @param reader Reader or buffer to decode from 9339 * @param [length] Message length if known beforehand 9340 * @returns SetReadOnlyResponse 9341 * @throws {Error} If the payload is not a reader or valid buffer 9342 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9343 */ 9344 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.SetReadOnlyResponse; 9345 9346 /** 9347 * Decodes a SetReadOnlyResponse message from the specified reader or buffer, length delimited. 9348 * @param reader Reader or buffer to decode from 9349 * @returns SetReadOnlyResponse 9350 * @throws {Error} If the payload is not a reader or valid buffer 9351 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9352 */ 9353 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.SetReadOnlyResponse; 9354 9355 /** 9356 * Verifies a SetReadOnlyResponse message. 9357 * @param message Plain object to verify 9358 * @returns `null` if valid, otherwise the reason why it is not 9359 */ 9360 public static verify(message: { [k: string]: any }): (string|null); 9361 9362 /** 9363 * Creates a SetReadOnlyResponse message from a plain object. Also converts values to their respective internal types. 9364 * @param object Plain object 9365 * @returns SetReadOnlyResponse 9366 */ 9367 public static fromObject(object: { [k: string]: any }): vtadmin.SetReadOnlyResponse; 9368 9369 /** 9370 * Creates a plain object from a SetReadOnlyResponse message. Also converts values to other types if specified. 9371 * @param message SetReadOnlyResponse 9372 * @param [options] Conversion options 9373 * @returns Plain object 9374 */ 9375 public static toObject(message: vtadmin.SetReadOnlyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 9376 9377 /** 9378 * Converts this SetReadOnlyResponse to JSON. 9379 * @returns JSON object 9380 */ 9381 public toJSON(): { [k: string]: any }; 9382 } 9383 9384 /** Properties of a SetReadWriteRequest. */ 9385 interface ISetReadWriteRequest { 9386 9387 /** SetReadWriteRequest alias */ 9388 alias?: (topodata.ITabletAlias|null); 9389 9390 /** SetReadWriteRequest cluster_ids */ 9391 cluster_ids?: (string[]|null); 9392 } 9393 9394 /** Represents a SetReadWriteRequest. */ 9395 class SetReadWriteRequest implements ISetReadWriteRequest { 9396 9397 /** 9398 * Constructs a new SetReadWriteRequest. 9399 * @param [properties] Properties to set 9400 */ 9401 constructor(properties?: vtadmin.ISetReadWriteRequest); 9402 9403 /** SetReadWriteRequest alias. */ 9404 public alias?: (topodata.ITabletAlias|null); 9405 9406 /** SetReadWriteRequest cluster_ids. */ 9407 public cluster_ids: string[]; 9408 9409 /** 9410 * Creates a new SetReadWriteRequest instance using the specified properties. 9411 * @param [properties] Properties to set 9412 * @returns SetReadWriteRequest instance 9413 */ 9414 public static create(properties?: vtadmin.ISetReadWriteRequest): vtadmin.SetReadWriteRequest; 9415 9416 /** 9417 * Encodes the specified SetReadWriteRequest message. Does not implicitly {@link vtadmin.SetReadWriteRequest.verify|verify} messages. 9418 * @param message SetReadWriteRequest message or plain object to encode 9419 * @param [writer] Writer to encode to 9420 * @returns Writer 9421 */ 9422 public static encode(message: vtadmin.ISetReadWriteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9423 9424 /** 9425 * Encodes the specified SetReadWriteRequest message, length delimited. Does not implicitly {@link vtadmin.SetReadWriteRequest.verify|verify} messages. 9426 * @param message SetReadWriteRequest message or plain object to encode 9427 * @param [writer] Writer to encode to 9428 * @returns Writer 9429 */ 9430 public static encodeDelimited(message: vtadmin.ISetReadWriteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9431 9432 /** 9433 * Decodes a SetReadWriteRequest message from the specified reader or buffer. 9434 * @param reader Reader or buffer to decode from 9435 * @param [length] Message length if known beforehand 9436 * @returns SetReadWriteRequest 9437 * @throws {Error} If the payload is not a reader or valid buffer 9438 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9439 */ 9440 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.SetReadWriteRequest; 9441 9442 /** 9443 * Decodes a SetReadWriteRequest message from the specified reader or buffer, length delimited. 9444 * @param reader Reader or buffer to decode from 9445 * @returns SetReadWriteRequest 9446 * @throws {Error} If the payload is not a reader or valid buffer 9447 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9448 */ 9449 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.SetReadWriteRequest; 9450 9451 /** 9452 * Verifies a SetReadWriteRequest message. 9453 * @param message Plain object to verify 9454 * @returns `null` if valid, otherwise the reason why it is not 9455 */ 9456 public static verify(message: { [k: string]: any }): (string|null); 9457 9458 /** 9459 * Creates a SetReadWriteRequest message from a plain object. Also converts values to their respective internal types. 9460 * @param object Plain object 9461 * @returns SetReadWriteRequest 9462 */ 9463 public static fromObject(object: { [k: string]: any }): vtadmin.SetReadWriteRequest; 9464 9465 /** 9466 * Creates a plain object from a SetReadWriteRequest message. Also converts values to other types if specified. 9467 * @param message SetReadWriteRequest 9468 * @param [options] Conversion options 9469 * @returns Plain object 9470 */ 9471 public static toObject(message: vtadmin.SetReadWriteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 9472 9473 /** 9474 * Converts this SetReadWriteRequest to JSON. 9475 * @returns JSON object 9476 */ 9477 public toJSON(): { [k: string]: any }; 9478 } 9479 9480 /** Properties of a SetReadWriteResponse. */ 9481 interface ISetReadWriteResponse { 9482 } 9483 9484 /** Represents a SetReadWriteResponse. */ 9485 class SetReadWriteResponse implements ISetReadWriteResponse { 9486 9487 /** 9488 * Constructs a new SetReadWriteResponse. 9489 * @param [properties] Properties to set 9490 */ 9491 constructor(properties?: vtadmin.ISetReadWriteResponse); 9492 9493 /** 9494 * Creates a new SetReadWriteResponse instance using the specified properties. 9495 * @param [properties] Properties to set 9496 * @returns SetReadWriteResponse instance 9497 */ 9498 public static create(properties?: vtadmin.ISetReadWriteResponse): vtadmin.SetReadWriteResponse; 9499 9500 /** 9501 * Encodes the specified SetReadWriteResponse message. Does not implicitly {@link vtadmin.SetReadWriteResponse.verify|verify} messages. 9502 * @param message SetReadWriteResponse message or plain object to encode 9503 * @param [writer] Writer to encode to 9504 * @returns Writer 9505 */ 9506 public static encode(message: vtadmin.ISetReadWriteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 9507 9508 /** 9509 * Encodes the specified SetReadWriteResponse message, length delimited. Does not implicitly {@link vtadmin.SetReadWriteResponse.verify|verify} messages. 9510 * @param message SetReadWriteResponse message or plain object to encode 9511 * @param [writer] Writer to encode to 9512 * @returns Writer 9513 */ 9514 public static encodeDelimited(message: vtadmin.ISetReadWriteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 9515 9516 /** 9517 * Decodes a SetReadWriteResponse message from the specified reader or buffer. 9518 * @param reader Reader or buffer to decode from 9519 * @param [length] Message length if known beforehand 9520 * @returns SetReadWriteResponse 9521 * @throws {Error} If the payload is not a reader or valid buffer 9522 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9523 */ 9524 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.SetReadWriteResponse; 9525 9526 /** 9527 * Decodes a SetReadWriteResponse message from the specified reader or buffer, length delimited. 9528 * @param reader Reader or buffer to decode from 9529 * @returns SetReadWriteResponse 9530 * @throws {Error} If the payload is not a reader or valid buffer 9531 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9532 */ 9533 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.SetReadWriteResponse; 9534 9535 /** 9536 * Verifies a SetReadWriteResponse message. 9537 * @param message Plain object to verify 9538 * @returns `null` if valid, otherwise the reason why it is not 9539 */ 9540 public static verify(message: { [k: string]: any }): (string|null); 9541 9542 /** 9543 * Creates a SetReadWriteResponse message from a plain object. Also converts values to their respective internal types. 9544 * @param object Plain object 9545 * @returns SetReadWriteResponse 9546 */ 9547 public static fromObject(object: { [k: string]: any }): vtadmin.SetReadWriteResponse; 9548 9549 /** 9550 * Creates a plain object from a SetReadWriteResponse message. Also converts values to other types if specified. 9551 * @param message SetReadWriteResponse 9552 * @param [options] Conversion options 9553 * @returns Plain object 9554 */ 9555 public static toObject(message: vtadmin.SetReadWriteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 9556 9557 /** 9558 * Converts this SetReadWriteResponse to JSON. 9559 * @returns JSON object 9560 */ 9561 public toJSON(): { [k: string]: any }; 9562 } 9563 9564 /** Properties of a StartReplicationRequest. */ 9565 interface IStartReplicationRequest { 9566 9567 /** StartReplicationRequest alias */ 9568 alias?: (topodata.ITabletAlias|null); 9569 9570 /** StartReplicationRequest cluster_ids */ 9571 cluster_ids?: (string[]|null); 9572 } 9573 9574 /** Represents a StartReplicationRequest. */ 9575 class StartReplicationRequest implements IStartReplicationRequest { 9576 9577 /** 9578 * Constructs a new StartReplicationRequest. 9579 * @param [properties] Properties to set 9580 */ 9581 constructor(properties?: vtadmin.IStartReplicationRequest); 9582 9583 /** StartReplicationRequest alias. */ 9584 public alias?: (topodata.ITabletAlias|null); 9585 9586 /** StartReplicationRequest cluster_ids. */ 9587 public cluster_ids: string[]; 9588 9589 /** 9590 * Creates a new StartReplicationRequest instance using the specified properties. 9591 * @param [properties] Properties to set 9592 * @returns StartReplicationRequest instance 9593 */ 9594 public static create(properties?: vtadmin.IStartReplicationRequest): vtadmin.StartReplicationRequest; 9595 9596 /** 9597 * Encodes the specified StartReplicationRequest message. Does not implicitly {@link vtadmin.StartReplicationRequest.verify|verify} messages. 9598 * @param message StartReplicationRequest message or plain object to encode 9599 * @param [writer] Writer to encode to 9600 * @returns Writer 9601 */ 9602 public static encode(message: vtadmin.IStartReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9603 9604 /** 9605 * Encodes the specified StartReplicationRequest message, length delimited. Does not implicitly {@link vtadmin.StartReplicationRequest.verify|verify} messages. 9606 * @param message StartReplicationRequest message or plain object to encode 9607 * @param [writer] Writer to encode to 9608 * @returns Writer 9609 */ 9610 public static encodeDelimited(message: vtadmin.IStartReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9611 9612 /** 9613 * Decodes a StartReplicationRequest message from the specified reader or buffer. 9614 * @param reader Reader or buffer to decode from 9615 * @param [length] Message length if known beforehand 9616 * @returns StartReplicationRequest 9617 * @throws {Error} If the payload is not a reader or valid buffer 9618 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9619 */ 9620 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.StartReplicationRequest; 9621 9622 /** 9623 * Decodes a StartReplicationRequest message from the specified reader or buffer, length delimited. 9624 * @param reader Reader or buffer to decode from 9625 * @returns StartReplicationRequest 9626 * @throws {Error} If the payload is not a reader or valid buffer 9627 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9628 */ 9629 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.StartReplicationRequest; 9630 9631 /** 9632 * Verifies a StartReplicationRequest message. 9633 * @param message Plain object to verify 9634 * @returns `null` if valid, otherwise the reason why it is not 9635 */ 9636 public static verify(message: { [k: string]: any }): (string|null); 9637 9638 /** 9639 * Creates a StartReplicationRequest message from a plain object. Also converts values to their respective internal types. 9640 * @param object Plain object 9641 * @returns StartReplicationRequest 9642 */ 9643 public static fromObject(object: { [k: string]: any }): vtadmin.StartReplicationRequest; 9644 9645 /** 9646 * Creates a plain object from a StartReplicationRequest message. Also converts values to other types if specified. 9647 * @param message StartReplicationRequest 9648 * @param [options] Conversion options 9649 * @returns Plain object 9650 */ 9651 public static toObject(message: vtadmin.StartReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 9652 9653 /** 9654 * Converts this StartReplicationRequest to JSON. 9655 * @returns JSON object 9656 */ 9657 public toJSON(): { [k: string]: any }; 9658 } 9659 9660 /** Properties of a StartReplicationResponse. */ 9661 interface IStartReplicationResponse { 9662 9663 /** StartReplicationResponse status */ 9664 status?: (string|null); 9665 9666 /** StartReplicationResponse cluster */ 9667 cluster?: (vtadmin.ICluster|null); 9668 } 9669 9670 /** Represents a StartReplicationResponse. */ 9671 class StartReplicationResponse implements IStartReplicationResponse { 9672 9673 /** 9674 * Constructs a new StartReplicationResponse. 9675 * @param [properties] Properties to set 9676 */ 9677 constructor(properties?: vtadmin.IStartReplicationResponse); 9678 9679 /** StartReplicationResponse status. */ 9680 public status: string; 9681 9682 /** StartReplicationResponse cluster. */ 9683 public cluster?: (vtadmin.ICluster|null); 9684 9685 /** 9686 * Creates a new StartReplicationResponse instance using the specified properties. 9687 * @param [properties] Properties to set 9688 * @returns StartReplicationResponse instance 9689 */ 9690 public static create(properties?: vtadmin.IStartReplicationResponse): vtadmin.StartReplicationResponse; 9691 9692 /** 9693 * Encodes the specified StartReplicationResponse message. Does not implicitly {@link vtadmin.StartReplicationResponse.verify|verify} messages. 9694 * @param message StartReplicationResponse message or plain object to encode 9695 * @param [writer] Writer to encode to 9696 * @returns Writer 9697 */ 9698 public static encode(message: vtadmin.IStartReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 9699 9700 /** 9701 * Encodes the specified StartReplicationResponse message, length delimited. Does not implicitly {@link vtadmin.StartReplicationResponse.verify|verify} messages. 9702 * @param message StartReplicationResponse message or plain object to encode 9703 * @param [writer] Writer to encode to 9704 * @returns Writer 9705 */ 9706 public static encodeDelimited(message: vtadmin.IStartReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 9707 9708 /** 9709 * Decodes a StartReplicationResponse message from the specified reader or buffer. 9710 * @param reader Reader or buffer to decode from 9711 * @param [length] Message length if known beforehand 9712 * @returns StartReplicationResponse 9713 * @throws {Error} If the payload is not a reader or valid buffer 9714 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9715 */ 9716 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.StartReplicationResponse; 9717 9718 /** 9719 * Decodes a StartReplicationResponse message from the specified reader or buffer, length delimited. 9720 * @param reader Reader or buffer to decode from 9721 * @returns StartReplicationResponse 9722 * @throws {Error} If the payload is not a reader or valid buffer 9723 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9724 */ 9725 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.StartReplicationResponse; 9726 9727 /** 9728 * Verifies a StartReplicationResponse message. 9729 * @param message Plain object to verify 9730 * @returns `null` if valid, otherwise the reason why it is not 9731 */ 9732 public static verify(message: { [k: string]: any }): (string|null); 9733 9734 /** 9735 * Creates a StartReplicationResponse message from a plain object. Also converts values to their respective internal types. 9736 * @param object Plain object 9737 * @returns StartReplicationResponse 9738 */ 9739 public static fromObject(object: { [k: string]: any }): vtadmin.StartReplicationResponse; 9740 9741 /** 9742 * Creates a plain object from a StartReplicationResponse message. Also converts values to other types if specified. 9743 * @param message StartReplicationResponse 9744 * @param [options] Conversion options 9745 * @returns Plain object 9746 */ 9747 public static toObject(message: vtadmin.StartReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 9748 9749 /** 9750 * Converts this StartReplicationResponse to JSON. 9751 * @returns JSON object 9752 */ 9753 public toJSON(): { [k: string]: any }; 9754 } 9755 9756 /** Properties of a StopReplicationRequest. */ 9757 interface IStopReplicationRequest { 9758 9759 /** StopReplicationRequest alias */ 9760 alias?: (topodata.ITabletAlias|null); 9761 9762 /** StopReplicationRequest cluster_ids */ 9763 cluster_ids?: (string[]|null); 9764 } 9765 9766 /** Represents a StopReplicationRequest. */ 9767 class StopReplicationRequest implements IStopReplicationRequest { 9768 9769 /** 9770 * Constructs a new StopReplicationRequest. 9771 * @param [properties] Properties to set 9772 */ 9773 constructor(properties?: vtadmin.IStopReplicationRequest); 9774 9775 /** StopReplicationRequest alias. */ 9776 public alias?: (topodata.ITabletAlias|null); 9777 9778 /** StopReplicationRequest cluster_ids. */ 9779 public cluster_ids: string[]; 9780 9781 /** 9782 * Creates a new StopReplicationRequest instance using the specified properties. 9783 * @param [properties] Properties to set 9784 * @returns StopReplicationRequest instance 9785 */ 9786 public static create(properties?: vtadmin.IStopReplicationRequest): vtadmin.StopReplicationRequest; 9787 9788 /** 9789 * Encodes the specified StopReplicationRequest message. Does not implicitly {@link vtadmin.StopReplicationRequest.verify|verify} messages. 9790 * @param message StopReplicationRequest message or plain object to encode 9791 * @param [writer] Writer to encode to 9792 * @returns Writer 9793 */ 9794 public static encode(message: vtadmin.IStopReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9795 9796 /** 9797 * Encodes the specified StopReplicationRequest message, length delimited. Does not implicitly {@link vtadmin.StopReplicationRequest.verify|verify} messages. 9798 * @param message StopReplicationRequest message or plain object to encode 9799 * @param [writer] Writer to encode to 9800 * @returns Writer 9801 */ 9802 public static encodeDelimited(message: vtadmin.IStopReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9803 9804 /** 9805 * Decodes a StopReplicationRequest message from the specified reader or buffer. 9806 * @param reader Reader or buffer to decode from 9807 * @param [length] Message length if known beforehand 9808 * @returns StopReplicationRequest 9809 * @throws {Error} If the payload is not a reader or valid buffer 9810 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9811 */ 9812 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.StopReplicationRequest; 9813 9814 /** 9815 * Decodes a StopReplicationRequest message from the specified reader or buffer, length delimited. 9816 * @param reader Reader or buffer to decode from 9817 * @returns StopReplicationRequest 9818 * @throws {Error} If the payload is not a reader or valid buffer 9819 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9820 */ 9821 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.StopReplicationRequest; 9822 9823 /** 9824 * Verifies a StopReplicationRequest message. 9825 * @param message Plain object to verify 9826 * @returns `null` if valid, otherwise the reason why it is not 9827 */ 9828 public static verify(message: { [k: string]: any }): (string|null); 9829 9830 /** 9831 * Creates a StopReplicationRequest message from a plain object. Also converts values to their respective internal types. 9832 * @param object Plain object 9833 * @returns StopReplicationRequest 9834 */ 9835 public static fromObject(object: { [k: string]: any }): vtadmin.StopReplicationRequest; 9836 9837 /** 9838 * Creates a plain object from a StopReplicationRequest message. Also converts values to other types if specified. 9839 * @param message StopReplicationRequest 9840 * @param [options] Conversion options 9841 * @returns Plain object 9842 */ 9843 public static toObject(message: vtadmin.StopReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 9844 9845 /** 9846 * Converts this StopReplicationRequest to JSON. 9847 * @returns JSON object 9848 */ 9849 public toJSON(): { [k: string]: any }; 9850 } 9851 9852 /** Properties of a StopReplicationResponse. */ 9853 interface IStopReplicationResponse { 9854 9855 /** StopReplicationResponse status */ 9856 status?: (string|null); 9857 9858 /** StopReplicationResponse cluster */ 9859 cluster?: (vtadmin.ICluster|null); 9860 } 9861 9862 /** Represents a StopReplicationResponse. */ 9863 class StopReplicationResponse implements IStopReplicationResponse { 9864 9865 /** 9866 * Constructs a new StopReplicationResponse. 9867 * @param [properties] Properties to set 9868 */ 9869 constructor(properties?: vtadmin.IStopReplicationResponse); 9870 9871 /** StopReplicationResponse status. */ 9872 public status: string; 9873 9874 /** StopReplicationResponse cluster. */ 9875 public cluster?: (vtadmin.ICluster|null); 9876 9877 /** 9878 * Creates a new StopReplicationResponse instance using the specified properties. 9879 * @param [properties] Properties to set 9880 * @returns StopReplicationResponse instance 9881 */ 9882 public static create(properties?: vtadmin.IStopReplicationResponse): vtadmin.StopReplicationResponse; 9883 9884 /** 9885 * Encodes the specified StopReplicationResponse message. Does not implicitly {@link vtadmin.StopReplicationResponse.verify|verify} messages. 9886 * @param message StopReplicationResponse message or plain object to encode 9887 * @param [writer] Writer to encode to 9888 * @returns Writer 9889 */ 9890 public static encode(message: vtadmin.IStopReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 9891 9892 /** 9893 * Encodes the specified StopReplicationResponse message, length delimited. Does not implicitly {@link vtadmin.StopReplicationResponse.verify|verify} messages. 9894 * @param message StopReplicationResponse message or plain object to encode 9895 * @param [writer] Writer to encode to 9896 * @returns Writer 9897 */ 9898 public static encodeDelimited(message: vtadmin.IStopReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 9899 9900 /** 9901 * Decodes a StopReplicationResponse message from the specified reader or buffer. 9902 * @param reader Reader or buffer to decode from 9903 * @param [length] Message length if known beforehand 9904 * @returns StopReplicationResponse 9905 * @throws {Error} If the payload is not a reader or valid buffer 9906 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9907 */ 9908 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.StopReplicationResponse; 9909 9910 /** 9911 * Decodes a StopReplicationResponse message from the specified reader or buffer, length delimited. 9912 * @param reader Reader or buffer to decode from 9913 * @returns StopReplicationResponse 9914 * @throws {Error} If the payload is not a reader or valid buffer 9915 * @throws {$protobuf.util.ProtocolError} If required fields are missing 9916 */ 9917 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.StopReplicationResponse; 9918 9919 /** 9920 * Verifies a StopReplicationResponse message. 9921 * @param message Plain object to verify 9922 * @returns `null` if valid, otherwise the reason why it is not 9923 */ 9924 public static verify(message: { [k: string]: any }): (string|null); 9925 9926 /** 9927 * Creates a StopReplicationResponse message from a plain object. Also converts values to their respective internal types. 9928 * @param object Plain object 9929 * @returns StopReplicationResponse 9930 */ 9931 public static fromObject(object: { [k: string]: any }): vtadmin.StopReplicationResponse; 9932 9933 /** 9934 * Creates a plain object from a StopReplicationResponse message. Also converts values to other types if specified. 9935 * @param message StopReplicationResponse 9936 * @param [options] Conversion options 9937 * @returns Plain object 9938 */ 9939 public static toObject(message: vtadmin.StopReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 9940 9941 /** 9942 * Converts this StopReplicationResponse to JSON. 9943 * @returns JSON object 9944 */ 9945 public toJSON(): { [k: string]: any }; 9946 } 9947 9948 /** Properties of a TabletExternallyPromotedRequest. */ 9949 interface ITabletExternallyPromotedRequest { 9950 9951 /** TabletExternallyPromotedRequest alias */ 9952 alias?: (topodata.ITabletAlias|null); 9953 9954 /** TabletExternallyPromotedRequest cluster_ids */ 9955 cluster_ids?: (string[]|null); 9956 } 9957 9958 /** Represents a TabletExternallyPromotedRequest. */ 9959 class TabletExternallyPromotedRequest implements ITabletExternallyPromotedRequest { 9960 9961 /** 9962 * Constructs a new TabletExternallyPromotedRequest. 9963 * @param [properties] Properties to set 9964 */ 9965 constructor(properties?: vtadmin.ITabletExternallyPromotedRequest); 9966 9967 /** TabletExternallyPromotedRequest alias. */ 9968 public alias?: (topodata.ITabletAlias|null); 9969 9970 /** TabletExternallyPromotedRequest cluster_ids. */ 9971 public cluster_ids: string[]; 9972 9973 /** 9974 * Creates a new TabletExternallyPromotedRequest instance using the specified properties. 9975 * @param [properties] Properties to set 9976 * @returns TabletExternallyPromotedRequest instance 9977 */ 9978 public static create(properties?: vtadmin.ITabletExternallyPromotedRequest): vtadmin.TabletExternallyPromotedRequest; 9979 9980 /** 9981 * Encodes the specified TabletExternallyPromotedRequest message. Does not implicitly {@link vtadmin.TabletExternallyPromotedRequest.verify|verify} messages. 9982 * @param message TabletExternallyPromotedRequest message or plain object to encode 9983 * @param [writer] Writer to encode to 9984 * @returns Writer 9985 */ 9986 public static encode(message: vtadmin.ITabletExternallyPromotedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9987 9988 /** 9989 * Encodes the specified TabletExternallyPromotedRequest message, length delimited. Does not implicitly {@link vtadmin.TabletExternallyPromotedRequest.verify|verify} messages. 9990 * @param message TabletExternallyPromotedRequest message or plain object to encode 9991 * @param [writer] Writer to encode to 9992 * @returns Writer 9993 */ 9994 public static encodeDelimited(message: vtadmin.ITabletExternallyPromotedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 9995 9996 /** 9997 * Decodes a TabletExternallyPromotedRequest message from the specified reader or buffer. 9998 * @param reader Reader or buffer to decode from 9999 * @param [length] Message length if known beforehand 10000 * @returns TabletExternallyPromotedRequest 10001 * @throws {Error} If the payload is not a reader or valid buffer 10002 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10003 */ 10004 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.TabletExternallyPromotedRequest; 10005 10006 /** 10007 * Decodes a TabletExternallyPromotedRequest message from the specified reader or buffer, length delimited. 10008 * @param reader Reader or buffer to decode from 10009 * @returns TabletExternallyPromotedRequest 10010 * @throws {Error} If the payload is not a reader or valid buffer 10011 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10012 */ 10013 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.TabletExternallyPromotedRequest; 10014 10015 /** 10016 * Verifies a TabletExternallyPromotedRequest message. 10017 * @param message Plain object to verify 10018 * @returns `null` if valid, otherwise the reason why it is not 10019 */ 10020 public static verify(message: { [k: string]: any }): (string|null); 10021 10022 /** 10023 * Creates a TabletExternallyPromotedRequest message from a plain object. Also converts values to their respective internal types. 10024 * @param object Plain object 10025 * @returns TabletExternallyPromotedRequest 10026 */ 10027 public static fromObject(object: { [k: string]: any }): vtadmin.TabletExternallyPromotedRequest; 10028 10029 /** 10030 * Creates a plain object from a TabletExternallyPromotedRequest message. Also converts values to other types if specified. 10031 * @param message TabletExternallyPromotedRequest 10032 * @param [options] Conversion options 10033 * @returns Plain object 10034 */ 10035 public static toObject(message: vtadmin.TabletExternallyPromotedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 10036 10037 /** 10038 * Converts this TabletExternallyPromotedRequest to JSON. 10039 * @returns JSON object 10040 */ 10041 public toJSON(): { [k: string]: any }; 10042 } 10043 10044 /** Properties of a TabletExternallyPromotedResponse. */ 10045 interface ITabletExternallyPromotedResponse { 10046 10047 /** TabletExternallyPromotedResponse cluster */ 10048 cluster?: (vtadmin.ICluster|null); 10049 10050 /** TabletExternallyPromotedResponse keyspace */ 10051 keyspace?: (string|null); 10052 10053 /** TabletExternallyPromotedResponse shard */ 10054 shard?: (string|null); 10055 10056 /** TabletExternallyPromotedResponse new_primary */ 10057 new_primary?: (topodata.ITabletAlias|null); 10058 10059 /** TabletExternallyPromotedResponse old_primary */ 10060 old_primary?: (topodata.ITabletAlias|null); 10061 } 10062 10063 /** Represents a TabletExternallyPromotedResponse. */ 10064 class TabletExternallyPromotedResponse implements ITabletExternallyPromotedResponse { 10065 10066 /** 10067 * Constructs a new TabletExternallyPromotedResponse. 10068 * @param [properties] Properties to set 10069 */ 10070 constructor(properties?: vtadmin.ITabletExternallyPromotedResponse); 10071 10072 /** TabletExternallyPromotedResponse cluster. */ 10073 public cluster?: (vtadmin.ICluster|null); 10074 10075 /** TabletExternallyPromotedResponse keyspace. */ 10076 public keyspace: string; 10077 10078 /** TabletExternallyPromotedResponse shard. */ 10079 public shard: string; 10080 10081 /** TabletExternallyPromotedResponse new_primary. */ 10082 public new_primary?: (topodata.ITabletAlias|null); 10083 10084 /** TabletExternallyPromotedResponse old_primary. */ 10085 public old_primary?: (topodata.ITabletAlias|null); 10086 10087 /** 10088 * Creates a new TabletExternallyPromotedResponse instance using the specified properties. 10089 * @param [properties] Properties to set 10090 * @returns TabletExternallyPromotedResponse instance 10091 */ 10092 public static create(properties?: vtadmin.ITabletExternallyPromotedResponse): vtadmin.TabletExternallyPromotedResponse; 10093 10094 /** 10095 * Encodes the specified TabletExternallyPromotedResponse message. Does not implicitly {@link vtadmin.TabletExternallyPromotedResponse.verify|verify} messages. 10096 * @param message TabletExternallyPromotedResponse message or plain object to encode 10097 * @param [writer] Writer to encode to 10098 * @returns Writer 10099 */ 10100 public static encode(message: vtadmin.ITabletExternallyPromotedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 10101 10102 /** 10103 * Encodes the specified TabletExternallyPromotedResponse message, length delimited. Does not implicitly {@link vtadmin.TabletExternallyPromotedResponse.verify|verify} messages. 10104 * @param message TabletExternallyPromotedResponse message or plain object to encode 10105 * @param [writer] Writer to encode to 10106 * @returns Writer 10107 */ 10108 public static encodeDelimited(message: vtadmin.ITabletExternallyPromotedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 10109 10110 /** 10111 * Decodes a TabletExternallyPromotedResponse message from the specified reader or buffer. 10112 * @param reader Reader or buffer to decode from 10113 * @param [length] Message length if known beforehand 10114 * @returns TabletExternallyPromotedResponse 10115 * @throws {Error} If the payload is not a reader or valid buffer 10116 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10117 */ 10118 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.TabletExternallyPromotedResponse; 10119 10120 /** 10121 * Decodes a TabletExternallyPromotedResponse message from the specified reader or buffer, length delimited. 10122 * @param reader Reader or buffer to decode from 10123 * @returns TabletExternallyPromotedResponse 10124 * @throws {Error} If the payload is not a reader or valid buffer 10125 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10126 */ 10127 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.TabletExternallyPromotedResponse; 10128 10129 /** 10130 * Verifies a TabletExternallyPromotedResponse message. 10131 * @param message Plain object to verify 10132 * @returns `null` if valid, otherwise the reason why it is not 10133 */ 10134 public static verify(message: { [k: string]: any }): (string|null); 10135 10136 /** 10137 * Creates a TabletExternallyPromotedResponse message from a plain object. Also converts values to their respective internal types. 10138 * @param object Plain object 10139 * @returns TabletExternallyPromotedResponse 10140 */ 10141 public static fromObject(object: { [k: string]: any }): vtadmin.TabletExternallyPromotedResponse; 10142 10143 /** 10144 * Creates a plain object from a TabletExternallyPromotedResponse message. Also converts values to other types if specified. 10145 * @param message TabletExternallyPromotedResponse 10146 * @param [options] Conversion options 10147 * @returns Plain object 10148 */ 10149 public static toObject(message: vtadmin.TabletExternallyPromotedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 10150 10151 /** 10152 * Converts this TabletExternallyPromotedResponse to JSON. 10153 * @returns JSON object 10154 */ 10155 public toJSON(): { [k: string]: any }; 10156 } 10157 10158 /** Properties of a TabletExternallyReparentedRequest. */ 10159 interface ITabletExternallyReparentedRequest { 10160 10161 /** TabletExternallyReparentedRequest alias */ 10162 alias?: (topodata.ITabletAlias|null); 10163 10164 /** TabletExternallyReparentedRequest cluster_ids */ 10165 cluster_ids?: (string[]|null); 10166 } 10167 10168 /** Represents a TabletExternallyReparentedRequest. */ 10169 class TabletExternallyReparentedRequest implements ITabletExternallyReparentedRequest { 10170 10171 /** 10172 * Constructs a new TabletExternallyReparentedRequest. 10173 * @param [properties] Properties to set 10174 */ 10175 constructor(properties?: vtadmin.ITabletExternallyReparentedRequest); 10176 10177 /** TabletExternallyReparentedRequest alias. */ 10178 public alias?: (topodata.ITabletAlias|null); 10179 10180 /** TabletExternallyReparentedRequest cluster_ids. */ 10181 public cluster_ids: string[]; 10182 10183 /** 10184 * Creates a new TabletExternallyReparentedRequest instance using the specified properties. 10185 * @param [properties] Properties to set 10186 * @returns TabletExternallyReparentedRequest instance 10187 */ 10188 public static create(properties?: vtadmin.ITabletExternallyReparentedRequest): vtadmin.TabletExternallyReparentedRequest; 10189 10190 /** 10191 * Encodes the specified TabletExternallyReparentedRequest message. Does not implicitly {@link vtadmin.TabletExternallyReparentedRequest.verify|verify} messages. 10192 * @param message TabletExternallyReparentedRequest message or plain object to encode 10193 * @param [writer] Writer to encode to 10194 * @returns Writer 10195 */ 10196 public static encode(message: vtadmin.ITabletExternallyReparentedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10197 10198 /** 10199 * Encodes the specified TabletExternallyReparentedRequest message, length delimited. Does not implicitly {@link vtadmin.TabletExternallyReparentedRequest.verify|verify} messages. 10200 * @param message TabletExternallyReparentedRequest message or plain object to encode 10201 * @param [writer] Writer to encode to 10202 * @returns Writer 10203 */ 10204 public static encodeDelimited(message: vtadmin.ITabletExternallyReparentedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10205 10206 /** 10207 * Decodes a TabletExternallyReparentedRequest message from the specified reader or buffer. 10208 * @param reader Reader or buffer to decode from 10209 * @param [length] Message length if known beforehand 10210 * @returns TabletExternallyReparentedRequest 10211 * @throws {Error} If the payload is not a reader or valid buffer 10212 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10213 */ 10214 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.TabletExternallyReparentedRequest; 10215 10216 /** 10217 * Decodes a TabletExternallyReparentedRequest message from the specified reader or buffer, length delimited. 10218 * @param reader Reader or buffer to decode from 10219 * @returns TabletExternallyReparentedRequest 10220 * @throws {Error} If the payload is not a reader or valid buffer 10221 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10222 */ 10223 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.TabletExternallyReparentedRequest; 10224 10225 /** 10226 * Verifies a TabletExternallyReparentedRequest message. 10227 * @param message Plain object to verify 10228 * @returns `null` if valid, otherwise the reason why it is not 10229 */ 10230 public static verify(message: { [k: string]: any }): (string|null); 10231 10232 /** 10233 * Creates a TabletExternallyReparentedRequest message from a plain object. Also converts values to their respective internal types. 10234 * @param object Plain object 10235 * @returns TabletExternallyReparentedRequest 10236 */ 10237 public static fromObject(object: { [k: string]: any }): vtadmin.TabletExternallyReparentedRequest; 10238 10239 /** 10240 * Creates a plain object from a TabletExternallyReparentedRequest message. Also converts values to other types if specified. 10241 * @param message TabletExternallyReparentedRequest 10242 * @param [options] Conversion options 10243 * @returns Plain object 10244 */ 10245 public static toObject(message: vtadmin.TabletExternallyReparentedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 10246 10247 /** 10248 * Converts this TabletExternallyReparentedRequest to JSON. 10249 * @returns JSON object 10250 */ 10251 public toJSON(): { [k: string]: any }; 10252 } 10253 10254 /** Properties of a ValidateRequest. */ 10255 interface IValidateRequest { 10256 10257 /** ValidateRequest cluster_id */ 10258 cluster_id?: (string|null); 10259 10260 /** ValidateRequest ping_tablets */ 10261 ping_tablets?: (boolean|null); 10262 } 10263 10264 /** Represents a ValidateRequest. */ 10265 class ValidateRequest implements IValidateRequest { 10266 10267 /** 10268 * Constructs a new ValidateRequest. 10269 * @param [properties] Properties to set 10270 */ 10271 constructor(properties?: vtadmin.IValidateRequest); 10272 10273 /** ValidateRequest cluster_id. */ 10274 public cluster_id: string; 10275 10276 /** ValidateRequest ping_tablets. */ 10277 public ping_tablets: boolean; 10278 10279 /** 10280 * Creates a new ValidateRequest instance using the specified properties. 10281 * @param [properties] Properties to set 10282 * @returns ValidateRequest instance 10283 */ 10284 public static create(properties?: vtadmin.IValidateRequest): vtadmin.ValidateRequest; 10285 10286 /** 10287 * Encodes the specified ValidateRequest message. Does not implicitly {@link vtadmin.ValidateRequest.verify|verify} messages. 10288 * @param message ValidateRequest message or plain object to encode 10289 * @param [writer] Writer to encode to 10290 * @returns Writer 10291 */ 10292 public static encode(message: vtadmin.IValidateRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10293 10294 /** 10295 * Encodes the specified ValidateRequest message, length delimited. Does not implicitly {@link vtadmin.ValidateRequest.verify|verify} messages. 10296 * @param message ValidateRequest message or plain object to encode 10297 * @param [writer] Writer to encode to 10298 * @returns Writer 10299 */ 10300 public static encodeDelimited(message: vtadmin.IValidateRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10301 10302 /** 10303 * Decodes a ValidateRequest message from the specified reader or buffer. 10304 * @param reader Reader or buffer to decode from 10305 * @param [length] Message length if known beforehand 10306 * @returns ValidateRequest 10307 * @throws {Error} If the payload is not a reader or valid buffer 10308 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10309 */ 10310 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ValidateRequest; 10311 10312 /** 10313 * Decodes a ValidateRequest message from the specified reader or buffer, length delimited. 10314 * @param reader Reader or buffer to decode from 10315 * @returns ValidateRequest 10316 * @throws {Error} If the payload is not a reader or valid buffer 10317 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10318 */ 10319 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ValidateRequest; 10320 10321 /** 10322 * Verifies a ValidateRequest message. 10323 * @param message Plain object to verify 10324 * @returns `null` if valid, otherwise the reason why it is not 10325 */ 10326 public static verify(message: { [k: string]: any }): (string|null); 10327 10328 /** 10329 * Creates a ValidateRequest message from a plain object. Also converts values to their respective internal types. 10330 * @param object Plain object 10331 * @returns ValidateRequest 10332 */ 10333 public static fromObject(object: { [k: string]: any }): vtadmin.ValidateRequest; 10334 10335 /** 10336 * Creates a plain object from a ValidateRequest message. Also converts values to other types if specified. 10337 * @param message ValidateRequest 10338 * @param [options] Conversion options 10339 * @returns Plain object 10340 */ 10341 public static toObject(message: vtadmin.ValidateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 10342 10343 /** 10344 * Converts this ValidateRequest to JSON. 10345 * @returns JSON object 10346 */ 10347 public toJSON(): { [k: string]: any }; 10348 } 10349 10350 /** Properties of a ValidateKeyspaceRequest. */ 10351 interface IValidateKeyspaceRequest { 10352 10353 /** ValidateKeyspaceRequest cluster_id */ 10354 cluster_id?: (string|null); 10355 10356 /** ValidateKeyspaceRequest keyspace */ 10357 keyspace?: (string|null); 10358 10359 /** ValidateKeyspaceRequest ping_tablets */ 10360 ping_tablets?: (boolean|null); 10361 } 10362 10363 /** Represents a ValidateKeyspaceRequest. */ 10364 class ValidateKeyspaceRequest implements IValidateKeyspaceRequest { 10365 10366 /** 10367 * Constructs a new ValidateKeyspaceRequest. 10368 * @param [properties] Properties to set 10369 */ 10370 constructor(properties?: vtadmin.IValidateKeyspaceRequest); 10371 10372 /** ValidateKeyspaceRequest cluster_id. */ 10373 public cluster_id: string; 10374 10375 /** ValidateKeyspaceRequest keyspace. */ 10376 public keyspace: string; 10377 10378 /** ValidateKeyspaceRequest ping_tablets. */ 10379 public ping_tablets: boolean; 10380 10381 /** 10382 * Creates a new ValidateKeyspaceRequest instance using the specified properties. 10383 * @param [properties] Properties to set 10384 * @returns ValidateKeyspaceRequest instance 10385 */ 10386 public static create(properties?: vtadmin.IValidateKeyspaceRequest): vtadmin.ValidateKeyspaceRequest; 10387 10388 /** 10389 * Encodes the specified ValidateKeyspaceRequest message. Does not implicitly {@link vtadmin.ValidateKeyspaceRequest.verify|verify} messages. 10390 * @param message ValidateKeyspaceRequest message or plain object to encode 10391 * @param [writer] Writer to encode to 10392 * @returns Writer 10393 */ 10394 public static encode(message: vtadmin.IValidateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10395 10396 /** 10397 * Encodes the specified ValidateKeyspaceRequest message, length delimited. Does not implicitly {@link vtadmin.ValidateKeyspaceRequest.verify|verify} messages. 10398 * @param message ValidateKeyspaceRequest message or plain object to encode 10399 * @param [writer] Writer to encode to 10400 * @returns Writer 10401 */ 10402 public static encodeDelimited(message: vtadmin.IValidateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10403 10404 /** 10405 * Decodes a ValidateKeyspaceRequest message from the specified reader or buffer. 10406 * @param reader Reader or buffer to decode from 10407 * @param [length] Message length if known beforehand 10408 * @returns ValidateKeyspaceRequest 10409 * @throws {Error} If the payload is not a reader or valid buffer 10410 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10411 */ 10412 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ValidateKeyspaceRequest; 10413 10414 /** 10415 * Decodes a ValidateKeyspaceRequest message from the specified reader or buffer, length delimited. 10416 * @param reader Reader or buffer to decode from 10417 * @returns ValidateKeyspaceRequest 10418 * @throws {Error} If the payload is not a reader or valid buffer 10419 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10420 */ 10421 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ValidateKeyspaceRequest; 10422 10423 /** 10424 * Verifies a ValidateKeyspaceRequest message. 10425 * @param message Plain object to verify 10426 * @returns `null` if valid, otherwise the reason why it is not 10427 */ 10428 public static verify(message: { [k: string]: any }): (string|null); 10429 10430 /** 10431 * Creates a ValidateKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 10432 * @param object Plain object 10433 * @returns ValidateKeyspaceRequest 10434 */ 10435 public static fromObject(object: { [k: string]: any }): vtadmin.ValidateKeyspaceRequest; 10436 10437 /** 10438 * Creates a plain object from a ValidateKeyspaceRequest message. Also converts values to other types if specified. 10439 * @param message ValidateKeyspaceRequest 10440 * @param [options] Conversion options 10441 * @returns Plain object 10442 */ 10443 public static toObject(message: vtadmin.ValidateKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 10444 10445 /** 10446 * Converts this ValidateKeyspaceRequest to JSON. 10447 * @returns JSON object 10448 */ 10449 public toJSON(): { [k: string]: any }; 10450 } 10451 10452 /** Properties of a ValidateSchemaKeyspaceRequest. */ 10453 interface IValidateSchemaKeyspaceRequest { 10454 10455 /** ValidateSchemaKeyspaceRequest cluster_id */ 10456 cluster_id?: (string|null); 10457 10458 /** ValidateSchemaKeyspaceRequest keyspace */ 10459 keyspace?: (string|null); 10460 } 10461 10462 /** Represents a ValidateSchemaKeyspaceRequest. */ 10463 class ValidateSchemaKeyspaceRequest implements IValidateSchemaKeyspaceRequest { 10464 10465 /** 10466 * Constructs a new ValidateSchemaKeyspaceRequest. 10467 * @param [properties] Properties to set 10468 */ 10469 constructor(properties?: vtadmin.IValidateSchemaKeyspaceRequest); 10470 10471 /** ValidateSchemaKeyspaceRequest cluster_id. */ 10472 public cluster_id: string; 10473 10474 /** ValidateSchemaKeyspaceRequest keyspace. */ 10475 public keyspace: string; 10476 10477 /** 10478 * Creates a new ValidateSchemaKeyspaceRequest instance using the specified properties. 10479 * @param [properties] Properties to set 10480 * @returns ValidateSchemaKeyspaceRequest instance 10481 */ 10482 public static create(properties?: vtadmin.IValidateSchemaKeyspaceRequest): vtadmin.ValidateSchemaKeyspaceRequest; 10483 10484 /** 10485 * Encodes the specified ValidateSchemaKeyspaceRequest message. Does not implicitly {@link vtadmin.ValidateSchemaKeyspaceRequest.verify|verify} messages. 10486 * @param message ValidateSchemaKeyspaceRequest message or plain object to encode 10487 * @param [writer] Writer to encode to 10488 * @returns Writer 10489 */ 10490 public static encode(message: vtadmin.IValidateSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10491 10492 /** 10493 * Encodes the specified ValidateSchemaKeyspaceRequest message, length delimited. Does not implicitly {@link vtadmin.ValidateSchemaKeyspaceRequest.verify|verify} messages. 10494 * @param message ValidateSchemaKeyspaceRequest message or plain object to encode 10495 * @param [writer] Writer to encode to 10496 * @returns Writer 10497 */ 10498 public static encodeDelimited(message: vtadmin.IValidateSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10499 10500 /** 10501 * Decodes a ValidateSchemaKeyspaceRequest message from the specified reader or buffer. 10502 * @param reader Reader or buffer to decode from 10503 * @param [length] Message length if known beforehand 10504 * @returns ValidateSchemaKeyspaceRequest 10505 * @throws {Error} If the payload is not a reader or valid buffer 10506 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10507 */ 10508 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ValidateSchemaKeyspaceRequest; 10509 10510 /** 10511 * Decodes a ValidateSchemaKeyspaceRequest message from the specified reader or buffer, length delimited. 10512 * @param reader Reader or buffer to decode from 10513 * @returns ValidateSchemaKeyspaceRequest 10514 * @throws {Error} If the payload is not a reader or valid buffer 10515 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10516 */ 10517 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ValidateSchemaKeyspaceRequest; 10518 10519 /** 10520 * Verifies a ValidateSchemaKeyspaceRequest message. 10521 * @param message Plain object to verify 10522 * @returns `null` if valid, otherwise the reason why it is not 10523 */ 10524 public static verify(message: { [k: string]: any }): (string|null); 10525 10526 /** 10527 * Creates a ValidateSchemaKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 10528 * @param object Plain object 10529 * @returns ValidateSchemaKeyspaceRequest 10530 */ 10531 public static fromObject(object: { [k: string]: any }): vtadmin.ValidateSchemaKeyspaceRequest; 10532 10533 /** 10534 * Creates a plain object from a ValidateSchemaKeyspaceRequest message. Also converts values to other types if specified. 10535 * @param message ValidateSchemaKeyspaceRequest 10536 * @param [options] Conversion options 10537 * @returns Plain object 10538 */ 10539 public static toObject(message: vtadmin.ValidateSchemaKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 10540 10541 /** 10542 * Converts this ValidateSchemaKeyspaceRequest to JSON. 10543 * @returns JSON object 10544 */ 10545 public toJSON(): { [k: string]: any }; 10546 } 10547 10548 /** Properties of a ValidateShardRequest. */ 10549 interface IValidateShardRequest { 10550 10551 /** ValidateShardRequest cluster_id */ 10552 cluster_id?: (string|null); 10553 10554 /** ValidateShardRequest keyspace */ 10555 keyspace?: (string|null); 10556 10557 /** ValidateShardRequest shard */ 10558 shard?: (string|null); 10559 10560 /** ValidateShardRequest ping_tablets */ 10561 ping_tablets?: (boolean|null); 10562 } 10563 10564 /** Represents a ValidateShardRequest. */ 10565 class ValidateShardRequest implements IValidateShardRequest { 10566 10567 /** 10568 * Constructs a new ValidateShardRequest. 10569 * @param [properties] Properties to set 10570 */ 10571 constructor(properties?: vtadmin.IValidateShardRequest); 10572 10573 /** ValidateShardRequest cluster_id. */ 10574 public cluster_id: string; 10575 10576 /** ValidateShardRequest keyspace. */ 10577 public keyspace: string; 10578 10579 /** ValidateShardRequest shard. */ 10580 public shard: string; 10581 10582 /** ValidateShardRequest ping_tablets. */ 10583 public ping_tablets: boolean; 10584 10585 /** 10586 * Creates a new ValidateShardRequest instance using the specified properties. 10587 * @param [properties] Properties to set 10588 * @returns ValidateShardRequest instance 10589 */ 10590 public static create(properties?: vtadmin.IValidateShardRequest): vtadmin.ValidateShardRequest; 10591 10592 /** 10593 * Encodes the specified ValidateShardRequest message. Does not implicitly {@link vtadmin.ValidateShardRequest.verify|verify} messages. 10594 * @param message ValidateShardRequest message or plain object to encode 10595 * @param [writer] Writer to encode to 10596 * @returns Writer 10597 */ 10598 public static encode(message: vtadmin.IValidateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10599 10600 /** 10601 * Encodes the specified ValidateShardRequest message, length delimited. Does not implicitly {@link vtadmin.ValidateShardRequest.verify|verify} messages. 10602 * @param message ValidateShardRequest message or plain object to encode 10603 * @param [writer] Writer to encode to 10604 * @returns Writer 10605 */ 10606 public static encodeDelimited(message: vtadmin.IValidateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10607 10608 /** 10609 * Decodes a ValidateShardRequest message from the specified reader or buffer. 10610 * @param reader Reader or buffer to decode from 10611 * @param [length] Message length if known beforehand 10612 * @returns ValidateShardRequest 10613 * @throws {Error} If the payload is not a reader or valid buffer 10614 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10615 */ 10616 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ValidateShardRequest; 10617 10618 /** 10619 * Decodes a ValidateShardRequest message from the specified reader or buffer, length delimited. 10620 * @param reader Reader or buffer to decode from 10621 * @returns ValidateShardRequest 10622 * @throws {Error} If the payload is not a reader or valid buffer 10623 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10624 */ 10625 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ValidateShardRequest; 10626 10627 /** 10628 * Verifies a ValidateShardRequest message. 10629 * @param message Plain object to verify 10630 * @returns `null` if valid, otherwise the reason why it is not 10631 */ 10632 public static verify(message: { [k: string]: any }): (string|null); 10633 10634 /** 10635 * Creates a ValidateShardRequest message from a plain object. Also converts values to their respective internal types. 10636 * @param object Plain object 10637 * @returns ValidateShardRequest 10638 */ 10639 public static fromObject(object: { [k: string]: any }): vtadmin.ValidateShardRequest; 10640 10641 /** 10642 * Creates a plain object from a ValidateShardRequest message. Also converts values to other types if specified. 10643 * @param message ValidateShardRequest 10644 * @param [options] Conversion options 10645 * @returns Plain object 10646 */ 10647 public static toObject(message: vtadmin.ValidateShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 10648 10649 /** 10650 * Converts this ValidateShardRequest to JSON. 10651 * @returns JSON object 10652 */ 10653 public toJSON(): { [k: string]: any }; 10654 } 10655 10656 /** Properties of a ValidateVersionKeyspaceRequest. */ 10657 interface IValidateVersionKeyspaceRequest { 10658 10659 /** ValidateVersionKeyspaceRequest cluster_id */ 10660 cluster_id?: (string|null); 10661 10662 /** ValidateVersionKeyspaceRequest keyspace */ 10663 keyspace?: (string|null); 10664 } 10665 10666 /** Represents a ValidateVersionKeyspaceRequest. */ 10667 class ValidateVersionKeyspaceRequest implements IValidateVersionKeyspaceRequest { 10668 10669 /** 10670 * Constructs a new ValidateVersionKeyspaceRequest. 10671 * @param [properties] Properties to set 10672 */ 10673 constructor(properties?: vtadmin.IValidateVersionKeyspaceRequest); 10674 10675 /** ValidateVersionKeyspaceRequest cluster_id. */ 10676 public cluster_id: string; 10677 10678 /** ValidateVersionKeyspaceRequest keyspace. */ 10679 public keyspace: string; 10680 10681 /** 10682 * Creates a new ValidateVersionKeyspaceRequest instance using the specified properties. 10683 * @param [properties] Properties to set 10684 * @returns ValidateVersionKeyspaceRequest instance 10685 */ 10686 public static create(properties?: vtadmin.IValidateVersionKeyspaceRequest): vtadmin.ValidateVersionKeyspaceRequest; 10687 10688 /** 10689 * Encodes the specified ValidateVersionKeyspaceRequest message. Does not implicitly {@link vtadmin.ValidateVersionKeyspaceRequest.verify|verify} messages. 10690 * @param message ValidateVersionKeyspaceRequest message or plain object to encode 10691 * @param [writer] Writer to encode to 10692 * @returns Writer 10693 */ 10694 public static encode(message: vtadmin.IValidateVersionKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10695 10696 /** 10697 * Encodes the specified ValidateVersionKeyspaceRequest message, length delimited. Does not implicitly {@link vtadmin.ValidateVersionKeyspaceRequest.verify|verify} messages. 10698 * @param message ValidateVersionKeyspaceRequest message or plain object to encode 10699 * @param [writer] Writer to encode to 10700 * @returns Writer 10701 */ 10702 public static encodeDelimited(message: vtadmin.IValidateVersionKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10703 10704 /** 10705 * Decodes a ValidateVersionKeyspaceRequest message from the specified reader or buffer. 10706 * @param reader Reader or buffer to decode from 10707 * @param [length] Message length if known beforehand 10708 * @returns ValidateVersionKeyspaceRequest 10709 * @throws {Error} If the payload is not a reader or valid buffer 10710 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10711 */ 10712 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ValidateVersionKeyspaceRequest; 10713 10714 /** 10715 * Decodes a ValidateVersionKeyspaceRequest message from the specified reader or buffer, length delimited. 10716 * @param reader Reader or buffer to decode from 10717 * @returns ValidateVersionKeyspaceRequest 10718 * @throws {Error} If the payload is not a reader or valid buffer 10719 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10720 */ 10721 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ValidateVersionKeyspaceRequest; 10722 10723 /** 10724 * Verifies a ValidateVersionKeyspaceRequest message. 10725 * @param message Plain object to verify 10726 * @returns `null` if valid, otherwise the reason why it is not 10727 */ 10728 public static verify(message: { [k: string]: any }): (string|null); 10729 10730 /** 10731 * Creates a ValidateVersionKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 10732 * @param object Plain object 10733 * @returns ValidateVersionKeyspaceRequest 10734 */ 10735 public static fromObject(object: { [k: string]: any }): vtadmin.ValidateVersionKeyspaceRequest; 10736 10737 /** 10738 * Creates a plain object from a ValidateVersionKeyspaceRequest message. Also converts values to other types if specified. 10739 * @param message ValidateVersionKeyspaceRequest 10740 * @param [options] Conversion options 10741 * @returns Plain object 10742 */ 10743 public static toObject(message: vtadmin.ValidateVersionKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 10744 10745 /** 10746 * Converts this ValidateVersionKeyspaceRequest to JSON. 10747 * @returns JSON object 10748 */ 10749 public toJSON(): { [k: string]: any }; 10750 } 10751 10752 /** Properties of a ValidateVersionShardRequest. */ 10753 interface IValidateVersionShardRequest { 10754 10755 /** ValidateVersionShardRequest cluster_id */ 10756 cluster_id?: (string|null); 10757 10758 /** ValidateVersionShardRequest keyspace */ 10759 keyspace?: (string|null); 10760 10761 /** ValidateVersionShardRequest shard */ 10762 shard?: (string|null); 10763 } 10764 10765 /** Represents a ValidateVersionShardRequest. */ 10766 class ValidateVersionShardRequest implements IValidateVersionShardRequest { 10767 10768 /** 10769 * Constructs a new ValidateVersionShardRequest. 10770 * @param [properties] Properties to set 10771 */ 10772 constructor(properties?: vtadmin.IValidateVersionShardRequest); 10773 10774 /** ValidateVersionShardRequest cluster_id. */ 10775 public cluster_id: string; 10776 10777 /** ValidateVersionShardRequest keyspace. */ 10778 public keyspace: string; 10779 10780 /** ValidateVersionShardRequest shard. */ 10781 public shard: string; 10782 10783 /** 10784 * Creates a new ValidateVersionShardRequest instance using the specified properties. 10785 * @param [properties] Properties to set 10786 * @returns ValidateVersionShardRequest instance 10787 */ 10788 public static create(properties?: vtadmin.IValidateVersionShardRequest): vtadmin.ValidateVersionShardRequest; 10789 10790 /** 10791 * Encodes the specified ValidateVersionShardRequest message. Does not implicitly {@link vtadmin.ValidateVersionShardRequest.verify|verify} messages. 10792 * @param message ValidateVersionShardRequest message or plain object to encode 10793 * @param [writer] Writer to encode to 10794 * @returns Writer 10795 */ 10796 public static encode(message: vtadmin.IValidateVersionShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10797 10798 /** 10799 * Encodes the specified ValidateVersionShardRequest message, length delimited. Does not implicitly {@link vtadmin.ValidateVersionShardRequest.verify|verify} messages. 10800 * @param message ValidateVersionShardRequest message or plain object to encode 10801 * @param [writer] Writer to encode to 10802 * @returns Writer 10803 */ 10804 public static encodeDelimited(message: vtadmin.IValidateVersionShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10805 10806 /** 10807 * Decodes a ValidateVersionShardRequest message from the specified reader or buffer. 10808 * @param reader Reader or buffer to decode from 10809 * @param [length] Message length if known beforehand 10810 * @returns ValidateVersionShardRequest 10811 * @throws {Error} If the payload is not a reader or valid buffer 10812 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10813 */ 10814 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.ValidateVersionShardRequest; 10815 10816 /** 10817 * Decodes a ValidateVersionShardRequest message from the specified reader or buffer, length delimited. 10818 * @param reader Reader or buffer to decode from 10819 * @returns ValidateVersionShardRequest 10820 * @throws {Error} If the payload is not a reader or valid buffer 10821 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10822 */ 10823 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.ValidateVersionShardRequest; 10824 10825 /** 10826 * Verifies a ValidateVersionShardRequest message. 10827 * @param message Plain object to verify 10828 * @returns `null` if valid, otherwise the reason why it is not 10829 */ 10830 public static verify(message: { [k: string]: any }): (string|null); 10831 10832 /** 10833 * Creates a ValidateVersionShardRequest message from a plain object. Also converts values to their respective internal types. 10834 * @param object Plain object 10835 * @returns ValidateVersionShardRequest 10836 */ 10837 public static fromObject(object: { [k: string]: any }): vtadmin.ValidateVersionShardRequest; 10838 10839 /** 10840 * Creates a plain object from a ValidateVersionShardRequest message. Also converts values to other types if specified. 10841 * @param message ValidateVersionShardRequest 10842 * @param [options] Conversion options 10843 * @returns Plain object 10844 */ 10845 public static toObject(message: vtadmin.ValidateVersionShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 10846 10847 /** 10848 * Converts this ValidateVersionShardRequest to JSON. 10849 * @returns JSON object 10850 */ 10851 public toJSON(): { [k: string]: any }; 10852 } 10853 10854 /** Properties of a VTExplainRequest. */ 10855 interface IVTExplainRequest { 10856 10857 /** VTExplainRequest cluster */ 10858 cluster?: (string|null); 10859 10860 /** VTExplainRequest keyspace */ 10861 keyspace?: (string|null); 10862 10863 /** VTExplainRequest sql */ 10864 sql?: (string|null); 10865 } 10866 10867 /** Represents a VTExplainRequest. */ 10868 class VTExplainRequest implements IVTExplainRequest { 10869 10870 /** 10871 * Constructs a new VTExplainRequest. 10872 * @param [properties] Properties to set 10873 */ 10874 constructor(properties?: vtadmin.IVTExplainRequest); 10875 10876 /** VTExplainRequest cluster. */ 10877 public cluster: string; 10878 10879 /** VTExplainRequest keyspace. */ 10880 public keyspace: string; 10881 10882 /** VTExplainRequest sql. */ 10883 public sql: string; 10884 10885 /** 10886 * Creates a new VTExplainRequest instance using the specified properties. 10887 * @param [properties] Properties to set 10888 * @returns VTExplainRequest instance 10889 */ 10890 public static create(properties?: vtadmin.IVTExplainRequest): vtadmin.VTExplainRequest; 10891 10892 /** 10893 * Encodes the specified VTExplainRequest message. Does not implicitly {@link vtadmin.VTExplainRequest.verify|verify} messages. 10894 * @param message VTExplainRequest message or plain object to encode 10895 * @param [writer] Writer to encode to 10896 * @returns Writer 10897 */ 10898 public static encode(message: vtadmin.IVTExplainRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10899 10900 /** 10901 * Encodes the specified VTExplainRequest message, length delimited. Does not implicitly {@link vtadmin.VTExplainRequest.verify|verify} messages. 10902 * @param message VTExplainRequest message or plain object to encode 10903 * @param [writer] Writer to encode to 10904 * @returns Writer 10905 */ 10906 public static encodeDelimited(message: vtadmin.IVTExplainRequest, writer?: $protobuf.Writer): $protobuf.Writer; 10907 10908 /** 10909 * Decodes a VTExplainRequest message from the specified reader or buffer. 10910 * @param reader Reader or buffer to decode from 10911 * @param [length] Message length if known beforehand 10912 * @returns VTExplainRequest 10913 * @throws {Error} If the payload is not a reader or valid buffer 10914 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10915 */ 10916 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.VTExplainRequest; 10917 10918 /** 10919 * Decodes a VTExplainRequest message from the specified reader or buffer, length delimited. 10920 * @param reader Reader or buffer to decode from 10921 * @returns VTExplainRequest 10922 * @throws {Error} If the payload is not a reader or valid buffer 10923 * @throws {$protobuf.util.ProtocolError} If required fields are missing 10924 */ 10925 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.VTExplainRequest; 10926 10927 /** 10928 * Verifies a VTExplainRequest message. 10929 * @param message Plain object to verify 10930 * @returns `null` if valid, otherwise the reason why it is not 10931 */ 10932 public static verify(message: { [k: string]: any }): (string|null); 10933 10934 /** 10935 * Creates a VTExplainRequest message from a plain object. Also converts values to their respective internal types. 10936 * @param object Plain object 10937 * @returns VTExplainRequest 10938 */ 10939 public static fromObject(object: { [k: string]: any }): vtadmin.VTExplainRequest; 10940 10941 /** 10942 * Creates a plain object from a VTExplainRequest message. Also converts values to other types if specified. 10943 * @param message VTExplainRequest 10944 * @param [options] Conversion options 10945 * @returns Plain object 10946 */ 10947 public static toObject(message: vtadmin.VTExplainRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 10948 10949 /** 10950 * Converts this VTExplainRequest to JSON. 10951 * @returns JSON object 10952 */ 10953 public toJSON(): { [k: string]: any }; 10954 } 10955 10956 /** Properties of a VTExplainResponse. */ 10957 interface IVTExplainResponse { 10958 10959 /** VTExplainResponse response */ 10960 response?: (string|null); 10961 } 10962 10963 /** Represents a VTExplainResponse. */ 10964 class VTExplainResponse implements IVTExplainResponse { 10965 10966 /** 10967 * Constructs a new VTExplainResponse. 10968 * @param [properties] Properties to set 10969 */ 10970 constructor(properties?: vtadmin.IVTExplainResponse); 10971 10972 /** VTExplainResponse response. */ 10973 public response: string; 10974 10975 /** 10976 * Creates a new VTExplainResponse instance using the specified properties. 10977 * @param [properties] Properties to set 10978 * @returns VTExplainResponse instance 10979 */ 10980 public static create(properties?: vtadmin.IVTExplainResponse): vtadmin.VTExplainResponse; 10981 10982 /** 10983 * Encodes the specified VTExplainResponse message. Does not implicitly {@link vtadmin.VTExplainResponse.verify|verify} messages. 10984 * @param message VTExplainResponse message or plain object to encode 10985 * @param [writer] Writer to encode to 10986 * @returns Writer 10987 */ 10988 public static encode(message: vtadmin.IVTExplainResponse, writer?: $protobuf.Writer): $protobuf.Writer; 10989 10990 /** 10991 * Encodes the specified VTExplainResponse message, length delimited. Does not implicitly {@link vtadmin.VTExplainResponse.verify|verify} messages. 10992 * @param message VTExplainResponse message or plain object to encode 10993 * @param [writer] Writer to encode to 10994 * @returns Writer 10995 */ 10996 public static encodeDelimited(message: vtadmin.IVTExplainResponse, writer?: $protobuf.Writer): $protobuf.Writer; 10997 10998 /** 10999 * Decodes a VTExplainResponse message from the specified reader or buffer. 11000 * @param reader Reader or buffer to decode from 11001 * @param [length] Message length if known beforehand 11002 * @returns VTExplainResponse 11003 * @throws {Error} If the payload is not a reader or valid buffer 11004 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11005 */ 11006 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtadmin.VTExplainResponse; 11007 11008 /** 11009 * Decodes a VTExplainResponse message from the specified reader or buffer, length delimited. 11010 * @param reader Reader or buffer to decode from 11011 * @returns VTExplainResponse 11012 * @throws {Error} If the payload is not a reader or valid buffer 11013 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11014 */ 11015 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtadmin.VTExplainResponse; 11016 11017 /** 11018 * Verifies a VTExplainResponse message. 11019 * @param message Plain object to verify 11020 * @returns `null` if valid, otherwise the reason why it is not 11021 */ 11022 public static verify(message: { [k: string]: any }): (string|null); 11023 11024 /** 11025 * Creates a VTExplainResponse message from a plain object. Also converts values to their respective internal types. 11026 * @param object Plain object 11027 * @returns VTExplainResponse 11028 */ 11029 public static fromObject(object: { [k: string]: any }): vtadmin.VTExplainResponse; 11030 11031 /** 11032 * Creates a plain object from a VTExplainResponse message. Also converts values to other types if specified. 11033 * @param message VTExplainResponse 11034 * @param [options] Conversion options 11035 * @returns Plain object 11036 */ 11037 public static toObject(message: vtadmin.VTExplainResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 11038 11039 /** 11040 * Converts this VTExplainResponse to JSON. 11041 * @returns JSON object 11042 */ 11043 public toJSON(): { [k: string]: any }; 11044 } 11045 } 11046 11047 /** Namespace logutil. */ 11048 export namespace logutil { 11049 11050 /** Level enum. */ 11051 enum Level { 11052 INFO = 0, 11053 WARNING = 1, 11054 ERROR = 2, 11055 CONSOLE = 3 11056 } 11057 11058 /** Properties of an Event. */ 11059 interface IEvent { 11060 11061 /** Event time */ 11062 time?: (vttime.ITime|null); 11063 11064 /** Event level */ 11065 level?: (logutil.Level|null); 11066 11067 /** Event file */ 11068 file?: (string|null); 11069 11070 /** Event line */ 11071 line?: (number|Long|null); 11072 11073 /** Event value */ 11074 value?: (string|null); 11075 } 11076 11077 /** Represents an Event. */ 11078 class Event implements IEvent { 11079 11080 /** 11081 * Constructs a new Event. 11082 * @param [properties] Properties to set 11083 */ 11084 constructor(properties?: logutil.IEvent); 11085 11086 /** Event time. */ 11087 public time?: (vttime.ITime|null); 11088 11089 /** Event level. */ 11090 public level: logutil.Level; 11091 11092 /** Event file. */ 11093 public file: string; 11094 11095 /** Event line. */ 11096 public line: (number|Long); 11097 11098 /** Event value. */ 11099 public value: string; 11100 11101 /** 11102 * Creates a new Event instance using the specified properties. 11103 * @param [properties] Properties to set 11104 * @returns Event instance 11105 */ 11106 public static create(properties?: logutil.IEvent): logutil.Event; 11107 11108 /** 11109 * Encodes the specified Event message. Does not implicitly {@link logutil.Event.verify|verify} messages. 11110 * @param message Event message or plain object to encode 11111 * @param [writer] Writer to encode to 11112 * @returns Writer 11113 */ 11114 public static encode(message: logutil.IEvent, writer?: $protobuf.Writer): $protobuf.Writer; 11115 11116 /** 11117 * Encodes the specified Event message, length delimited. Does not implicitly {@link logutil.Event.verify|verify} messages. 11118 * @param message Event message or plain object to encode 11119 * @param [writer] Writer to encode to 11120 * @returns Writer 11121 */ 11122 public static encodeDelimited(message: logutil.IEvent, writer?: $protobuf.Writer): $protobuf.Writer; 11123 11124 /** 11125 * Decodes an Event message from the specified reader or buffer. 11126 * @param reader Reader or buffer to decode from 11127 * @param [length] Message length if known beforehand 11128 * @returns Event 11129 * @throws {Error} If the payload is not a reader or valid buffer 11130 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11131 */ 11132 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): logutil.Event; 11133 11134 /** 11135 * Decodes an Event message from the specified reader or buffer, length delimited. 11136 * @param reader Reader or buffer to decode from 11137 * @returns Event 11138 * @throws {Error} If the payload is not a reader or valid buffer 11139 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11140 */ 11141 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): logutil.Event; 11142 11143 /** 11144 * Verifies an Event message. 11145 * @param message Plain object to verify 11146 * @returns `null` if valid, otherwise the reason why it is not 11147 */ 11148 public static verify(message: { [k: string]: any }): (string|null); 11149 11150 /** 11151 * Creates an Event message from a plain object. Also converts values to their respective internal types. 11152 * @param object Plain object 11153 * @returns Event 11154 */ 11155 public static fromObject(object: { [k: string]: any }): logutil.Event; 11156 11157 /** 11158 * Creates a plain object from an Event message. Also converts values to other types if specified. 11159 * @param message Event 11160 * @param [options] Conversion options 11161 * @returns Plain object 11162 */ 11163 public static toObject(message: logutil.Event, options?: $protobuf.IConversionOptions): { [k: string]: any }; 11164 11165 /** 11166 * Converts this Event to JSON. 11167 * @returns JSON object 11168 */ 11169 public toJSON(): { [k: string]: any }; 11170 } 11171 } 11172 11173 /** Namespace vttime. */ 11174 export namespace vttime { 11175 11176 /** Properties of a Time. */ 11177 interface ITime { 11178 11179 /** Time seconds */ 11180 seconds?: (number|Long|null); 11181 11182 /** Time nanoseconds */ 11183 nanoseconds?: (number|null); 11184 } 11185 11186 /** Represents a Time. */ 11187 class Time implements ITime { 11188 11189 /** 11190 * Constructs a new Time. 11191 * @param [properties] Properties to set 11192 */ 11193 constructor(properties?: vttime.ITime); 11194 11195 /** Time seconds. */ 11196 public seconds: (number|Long); 11197 11198 /** Time nanoseconds. */ 11199 public nanoseconds: number; 11200 11201 /** 11202 * Creates a new Time instance using the specified properties. 11203 * @param [properties] Properties to set 11204 * @returns Time instance 11205 */ 11206 public static create(properties?: vttime.ITime): vttime.Time; 11207 11208 /** 11209 * Encodes the specified Time message. Does not implicitly {@link vttime.Time.verify|verify} messages. 11210 * @param message Time message or plain object to encode 11211 * @param [writer] Writer to encode to 11212 * @returns Writer 11213 */ 11214 public static encode(message: vttime.ITime, writer?: $protobuf.Writer): $protobuf.Writer; 11215 11216 /** 11217 * Encodes the specified Time message, length delimited. Does not implicitly {@link vttime.Time.verify|verify} messages. 11218 * @param message Time message or plain object to encode 11219 * @param [writer] Writer to encode to 11220 * @returns Writer 11221 */ 11222 public static encodeDelimited(message: vttime.ITime, writer?: $protobuf.Writer): $protobuf.Writer; 11223 11224 /** 11225 * Decodes a Time message from the specified reader or buffer. 11226 * @param reader Reader or buffer to decode from 11227 * @param [length] Message length if known beforehand 11228 * @returns Time 11229 * @throws {Error} If the payload is not a reader or valid buffer 11230 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11231 */ 11232 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vttime.Time; 11233 11234 /** 11235 * Decodes a Time message from the specified reader or buffer, length delimited. 11236 * @param reader Reader or buffer to decode from 11237 * @returns Time 11238 * @throws {Error} If the payload is not a reader or valid buffer 11239 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11240 */ 11241 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vttime.Time; 11242 11243 /** 11244 * Verifies a Time message. 11245 * @param message Plain object to verify 11246 * @returns `null` if valid, otherwise the reason why it is not 11247 */ 11248 public static verify(message: { [k: string]: any }): (string|null); 11249 11250 /** 11251 * Creates a Time message from a plain object. Also converts values to their respective internal types. 11252 * @param object Plain object 11253 * @returns Time 11254 */ 11255 public static fromObject(object: { [k: string]: any }): vttime.Time; 11256 11257 /** 11258 * Creates a plain object from a Time message. Also converts values to other types if specified. 11259 * @param message Time 11260 * @param [options] Conversion options 11261 * @returns Plain object 11262 */ 11263 public static toObject(message: vttime.Time, options?: $protobuf.IConversionOptions): { [k: string]: any }; 11264 11265 /** 11266 * Converts this Time to JSON. 11267 * @returns JSON object 11268 */ 11269 public toJSON(): { [k: string]: any }; 11270 } 11271 11272 /** Properties of a Duration. */ 11273 interface IDuration { 11274 11275 /** Duration seconds */ 11276 seconds?: (number|Long|null); 11277 11278 /** Duration nanos */ 11279 nanos?: (number|null); 11280 } 11281 11282 /** Represents a Duration. */ 11283 class Duration implements IDuration { 11284 11285 /** 11286 * Constructs a new Duration. 11287 * @param [properties] Properties to set 11288 */ 11289 constructor(properties?: vttime.IDuration); 11290 11291 /** Duration seconds. */ 11292 public seconds: (number|Long); 11293 11294 /** Duration nanos. */ 11295 public nanos: number; 11296 11297 /** 11298 * Creates a new Duration instance using the specified properties. 11299 * @param [properties] Properties to set 11300 * @returns Duration instance 11301 */ 11302 public static create(properties?: vttime.IDuration): vttime.Duration; 11303 11304 /** 11305 * Encodes the specified Duration message. Does not implicitly {@link vttime.Duration.verify|verify} messages. 11306 * @param message Duration message or plain object to encode 11307 * @param [writer] Writer to encode to 11308 * @returns Writer 11309 */ 11310 public static encode(message: vttime.IDuration, writer?: $protobuf.Writer): $protobuf.Writer; 11311 11312 /** 11313 * Encodes the specified Duration message, length delimited. Does not implicitly {@link vttime.Duration.verify|verify} messages. 11314 * @param message Duration message or plain object to encode 11315 * @param [writer] Writer to encode to 11316 * @returns Writer 11317 */ 11318 public static encodeDelimited(message: vttime.IDuration, writer?: $protobuf.Writer): $protobuf.Writer; 11319 11320 /** 11321 * Decodes a Duration message from the specified reader or buffer. 11322 * @param reader Reader or buffer to decode from 11323 * @param [length] Message length if known beforehand 11324 * @returns Duration 11325 * @throws {Error} If the payload is not a reader or valid buffer 11326 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11327 */ 11328 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vttime.Duration; 11329 11330 /** 11331 * Decodes a Duration message from the specified reader or buffer, length delimited. 11332 * @param reader Reader or buffer to decode from 11333 * @returns Duration 11334 * @throws {Error} If the payload is not a reader or valid buffer 11335 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11336 */ 11337 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vttime.Duration; 11338 11339 /** 11340 * Verifies a Duration message. 11341 * @param message Plain object to verify 11342 * @returns `null` if valid, otherwise the reason why it is not 11343 */ 11344 public static verify(message: { [k: string]: any }): (string|null); 11345 11346 /** 11347 * Creates a Duration message from a plain object. Also converts values to their respective internal types. 11348 * @param object Plain object 11349 * @returns Duration 11350 */ 11351 public static fromObject(object: { [k: string]: any }): vttime.Duration; 11352 11353 /** 11354 * Creates a plain object from a Duration message. Also converts values to other types if specified. 11355 * @param message Duration 11356 * @param [options] Conversion options 11357 * @returns Plain object 11358 */ 11359 public static toObject(message: vttime.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any }; 11360 11361 /** 11362 * Converts this Duration to JSON. 11363 * @returns JSON object 11364 */ 11365 public toJSON(): { [k: string]: any }; 11366 } 11367 } 11368 11369 /** Namespace mysqlctl. */ 11370 export namespace mysqlctl { 11371 11372 /** Properties of a StartRequest. */ 11373 interface IStartRequest { 11374 11375 /** StartRequest mysqld_args */ 11376 mysqld_args?: (string[]|null); 11377 } 11378 11379 /** Represents a StartRequest. */ 11380 class StartRequest implements IStartRequest { 11381 11382 /** 11383 * Constructs a new StartRequest. 11384 * @param [properties] Properties to set 11385 */ 11386 constructor(properties?: mysqlctl.IStartRequest); 11387 11388 /** StartRequest mysqld_args. */ 11389 public mysqld_args: string[]; 11390 11391 /** 11392 * Creates a new StartRequest instance using the specified properties. 11393 * @param [properties] Properties to set 11394 * @returns StartRequest instance 11395 */ 11396 public static create(properties?: mysqlctl.IStartRequest): mysqlctl.StartRequest; 11397 11398 /** 11399 * Encodes the specified StartRequest message. Does not implicitly {@link mysqlctl.StartRequest.verify|verify} messages. 11400 * @param message StartRequest message or plain object to encode 11401 * @param [writer] Writer to encode to 11402 * @returns Writer 11403 */ 11404 public static encode(message: mysqlctl.IStartRequest, writer?: $protobuf.Writer): $protobuf.Writer; 11405 11406 /** 11407 * Encodes the specified StartRequest message, length delimited. Does not implicitly {@link mysqlctl.StartRequest.verify|verify} messages. 11408 * @param message StartRequest message or plain object to encode 11409 * @param [writer] Writer to encode to 11410 * @returns Writer 11411 */ 11412 public static encodeDelimited(message: mysqlctl.IStartRequest, writer?: $protobuf.Writer): $protobuf.Writer; 11413 11414 /** 11415 * Decodes a StartRequest message from the specified reader or buffer. 11416 * @param reader Reader or buffer to decode from 11417 * @param [length] Message length if known beforehand 11418 * @returns StartRequest 11419 * @throws {Error} If the payload is not a reader or valid buffer 11420 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11421 */ 11422 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): mysqlctl.StartRequest; 11423 11424 /** 11425 * Decodes a StartRequest message from the specified reader or buffer, length delimited. 11426 * @param reader Reader or buffer to decode from 11427 * @returns StartRequest 11428 * @throws {Error} If the payload is not a reader or valid buffer 11429 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11430 */ 11431 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): mysqlctl.StartRequest; 11432 11433 /** 11434 * Verifies a StartRequest message. 11435 * @param message Plain object to verify 11436 * @returns `null` if valid, otherwise the reason why it is not 11437 */ 11438 public static verify(message: { [k: string]: any }): (string|null); 11439 11440 /** 11441 * Creates a StartRequest message from a plain object. Also converts values to their respective internal types. 11442 * @param object Plain object 11443 * @returns StartRequest 11444 */ 11445 public static fromObject(object: { [k: string]: any }): mysqlctl.StartRequest; 11446 11447 /** 11448 * Creates a plain object from a StartRequest message. Also converts values to other types if specified. 11449 * @param message StartRequest 11450 * @param [options] Conversion options 11451 * @returns Plain object 11452 */ 11453 public static toObject(message: mysqlctl.StartRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 11454 11455 /** 11456 * Converts this StartRequest to JSON. 11457 * @returns JSON object 11458 */ 11459 public toJSON(): { [k: string]: any }; 11460 } 11461 11462 /** Properties of a StartResponse. */ 11463 interface IStartResponse { 11464 } 11465 11466 /** Represents a StartResponse. */ 11467 class StartResponse implements IStartResponse { 11468 11469 /** 11470 * Constructs a new StartResponse. 11471 * @param [properties] Properties to set 11472 */ 11473 constructor(properties?: mysqlctl.IStartResponse); 11474 11475 /** 11476 * Creates a new StartResponse instance using the specified properties. 11477 * @param [properties] Properties to set 11478 * @returns StartResponse instance 11479 */ 11480 public static create(properties?: mysqlctl.IStartResponse): mysqlctl.StartResponse; 11481 11482 /** 11483 * Encodes the specified StartResponse message. Does not implicitly {@link mysqlctl.StartResponse.verify|verify} messages. 11484 * @param message StartResponse message or plain object to encode 11485 * @param [writer] Writer to encode to 11486 * @returns Writer 11487 */ 11488 public static encode(message: mysqlctl.IStartResponse, writer?: $protobuf.Writer): $protobuf.Writer; 11489 11490 /** 11491 * Encodes the specified StartResponse message, length delimited. Does not implicitly {@link mysqlctl.StartResponse.verify|verify} messages. 11492 * @param message StartResponse message or plain object to encode 11493 * @param [writer] Writer to encode to 11494 * @returns Writer 11495 */ 11496 public static encodeDelimited(message: mysqlctl.IStartResponse, writer?: $protobuf.Writer): $protobuf.Writer; 11497 11498 /** 11499 * Decodes a StartResponse message from the specified reader or buffer. 11500 * @param reader Reader or buffer to decode from 11501 * @param [length] Message length if known beforehand 11502 * @returns StartResponse 11503 * @throws {Error} If the payload is not a reader or valid buffer 11504 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11505 */ 11506 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): mysqlctl.StartResponse; 11507 11508 /** 11509 * Decodes a StartResponse message from the specified reader or buffer, length delimited. 11510 * @param reader Reader or buffer to decode from 11511 * @returns StartResponse 11512 * @throws {Error} If the payload is not a reader or valid buffer 11513 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11514 */ 11515 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): mysqlctl.StartResponse; 11516 11517 /** 11518 * Verifies a StartResponse message. 11519 * @param message Plain object to verify 11520 * @returns `null` if valid, otherwise the reason why it is not 11521 */ 11522 public static verify(message: { [k: string]: any }): (string|null); 11523 11524 /** 11525 * Creates a StartResponse message from a plain object. Also converts values to their respective internal types. 11526 * @param object Plain object 11527 * @returns StartResponse 11528 */ 11529 public static fromObject(object: { [k: string]: any }): mysqlctl.StartResponse; 11530 11531 /** 11532 * Creates a plain object from a StartResponse message. Also converts values to other types if specified. 11533 * @param message StartResponse 11534 * @param [options] Conversion options 11535 * @returns Plain object 11536 */ 11537 public static toObject(message: mysqlctl.StartResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 11538 11539 /** 11540 * Converts this StartResponse to JSON. 11541 * @returns JSON object 11542 */ 11543 public toJSON(): { [k: string]: any }; 11544 } 11545 11546 /** Properties of a ShutdownRequest. */ 11547 interface IShutdownRequest { 11548 11549 /** ShutdownRequest wait_for_mysqld */ 11550 wait_for_mysqld?: (boolean|null); 11551 } 11552 11553 /** Represents a ShutdownRequest. */ 11554 class ShutdownRequest implements IShutdownRequest { 11555 11556 /** 11557 * Constructs a new ShutdownRequest. 11558 * @param [properties] Properties to set 11559 */ 11560 constructor(properties?: mysqlctl.IShutdownRequest); 11561 11562 /** ShutdownRequest wait_for_mysqld. */ 11563 public wait_for_mysqld: boolean; 11564 11565 /** 11566 * Creates a new ShutdownRequest instance using the specified properties. 11567 * @param [properties] Properties to set 11568 * @returns ShutdownRequest instance 11569 */ 11570 public static create(properties?: mysqlctl.IShutdownRequest): mysqlctl.ShutdownRequest; 11571 11572 /** 11573 * Encodes the specified ShutdownRequest message. Does not implicitly {@link mysqlctl.ShutdownRequest.verify|verify} messages. 11574 * @param message ShutdownRequest message or plain object to encode 11575 * @param [writer] Writer to encode to 11576 * @returns Writer 11577 */ 11578 public static encode(message: mysqlctl.IShutdownRequest, writer?: $protobuf.Writer): $protobuf.Writer; 11579 11580 /** 11581 * Encodes the specified ShutdownRequest message, length delimited. Does not implicitly {@link mysqlctl.ShutdownRequest.verify|verify} messages. 11582 * @param message ShutdownRequest message or plain object to encode 11583 * @param [writer] Writer to encode to 11584 * @returns Writer 11585 */ 11586 public static encodeDelimited(message: mysqlctl.IShutdownRequest, writer?: $protobuf.Writer): $protobuf.Writer; 11587 11588 /** 11589 * Decodes a ShutdownRequest message from the specified reader or buffer. 11590 * @param reader Reader or buffer to decode from 11591 * @param [length] Message length if known beforehand 11592 * @returns ShutdownRequest 11593 * @throws {Error} If the payload is not a reader or valid buffer 11594 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11595 */ 11596 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): mysqlctl.ShutdownRequest; 11597 11598 /** 11599 * Decodes a ShutdownRequest message from the specified reader or buffer, length delimited. 11600 * @param reader Reader or buffer to decode from 11601 * @returns ShutdownRequest 11602 * @throws {Error} If the payload is not a reader or valid buffer 11603 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11604 */ 11605 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): mysqlctl.ShutdownRequest; 11606 11607 /** 11608 * Verifies a ShutdownRequest message. 11609 * @param message Plain object to verify 11610 * @returns `null` if valid, otherwise the reason why it is not 11611 */ 11612 public static verify(message: { [k: string]: any }): (string|null); 11613 11614 /** 11615 * Creates a ShutdownRequest message from a plain object. Also converts values to their respective internal types. 11616 * @param object Plain object 11617 * @returns ShutdownRequest 11618 */ 11619 public static fromObject(object: { [k: string]: any }): mysqlctl.ShutdownRequest; 11620 11621 /** 11622 * Creates a plain object from a ShutdownRequest message. Also converts values to other types if specified. 11623 * @param message ShutdownRequest 11624 * @param [options] Conversion options 11625 * @returns Plain object 11626 */ 11627 public static toObject(message: mysqlctl.ShutdownRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 11628 11629 /** 11630 * Converts this ShutdownRequest to JSON. 11631 * @returns JSON object 11632 */ 11633 public toJSON(): { [k: string]: any }; 11634 } 11635 11636 /** Properties of a ShutdownResponse. */ 11637 interface IShutdownResponse { 11638 } 11639 11640 /** Represents a ShutdownResponse. */ 11641 class ShutdownResponse implements IShutdownResponse { 11642 11643 /** 11644 * Constructs a new ShutdownResponse. 11645 * @param [properties] Properties to set 11646 */ 11647 constructor(properties?: mysqlctl.IShutdownResponse); 11648 11649 /** 11650 * Creates a new ShutdownResponse instance using the specified properties. 11651 * @param [properties] Properties to set 11652 * @returns ShutdownResponse instance 11653 */ 11654 public static create(properties?: mysqlctl.IShutdownResponse): mysqlctl.ShutdownResponse; 11655 11656 /** 11657 * Encodes the specified ShutdownResponse message. Does not implicitly {@link mysqlctl.ShutdownResponse.verify|verify} messages. 11658 * @param message ShutdownResponse message or plain object to encode 11659 * @param [writer] Writer to encode to 11660 * @returns Writer 11661 */ 11662 public static encode(message: mysqlctl.IShutdownResponse, writer?: $protobuf.Writer): $protobuf.Writer; 11663 11664 /** 11665 * Encodes the specified ShutdownResponse message, length delimited. Does not implicitly {@link mysqlctl.ShutdownResponse.verify|verify} messages. 11666 * @param message ShutdownResponse message or plain object to encode 11667 * @param [writer] Writer to encode to 11668 * @returns Writer 11669 */ 11670 public static encodeDelimited(message: mysqlctl.IShutdownResponse, writer?: $protobuf.Writer): $protobuf.Writer; 11671 11672 /** 11673 * Decodes a ShutdownResponse message from the specified reader or buffer. 11674 * @param reader Reader or buffer to decode from 11675 * @param [length] Message length if known beforehand 11676 * @returns ShutdownResponse 11677 * @throws {Error} If the payload is not a reader or valid buffer 11678 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11679 */ 11680 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): mysqlctl.ShutdownResponse; 11681 11682 /** 11683 * Decodes a ShutdownResponse message from the specified reader or buffer, length delimited. 11684 * @param reader Reader or buffer to decode from 11685 * @returns ShutdownResponse 11686 * @throws {Error} If the payload is not a reader or valid buffer 11687 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11688 */ 11689 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): mysqlctl.ShutdownResponse; 11690 11691 /** 11692 * Verifies a ShutdownResponse message. 11693 * @param message Plain object to verify 11694 * @returns `null` if valid, otherwise the reason why it is not 11695 */ 11696 public static verify(message: { [k: string]: any }): (string|null); 11697 11698 /** 11699 * Creates a ShutdownResponse message from a plain object. Also converts values to their respective internal types. 11700 * @param object Plain object 11701 * @returns ShutdownResponse 11702 */ 11703 public static fromObject(object: { [k: string]: any }): mysqlctl.ShutdownResponse; 11704 11705 /** 11706 * Creates a plain object from a ShutdownResponse message. Also converts values to other types if specified. 11707 * @param message ShutdownResponse 11708 * @param [options] Conversion options 11709 * @returns Plain object 11710 */ 11711 public static toObject(message: mysqlctl.ShutdownResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 11712 11713 /** 11714 * Converts this ShutdownResponse to JSON. 11715 * @returns JSON object 11716 */ 11717 public toJSON(): { [k: string]: any }; 11718 } 11719 11720 /** Properties of a RunMysqlUpgradeRequest. */ 11721 interface IRunMysqlUpgradeRequest { 11722 } 11723 11724 /** Represents a RunMysqlUpgradeRequest. */ 11725 class RunMysqlUpgradeRequest implements IRunMysqlUpgradeRequest { 11726 11727 /** 11728 * Constructs a new RunMysqlUpgradeRequest. 11729 * @param [properties] Properties to set 11730 */ 11731 constructor(properties?: mysqlctl.IRunMysqlUpgradeRequest); 11732 11733 /** 11734 * Creates a new RunMysqlUpgradeRequest instance using the specified properties. 11735 * @param [properties] Properties to set 11736 * @returns RunMysqlUpgradeRequest instance 11737 */ 11738 public static create(properties?: mysqlctl.IRunMysqlUpgradeRequest): mysqlctl.RunMysqlUpgradeRequest; 11739 11740 /** 11741 * Encodes the specified RunMysqlUpgradeRequest message. Does not implicitly {@link mysqlctl.RunMysqlUpgradeRequest.verify|verify} messages. 11742 * @param message RunMysqlUpgradeRequest message or plain object to encode 11743 * @param [writer] Writer to encode to 11744 * @returns Writer 11745 */ 11746 public static encode(message: mysqlctl.IRunMysqlUpgradeRequest, writer?: $protobuf.Writer): $protobuf.Writer; 11747 11748 /** 11749 * Encodes the specified RunMysqlUpgradeRequest message, length delimited. Does not implicitly {@link mysqlctl.RunMysqlUpgradeRequest.verify|verify} messages. 11750 * @param message RunMysqlUpgradeRequest message or plain object to encode 11751 * @param [writer] Writer to encode to 11752 * @returns Writer 11753 */ 11754 public static encodeDelimited(message: mysqlctl.IRunMysqlUpgradeRequest, writer?: $protobuf.Writer): $protobuf.Writer; 11755 11756 /** 11757 * Decodes a RunMysqlUpgradeRequest message from the specified reader or buffer. 11758 * @param reader Reader or buffer to decode from 11759 * @param [length] Message length if known beforehand 11760 * @returns RunMysqlUpgradeRequest 11761 * @throws {Error} If the payload is not a reader or valid buffer 11762 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11763 */ 11764 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): mysqlctl.RunMysqlUpgradeRequest; 11765 11766 /** 11767 * Decodes a RunMysqlUpgradeRequest message from the specified reader or buffer, length delimited. 11768 * @param reader Reader or buffer to decode from 11769 * @returns RunMysqlUpgradeRequest 11770 * @throws {Error} If the payload is not a reader or valid buffer 11771 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11772 */ 11773 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): mysqlctl.RunMysqlUpgradeRequest; 11774 11775 /** 11776 * Verifies a RunMysqlUpgradeRequest message. 11777 * @param message Plain object to verify 11778 * @returns `null` if valid, otherwise the reason why it is not 11779 */ 11780 public static verify(message: { [k: string]: any }): (string|null); 11781 11782 /** 11783 * Creates a RunMysqlUpgradeRequest message from a plain object. Also converts values to their respective internal types. 11784 * @param object Plain object 11785 * @returns RunMysqlUpgradeRequest 11786 */ 11787 public static fromObject(object: { [k: string]: any }): mysqlctl.RunMysqlUpgradeRequest; 11788 11789 /** 11790 * Creates a plain object from a RunMysqlUpgradeRequest message. Also converts values to other types if specified. 11791 * @param message RunMysqlUpgradeRequest 11792 * @param [options] Conversion options 11793 * @returns Plain object 11794 */ 11795 public static toObject(message: mysqlctl.RunMysqlUpgradeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 11796 11797 /** 11798 * Converts this RunMysqlUpgradeRequest to JSON. 11799 * @returns JSON object 11800 */ 11801 public toJSON(): { [k: string]: any }; 11802 } 11803 11804 /** Properties of a RunMysqlUpgradeResponse. */ 11805 interface IRunMysqlUpgradeResponse { 11806 } 11807 11808 /** Represents a RunMysqlUpgradeResponse. */ 11809 class RunMysqlUpgradeResponse implements IRunMysqlUpgradeResponse { 11810 11811 /** 11812 * Constructs a new RunMysqlUpgradeResponse. 11813 * @param [properties] Properties to set 11814 */ 11815 constructor(properties?: mysqlctl.IRunMysqlUpgradeResponse); 11816 11817 /** 11818 * Creates a new RunMysqlUpgradeResponse instance using the specified properties. 11819 * @param [properties] Properties to set 11820 * @returns RunMysqlUpgradeResponse instance 11821 */ 11822 public static create(properties?: mysqlctl.IRunMysqlUpgradeResponse): mysqlctl.RunMysqlUpgradeResponse; 11823 11824 /** 11825 * Encodes the specified RunMysqlUpgradeResponse message. Does not implicitly {@link mysqlctl.RunMysqlUpgradeResponse.verify|verify} messages. 11826 * @param message RunMysqlUpgradeResponse message or plain object to encode 11827 * @param [writer] Writer to encode to 11828 * @returns Writer 11829 */ 11830 public static encode(message: mysqlctl.IRunMysqlUpgradeResponse, writer?: $protobuf.Writer): $protobuf.Writer; 11831 11832 /** 11833 * Encodes the specified RunMysqlUpgradeResponse message, length delimited. Does not implicitly {@link mysqlctl.RunMysqlUpgradeResponse.verify|verify} messages. 11834 * @param message RunMysqlUpgradeResponse message or plain object to encode 11835 * @param [writer] Writer to encode to 11836 * @returns Writer 11837 */ 11838 public static encodeDelimited(message: mysqlctl.IRunMysqlUpgradeResponse, writer?: $protobuf.Writer): $protobuf.Writer; 11839 11840 /** 11841 * Decodes a RunMysqlUpgradeResponse message from the specified reader or buffer. 11842 * @param reader Reader or buffer to decode from 11843 * @param [length] Message length if known beforehand 11844 * @returns RunMysqlUpgradeResponse 11845 * @throws {Error} If the payload is not a reader or valid buffer 11846 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11847 */ 11848 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): mysqlctl.RunMysqlUpgradeResponse; 11849 11850 /** 11851 * Decodes a RunMysqlUpgradeResponse message from the specified reader or buffer, length delimited. 11852 * @param reader Reader or buffer to decode from 11853 * @returns RunMysqlUpgradeResponse 11854 * @throws {Error} If the payload is not a reader or valid buffer 11855 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11856 */ 11857 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): mysqlctl.RunMysqlUpgradeResponse; 11858 11859 /** 11860 * Verifies a RunMysqlUpgradeResponse message. 11861 * @param message Plain object to verify 11862 * @returns `null` if valid, otherwise the reason why it is not 11863 */ 11864 public static verify(message: { [k: string]: any }): (string|null); 11865 11866 /** 11867 * Creates a RunMysqlUpgradeResponse message from a plain object. Also converts values to their respective internal types. 11868 * @param object Plain object 11869 * @returns RunMysqlUpgradeResponse 11870 */ 11871 public static fromObject(object: { [k: string]: any }): mysqlctl.RunMysqlUpgradeResponse; 11872 11873 /** 11874 * Creates a plain object from a RunMysqlUpgradeResponse message. Also converts values to other types if specified. 11875 * @param message RunMysqlUpgradeResponse 11876 * @param [options] Conversion options 11877 * @returns Plain object 11878 */ 11879 public static toObject(message: mysqlctl.RunMysqlUpgradeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 11880 11881 /** 11882 * Converts this RunMysqlUpgradeResponse to JSON. 11883 * @returns JSON object 11884 */ 11885 public toJSON(): { [k: string]: any }; 11886 } 11887 11888 /** Properties of a ReinitConfigRequest. */ 11889 interface IReinitConfigRequest { 11890 } 11891 11892 /** Represents a ReinitConfigRequest. */ 11893 class ReinitConfigRequest implements IReinitConfigRequest { 11894 11895 /** 11896 * Constructs a new ReinitConfigRequest. 11897 * @param [properties] Properties to set 11898 */ 11899 constructor(properties?: mysqlctl.IReinitConfigRequest); 11900 11901 /** 11902 * Creates a new ReinitConfigRequest instance using the specified properties. 11903 * @param [properties] Properties to set 11904 * @returns ReinitConfigRequest instance 11905 */ 11906 public static create(properties?: mysqlctl.IReinitConfigRequest): mysqlctl.ReinitConfigRequest; 11907 11908 /** 11909 * Encodes the specified ReinitConfigRequest message. Does not implicitly {@link mysqlctl.ReinitConfigRequest.verify|verify} messages. 11910 * @param message ReinitConfigRequest message or plain object to encode 11911 * @param [writer] Writer to encode to 11912 * @returns Writer 11913 */ 11914 public static encode(message: mysqlctl.IReinitConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; 11915 11916 /** 11917 * Encodes the specified ReinitConfigRequest message, length delimited. Does not implicitly {@link mysqlctl.ReinitConfigRequest.verify|verify} messages. 11918 * @param message ReinitConfigRequest message or plain object to encode 11919 * @param [writer] Writer to encode to 11920 * @returns Writer 11921 */ 11922 public static encodeDelimited(message: mysqlctl.IReinitConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; 11923 11924 /** 11925 * Decodes a ReinitConfigRequest message from the specified reader or buffer. 11926 * @param reader Reader or buffer to decode from 11927 * @param [length] Message length if known beforehand 11928 * @returns ReinitConfigRequest 11929 * @throws {Error} If the payload is not a reader or valid buffer 11930 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11931 */ 11932 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): mysqlctl.ReinitConfigRequest; 11933 11934 /** 11935 * Decodes a ReinitConfigRequest message from the specified reader or buffer, length delimited. 11936 * @param reader Reader or buffer to decode from 11937 * @returns ReinitConfigRequest 11938 * @throws {Error} If the payload is not a reader or valid buffer 11939 * @throws {$protobuf.util.ProtocolError} If required fields are missing 11940 */ 11941 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): mysqlctl.ReinitConfigRequest; 11942 11943 /** 11944 * Verifies a ReinitConfigRequest message. 11945 * @param message Plain object to verify 11946 * @returns `null` if valid, otherwise the reason why it is not 11947 */ 11948 public static verify(message: { [k: string]: any }): (string|null); 11949 11950 /** 11951 * Creates a ReinitConfigRequest message from a plain object. Also converts values to their respective internal types. 11952 * @param object Plain object 11953 * @returns ReinitConfigRequest 11954 */ 11955 public static fromObject(object: { [k: string]: any }): mysqlctl.ReinitConfigRequest; 11956 11957 /** 11958 * Creates a plain object from a ReinitConfigRequest message. Also converts values to other types if specified. 11959 * @param message ReinitConfigRequest 11960 * @param [options] Conversion options 11961 * @returns Plain object 11962 */ 11963 public static toObject(message: mysqlctl.ReinitConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 11964 11965 /** 11966 * Converts this ReinitConfigRequest to JSON. 11967 * @returns JSON object 11968 */ 11969 public toJSON(): { [k: string]: any }; 11970 } 11971 11972 /** Properties of a ReinitConfigResponse. */ 11973 interface IReinitConfigResponse { 11974 } 11975 11976 /** Represents a ReinitConfigResponse. */ 11977 class ReinitConfigResponse implements IReinitConfigResponse { 11978 11979 /** 11980 * Constructs a new ReinitConfigResponse. 11981 * @param [properties] Properties to set 11982 */ 11983 constructor(properties?: mysqlctl.IReinitConfigResponse); 11984 11985 /** 11986 * Creates a new ReinitConfigResponse instance using the specified properties. 11987 * @param [properties] Properties to set 11988 * @returns ReinitConfigResponse instance 11989 */ 11990 public static create(properties?: mysqlctl.IReinitConfigResponse): mysqlctl.ReinitConfigResponse; 11991 11992 /** 11993 * Encodes the specified ReinitConfigResponse message. Does not implicitly {@link mysqlctl.ReinitConfigResponse.verify|verify} messages. 11994 * @param message ReinitConfigResponse message or plain object to encode 11995 * @param [writer] Writer to encode to 11996 * @returns Writer 11997 */ 11998 public static encode(message: mysqlctl.IReinitConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; 11999 12000 /** 12001 * Encodes the specified ReinitConfigResponse message, length delimited. Does not implicitly {@link mysqlctl.ReinitConfigResponse.verify|verify} messages. 12002 * @param message ReinitConfigResponse message or plain object to encode 12003 * @param [writer] Writer to encode to 12004 * @returns Writer 12005 */ 12006 public static encodeDelimited(message: mysqlctl.IReinitConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; 12007 12008 /** 12009 * Decodes a ReinitConfigResponse message from the specified reader or buffer. 12010 * @param reader Reader or buffer to decode from 12011 * @param [length] Message length if known beforehand 12012 * @returns ReinitConfigResponse 12013 * @throws {Error} If the payload is not a reader or valid buffer 12014 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12015 */ 12016 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): mysqlctl.ReinitConfigResponse; 12017 12018 /** 12019 * Decodes a ReinitConfigResponse message from the specified reader or buffer, length delimited. 12020 * @param reader Reader or buffer to decode from 12021 * @returns ReinitConfigResponse 12022 * @throws {Error} If the payload is not a reader or valid buffer 12023 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12024 */ 12025 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): mysqlctl.ReinitConfigResponse; 12026 12027 /** 12028 * Verifies a ReinitConfigResponse message. 12029 * @param message Plain object to verify 12030 * @returns `null` if valid, otherwise the reason why it is not 12031 */ 12032 public static verify(message: { [k: string]: any }): (string|null); 12033 12034 /** 12035 * Creates a ReinitConfigResponse message from a plain object. Also converts values to their respective internal types. 12036 * @param object Plain object 12037 * @returns ReinitConfigResponse 12038 */ 12039 public static fromObject(object: { [k: string]: any }): mysqlctl.ReinitConfigResponse; 12040 12041 /** 12042 * Creates a plain object from a ReinitConfigResponse message. Also converts values to other types if specified. 12043 * @param message ReinitConfigResponse 12044 * @param [options] Conversion options 12045 * @returns Plain object 12046 */ 12047 public static toObject(message: mysqlctl.ReinitConfigResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 12048 12049 /** 12050 * Converts this ReinitConfigResponse to JSON. 12051 * @returns JSON object 12052 */ 12053 public toJSON(): { [k: string]: any }; 12054 } 12055 12056 /** Properties of a RefreshConfigRequest. */ 12057 interface IRefreshConfigRequest { 12058 } 12059 12060 /** Represents a RefreshConfigRequest. */ 12061 class RefreshConfigRequest implements IRefreshConfigRequest { 12062 12063 /** 12064 * Constructs a new RefreshConfigRequest. 12065 * @param [properties] Properties to set 12066 */ 12067 constructor(properties?: mysqlctl.IRefreshConfigRequest); 12068 12069 /** 12070 * Creates a new RefreshConfigRequest instance using the specified properties. 12071 * @param [properties] Properties to set 12072 * @returns RefreshConfigRequest instance 12073 */ 12074 public static create(properties?: mysqlctl.IRefreshConfigRequest): mysqlctl.RefreshConfigRequest; 12075 12076 /** 12077 * Encodes the specified RefreshConfigRequest message. Does not implicitly {@link mysqlctl.RefreshConfigRequest.verify|verify} messages. 12078 * @param message RefreshConfigRequest message or plain object to encode 12079 * @param [writer] Writer to encode to 12080 * @returns Writer 12081 */ 12082 public static encode(message: mysqlctl.IRefreshConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; 12083 12084 /** 12085 * Encodes the specified RefreshConfigRequest message, length delimited. Does not implicitly {@link mysqlctl.RefreshConfigRequest.verify|verify} messages. 12086 * @param message RefreshConfigRequest message or plain object to encode 12087 * @param [writer] Writer to encode to 12088 * @returns Writer 12089 */ 12090 public static encodeDelimited(message: mysqlctl.IRefreshConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; 12091 12092 /** 12093 * Decodes a RefreshConfigRequest message from the specified reader or buffer. 12094 * @param reader Reader or buffer to decode from 12095 * @param [length] Message length if known beforehand 12096 * @returns RefreshConfigRequest 12097 * @throws {Error} If the payload is not a reader or valid buffer 12098 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12099 */ 12100 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): mysqlctl.RefreshConfigRequest; 12101 12102 /** 12103 * Decodes a RefreshConfigRequest message from the specified reader or buffer, length delimited. 12104 * @param reader Reader or buffer to decode from 12105 * @returns RefreshConfigRequest 12106 * @throws {Error} If the payload is not a reader or valid buffer 12107 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12108 */ 12109 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): mysqlctl.RefreshConfigRequest; 12110 12111 /** 12112 * Verifies a RefreshConfigRequest message. 12113 * @param message Plain object to verify 12114 * @returns `null` if valid, otherwise the reason why it is not 12115 */ 12116 public static verify(message: { [k: string]: any }): (string|null); 12117 12118 /** 12119 * Creates a RefreshConfigRequest message from a plain object. Also converts values to their respective internal types. 12120 * @param object Plain object 12121 * @returns RefreshConfigRequest 12122 */ 12123 public static fromObject(object: { [k: string]: any }): mysqlctl.RefreshConfigRequest; 12124 12125 /** 12126 * Creates a plain object from a RefreshConfigRequest message. Also converts values to other types if specified. 12127 * @param message RefreshConfigRequest 12128 * @param [options] Conversion options 12129 * @returns Plain object 12130 */ 12131 public static toObject(message: mysqlctl.RefreshConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 12132 12133 /** 12134 * Converts this RefreshConfigRequest to JSON. 12135 * @returns JSON object 12136 */ 12137 public toJSON(): { [k: string]: any }; 12138 } 12139 12140 /** Properties of a RefreshConfigResponse. */ 12141 interface IRefreshConfigResponse { 12142 } 12143 12144 /** Represents a RefreshConfigResponse. */ 12145 class RefreshConfigResponse implements IRefreshConfigResponse { 12146 12147 /** 12148 * Constructs a new RefreshConfigResponse. 12149 * @param [properties] Properties to set 12150 */ 12151 constructor(properties?: mysqlctl.IRefreshConfigResponse); 12152 12153 /** 12154 * Creates a new RefreshConfigResponse instance using the specified properties. 12155 * @param [properties] Properties to set 12156 * @returns RefreshConfigResponse instance 12157 */ 12158 public static create(properties?: mysqlctl.IRefreshConfigResponse): mysqlctl.RefreshConfigResponse; 12159 12160 /** 12161 * Encodes the specified RefreshConfigResponse message. Does not implicitly {@link mysqlctl.RefreshConfigResponse.verify|verify} messages. 12162 * @param message RefreshConfigResponse message or plain object to encode 12163 * @param [writer] Writer to encode to 12164 * @returns Writer 12165 */ 12166 public static encode(message: mysqlctl.IRefreshConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; 12167 12168 /** 12169 * Encodes the specified RefreshConfigResponse message, length delimited. Does not implicitly {@link mysqlctl.RefreshConfigResponse.verify|verify} messages. 12170 * @param message RefreshConfigResponse message or plain object to encode 12171 * @param [writer] Writer to encode to 12172 * @returns Writer 12173 */ 12174 public static encodeDelimited(message: mysqlctl.IRefreshConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; 12175 12176 /** 12177 * Decodes a RefreshConfigResponse message from the specified reader or buffer. 12178 * @param reader Reader or buffer to decode from 12179 * @param [length] Message length if known beforehand 12180 * @returns RefreshConfigResponse 12181 * @throws {Error} If the payload is not a reader or valid buffer 12182 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12183 */ 12184 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): mysqlctl.RefreshConfigResponse; 12185 12186 /** 12187 * Decodes a RefreshConfigResponse message from the specified reader or buffer, length delimited. 12188 * @param reader Reader or buffer to decode from 12189 * @returns RefreshConfigResponse 12190 * @throws {Error} If the payload is not a reader or valid buffer 12191 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12192 */ 12193 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): mysqlctl.RefreshConfigResponse; 12194 12195 /** 12196 * Verifies a RefreshConfigResponse message. 12197 * @param message Plain object to verify 12198 * @returns `null` if valid, otherwise the reason why it is not 12199 */ 12200 public static verify(message: { [k: string]: any }): (string|null); 12201 12202 /** 12203 * Creates a RefreshConfigResponse message from a plain object. Also converts values to their respective internal types. 12204 * @param object Plain object 12205 * @returns RefreshConfigResponse 12206 */ 12207 public static fromObject(object: { [k: string]: any }): mysqlctl.RefreshConfigResponse; 12208 12209 /** 12210 * Creates a plain object from a RefreshConfigResponse message. Also converts values to other types if specified. 12211 * @param message RefreshConfigResponse 12212 * @param [options] Conversion options 12213 * @returns Plain object 12214 */ 12215 public static toObject(message: mysqlctl.RefreshConfigResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 12216 12217 /** 12218 * Converts this RefreshConfigResponse to JSON. 12219 * @returns JSON object 12220 */ 12221 public toJSON(): { [k: string]: any }; 12222 } 12223 12224 /** Represents a MysqlCtl */ 12225 class MysqlCtl extends $protobuf.rpc.Service { 12226 12227 /** 12228 * Constructs a new MysqlCtl service. 12229 * @param rpcImpl RPC implementation 12230 * @param [requestDelimited=false] Whether requests are length-delimited 12231 * @param [responseDelimited=false] Whether responses are length-delimited 12232 */ 12233 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); 12234 12235 /** 12236 * Creates new MysqlCtl service using the specified rpc implementation. 12237 * @param rpcImpl RPC implementation 12238 * @param [requestDelimited=false] Whether requests are length-delimited 12239 * @param [responseDelimited=false] Whether responses are length-delimited 12240 * @returns RPC service. Useful where requests and/or responses are streamed. 12241 */ 12242 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): MysqlCtl; 12243 12244 /** 12245 * Calls Start. 12246 * @param request StartRequest message or plain object 12247 * @param callback Node-style callback called with the error, if any, and StartResponse 12248 */ 12249 public start(request: mysqlctl.IStartRequest, callback: mysqlctl.MysqlCtl.StartCallback): void; 12250 12251 /** 12252 * Calls Start. 12253 * @param request StartRequest message or plain object 12254 * @returns Promise 12255 */ 12256 public start(request: mysqlctl.IStartRequest): Promise<mysqlctl.StartResponse>; 12257 12258 /** 12259 * Calls Shutdown. 12260 * @param request ShutdownRequest message or plain object 12261 * @param callback Node-style callback called with the error, if any, and ShutdownResponse 12262 */ 12263 public shutdown(request: mysqlctl.IShutdownRequest, callback: mysqlctl.MysqlCtl.ShutdownCallback): void; 12264 12265 /** 12266 * Calls Shutdown. 12267 * @param request ShutdownRequest message or plain object 12268 * @returns Promise 12269 */ 12270 public shutdown(request: mysqlctl.IShutdownRequest): Promise<mysqlctl.ShutdownResponse>; 12271 12272 /** 12273 * Calls RunMysqlUpgrade. 12274 * @param request RunMysqlUpgradeRequest message or plain object 12275 * @param callback Node-style callback called with the error, if any, and RunMysqlUpgradeResponse 12276 */ 12277 public runMysqlUpgrade(request: mysqlctl.IRunMysqlUpgradeRequest, callback: mysqlctl.MysqlCtl.RunMysqlUpgradeCallback): void; 12278 12279 /** 12280 * Calls RunMysqlUpgrade. 12281 * @param request RunMysqlUpgradeRequest message or plain object 12282 * @returns Promise 12283 */ 12284 public runMysqlUpgrade(request: mysqlctl.IRunMysqlUpgradeRequest): Promise<mysqlctl.RunMysqlUpgradeResponse>; 12285 12286 /** 12287 * Calls ReinitConfig. 12288 * @param request ReinitConfigRequest message or plain object 12289 * @param callback Node-style callback called with the error, if any, and ReinitConfigResponse 12290 */ 12291 public reinitConfig(request: mysqlctl.IReinitConfigRequest, callback: mysqlctl.MysqlCtl.ReinitConfigCallback): void; 12292 12293 /** 12294 * Calls ReinitConfig. 12295 * @param request ReinitConfigRequest message or plain object 12296 * @returns Promise 12297 */ 12298 public reinitConfig(request: mysqlctl.IReinitConfigRequest): Promise<mysqlctl.ReinitConfigResponse>; 12299 12300 /** 12301 * Calls RefreshConfig. 12302 * @param request RefreshConfigRequest message or plain object 12303 * @param callback Node-style callback called with the error, if any, and RefreshConfigResponse 12304 */ 12305 public refreshConfig(request: mysqlctl.IRefreshConfigRequest, callback: mysqlctl.MysqlCtl.RefreshConfigCallback): void; 12306 12307 /** 12308 * Calls RefreshConfig. 12309 * @param request RefreshConfigRequest message or plain object 12310 * @returns Promise 12311 */ 12312 public refreshConfig(request: mysqlctl.IRefreshConfigRequest): Promise<mysqlctl.RefreshConfigResponse>; 12313 } 12314 12315 namespace MysqlCtl { 12316 12317 /** 12318 * Callback as used by {@link mysqlctl.MysqlCtl#start}. 12319 * @param error Error, if any 12320 * @param [response] StartResponse 12321 */ 12322 type StartCallback = (error: (Error|null), response?: mysqlctl.StartResponse) => void; 12323 12324 /** 12325 * Callback as used by {@link mysqlctl.MysqlCtl#shutdown}. 12326 * @param error Error, if any 12327 * @param [response] ShutdownResponse 12328 */ 12329 type ShutdownCallback = (error: (Error|null), response?: mysqlctl.ShutdownResponse) => void; 12330 12331 /** 12332 * Callback as used by {@link mysqlctl.MysqlCtl#runMysqlUpgrade}. 12333 * @param error Error, if any 12334 * @param [response] RunMysqlUpgradeResponse 12335 */ 12336 type RunMysqlUpgradeCallback = (error: (Error|null), response?: mysqlctl.RunMysqlUpgradeResponse) => void; 12337 12338 /** 12339 * Callback as used by {@link mysqlctl.MysqlCtl#reinitConfig}. 12340 * @param error Error, if any 12341 * @param [response] ReinitConfigResponse 12342 */ 12343 type ReinitConfigCallback = (error: (Error|null), response?: mysqlctl.ReinitConfigResponse) => void; 12344 12345 /** 12346 * Callback as used by {@link mysqlctl.MysqlCtl#refreshConfig}. 12347 * @param error Error, if any 12348 * @param [response] RefreshConfigResponse 12349 */ 12350 type RefreshConfigCallback = (error: (Error|null), response?: mysqlctl.RefreshConfigResponse) => void; 12351 } 12352 12353 /** Properties of a BackupInfo. */ 12354 interface IBackupInfo { 12355 12356 /** BackupInfo name */ 12357 name?: (string|null); 12358 12359 /** BackupInfo directory */ 12360 directory?: (string|null); 12361 12362 /** BackupInfo keyspace */ 12363 keyspace?: (string|null); 12364 12365 /** BackupInfo shard */ 12366 shard?: (string|null); 12367 12368 /** BackupInfo tablet_alias */ 12369 tablet_alias?: (topodata.ITabletAlias|null); 12370 12371 /** BackupInfo time */ 12372 time?: (vttime.ITime|null); 12373 12374 /** BackupInfo engine */ 12375 engine?: (string|null); 12376 12377 /** BackupInfo status */ 12378 status?: (mysqlctl.BackupInfo.Status|null); 12379 } 12380 12381 /** Represents a BackupInfo. */ 12382 class BackupInfo implements IBackupInfo { 12383 12384 /** 12385 * Constructs a new BackupInfo. 12386 * @param [properties] Properties to set 12387 */ 12388 constructor(properties?: mysqlctl.IBackupInfo); 12389 12390 /** BackupInfo name. */ 12391 public name: string; 12392 12393 /** BackupInfo directory. */ 12394 public directory: string; 12395 12396 /** BackupInfo keyspace. */ 12397 public keyspace: string; 12398 12399 /** BackupInfo shard. */ 12400 public shard: string; 12401 12402 /** BackupInfo tablet_alias. */ 12403 public tablet_alias?: (topodata.ITabletAlias|null); 12404 12405 /** BackupInfo time. */ 12406 public time?: (vttime.ITime|null); 12407 12408 /** BackupInfo engine. */ 12409 public engine: string; 12410 12411 /** BackupInfo status. */ 12412 public status: mysqlctl.BackupInfo.Status; 12413 12414 /** 12415 * Creates a new BackupInfo instance using the specified properties. 12416 * @param [properties] Properties to set 12417 * @returns BackupInfo instance 12418 */ 12419 public static create(properties?: mysqlctl.IBackupInfo): mysqlctl.BackupInfo; 12420 12421 /** 12422 * Encodes the specified BackupInfo message. Does not implicitly {@link mysqlctl.BackupInfo.verify|verify} messages. 12423 * @param message BackupInfo message or plain object to encode 12424 * @param [writer] Writer to encode to 12425 * @returns Writer 12426 */ 12427 public static encode(message: mysqlctl.IBackupInfo, writer?: $protobuf.Writer): $protobuf.Writer; 12428 12429 /** 12430 * Encodes the specified BackupInfo message, length delimited. Does not implicitly {@link mysqlctl.BackupInfo.verify|verify} messages. 12431 * @param message BackupInfo message or plain object to encode 12432 * @param [writer] Writer to encode to 12433 * @returns Writer 12434 */ 12435 public static encodeDelimited(message: mysqlctl.IBackupInfo, writer?: $protobuf.Writer): $protobuf.Writer; 12436 12437 /** 12438 * Decodes a BackupInfo message from the specified reader or buffer. 12439 * @param reader Reader or buffer to decode from 12440 * @param [length] Message length if known beforehand 12441 * @returns BackupInfo 12442 * @throws {Error} If the payload is not a reader or valid buffer 12443 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12444 */ 12445 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): mysqlctl.BackupInfo; 12446 12447 /** 12448 * Decodes a BackupInfo message from the specified reader or buffer, length delimited. 12449 * @param reader Reader or buffer to decode from 12450 * @returns BackupInfo 12451 * @throws {Error} If the payload is not a reader or valid buffer 12452 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12453 */ 12454 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): mysqlctl.BackupInfo; 12455 12456 /** 12457 * Verifies a BackupInfo message. 12458 * @param message Plain object to verify 12459 * @returns `null` if valid, otherwise the reason why it is not 12460 */ 12461 public static verify(message: { [k: string]: any }): (string|null); 12462 12463 /** 12464 * Creates a BackupInfo message from a plain object. Also converts values to their respective internal types. 12465 * @param object Plain object 12466 * @returns BackupInfo 12467 */ 12468 public static fromObject(object: { [k: string]: any }): mysqlctl.BackupInfo; 12469 12470 /** 12471 * Creates a plain object from a BackupInfo message. Also converts values to other types if specified. 12472 * @param message BackupInfo 12473 * @param [options] Conversion options 12474 * @returns Plain object 12475 */ 12476 public static toObject(message: mysqlctl.BackupInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; 12477 12478 /** 12479 * Converts this BackupInfo to JSON. 12480 * @returns JSON object 12481 */ 12482 public toJSON(): { [k: string]: any }; 12483 } 12484 12485 namespace BackupInfo { 12486 12487 /** Status enum. */ 12488 enum Status { 12489 UNKNOWN = 0, 12490 INCOMPLETE = 1, 12491 COMPLETE = 2, 12492 INVALID = 3, 12493 VALID = 4 12494 } 12495 } 12496 } 12497 12498 /** Namespace topodata. */ 12499 export namespace topodata { 12500 12501 /** Properties of a KeyRange. */ 12502 interface IKeyRange { 12503 12504 /** KeyRange start */ 12505 start?: (Uint8Array|null); 12506 12507 /** KeyRange end */ 12508 end?: (Uint8Array|null); 12509 } 12510 12511 /** Represents a KeyRange. */ 12512 class KeyRange implements IKeyRange { 12513 12514 /** 12515 * Constructs a new KeyRange. 12516 * @param [properties] Properties to set 12517 */ 12518 constructor(properties?: topodata.IKeyRange); 12519 12520 /** KeyRange start. */ 12521 public start: Uint8Array; 12522 12523 /** KeyRange end. */ 12524 public end: Uint8Array; 12525 12526 /** 12527 * Creates a new KeyRange instance using the specified properties. 12528 * @param [properties] Properties to set 12529 * @returns KeyRange instance 12530 */ 12531 public static create(properties?: topodata.IKeyRange): topodata.KeyRange; 12532 12533 /** 12534 * Encodes the specified KeyRange message. Does not implicitly {@link topodata.KeyRange.verify|verify} messages. 12535 * @param message KeyRange message or plain object to encode 12536 * @param [writer] Writer to encode to 12537 * @returns Writer 12538 */ 12539 public static encode(message: topodata.IKeyRange, writer?: $protobuf.Writer): $protobuf.Writer; 12540 12541 /** 12542 * Encodes the specified KeyRange message, length delimited. Does not implicitly {@link topodata.KeyRange.verify|verify} messages. 12543 * @param message KeyRange message or plain object to encode 12544 * @param [writer] Writer to encode to 12545 * @returns Writer 12546 */ 12547 public static encodeDelimited(message: topodata.IKeyRange, writer?: $protobuf.Writer): $protobuf.Writer; 12548 12549 /** 12550 * Decodes a KeyRange message from the specified reader or buffer. 12551 * @param reader Reader or buffer to decode from 12552 * @param [length] Message length if known beforehand 12553 * @returns KeyRange 12554 * @throws {Error} If the payload is not a reader or valid buffer 12555 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12556 */ 12557 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.KeyRange; 12558 12559 /** 12560 * Decodes a KeyRange message from the specified reader or buffer, length delimited. 12561 * @param reader Reader or buffer to decode from 12562 * @returns KeyRange 12563 * @throws {Error} If the payload is not a reader or valid buffer 12564 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12565 */ 12566 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.KeyRange; 12567 12568 /** 12569 * Verifies a KeyRange message. 12570 * @param message Plain object to verify 12571 * @returns `null` if valid, otherwise the reason why it is not 12572 */ 12573 public static verify(message: { [k: string]: any }): (string|null); 12574 12575 /** 12576 * Creates a KeyRange message from a plain object. Also converts values to their respective internal types. 12577 * @param object Plain object 12578 * @returns KeyRange 12579 */ 12580 public static fromObject(object: { [k: string]: any }): topodata.KeyRange; 12581 12582 /** 12583 * Creates a plain object from a KeyRange message. Also converts values to other types if specified. 12584 * @param message KeyRange 12585 * @param [options] Conversion options 12586 * @returns Plain object 12587 */ 12588 public static toObject(message: topodata.KeyRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; 12589 12590 /** 12591 * Converts this KeyRange to JSON. 12592 * @returns JSON object 12593 */ 12594 public toJSON(): { [k: string]: any }; 12595 } 12596 12597 /** KeyspaceType enum. */ 12598 enum KeyspaceType { 12599 NORMAL = 0, 12600 SNAPSHOT = 1 12601 } 12602 12603 /** Properties of a TabletAlias. */ 12604 interface ITabletAlias { 12605 12606 /** TabletAlias cell */ 12607 cell?: (string|null); 12608 12609 /** TabletAlias uid */ 12610 uid?: (number|null); 12611 } 12612 12613 /** Represents a TabletAlias. */ 12614 class TabletAlias implements ITabletAlias { 12615 12616 /** 12617 * Constructs a new TabletAlias. 12618 * @param [properties] Properties to set 12619 */ 12620 constructor(properties?: topodata.ITabletAlias); 12621 12622 /** TabletAlias cell. */ 12623 public cell: string; 12624 12625 /** TabletAlias uid. */ 12626 public uid: number; 12627 12628 /** 12629 * Creates a new TabletAlias instance using the specified properties. 12630 * @param [properties] Properties to set 12631 * @returns TabletAlias instance 12632 */ 12633 public static create(properties?: topodata.ITabletAlias): topodata.TabletAlias; 12634 12635 /** 12636 * Encodes the specified TabletAlias message. Does not implicitly {@link topodata.TabletAlias.verify|verify} messages. 12637 * @param message TabletAlias message or plain object to encode 12638 * @param [writer] Writer to encode to 12639 * @returns Writer 12640 */ 12641 public static encode(message: topodata.ITabletAlias, writer?: $protobuf.Writer): $protobuf.Writer; 12642 12643 /** 12644 * Encodes the specified TabletAlias message, length delimited. Does not implicitly {@link topodata.TabletAlias.verify|verify} messages. 12645 * @param message TabletAlias message or plain object to encode 12646 * @param [writer] Writer to encode to 12647 * @returns Writer 12648 */ 12649 public static encodeDelimited(message: topodata.ITabletAlias, writer?: $protobuf.Writer): $protobuf.Writer; 12650 12651 /** 12652 * Decodes a TabletAlias message from the specified reader or buffer. 12653 * @param reader Reader or buffer to decode from 12654 * @param [length] Message length if known beforehand 12655 * @returns TabletAlias 12656 * @throws {Error} If the payload is not a reader or valid buffer 12657 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12658 */ 12659 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.TabletAlias; 12660 12661 /** 12662 * Decodes a TabletAlias message from the specified reader or buffer, length delimited. 12663 * @param reader Reader or buffer to decode from 12664 * @returns TabletAlias 12665 * @throws {Error} If the payload is not a reader or valid buffer 12666 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12667 */ 12668 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.TabletAlias; 12669 12670 /** 12671 * Verifies a TabletAlias message. 12672 * @param message Plain object to verify 12673 * @returns `null` if valid, otherwise the reason why it is not 12674 */ 12675 public static verify(message: { [k: string]: any }): (string|null); 12676 12677 /** 12678 * Creates a TabletAlias message from a plain object. Also converts values to their respective internal types. 12679 * @param object Plain object 12680 * @returns TabletAlias 12681 */ 12682 public static fromObject(object: { [k: string]: any }): topodata.TabletAlias; 12683 12684 /** 12685 * Creates a plain object from a TabletAlias message. Also converts values to other types if specified. 12686 * @param message TabletAlias 12687 * @param [options] Conversion options 12688 * @returns Plain object 12689 */ 12690 public static toObject(message: topodata.TabletAlias, options?: $protobuf.IConversionOptions): { [k: string]: any }; 12691 12692 /** 12693 * Converts this TabletAlias to JSON. 12694 * @returns JSON object 12695 */ 12696 public toJSON(): { [k: string]: any }; 12697 } 12698 12699 /** TabletType enum. */ 12700 enum TabletType { 12701 UNKNOWN = 0, 12702 PRIMARY = 1, 12703 MASTER = 1, 12704 REPLICA = 2, 12705 RDONLY = 3, 12706 BATCH = 3, 12707 SPARE = 4, 12708 EXPERIMENTAL = 5, 12709 BACKUP = 6, 12710 RESTORE = 7, 12711 DRAINED = 8 12712 } 12713 12714 /** Properties of a Tablet. */ 12715 interface ITablet { 12716 12717 /** Tablet alias */ 12718 alias?: (topodata.ITabletAlias|null); 12719 12720 /** Tablet hostname */ 12721 hostname?: (string|null); 12722 12723 /** Tablet port_map */ 12724 port_map?: ({ [k: string]: number }|null); 12725 12726 /** Tablet keyspace */ 12727 keyspace?: (string|null); 12728 12729 /** Tablet shard */ 12730 shard?: (string|null); 12731 12732 /** Tablet key_range */ 12733 key_range?: (topodata.IKeyRange|null); 12734 12735 /** Tablet type */ 12736 type?: (topodata.TabletType|null); 12737 12738 /** Tablet db_name_override */ 12739 db_name_override?: (string|null); 12740 12741 /** Tablet tags */ 12742 tags?: ({ [k: string]: string }|null); 12743 12744 /** Tablet mysql_hostname */ 12745 mysql_hostname?: (string|null); 12746 12747 /** Tablet mysql_port */ 12748 mysql_port?: (number|null); 12749 12750 /** Tablet primary_term_start_time */ 12751 primary_term_start_time?: (vttime.ITime|null); 12752 12753 /** Tablet db_server_version */ 12754 db_server_version?: (string|null); 12755 12756 /** Tablet default_conn_collation */ 12757 default_conn_collation?: (number|null); 12758 } 12759 12760 /** Represents a Tablet. */ 12761 class Tablet implements ITablet { 12762 12763 /** 12764 * Constructs a new Tablet. 12765 * @param [properties] Properties to set 12766 */ 12767 constructor(properties?: topodata.ITablet); 12768 12769 /** Tablet alias. */ 12770 public alias?: (topodata.ITabletAlias|null); 12771 12772 /** Tablet hostname. */ 12773 public hostname: string; 12774 12775 /** Tablet port_map. */ 12776 public port_map: { [k: string]: number }; 12777 12778 /** Tablet keyspace. */ 12779 public keyspace: string; 12780 12781 /** Tablet shard. */ 12782 public shard: string; 12783 12784 /** Tablet key_range. */ 12785 public key_range?: (topodata.IKeyRange|null); 12786 12787 /** Tablet type. */ 12788 public type: topodata.TabletType; 12789 12790 /** Tablet db_name_override. */ 12791 public db_name_override: string; 12792 12793 /** Tablet tags. */ 12794 public tags: { [k: string]: string }; 12795 12796 /** Tablet mysql_hostname. */ 12797 public mysql_hostname: string; 12798 12799 /** Tablet mysql_port. */ 12800 public mysql_port: number; 12801 12802 /** Tablet primary_term_start_time. */ 12803 public primary_term_start_time?: (vttime.ITime|null); 12804 12805 /** Tablet db_server_version. */ 12806 public db_server_version: string; 12807 12808 /** Tablet default_conn_collation. */ 12809 public default_conn_collation: number; 12810 12811 /** 12812 * Creates a new Tablet instance using the specified properties. 12813 * @param [properties] Properties to set 12814 * @returns Tablet instance 12815 */ 12816 public static create(properties?: topodata.ITablet): topodata.Tablet; 12817 12818 /** 12819 * Encodes the specified Tablet message. Does not implicitly {@link topodata.Tablet.verify|verify} messages. 12820 * @param message Tablet message or plain object to encode 12821 * @param [writer] Writer to encode to 12822 * @returns Writer 12823 */ 12824 public static encode(message: topodata.ITablet, writer?: $protobuf.Writer): $protobuf.Writer; 12825 12826 /** 12827 * Encodes the specified Tablet message, length delimited. Does not implicitly {@link topodata.Tablet.verify|verify} messages. 12828 * @param message Tablet message or plain object to encode 12829 * @param [writer] Writer to encode to 12830 * @returns Writer 12831 */ 12832 public static encodeDelimited(message: topodata.ITablet, writer?: $protobuf.Writer): $protobuf.Writer; 12833 12834 /** 12835 * Decodes a Tablet message from the specified reader or buffer. 12836 * @param reader Reader or buffer to decode from 12837 * @param [length] Message length if known beforehand 12838 * @returns Tablet 12839 * @throws {Error} If the payload is not a reader or valid buffer 12840 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12841 */ 12842 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.Tablet; 12843 12844 /** 12845 * Decodes a Tablet message from the specified reader or buffer, length delimited. 12846 * @param reader Reader or buffer to decode from 12847 * @returns Tablet 12848 * @throws {Error} If the payload is not a reader or valid buffer 12849 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12850 */ 12851 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.Tablet; 12852 12853 /** 12854 * Verifies a Tablet message. 12855 * @param message Plain object to verify 12856 * @returns `null` if valid, otherwise the reason why it is not 12857 */ 12858 public static verify(message: { [k: string]: any }): (string|null); 12859 12860 /** 12861 * Creates a Tablet message from a plain object. Also converts values to their respective internal types. 12862 * @param object Plain object 12863 * @returns Tablet 12864 */ 12865 public static fromObject(object: { [k: string]: any }): topodata.Tablet; 12866 12867 /** 12868 * Creates a plain object from a Tablet message. Also converts values to other types if specified. 12869 * @param message Tablet 12870 * @param [options] Conversion options 12871 * @returns Plain object 12872 */ 12873 public static toObject(message: topodata.Tablet, options?: $protobuf.IConversionOptions): { [k: string]: any }; 12874 12875 /** 12876 * Converts this Tablet to JSON. 12877 * @returns JSON object 12878 */ 12879 public toJSON(): { [k: string]: any }; 12880 } 12881 12882 /** Properties of a Shard. */ 12883 interface IShard { 12884 12885 /** Shard primary_alias */ 12886 primary_alias?: (topodata.ITabletAlias|null); 12887 12888 /** Shard primary_term_start_time */ 12889 primary_term_start_time?: (vttime.ITime|null); 12890 12891 /** Shard key_range */ 12892 key_range?: (topodata.IKeyRange|null); 12893 12894 /** Shard source_shards */ 12895 source_shards?: (topodata.Shard.ISourceShard[]|null); 12896 12897 /** Shard tablet_controls */ 12898 tablet_controls?: (topodata.Shard.ITabletControl[]|null); 12899 12900 /** Shard is_primary_serving */ 12901 is_primary_serving?: (boolean|null); 12902 } 12903 12904 /** Represents a Shard. */ 12905 class Shard implements IShard { 12906 12907 /** 12908 * Constructs a new Shard. 12909 * @param [properties] Properties to set 12910 */ 12911 constructor(properties?: topodata.IShard); 12912 12913 /** Shard primary_alias. */ 12914 public primary_alias?: (topodata.ITabletAlias|null); 12915 12916 /** Shard primary_term_start_time. */ 12917 public primary_term_start_time?: (vttime.ITime|null); 12918 12919 /** Shard key_range. */ 12920 public key_range?: (topodata.IKeyRange|null); 12921 12922 /** Shard source_shards. */ 12923 public source_shards: topodata.Shard.ISourceShard[]; 12924 12925 /** Shard tablet_controls. */ 12926 public tablet_controls: topodata.Shard.ITabletControl[]; 12927 12928 /** Shard is_primary_serving. */ 12929 public is_primary_serving: boolean; 12930 12931 /** 12932 * Creates a new Shard instance using the specified properties. 12933 * @param [properties] Properties to set 12934 * @returns Shard instance 12935 */ 12936 public static create(properties?: topodata.IShard): topodata.Shard; 12937 12938 /** 12939 * Encodes the specified Shard message. Does not implicitly {@link topodata.Shard.verify|verify} messages. 12940 * @param message Shard message or plain object to encode 12941 * @param [writer] Writer to encode to 12942 * @returns Writer 12943 */ 12944 public static encode(message: topodata.IShard, writer?: $protobuf.Writer): $protobuf.Writer; 12945 12946 /** 12947 * Encodes the specified Shard message, length delimited. Does not implicitly {@link topodata.Shard.verify|verify} messages. 12948 * @param message Shard message or plain object to encode 12949 * @param [writer] Writer to encode to 12950 * @returns Writer 12951 */ 12952 public static encodeDelimited(message: topodata.IShard, writer?: $protobuf.Writer): $protobuf.Writer; 12953 12954 /** 12955 * Decodes a Shard message from the specified reader or buffer. 12956 * @param reader Reader or buffer to decode from 12957 * @param [length] Message length if known beforehand 12958 * @returns Shard 12959 * @throws {Error} If the payload is not a reader or valid buffer 12960 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12961 */ 12962 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.Shard; 12963 12964 /** 12965 * Decodes a Shard message from the specified reader or buffer, length delimited. 12966 * @param reader Reader or buffer to decode from 12967 * @returns Shard 12968 * @throws {Error} If the payload is not a reader or valid buffer 12969 * @throws {$protobuf.util.ProtocolError} If required fields are missing 12970 */ 12971 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.Shard; 12972 12973 /** 12974 * Verifies a Shard message. 12975 * @param message Plain object to verify 12976 * @returns `null` if valid, otherwise the reason why it is not 12977 */ 12978 public static verify(message: { [k: string]: any }): (string|null); 12979 12980 /** 12981 * Creates a Shard message from a plain object. Also converts values to their respective internal types. 12982 * @param object Plain object 12983 * @returns Shard 12984 */ 12985 public static fromObject(object: { [k: string]: any }): topodata.Shard; 12986 12987 /** 12988 * Creates a plain object from a Shard message. Also converts values to other types if specified. 12989 * @param message Shard 12990 * @param [options] Conversion options 12991 * @returns Plain object 12992 */ 12993 public static toObject(message: topodata.Shard, options?: $protobuf.IConversionOptions): { [k: string]: any }; 12994 12995 /** 12996 * Converts this Shard to JSON. 12997 * @returns JSON object 12998 */ 12999 public toJSON(): { [k: string]: any }; 13000 } 13001 13002 namespace Shard { 13003 13004 /** Properties of a SourceShard. */ 13005 interface ISourceShard { 13006 13007 /** SourceShard uid */ 13008 uid?: (number|null); 13009 13010 /** SourceShard keyspace */ 13011 keyspace?: (string|null); 13012 13013 /** SourceShard shard */ 13014 shard?: (string|null); 13015 13016 /** SourceShard key_range */ 13017 key_range?: (topodata.IKeyRange|null); 13018 13019 /** SourceShard tables */ 13020 tables?: (string[]|null); 13021 } 13022 13023 /** Represents a SourceShard. */ 13024 class SourceShard implements ISourceShard { 13025 13026 /** 13027 * Constructs a new SourceShard. 13028 * @param [properties] Properties to set 13029 */ 13030 constructor(properties?: topodata.Shard.ISourceShard); 13031 13032 /** SourceShard uid. */ 13033 public uid: number; 13034 13035 /** SourceShard keyspace. */ 13036 public keyspace: string; 13037 13038 /** SourceShard shard. */ 13039 public shard: string; 13040 13041 /** SourceShard key_range. */ 13042 public key_range?: (topodata.IKeyRange|null); 13043 13044 /** SourceShard tables. */ 13045 public tables: string[]; 13046 13047 /** 13048 * Creates a new SourceShard instance using the specified properties. 13049 * @param [properties] Properties to set 13050 * @returns SourceShard instance 13051 */ 13052 public static create(properties?: topodata.Shard.ISourceShard): topodata.Shard.SourceShard; 13053 13054 /** 13055 * Encodes the specified SourceShard message. Does not implicitly {@link topodata.Shard.SourceShard.verify|verify} messages. 13056 * @param message SourceShard message or plain object to encode 13057 * @param [writer] Writer to encode to 13058 * @returns Writer 13059 */ 13060 public static encode(message: topodata.Shard.ISourceShard, writer?: $protobuf.Writer): $protobuf.Writer; 13061 13062 /** 13063 * Encodes the specified SourceShard message, length delimited. Does not implicitly {@link topodata.Shard.SourceShard.verify|verify} messages. 13064 * @param message SourceShard message or plain object to encode 13065 * @param [writer] Writer to encode to 13066 * @returns Writer 13067 */ 13068 public static encodeDelimited(message: topodata.Shard.ISourceShard, writer?: $protobuf.Writer): $protobuf.Writer; 13069 13070 /** 13071 * Decodes a SourceShard message from the specified reader or buffer. 13072 * @param reader Reader or buffer to decode from 13073 * @param [length] Message length if known beforehand 13074 * @returns SourceShard 13075 * @throws {Error} If the payload is not a reader or valid buffer 13076 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13077 */ 13078 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.Shard.SourceShard; 13079 13080 /** 13081 * Decodes a SourceShard message from the specified reader or buffer, length delimited. 13082 * @param reader Reader or buffer to decode from 13083 * @returns SourceShard 13084 * @throws {Error} If the payload is not a reader or valid buffer 13085 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13086 */ 13087 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.Shard.SourceShard; 13088 13089 /** 13090 * Verifies a SourceShard message. 13091 * @param message Plain object to verify 13092 * @returns `null` if valid, otherwise the reason why it is not 13093 */ 13094 public static verify(message: { [k: string]: any }): (string|null); 13095 13096 /** 13097 * Creates a SourceShard message from a plain object. Also converts values to their respective internal types. 13098 * @param object Plain object 13099 * @returns SourceShard 13100 */ 13101 public static fromObject(object: { [k: string]: any }): topodata.Shard.SourceShard; 13102 13103 /** 13104 * Creates a plain object from a SourceShard message. Also converts values to other types if specified. 13105 * @param message SourceShard 13106 * @param [options] Conversion options 13107 * @returns Plain object 13108 */ 13109 public static toObject(message: topodata.Shard.SourceShard, options?: $protobuf.IConversionOptions): { [k: string]: any }; 13110 13111 /** 13112 * Converts this SourceShard to JSON. 13113 * @returns JSON object 13114 */ 13115 public toJSON(): { [k: string]: any }; 13116 } 13117 13118 /** Properties of a TabletControl. */ 13119 interface ITabletControl { 13120 13121 /** TabletControl tablet_type */ 13122 tablet_type?: (topodata.TabletType|null); 13123 13124 /** TabletControl cells */ 13125 cells?: (string[]|null); 13126 13127 /** TabletControl denied_tables */ 13128 denied_tables?: (string[]|null); 13129 13130 /** TabletControl frozen */ 13131 frozen?: (boolean|null); 13132 } 13133 13134 /** Represents a TabletControl. */ 13135 class TabletControl implements ITabletControl { 13136 13137 /** 13138 * Constructs a new TabletControl. 13139 * @param [properties] Properties to set 13140 */ 13141 constructor(properties?: topodata.Shard.ITabletControl); 13142 13143 /** TabletControl tablet_type. */ 13144 public tablet_type: topodata.TabletType; 13145 13146 /** TabletControl cells. */ 13147 public cells: string[]; 13148 13149 /** TabletControl denied_tables. */ 13150 public denied_tables: string[]; 13151 13152 /** TabletControl frozen. */ 13153 public frozen: boolean; 13154 13155 /** 13156 * Creates a new TabletControl instance using the specified properties. 13157 * @param [properties] Properties to set 13158 * @returns TabletControl instance 13159 */ 13160 public static create(properties?: topodata.Shard.ITabletControl): topodata.Shard.TabletControl; 13161 13162 /** 13163 * Encodes the specified TabletControl message. Does not implicitly {@link topodata.Shard.TabletControl.verify|verify} messages. 13164 * @param message TabletControl message or plain object to encode 13165 * @param [writer] Writer to encode to 13166 * @returns Writer 13167 */ 13168 public static encode(message: topodata.Shard.ITabletControl, writer?: $protobuf.Writer): $protobuf.Writer; 13169 13170 /** 13171 * Encodes the specified TabletControl message, length delimited. Does not implicitly {@link topodata.Shard.TabletControl.verify|verify} messages. 13172 * @param message TabletControl message or plain object to encode 13173 * @param [writer] Writer to encode to 13174 * @returns Writer 13175 */ 13176 public static encodeDelimited(message: topodata.Shard.ITabletControl, writer?: $protobuf.Writer): $protobuf.Writer; 13177 13178 /** 13179 * Decodes a TabletControl message from the specified reader or buffer. 13180 * @param reader Reader or buffer to decode from 13181 * @param [length] Message length if known beforehand 13182 * @returns TabletControl 13183 * @throws {Error} If the payload is not a reader or valid buffer 13184 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13185 */ 13186 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.Shard.TabletControl; 13187 13188 /** 13189 * Decodes a TabletControl message from the specified reader or buffer, length delimited. 13190 * @param reader Reader or buffer to decode from 13191 * @returns TabletControl 13192 * @throws {Error} If the payload is not a reader or valid buffer 13193 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13194 */ 13195 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.Shard.TabletControl; 13196 13197 /** 13198 * Verifies a TabletControl message. 13199 * @param message Plain object to verify 13200 * @returns `null` if valid, otherwise the reason why it is not 13201 */ 13202 public static verify(message: { [k: string]: any }): (string|null); 13203 13204 /** 13205 * Creates a TabletControl message from a plain object. Also converts values to their respective internal types. 13206 * @param object Plain object 13207 * @returns TabletControl 13208 */ 13209 public static fromObject(object: { [k: string]: any }): topodata.Shard.TabletControl; 13210 13211 /** 13212 * Creates a plain object from a TabletControl message. Also converts values to other types if specified. 13213 * @param message TabletControl 13214 * @param [options] Conversion options 13215 * @returns Plain object 13216 */ 13217 public static toObject(message: topodata.Shard.TabletControl, options?: $protobuf.IConversionOptions): { [k: string]: any }; 13218 13219 /** 13220 * Converts this TabletControl to JSON. 13221 * @returns JSON object 13222 */ 13223 public toJSON(): { [k: string]: any }; 13224 } 13225 } 13226 13227 /** Properties of a Keyspace. */ 13228 interface IKeyspace { 13229 13230 /** Keyspace served_froms */ 13231 served_froms?: (topodata.Keyspace.IServedFrom[]|null); 13232 13233 /** Keyspace keyspace_type */ 13234 keyspace_type?: (topodata.KeyspaceType|null); 13235 13236 /** Keyspace base_keyspace */ 13237 base_keyspace?: (string|null); 13238 13239 /** Keyspace snapshot_time */ 13240 snapshot_time?: (vttime.ITime|null); 13241 13242 /** Keyspace durability_policy */ 13243 durability_policy?: (string|null); 13244 13245 /** Keyspace throttler_config */ 13246 throttler_config?: (topodata.IThrottlerConfig|null); 13247 } 13248 13249 /** Represents a Keyspace. */ 13250 class Keyspace implements IKeyspace { 13251 13252 /** 13253 * Constructs a new Keyspace. 13254 * @param [properties] Properties to set 13255 */ 13256 constructor(properties?: topodata.IKeyspace); 13257 13258 /** Keyspace served_froms. */ 13259 public served_froms: topodata.Keyspace.IServedFrom[]; 13260 13261 /** Keyspace keyspace_type. */ 13262 public keyspace_type: topodata.KeyspaceType; 13263 13264 /** Keyspace base_keyspace. */ 13265 public base_keyspace: string; 13266 13267 /** Keyspace snapshot_time. */ 13268 public snapshot_time?: (vttime.ITime|null); 13269 13270 /** Keyspace durability_policy. */ 13271 public durability_policy: string; 13272 13273 /** Keyspace throttler_config. */ 13274 public throttler_config?: (topodata.IThrottlerConfig|null); 13275 13276 /** 13277 * Creates a new Keyspace instance using the specified properties. 13278 * @param [properties] Properties to set 13279 * @returns Keyspace instance 13280 */ 13281 public static create(properties?: topodata.IKeyspace): topodata.Keyspace; 13282 13283 /** 13284 * Encodes the specified Keyspace message. Does not implicitly {@link topodata.Keyspace.verify|verify} messages. 13285 * @param message Keyspace message or plain object to encode 13286 * @param [writer] Writer to encode to 13287 * @returns Writer 13288 */ 13289 public static encode(message: topodata.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; 13290 13291 /** 13292 * Encodes the specified Keyspace message, length delimited. Does not implicitly {@link topodata.Keyspace.verify|verify} messages. 13293 * @param message Keyspace message or plain object to encode 13294 * @param [writer] Writer to encode to 13295 * @returns Writer 13296 */ 13297 public static encodeDelimited(message: topodata.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; 13298 13299 /** 13300 * Decodes a Keyspace message from the specified reader or buffer. 13301 * @param reader Reader or buffer to decode from 13302 * @param [length] Message length if known beforehand 13303 * @returns Keyspace 13304 * @throws {Error} If the payload is not a reader or valid buffer 13305 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13306 */ 13307 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.Keyspace; 13308 13309 /** 13310 * Decodes a Keyspace message from the specified reader or buffer, length delimited. 13311 * @param reader Reader or buffer to decode from 13312 * @returns Keyspace 13313 * @throws {Error} If the payload is not a reader or valid buffer 13314 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13315 */ 13316 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.Keyspace; 13317 13318 /** 13319 * Verifies a Keyspace message. 13320 * @param message Plain object to verify 13321 * @returns `null` if valid, otherwise the reason why it is not 13322 */ 13323 public static verify(message: { [k: string]: any }): (string|null); 13324 13325 /** 13326 * Creates a Keyspace message from a plain object. Also converts values to their respective internal types. 13327 * @param object Plain object 13328 * @returns Keyspace 13329 */ 13330 public static fromObject(object: { [k: string]: any }): topodata.Keyspace; 13331 13332 /** 13333 * Creates a plain object from a Keyspace message. Also converts values to other types if specified. 13334 * @param message Keyspace 13335 * @param [options] Conversion options 13336 * @returns Plain object 13337 */ 13338 public static toObject(message: topodata.Keyspace, options?: $protobuf.IConversionOptions): { [k: string]: any }; 13339 13340 /** 13341 * Converts this Keyspace to JSON. 13342 * @returns JSON object 13343 */ 13344 public toJSON(): { [k: string]: any }; 13345 } 13346 13347 namespace Keyspace { 13348 13349 /** Properties of a ServedFrom. */ 13350 interface IServedFrom { 13351 13352 /** ServedFrom tablet_type */ 13353 tablet_type?: (topodata.TabletType|null); 13354 13355 /** ServedFrom cells */ 13356 cells?: (string[]|null); 13357 13358 /** ServedFrom keyspace */ 13359 keyspace?: (string|null); 13360 } 13361 13362 /** Represents a ServedFrom. */ 13363 class ServedFrom implements IServedFrom { 13364 13365 /** 13366 * Constructs a new ServedFrom. 13367 * @param [properties] Properties to set 13368 */ 13369 constructor(properties?: topodata.Keyspace.IServedFrom); 13370 13371 /** ServedFrom tablet_type. */ 13372 public tablet_type: topodata.TabletType; 13373 13374 /** ServedFrom cells. */ 13375 public cells: string[]; 13376 13377 /** ServedFrom keyspace. */ 13378 public keyspace: string; 13379 13380 /** 13381 * Creates a new ServedFrom instance using the specified properties. 13382 * @param [properties] Properties to set 13383 * @returns ServedFrom instance 13384 */ 13385 public static create(properties?: topodata.Keyspace.IServedFrom): topodata.Keyspace.ServedFrom; 13386 13387 /** 13388 * Encodes the specified ServedFrom message. Does not implicitly {@link topodata.Keyspace.ServedFrom.verify|verify} messages. 13389 * @param message ServedFrom message or plain object to encode 13390 * @param [writer] Writer to encode to 13391 * @returns Writer 13392 */ 13393 public static encode(message: topodata.Keyspace.IServedFrom, writer?: $protobuf.Writer): $protobuf.Writer; 13394 13395 /** 13396 * Encodes the specified ServedFrom message, length delimited. Does not implicitly {@link topodata.Keyspace.ServedFrom.verify|verify} messages. 13397 * @param message ServedFrom message or plain object to encode 13398 * @param [writer] Writer to encode to 13399 * @returns Writer 13400 */ 13401 public static encodeDelimited(message: topodata.Keyspace.IServedFrom, writer?: $protobuf.Writer): $protobuf.Writer; 13402 13403 /** 13404 * Decodes a ServedFrom message from the specified reader or buffer. 13405 * @param reader Reader or buffer to decode from 13406 * @param [length] Message length if known beforehand 13407 * @returns ServedFrom 13408 * @throws {Error} If the payload is not a reader or valid buffer 13409 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13410 */ 13411 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.Keyspace.ServedFrom; 13412 13413 /** 13414 * Decodes a ServedFrom message from the specified reader or buffer, length delimited. 13415 * @param reader Reader or buffer to decode from 13416 * @returns ServedFrom 13417 * @throws {Error} If the payload is not a reader or valid buffer 13418 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13419 */ 13420 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.Keyspace.ServedFrom; 13421 13422 /** 13423 * Verifies a ServedFrom message. 13424 * @param message Plain object to verify 13425 * @returns `null` if valid, otherwise the reason why it is not 13426 */ 13427 public static verify(message: { [k: string]: any }): (string|null); 13428 13429 /** 13430 * Creates a ServedFrom message from a plain object. Also converts values to their respective internal types. 13431 * @param object Plain object 13432 * @returns ServedFrom 13433 */ 13434 public static fromObject(object: { [k: string]: any }): topodata.Keyspace.ServedFrom; 13435 13436 /** 13437 * Creates a plain object from a ServedFrom message. Also converts values to other types if specified. 13438 * @param message ServedFrom 13439 * @param [options] Conversion options 13440 * @returns Plain object 13441 */ 13442 public static toObject(message: topodata.Keyspace.ServedFrom, options?: $protobuf.IConversionOptions): { [k: string]: any }; 13443 13444 /** 13445 * Converts this ServedFrom to JSON. 13446 * @returns JSON object 13447 */ 13448 public toJSON(): { [k: string]: any }; 13449 } 13450 } 13451 13452 /** Properties of a ShardReplication. */ 13453 interface IShardReplication { 13454 13455 /** ShardReplication nodes */ 13456 nodes?: (topodata.ShardReplication.INode[]|null); 13457 } 13458 13459 /** Represents a ShardReplication. */ 13460 class ShardReplication implements IShardReplication { 13461 13462 /** 13463 * Constructs a new ShardReplication. 13464 * @param [properties] Properties to set 13465 */ 13466 constructor(properties?: topodata.IShardReplication); 13467 13468 /** ShardReplication nodes. */ 13469 public nodes: topodata.ShardReplication.INode[]; 13470 13471 /** 13472 * Creates a new ShardReplication instance using the specified properties. 13473 * @param [properties] Properties to set 13474 * @returns ShardReplication instance 13475 */ 13476 public static create(properties?: topodata.IShardReplication): topodata.ShardReplication; 13477 13478 /** 13479 * Encodes the specified ShardReplication message. Does not implicitly {@link topodata.ShardReplication.verify|verify} messages. 13480 * @param message ShardReplication message or plain object to encode 13481 * @param [writer] Writer to encode to 13482 * @returns Writer 13483 */ 13484 public static encode(message: topodata.IShardReplication, writer?: $protobuf.Writer): $protobuf.Writer; 13485 13486 /** 13487 * Encodes the specified ShardReplication message, length delimited. Does not implicitly {@link topodata.ShardReplication.verify|verify} messages. 13488 * @param message ShardReplication message or plain object to encode 13489 * @param [writer] Writer to encode to 13490 * @returns Writer 13491 */ 13492 public static encodeDelimited(message: topodata.IShardReplication, writer?: $protobuf.Writer): $protobuf.Writer; 13493 13494 /** 13495 * Decodes a ShardReplication message from the specified reader or buffer. 13496 * @param reader Reader or buffer to decode from 13497 * @param [length] Message length if known beforehand 13498 * @returns ShardReplication 13499 * @throws {Error} If the payload is not a reader or valid buffer 13500 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13501 */ 13502 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.ShardReplication; 13503 13504 /** 13505 * Decodes a ShardReplication message from the specified reader or buffer, length delimited. 13506 * @param reader Reader or buffer to decode from 13507 * @returns ShardReplication 13508 * @throws {Error} If the payload is not a reader or valid buffer 13509 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13510 */ 13511 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.ShardReplication; 13512 13513 /** 13514 * Verifies a ShardReplication message. 13515 * @param message Plain object to verify 13516 * @returns `null` if valid, otherwise the reason why it is not 13517 */ 13518 public static verify(message: { [k: string]: any }): (string|null); 13519 13520 /** 13521 * Creates a ShardReplication message from a plain object. Also converts values to their respective internal types. 13522 * @param object Plain object 13523 * @returns ShardReplication 13524 */ 13525 public static fromObject(object: { [k: string]: any }): topodata.ShardReplication; 13526 13527 /** 13528 * Creates a plain object from a ShardReplication message. Also converts values to other types if specified. 13529 * @param message ShardReplication 13530 * @param [options] Conversion options 13531 * @returns Plain object 13532 */ 13533 public static toObject(message: topodata.ShardReplication, options?: $protobuf.IConversionOptions): { [k: string]: any }; 13534 13535 /** 13536 * Converts this ShardReplication to JSON. 13537 * @returns JSON object 13538 */ 13539 public toJSON(): { [k: string]: any }; 13540 } 13541 13542 namespace ShardReplication { 13543 13544 /** Properties of a Node. */ 13545 interface INode { 13546 13547 /** Node tablet_alias */ 13548 tablet_alias?: (topodata.ITabletAlias|null); 13549 } 13550 13551 /** Represents a Node. */ 13552 class Node implements INode { 13553 13554 /** 13555 * Constructs a new Node. 13556 * @param [properties] Properties to set 13557 */ 13558 constructor(properties?: topodata.ShardReplication.INode); 13559 13560 /** Node tablet_alias. */ 13561 public tablet_alias?: (topodata.ITabletAlias|null); 13562 13563 /** 13564 * Creates a new Node instance using the specified properties. 13565 * @param [properties] Properties to set 13566 * @returns Node instance 13567 */ 13568 public static create(properties?: topodata.ShardReplication.INode): topodata.ShardReplication.Node; 13569 13570 /** 13571 * Encodes the specified Node message. Does not implicitly {@link topodata.ShardReplication.Node.verify|verify} messages. 13572 * @param message Node message or plain object to encode 13573 * @param [writer] Writer to encode to 13574 * @returns Writer 13575 */ 13576 public static encode(message: topodata.ShardReplication.INode, writer?: $protobuf.Writer): $protobuf.Writer; 13577 13578 /** 13579 * Encodes the specified Node message, length delimited. Does not implicitly {@link topodata.ShardReplication.Node.verify|verify} messages. 13580 * @param message Node message or plain object to encode 13581 * @param [writer] Writer to encode to 13582 * @returns Writer 13583 */ 13584 public static encodeDelimited(message: topodata.ShardReplication.INode, writer?: $protobuf.Writer): $protobuf.Writer; 13585 13586 /** 13587 * Decodes a Node message from the specified reader or buffer. 13588 * @param reader Reader or buffer to decode from 13589 * @param [length] Message length if known beforehand 13590 * @returns Node 13591 * @throws {Error} If the payload is not a reader or valid buffer 13592 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13593 */ 13594 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.ShardReplication.Node; 13595 13596 /** 13597 * Decodes a Node message from the specified reader or buffer, length delimited. 13598 * @param reader Reader or buffer to decode from 13599 * @returns Node 13600 * @throws {Error} If the payload is not a reader or valid buffer 13601 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13602 */ 13603 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.ShardReplication.Node; 13604 13605 /** 13606 * Verifies a Node message. 13607 * @param message Plain object to verify 13608 * @returns `null` if valid, otherwise the reason why it is not 13609 */ 13610 public static verify(message: { [k: string]: any }): (string|null); 13611 13612 /** 13613 * Creates a Node message from a plain object. Also converts values to their respective internal types. 13614 * @param object Plain object 13615 * @returns Node 13616 */ 13617 public static fromObject(object: { [k: string]: any }): topodata.ShardReplication.Node; 13618 13619 /** 13620 * Creates a plain object from a Node message. Also converts values to other types if specified. 13621 * @param message Node 13622 * @param [options] Conversion options 13623 * @returns Plain object 13624 */ 13625 public static toObject(message: topodata.ShardReplication.Node, options?: $protobuf.IConversionOptions): { [k: string]: any }; 13626 13627 /** 13628 * Converts this Node to JSON. 13629 * @returns JSON object 13630 */ 13631 public toJSON(): { [k: string]: any }; 13632 } 13633 } 13634 13635 /** Properties of a ShardReplicationError. */ 13636 interface IShardReplicationError { 13637 13638 /** ShardReplicationError type */ 13639 type?: (topodata.ShardReplicationError.Type|null); 13640 13641 /** ShardReplicationError tablet_alias */ 13642 tablet_alias?: (topodata.ITabletAlias|null); 13643 } 13644 13645 /** Represents a ShardReplicationError. */ 13646 class ShardReplicationError implements IShardReplicationError { 13647 13648 /** 13649 * Constructs a new ShardReplicationError. 13650 * @param [properties] Properties to set 13651 */ 13652 constructor(properties?: topodata.IShardReplicationError); 13653 13654 /** ShardReplicationError type. */ 13655 public type: topodata.ShardReplicationError.Type; 13656 13657 /** ShardReplicationError tablet_alias. */ 13658 public tablet_alias?: (topodata.ITabletAlias|null); 13659 13660 /** 13661 * Creates a new ShardReplicationError instance using the specified properties. 13662 * @param [properties] Properties to set 13663 * @returns ShardReplicationError instance 13664 */ 13665 public static create(properties?: topodata.IShardReplicationError): topodata.ShardReplicationError; 13666 13667 /** 13668 * Encodes the specified ShardReplicationError message. Does not implicitly {@link topodata.ShardReplicationError.verify|verify} messages. 13669 * @param message ShardReplicationError message or plain object to encode 13670 * @param [writer] Writer to encode to 13671 * @returns Writer 13672 */ 13673 public static encode(message: topodata.IShardReplicationError, writer?: $protobuf.Writer): $protobuf.Writer; 13674 13675 /** 13676 * Encodes the specified ShardReplicationError message, length delimited. Does not implicitly {@link topodata.ShardReplicationError.verify|verify} messages. 13677 * @param message ShardReplicationError message or plain object to encode 13678 * @param [writer] Writer to encode to 13679 * @returns Writer 13680 */ 13681 public static encodeDelimited(message: topodata.IShardReplicationError, writer?: $protobuf.Writer): $protobuf.Writer; 13682 13683 /** 13684 * Decodes a ShardReplicationError message from the specified reader or buffer. 13685 * @param reader Reader or buffer to decode from 13686 * @param [length] Message length if known beforehand 13687 * @returns ShardReplicationError 13688 * @throws {Error} If the payload is not a reader or valid buffer 13689 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13690 */ 13691 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.ShardReplicationError; 13692 13693 /** 13694 * Decodes a ShardReplicationError message from the specified reader or buffer, length delimited. 13695 * @param reader Reader or buffer to decode from 13696 * @returns ShardReplicationError 13697 * @throws {Error} If the payload is not a reader or valid buffer 13698 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13699 */ 13700 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.ShardReplicationError; 13701 13702 /** 13703 * Verifies a ShardReplicationError message. 13704 * @param message Plain object to verify 13705 * @returns `null` if valid, otherwise the reason why it is not 13706 */ 13707 public static verify(message: { [k: string]: any }): (string|null); 13708 13709 /** 13710 * Creates a ShardReplicationError message from a plain object. Also converts values to their respective internal types. 13711 * @param object Plain object 13712 * @returns ShardReplicationError 13713 */ 13714 public static fromObject(object: { [k: string]: any }): topodata.ShardReplicationError; 13715 13716 /** 13717 * Creates a plain object from a ShardReplicationError message. Also converts values to other types if specified. 13718 * @param message ShardReplicationError 13719 * @param [options] Conversion options 13720 * @returns Plain object 13721 */ 13722 public static toObject(message: topodata.ShardReplicationError, options?: $protobuf.IConversionOptions): { [k: string]: any }; 13723 13724 /** 13725 * Converts this ShardReplicationError to JSON. 13726 * @returns JSON object 13727 */ 13728 public toJSON(): { [k: string]: any }; 13729 } 13730 13731 namespace ShardReplicationError { 13732 13733 /** Type enum. */ 13734 enum Type { 13735 UNKNOWN = 0, 13736 NOT_FOUND = 1, 13737 TOPOLOGY_MISMATCH = 2 13738 } 13739 } 13740 13741 /** Properties of a ShardReference. */ 13742 interface IShardReference { 13743 13744 /** ShardReference name */ 13745 name?: (string|null); 13746 13747 /** ShardReference key_range */ 13748 key_range?: (topodata.IKeyRange|null); 13749 } 13750 13751 /** Represents a ShardReference. */ 13752 class ShardReference implements IShardReference { 13753 13754 /** 13755 * Constructs a new ShardReference. 13756 * @param [properties] Properties to set 13757 */ 13758 constructor(properties?: topodata.IShardReference); 13759 13760 /** ShardReference name. */ 13761 public name: string; 13762 13763 /** ShardReference key_range. */ 13764 public key_range?: (topodata.IKeyRange|null); 13765 13766 /** 13767 * Creates a new ShardReference instance using the specified properties. 13768 * @param [properties] Properties to set 13769 * @returns ShardReference instance 13770 */ 13771 public static create(properties?: topodata.IShardReference): topodata.ShardReference; 13772 13773 /** 13774 * Encodes the specified ShardReference message. Does not implicitly {@link topodata.ShardReference.verify|verify} messages. 13775 * @param message ShardReference message or plain object to encode 13776 * @param [writer] Writer to encode to 13777 * @returns Writer 13778 */ 13779 public static encode(message: topodata.IShardReference, writer?: $protobuf.Writer): $protobuf.Writer; 13780 13781 /** 13782 * Encodes the specified ShardReference message, length delimited. Does not implicitly {@link topodata.ShardReference.verify|verify} messages. 13783 * @param message ShardReference message or plain object to encode 13784 * @param [writer] Writer to encode to 13785 * @returns Writer 13786 */ 13787 public static encodeDelimited(message: topodata.IShardReference, writer?: $protobuf.Writer): $protobuf.Writer; 13788 13789 /** 13790 * Decodes a ShardReference message from the specified reader or buffer. 13791 * @param reader Reader or buffer to decode from 13792 * @param [length] Message length if known beforehand 13793 * @returns ShardReference 13794 * @throws {Error} If the payload is not a reader or valid buffer 13795 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13796 */ 13797 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.ShardReference; 13798 13799 /** 13800 * Decodes a ShardReference message from the specified reader or buffer, length delimited. 13801 * @param reader Reader or buffer to decode from 13802 * @returns ShardReference 13803 * @throws {Error} If the payload is not a reader or valid buffer 13804 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13805 */ 13806 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.ShardReference; 13807 13808 /** 13809 * Verifies a ShardReference message. 13810 * @param message Plain object to verify 13811 * @returns `null` if valid, otherwise the reason why it is not 13812 */ 13813 public static verify(message: { [k: string]: any }): (string|null); 13814 13815 /** 13816 * Creates a ShardReference message from a plain object. Also converts values to their respective internal types. 13817 * @param object Plain object 13818 * @returns ShardReference 13819 */ 13820 public static fromObject(object: { [k: string]: any }): topodata.ShardReference; 13821 13822 /** 13823 * Creates a plain object from a ShardReference message. Also converts values to other types if specified. 13824 * @param message ShardReference 13825 * @param [options] Conversion options 13826 * @returns Plain object 13827 */ 13828 public static toObject(message: topodata.ShardReference, options?: $protobuf.IConversionOptions): { [k: string]: any }; 13829 13830 /** 13831 * Converts this ShardReference to JSON. 13832 * @returns JSON object 13833 */ 13834 public toJSON(): { [k: string]: any }; 13835 } 13836 13837 /** Properties of a ShardTabletControl. */ 13838 interface IShardTabletControl { 13839 13840 /** ShardTabletControl name */ 13841 name?: (string|null); 13842 13843 /** ShardTabletControl key_range */ 13844 key_range?: (topodata.IKeyRange|null); 13845 13846 /** ShardTabletControl query_service_disabled */ 13847 query_service_disabled?: (boolean|null); 13848 } 13849 13850 /** Represents a ShardTabletControl. */ 13851 class ShardTabletControl implements IShardTabletControl { 13852 13853 /** 13854 * Constructs a new ShardTabletControl. 13855 * @param [properties] Properties to set 13856 */ 13857 constructor(properties?: topodata.IShardTabletControl); 13858 13859 /** ShardTabletControl name. */ 13860 public name: string; 13861 13862 /** ShardTabletControl key_range. */ 13863 public key_range?: (topodata.IKeyRange|null); 13864 13865 /** ShardTabletControl query_service_disabled. */ 13866 public query_service_disabled: boolean; 13867 13868 /** 13869 * Creates a new ShardTabletControl instance using the specified properties. 13870 * @param [properties] Properties to set 13871 * @returns ShardTabletControl instance 13872 */ 13873 public static create(properties?: topodata.IShardTabletControl): topodata.ShardTabletControl; 13874 13875 /** 13876 * Encodes the specified ShardTabletControl message. Does not implicitly {@link topodata.ShardTabletControl.verify|verify} messages. 13877 * @param message ShardTabletControl message or plain object to encode 13878 * @param [writer] Writer to encode to 13879 * @returns Writer 13880 */ 13881 public static encode(message: topodata.IShardTabletControl, writer?: $protobuf.Writer): $protobuf.Writer; 13882 13883 /** 13884 * Encodes the specified ShardTabletControl message, length delimited. Does not implicitly {@link topodata.ShardTabletControl.verify|verify} messages. 13885 * @param message ShardTabletControl message or plain object to encode 13886 * @param [writer] Writer to encode to 13887 * @returns Writer 13888 */ 13889 public static encodeDelimited(message: topodata.IShardTabletControl, writer?: $protobuf.Writer): $protobuf.Writer; 13890 13891 /** 13892 * Decodes a ShardTabletControl message from the specified reader or buffer. 13893 * @param reader Reader or buffer to decode from 13894 * @param [length] Message length if known beforehand 13895 * @returns ShardTabletControl 13896 * @throws {Error} If the payload is not a reader or valid buffer 13897 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13898 */ 13899 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.ShardTabletControl; 13900 13901 /** 13902 * Decodes a ShardTabletControl message from the specified reader or buffer, length delimited. 13903 * @param reader Reader or buffer to decode from 13904 * @returns ShardTabletControl 13905 * @throws {Error} If the payload is not a reader or valid buffer 13906 * @throws {$protobuf.util.ProtocolError} If required fields are missing 13907 */ 13908 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.ShardTabletControl; 13909 13910 /** 13911 * Verifies a ShardTabletControl message. 13912 * @param message Plain object to verify 13913 * @returns `null` if valid, otherwise the reason why it is not 13914 */ 13915 public static verify(message: { [k: string]: any }): (string|null); 13916 13917 /** 13918 * Creates a ShardTabletControl message from a plain object. Also converts values to their respective internal types. 13919 * @param object Plain object 13920 * @returns ShardTabletControl 13921 */ 13922 public static fromObject(object: { [k: string]: any }): topodata.ShardTabletControl; 13923 13924 /** 13925 * Creates a plain object from a ShardTabletControl message. Also converts values to other types if specified. 13926 * @param message ShardTabletControl 13927 * @param [options] Conversion options 13928 * @returns Plain object 13929 */ 13930 public static toObject(message: topodata.ShardTabletControl, options?: $protobuf.IConversionOptions): { [k: string]: any }; 13931 13932 /** 13933 * Converts this ShardTabletControl to JSON. 13934 * @returns JSON object 13935 */ 13936 public toJSON(): { [k: string]: any }; 13937 } 13938 13939 /** Properties of a ThrottlerConfig. */ 13940 interface IThrottlerConfig { 13941 13942 /** ThrottlerConfig enabled */ 13943 enabled?: (boolean|null); 13944 13945 /** ThrottlerConfig threshold */ 13946 threshold?: (number|null); 13947 13948 /** ThrottlerConfig custom_query */ 13949 custom_query?: (string|null); 13950 13951 /** ThrottlerConfig check_as_check_self */ 13952 check_as_check_self?: (boolean|null); 13953 } 13954 13955 /** Represents a ThrottlerConfig. */ 13956 class ThrottlerConfig implements IThrottlerConfig { 13957 13958 /** 13959 * Constructs a new ThrottlerConfig. 13960 * @param [properties] Properties to set 13961 */ 13962 constructor(properties?: topodata.IThrottlerConfig); 13963 13964 /** ThrottlerConfig enabled. */ 13965 public enabled: boolean; 13966 13967 /** ThrottlerConfig threshold. */ 13968 public threshold: number; 13969 13970 /** ThrottlerConfig custom_query. */ 13971 public custom_query: string; 13972 13973 /** ThrottlerConfig check_as_check_self. */ 13974 public check_as_check_self: boolean; 13975 13976 /** 13977 * Creates a new ThrottlerConfig instance using the specified properties. 13978 * @param [properties] Properties to set 13979 * @returns ThrottlerConfig instance 13980 */ 13981 public static create(properties?: topodata.IThrottlerConfig): topodata.ThrottlerConfig; 13982 13983 /** 13984 * Encodes the specified ThrottlerConfig message. Does not implicitly {@link topodata.ThrottlerConfig.verify|verify} messages. 13985 * @param message ThrottlerConfig message or plain object to encode 13986 * @param [writer] Writer to encode to 13987 * @returns Writer 13988 */ 13989 public static encode(message: topodata.IThrottlerConfig, writer?: $protobuf.Writer): $protobuf.Writer; 13990 13991 /** 13992 * Encodes the specified ThrottlerConfig message, length delimited. Does not implicitly {@link topodata.ThrottlerConfig.verify|verify} messages. 13993 * @param message ThrottlerConfig message or plain object to encode 13994 * @param [writer] Writer to encode to 13995 * @returns Writer 13996 */ 13997 public static encodeDelimited(message: topodata.IThrottlerConfig, writer?: $protobuf.Writer): $protobuf.Writer; 13998 13999 /** 14000 * Decodes a ThrottlerConfig message from the specified reader or buffer. 14001 * @param reader Reader or buffer to decode from 14002 * @param [length] Message length if known beforehand 14003 * @returns ThrottlerConfig 14004 * @throws {Error} If the payload is not a reader or valid buffer 14005 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14006 */ 14007 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.ThrottlerConfig; 14008 14009 /** 14010 * Decodes a ThrottlerConfig message from the specified reader or buffer, length delimited. 14011 * @param reader Reader or buffer to decode from 14012 * @returns ThrottlerConfig 14013 * @throws {Error} If the payload is not a reader or valid buffer 14014 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14015 */ 14016 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.ThrottlerConfig; 14017 14018 /** 14019 * Verifies a ThrottlerConfig message. 14020 * @param message Plain object to verify 14021 * @returns `null` if valid, otherwise the reason why it is not 14022 */ 14023 public static verify(message: { [k: string]: any }): (string|null); 14024 14025 /** 14026 * Creates a ThrottlerConfig message from a plain object. Also converts values to their respective internal types. 14027 * @param object Plain object 14028 * @returns ThrottlerConfig 14029 */ 14030 public static fromObject(object: { [k: string]: any }): topodata.ThrottlerConfig; 14031 14032 /** 14033 * Creates a plain object from a ThrottlerConfig message. Also converts values to other types if specified. 14034 * @param message ThrottlerConfig 14035 * @param [options] Conversion options 14036 * @returns Plain object 14037 */ 14038 public static toObject(message: topodata.ThrottlerConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; 14039 14040 /** 14041 * Converts this ThrottlerConfig to JSON. 14042 * @returns JSON object 14043 */ 14044 public toJSON(): { [k: string]: any }; 14045 } 14046 14047 /** Properties of a SrvKeyspace. */ 14048 interface ISrvKeyspace { 14049 14050 /** SrvKeyspace partitions */ 14051 partitions?: (topodata.SrvKeyspace.IKeyspacePartition[]|null); 14052 14053 /** SrvKeyspace served_from */ 14054 served_from?: (topodata.SrvKeyspace.IServedFrom[]|null); 14055 14056 /** SrvKeyspace throttler_config */ 14057 throttler_config?: (topodata.IThrottlerConfig|null); 14058 } 14059 14060 /** Represents a SrvKeyspace. */ 14061 class SrvKeyspace implements ISrvKeyspace { 14062 14063 /** 14064 * Constructs a new SrvKeyspace. 14065 * @param [properties] Properties to set 14066 */ 14067 constructor(properties?: topodata.ISrvKeyspace); 14068 14069 /** SrvKeyspace partitions. */ 14070 public partitions: topodata.SrvKeyspace.IKeyspacePartition[]; 14071 14072 /** SrvKeyspace served_from. */ 14073 public served_from: topodata.SrvKeyspace.IServedFrom[]; 14074 14075 /** SrvKeyspace throttler_config. */ 14076 public throttler_config?: (topodata.IThrottlerConfig|null); 14077 14078 /** 14079 * Creates a new SrvKeyspace instance using the specified properties. 14080 * @param [properties] Properties to set 14081 * @returns SrvKeyspace instance 14082 */ 14083 public static create(properties?: topodata.ISrvKeyspace): topodata.SrvKeyspace; 14084 14085 /** 14086 * Encodes the specified SrvKeyspace message. Does not implicitly {@link topodata.SrvKeyspace.verify|verify} messages. 14087 * @param message SrvKeyspace message or plain object to encode 14088 * @param [writer] Writer to encode to 14089 * @returns Writer 14090 */ 14091 public static encode(message: topodata.ISrvKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; 14092 14093 /** 14094 * Encodes the specified SrvKeyspace message, length delimited. Does not implicitly {@link topodata.SrvKeyspace.verify|verify} messages. 14095 * @param message SrvKeyspace message or plain object to encode 14096 * @param [writer] Writer to encode to 14097 * @returns Writer 14098 */ 14099 public static encodeDelimited(message: topodata.ISrvKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; 14100 14101 /** 14102 * Decodes a SrvKeyspace message from the specified reader or buffer. 14103 * @param reader Reader or buffer to decode from 14104 * @param [length] Message length if known beforehand 14105 * @returns SrvKeyspace 14106 * @throws {Error} If the payload is not a reader or valid buffer 14107 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14108 */ 14109 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.SrvKeyspace; 14110 14111 /** 14112 * Decodes a SrvKeyspace message from the specified reader or buffer, length delimited. 14113 * @param reader Reader or buffer to decode from 14114 * @returns SrvKeyspace 14115 * @throws {Error} If the payload is not a reader or valid buffer 14116 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14117 */ 14118 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.SrvKeyspace; 14119 14120 /** 14121 * Verifies a SrvKeyspace message. 14122 * @param message Plain object to verify 14123 * @returns `null` if valid, otherwise the reason why it is not 14124 */ 14125 public static verify(message: { [k: string]: any }): (string|null); 14126 14127 /** 14128 * Creates a SrvKeyspace message from a plain object. Also converts values to their respective internal types. 14129 * @param object Plain object 14130 * @returns SrvKeyspace 14131 */ 14132 public static fromObject(object: { [k: string]: any }): topodata.SrvKeyspace; 14133 14134 /** 14135 * Creates a plain object from a SrvKeyspace message. Also converts values to other types if specified. 14136 * @param message SrvKeyspace 14137 * @param [options] Conversion options 14138 * @returns Plain object 14139 */ 14140 public static toObject(message: topodata.SrvKeyspace, options?: $protobuf.IConversionOptions): { [k: string]: any }; 14141 14142 /** 14143 * Converts this SrvKeyspace to JSON. 14144 * @returns JSON object 14145 */ 14146 public toJSON(): { [k: string]: any }; 14147 } 14148 14149 namespace SrvKeyspace { 14150 14151 /** Properties of a KeyspacePartition. */ 14152 interface IKeyspacePartition { 14153 14154 /** KeyspacePartition served_type */ 14155 served_type?: (topodata.TabletType|null); 14156 14157 /** KeyspacePartition shard_references */ 14158 shard_references?: (topodata.IShardReference[]|null); 14159 14160 /** KeyspacePartition shard_tablet_controls */ 14161 shard_tablet_controls?: (topodata.IShardTabletControl[]|null); 14162 } 14163 14164 /** Represents a KeyspacePartition. */ 14165 class KeyspacePartition implements IKeyspacePartition { 14166 14167 /** 14168 * Constructs a new KeyspacePartition. 14169 * @param [properties] Properties to set 14170 */ 14171 constructor(properties?: topodata.SrvKeyspace.IKeyspacePartition); 14172 14173 /** KeyspacePartition served_type. */ 14174 public served_type: topodata.TabletType; 14175 14176 /** KeyspacePartition shard_references. */ 14177 public shard_references: topodata.IShardReference[]; 14178 14179 /** KeyspacePartition shard_tablet_controls. */ 14180 public shard_tablet_controls: topodata.IShardTabletControl[]; 14181 14182 /** 14183 * Creates a new KeyspacePartition instance using the specified properties. 14184 * @param [properties] Properties to set 14185 * @returns KeyspacePartition instance 14186 */ 14187 public static create(properties?: topodata.SrvKeyspace.IKeyspacePartition): topodata.SrvKeyspace.KeyspacePartition; 14188 14189 /** 14190 * Encodes the specified KeyspacePartition message. Does not implicitly {@link topodata.SrvKeyspace.KeyspacePartition.verify|verify} messages. 14191 * @param message KeyspacePartition message or plain object to encode 14192 * @param [writer] Writer to encode to 14193 * @returns Writer 14194 */ 14195 public static encode(message: topodata.SrvKeyspace.IKeyspacePartition, writer?: $protobuf.Writer): $protobuf.Writer; 14196 14197 /** 14198 * Encodes the specified KeyspacePartition message, length delimited. Does not implicitly {@link topodata.SrvKeyspace.KeyspacePartition.verify|verify} messages. 14199 * @param message KeyspacePartition message or plain object to encode 14200 * @param [writer] Writer to encode to 14201 * @returns Writer 14202 */ 14203 public static encodeDelimited(message: topodata.SrvKeyspace.IKeyspacePartition, writer?: $protobuf.Writer): $protobuf.Writer; 14204 14205 /** 14206 * Decodes a KeyspacePartition message from the specified reader or buffer. 14207 * @param reader Reader or buffer to decode from 14208 * @param [length] Message length if known beforehand 14209 * @returns KeyspacePartition 14210 * @throws {Error} If the payload is not a reader or valid buffer 14211 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14212 */ 14213 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.SrvKeyspace.KeyspacePartition; 14214 14215 /** 14216 * Decodes a KeyspacePartition message from the specified reader or buffer, length delimited. 14217 * @param reader Reader or buffer to decode from 14218 * @returns KeyspacePartition 14219 * @throws {Error} If the payload is not a reader or valid buffer 14220 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14221 */ 14222 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.SrvKeyspace.KeyspacePartition; 14223 14224 /** 14225 * Verifies a KeyspacePartition message. 14226 * @param message Plain object to verify 14227 * @returns `null` if valid, otherwise the reason why it is not 14228 */ 14229 public static verify(message: { [k: string]: any }): (string|null); 14230 14231 /** 14232 * Creates a KeyspacePartition message from a plain object. Also converts values to their respective internal types. 14233 * @param object Plain object 14234 * @returns KeyspacePartition 14235 */ 14236 public static fromObject(object: { [k: string]: any }): topodata.SrvKeyspace.KeyspacePartition; 14237 14238 /** 14239 * Creates a plain object from a KeyspacePartition message. Also converts values to other types if specified. 14240 * @param message KeyspacePartition 14241 * @param [options] Conversion options 14242 * @returns Plain object 14243 */ 14244 public static toObject(message: topodata.SrvKeyspace.KeyspacePartition, options?: $protobuf.IConversionOptions): { [k: string]: any }; 14245 14246 /** 14247 * Converts this KeyspacePartition to JSON. 14248 * @returns JSON object 14249 */ 14250 public toJSON(): { [k: string]: any }; 14251 } 14252 14253 /** Properties of a ServedFrom. */ 14254 interface IServedFrom { 14255 14256 /** ServedFrom tablet_type */ 14257 tablet_type?: (topodata.TabletType|null); 14258 14259 /** ServedFrom keyspace */ 14260 keyspace?: (string|null); 14261 } 14262 14263 /** Represents a ServedFrom. */ 14264 class ServedFrom implements IServedFrom { 14265 14266 /** 14267 * Constructs a new ServedFrom. 14268 * @param [properties] Properties to set 14269 */ 14270 constructor(properties?: topodata.SrvKeyspace.IServedFrom); 14271 14272 /** ServedFrom tablet_type. */ 14273 public tablet_type: topodata.TabletType; 14274 14275 /** ServedFrom keyspace. */ 14276 public keyspace: string; 14277 14278 /** 14279 * Creates a new ServedFrom instance using the specified properties. 14280 * @param [properties] Properties to set 14281 * @returns ServedFrom instance 14282 */ 14283 public static create(properties?: topodata.SrvKeyspace.IServedFrom): topodata.SrvKeyspace.ServedFrom; 14284 14285 /** 14286 * Encodes the specified ServedFrom message. Does not implicitly {@link topodata.SrvKeyspace.ServedFrom.verify|verify} messages. 14287 * @param message ServedFrom message or plain object to encode 14288 * @param [writer] Writer to encode to 14289 * @returns Writer 14290 */ 14291 public static encode(message: topodata.SrvKeyspace.IServedFrom, writer?: $protobuf.Writer): $protobuf.Writer; 14292 14293 /** 14294 * Encodes the specified ServedFrom message, length delimited. Does not implicitly {@link topodata.SrvKeyspace.ServedFrom.verify|verify} messages. 14295 * @param message ServedFrom message or plain object to encode 14296 * @param [writer] Writer to encode to 14297 * @returns Writer 14298 */ 14299 public static encodeDelimited(message: topodata.SrvKeyspace.IServedFrom, writer?: $protobuf.Writer): $protobuf.Writer; 14300 14301 /** 14302 * Decodes a ServedFrom message from the specified reader or buffer. 14303 * @param reader Reader or buffer to decode from 14304 * @param [length] Message length if known beforehand 14305 * @returns ServedFrom 14306 * @throws {Error} If the payload is not a reader or valid buffer 14307 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14308 */ 14309 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.SrvKeyspace.ServedFrom; 14310 14311 /** 14312 * Decodes a ServedFrom message from the specified reader or buffer, length delimited. 14313 * @param reader Reader or buffer to decode from 14314 * @returns ServedFrom 14315 * @throws {Error} If the payload is not a reader or valid buffer 14316 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14317 */ 14318 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.SrvKeyspace.ServedFrom; 14319 14320 /** 14321 * Verifies a ServedFrom message. 14322 * @param message Plain object to verify 14323 * @returns `null` if valid, otherwise the reason why it is not 14324 */ 14325 public static verify(message: { [k: string]: any }): (string|null); 14326 14327 /** 14328 * Creates a ServedFrom message from a plain object. Also converts values to their respective internal types. 14329 * @param object Plain object 14330 * @returns ServedFrom 14331 */ 14332 public static fromObject(object: { [k: string]: any }): topodata.SrvKeyspace.ServedFrom; 14333 14334 /** 14335 * Creates a plain object from a ServedFrom message. Also converts values to other types if specified. 14336 * @param message ServedFrom 14337 * @param [options] Conversion options 14338 * @returns Plain object 14339 */ 14340 public static toObject(message: topodata.SrvKeyspace.ServedFrom, options?: $protobuf.IConversionOptions): { [k: string]: any }; 14341 14342 /** 14343 * Converts this ServedFrom to JSON. 14344 * @returns JSON object 14345 */ 14346 public toJSON(): { [k: string]: any }; 14347 } 14348 } 14349 14350 /** Properties of a CellInfo. */ 14351 interface ICellInfo { 14352 14353 /** CellInfo server_address */ 14354 server_address?: (string|null); 14355 14356 /** CellInfo root */ 14357 root?: (string|null); 14358 } 14359 14360 /** Represents a CellInfo. */ 14361 class CellInfo implements ICellInfo { 14362 14363 /** 14364 * Constructs a new CellInfo. 14365 * @param [properties] Properties to set 14366 */ 14367 constructor(properties?: topodata.ICellInfo); 14368 14369 /** CellInfo server_address. */ 14370 public server_address: string; 14371 14372 /** CellInfo root. */ 14373 public root: string; 14374 14375 /** 14376 * Creates a new CellInfo instance using the specified properties. 14377 * @param [properties] Properties to set 14378 * @returns CellInfo instance 14379 */ 14380 public static create(properties?: topodata.ICellInfo): topodata.CellInfo; 14381 14382 /** 14383 * Encodes the specified CellInfo message. Does not implicitly {@link topodata.CellInfo.verify|verify} messages. 14384 * @param message CellInfo message or plain object to encode 14385 * @param [writer] Writer to encode to 14386 * @returns Writer 14387 */ 14388 public static encode(message: topodata.ICellInfo, writer?: $protobuf.Writer): $protobuf.Writer; 14389 14390 /** 14391 * Encodes the specified CellInfo message, length delimited. Does not implicitly {@link topodata.CellInfo.verify|verify} messages. 14392 * @param message CellInfo message or plain object to encode 14393 * @param [writer] Writer to encode to 14394 * @returns Writer 14395 */ 14396 public static encodeDelimited(message: topodata.ICellInfo, writer?: $protobuf.Writer): $protobuf.Writer; 14397 14398 /** 14399 * Decodes a CellInfo message from the specified reader or buffer. 14400 * @param reader Reader or buffer to decode from 14401 * @param [length] Message length if known beforehand 14402 * @returns CellInfo 14403 * @throws {Error} If the payload is not a reader or valid buffer 14404 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14405 */ 14406 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.CellInfo; 14407 14408 /** 14409 * Decodes a CellInfo message from the specified reader or buffer, length delimited. 14410 * @param reader Reader or buffer to decode from 14411 * @returns CellInfo 14412 * @throws {Error} If the payload is not a reader or valid buffer 14413 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14414 */ 14415 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.CellInfo; 14416 14417 /** 14418 * Verifies a CellInfo message. 14419 * @param message Plain object to verify 14420 * @returns `null` if valid, otherwise the reason why it is not 14421 */ 14422 public static verify(message: { [k: string]: any }): (string|null); 14423 14424 /** 14425 * Creates a CellInfo message from a plain object. Also converts values to their respective internal types. 14426 * @param object Plain object 14427 * @returns CellInfo 14428 */ 14429 public static fromObject(object: { [k: string]: any }): topodata.CellInfo; 14430 14431 /** 14432 * Creates a plain object from a CellInfo message. Also converts values to other types if specified. 14433 * @param message CellInfo 14434 * @param [options] Conversion options 14435 * @returns Plain object 14436 */ 14437 public static toObject(message: topodata.CellInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; 14438 14439 /** 14440 * Converts this CellInfo to JSON. 14441 * @returns JSON object 14442 */ 14443 public toJSON(): { [k: string]: any }; 14444 } 14445 14446 /** Properties of a CellsAlias. */ 14447 interface ICellsAlias { 14448 14449 /** CellsAlias cells */ 14450 cells?: (string[]|null); 14451 } 14452 14453 /** Represents a CellsAlias. */ 14454 class CellsAlias implements ICellsAlias { 14455 14456 /** 14457 * Constructs a new CellsAlias. 14458 * @param [properties] Properties to set 14459 */ 14460 constructor(properties?: topodata.ICellsAlias); 14461 14462 /** CellsAlias cells. */ 14463 public cells: string[]; 14464 14465 /** 14466 * Creates a new CellsAlias instance using the specified properties. 14467 * @param [properties] Properties to set 14468 * @returns CellsAlias instance 14469 */ 14470 public static create(properties?: topodata.ICellsAlias): topodata.CellsAlias; 14471 14472 /** 14473 * Encodes the specified CellsAlias message. Does not implicitly {@link topodata.CellsAlias.verify|verify} messages. 14474 * @param message CellsAlias message or plain object to encode 14475 * @param [writer] Writer to encode to 14476 * @returns Writer 14477 */ 14478 public static encode(message: topodata.ICellsAlias, writer?: $protobuf.Writer): $protobuf.Writer; 14479 14480 /** 14481 * Encodes the specified CellsAlias message, length delimited. Does not implicitly {@link topodata.CellsAlias.verify|verify} messages. 14482 * @param message CellsAlias message or plain object to encode 14483 * @param [writer] Writer to encode to 14484 * @returns Writer 14485 */ 14486 public static encodeDelimited(message: topodata.ICellsAlias, writer?: $protobuf.Writer): $protobuf.Writer; 14487 14488 /** 14489 * Decodes a CellsAlias message from the specified reader or buffer. 14490 * @param reader Reader or buffer to decode from 14491 * @param [length] Message length if known beforehand 14492 * @returns CellsAlias 14493 * @throws {Error} If the payload is not a reader or valid buffer 14494 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14495 */ 14496 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.CellsAlias; 14497 14498 /** 14499 * Decodes a CellsAlias message from the specified reader or buffer, length delimited. 14500 * @param reader Reader or buffer to decode from 14501 * @returns CellsAlias 14502 * @throws {Error} If the payload is not a reader or valid buffer 14503 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14504 */ 14505 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.CellsAlias; 14506 14507 /** 14508 * Verifies a CellsAlias message. 14509 * @param message Plain object to verify 14510 * @returns `null` if valid, otherwise the reason why it is not 14511 */ 14512 public static verify(message: { [k: string]: any }): (string|null); 14513 14514 /** 14515 * Creates a CellsAlias message from a plain object. Also converts values to their respective internal types. 14516 * @param object Plain object 14517 * @returns CellsAlias 14518 */ 14519 public static fromObject(object: { [k: string]: any }): topodata.CellsAlias; 14520 14521 /** 14522 * Creates a plain object from a CellsAlias message. Also converts values to other types if specified. 14523 * @param message CellsAlias 14524 * @param [options] Conversion options 14525 * @returns Plain object 14526 */ 14527 public static toObject(message: topodata.CellsAlias, options?: $protobuf.IConversionOptions): { [k: string]: any }; 14528 14529 /** 14530 * Converts this CellsAlias to JSON. 14531 * @returns JSON object 14532 */ 14533 public toJSON(): { [k: string]: any }; 14534 } 14535 14536 /** Properties of a TopoConfig. */ 14537 interface ITopoConfig { 14538 14539 /** TopoConfig topo_type */ 14540 topo_type?: (string|null); 14541 14542 /** TopoConfig server */ 14543 server?: (string|null); 14544 14545 /** TopoConfig root */ 14546 root?: (string|null); 14547 } 14548 14549 /** Represents a TopoConfig. */ 14550 class TopoConfig implements ITopoConfig { 14551 14552 /** 14553 * Constructs a new TopoConfig. 14554 * @param [properties] Properties to set 14555 */ 14556 constructor(properties?: topodata.ITopoConfig); 14557 14558 /** TopoConfig topo_type. */ 14559 public topo_type: string; 14560 14561 /** TopoConfig server. */ 14562 public server: string; 14563 14564 /** TopoConfig root. */ 14565 public root: string; 14566 14567 /** 14568 * Creates a new TopoConfig instance using the specified properties. 14569 * @param [properties] Properties to set 14570 * @returns TopoConfig instance 14571 */ 14572 public static create(properties?: topodata.ITopoConfig): topodata.TopoConfig; 14573 14574 /** 14575 * Encodes the specified TopoConfig message. Does not implicitly {@link topodata.TopoConfig.verify|verify} messages. 14576 * @param message TopoConfig message or plain object to encode 14577 * @param [writer] Writer to encode to 14578 * @returns Writer 14579 */ 14580 public static encode(message: topodata.ITopoConfig, writer?: $protobuf.Writer): $protobuf.Writer; 14581 14582 /** 14583 * Encodes the specified TopoConfig message, length delimited. Does not implicitly {@link topodata.TopoConfig.verify|verify} messages. 14584 * @param message TopoConfig message or plain object to encode 14585 * @param [writer] Writer to encode to 14586 * @returns Writer 14587 */ 14588 public static encodeDelimited(message: topodata.ITopoConfig, writer?: $protobuf.Writer): $protobuf.Writer; 14589 14590 /** 14591 * Decodes a TopoConfig message from the specified reader or buffer. 14592 * @param reader Reader or buffer to decode from 14593 * @param [length] Message length if known beforehand 14594 * @returns TopoConfig 14595 * @throws {Error} If the payload is not a reader or valid buffer 14596 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14597 */ 14598 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.TopoConfig; 14599 14600 /** 14601 * Decodes a TopoConfig message from the specified reader or buffer, length delimited. 14602 * @param reader Reader or buffer to decode from 14603 * @returns TopoConfig 14604 * @throws {Error} If the payload is not a reader or valid buffer 14605 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14606 */ 14607 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.TopoConfig; 14608 14609 /** 14610 * Verifies a TopoConfig message. 14611 * @param message Plain object to verify 14612 * @returns `null` if valid, otherwise the reason why it is not 14613 */ 14614 public static verify(message: { [k: string]: any }): (string|null); 14615 14616 /** 14617 * Creates a TopoConfig message from a plain object. Also converts values to their respective internal types. 14618 * @param object Plain object 14619 * @returns TopoConfig 14620 */ 14621 public static fromObject(object: { [k: string]: any }): topodata.TopoConfig; 14622 14623 /** 14624 * Creates a plain object from a TopoConfig message. Also converts values to other types if specified. 14625 * @param message TopoConfig 14626 * @param [options] Conversion options 14627 * @returns Plain object 14628 */ 14629 public static toObject(message: topodata.TopoConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; 14630 14631 /** 14632 * Converts this TopoConfig to JSON. 14633 * @returns JSON object 14634 */ 14635 public toJSON(): { [k: string]: any }; 14636 } 14637 14638 /** Properties of an ExternalVitessCluster. */ 14639 interface IExternalVitessCluster { 14640 14641 /** ExternalVitessCluster topo_config */ 14642 topo_config?: (topodata.ITopoConfig|null); 14643 } 14644 14645 /** Represents an ExternalVitessCluster. */ 14646 class ExternalVitessCluster implements IExternalVitessCluster { 14647 14648 /** 14649 * Constructs a new ExternalVitessCluster. 14650 * @param [properties] Properties to set 14651 */ 14652 constructor(properties?: topodata.IExternalVitessCluster); 14653 14654 /** ExternalVitessCluster topo_config. */ 14655 public topo_config?: (topodata.ITopoConfig|null); 14656 14657 /** 14658 * Creates a new ExternalVitessCluster instance using the specified properties. 14659 * @param [properties] Properties to set 14660 * @returns ExternalVitessCluster instance 14661 */ 14662 public static create(properties?: topodata.IExternalVitessCluster): topodata.ExternalVitessCluster; 14663 14664 /** 14665 * Encodes the specified ExternalVitessCluster message. Does not implicitly {@link topodata.ExternalVitessCluster.verify|verify} messages. 14666 * @param message ExternalVitessCluster message or plain object to encode 14667 * @param [writer] Writer to encode to 14668 * @returns Writer 14669 */ 14670 public static encode(message: topodata.IExternalVitessCluster, writer?: $protobuf.Writer): $protobuf.Writer; 14671 14672 /** 14673 * Encodes the specified ExternalVitessCluster message, length delimited. Does not implicitly {@link topodata.ExternalVitessCluster.verify|verify} messages. 14674 * @param message ExternalVitessCluster message or plain object to encode 14675 * @param [writer] Writer to encode to 14676 * @returns Writer 14677 */ 14678 public static encodeDelimited(message: topodata.IExternalVitessCluster, writer?: $protobuf.Writer): $protobuf.Writer; 14679 14680 /** 14681 * Decodes an ExternalVitessCluster message from the specified reader or buffer. 14682 * @param reader Reader or buffer to decode from 14683 * @param [length] Message length if known beforehand 14684 * @returns ExternalVitessCluster 14685 * @throws {Error} If the payload is not a reader or valid buffer 14686 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14687 */ 14688 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.ExternalVitessCluster; 14689 14690 /** 14691 * Decodes an ExternalVitessCluster message from the specified reader or buffer, length delimited. 14692 * @param reader Reader or buffer to decode from 14693 * @returns ExternalVitessCluster 14694 * @throws {Error} If the payload is not a reader or valid buffer 14695 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14696 */ 14697 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.ExternalVitessCluster; 14698 14699 /** 14700 * Verifies an ExternalVitessCluster message. 14701 * @param message Plain object to verify 14702 * @returns `null` if valid, otherwise the reason why it is not 14703 */ 14704 public static verify(message: { [k: string]: any }): (string|null); 14705 14706 /** 14707 * Creates an ExternalVitessCluster message from a plain object. Also converts values to their respective internal types. 14708 * @param object Plain object 14709 * @returns ExternalVitessCluster 14710 */ 14711 public static fromObject(object: { [k: string]: any }): topodata.ExternalVitessCluster; 14712 14713 /** 14714 * Creates a plain object from an ExternalVitessCluster message. Also converts values to other types if specified. 14715 * @param message ExternalVitessCluster 14716 * @param [options] Conversion options 14717 * @returns Plain object 14718 */ 14719 public static toObject(message: topodata.ExternalVitessCluster, options?: $protobuf.IConversionOptions): { [k: string]: any }; 14720 14721 /** 14722 * Converts this ExternalVitessCluster to JSON. 14723 * @returns JSON object 14724 */ 14725 public toJSON(): { [k: string]: any }; 14726 } 14727 14728 /** Properties of an ExternalClusters. */ 14729 interface IExternalClusters { 14730 14731 /** ExternalClusters vitess_cluster */ 14732 vitess_cluster?: (topodata.IExternalVitessCluster[]|null); 14733 } 14734 14735 /** Represents an ExternalClusters. */ 14736 class ExternalClusters implements IExternalClusters { 14737 14738 /** 14739 * Constructs a new ExternalClusters. 14740 * @param [properties] Properties to set 14741 */ 14742 constructor(properties?: topodata.IExternalClusters); 14743 14744 /** ExternalClusters vitess_cluster. */ 14745 public vitess_cluster: topodata.IExternalVitessCluster[]; 14746 14747 /** 14748 * Creates a new ExternalClusters instance using the specified properties. 14749 * @param [properties] Properties to set 14750 * @returns ExternalClusters instance 14751 */ 14752 public static create(properties?: topodata.IExternalClusters): topodata.ExternalClusters; 14753 14754 /** 14755 * Encodes the specified ExternalClusters message. Does not implicitly {@link topodata.ExternalClusters.verify|verify} messages. 14756 * @param message ExternalClusters message or plain object to encode 14757 * @param [writer] Writer to encode to 14758 * @returns Writer 14759 */ 14760 public static encode(message: topodata.IExternalClusters, writer?: $protobuf.Writer): $protobuf.Writer; 14761 14762 /** 14763 * Encodes the specified ExternalClusters message, length delimited. Does not implicitly {@link topodata.ExternalClusters.verify|verify} messages. 14764 * @param message ExternalClusters message or plain object to encode 14765 * @param [writer] Writer to encode to 14766 * @returns Writer 14767 */ 14768 public static encodeDelimited(message: topodata.IExternalClusters, writer?: $protobuf.Writer): $protobuf.Writer; 14769 14770 /** 14771 * Decodes an ExternalClusters message from the specified reader or buffer. 14772 * @param reader Reader or buffer to decode from 14773 * @param [length] Message length if known beforehand 14774 * @returns ExternalClusters 14775 * @throws {Error} If the payload is not a reader or valid buffer 14776 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14777 */ 14778 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): topodata.ExternalClusters; 14779 14780 /** 14781 * Decodes an ExternalClusters message from the specified reader or buffer, length delimited. 14782 * @param reader Reader or buffer to decode from 14783 * @returns ExternalClusters 14784 * @throws {Error} If the payload is not a reader or valid buffer 14785 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14786 */ 14787 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): topodata.ExternalClusters; 14788 14789 /** 14790 * Verifies an ExternalClusters message. 14791 * @param message Plain object to verify 14792 * @returns `null` if valid, otherwise the reason why it is not 14793 */ 14794 public static verify(message: { [k: string]: any }): (string|null); 14795 14796 /** 14797 * Creates an ExternalClusters message from a plain object. Also converts values to their respective internal types. 14798 * @param object Plain object 14799 * @returns ExternalClusters 14800 */ 14801 public static fromObject(object: { [k: string]: any }): topodata.ExternalClusters; 14802 14803 /** 14804 * Creates a plain object from an ExternalClusters message. Also converts values to other types if specified. 14805 * @param message ExternalClusters 14806 * @param [options] Conversion options 14807 * @returns Plain object 14808 */ 14809 public static toObject(message: topodata.ExternalClusters, options?: $protobuf.IConversionOptions): { [k: string]: any }; 14810 14811 /** 14812 * Converts this ExternalClusters to JSON. 14813 * @returns JSON object 14814 */ 14815 public toJSON(): { [k: string]: any }; 14816 } 14817 } 14818 14819 /** Namespace tabletmanagerdata. */ 14820 export namespace tabletmanagerdata { 14821 14822 /** Properties of a TableDefinition. */ 14823 interface ITableDefinition { 14824 14825 /** TableDefinition name */ 14826 name?: (string|null); 14827 14828 /** TableDefinition schema */ 14829 schema?: (string|null); 14830 14831 /** TableDefinition columns */ 14832 columns?: (string[]|null); 14833 14834 /** TableDefinition primary_key_columns */ 14835 primary_key_columns?: (string[]|null); 14836 14837 /** TableDefinition type */ 14838 type?: (string|null); 14839 14840 /** TableDefinition data_length */ 14841 data_length?: (number|Long|null); 14842 14843 /** TableDefinition row_count */ 14844 row_count?: (number|Long|null); 14845 14846 /** TableDefinition fields */ 14847 fields?: (query.IField[]|null); 14848 } 14849 14850 /** Represents a TableDefinition. */ 14851 class TableDefinition implements ITableDefinition { 14852 14853 /** 14854 * Constructs a new TableDefinition. 14855 * @param [properties] Properties to set 14856 */ 14857 constructor(properties?: tabletmanagerdata.ITableDefinition); 14858 14859 /** TableDefinition name. */ 14860 public name: string; 14861 14862 /** TableDefinition schema. */ 14863 public schema: string; 14864 14865 /** TableDefinition columns. */ 14866 public columns: string[]; 14867 14868 /** TableDefinition primary_key_columns. */ 14869 public primary_key_columns: string[]; 14870 14871 /** TableDefinition type. */ 14872 public type: string; 14873 14874 /** TableDefinition data_length. */ 14875 public data_length: (number|Long); 14876 14877 /** TableDefinition row_count. */ 14878 public row_count: (number|Long); 14879 14880 /** TableDefinition fields. */ 14881 public fields: query.IField[]; 14882 14883 /** 14884 * Creates a new TableDefinition instance using the specified properties. 14885 * @param [properties] Properties to set 14886 * @returns TableDefinition instance 14887 */ 14888 public static create(properties?: tabletmanagerdata.ITableDefinition): tabletmanagerdata.TableDefinition; 14889 14890 /** 14891 * Encodes the specified TableDefinition message. Does not implicitly {@link tabletmanagerdata.TableDefinition.verify|verify} messages. 14892 * @param message TableDefinition message or plain object to encode 14893 * @param [writer] Writer to encode to 14894 * @returns Writer 14895 */ 14896 public static encode(message: tabletmanagerdata.ITableDefinition, writer?: $protobuf.Writer): $protobuf.Writer; 14897 14898 /** 14899 * Encodes the specified TableDefinition message, length delimited. Does not implicitly {@link tabletmanagerdata.TableDefinition.verify|verify} messages. 14900 * @param message TableDefinition message or plain object to encode 14901 * @param [writer] Writer to encode to 14902 * @returns Writer 14903 */ 14904 public static encodeDelimited(message: tabletmanagerdata.ITableDefinition, writer?: $protobuf.Writer): $protobuf.Writer; 14905 14906 /** 14907 * Decodes a TableDefinition message from the specified reader or buffer. 14908 * @param reader Reader or buffer to decode from 14909 * @param [length] Message length if known beforehand 14910 * @returns TableDefinition 14911 * @throws {Error} If the payload is not a reader or valid buffer 14912 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14913 */ 14914 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.TableDefinition; 14915 14916 /** 14917 * Decodes a TableDefinition message from the specified reader or buffer, length delimited. 14918 * @param reader Reader or buffer to decode from 14919 * @returns TableDefinition 14920 * @throws {Error} If the payload is not a reader or valid buffer 14921 * @throws {$protobuf.util.ProtocolError} If required fields are missing 14922 */ 14923 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.TableDefinition; 14924 14925 /** 14926 * Verifies a TableDefinition message. 14927 * @param message Plain object to verify 14928 * @returns `null` if valid, otherwise the reason why it is not 14929 */ 14930 public static verify(message: { [k: string]: any }): (string|null); 14931 14932 /** 14933 * Creates a TableDefinition message from a plain object. Also converts values to their respective internal types. 14934 * @param object Plain object 14935 * @returns TableDefinition 14936 */ 14937 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.TableDefinition; 14938 14939 /** 14940 * Creates a plain object from a TableDefinition message. Also converts values to other types if specified. 14941 * @param message TableDefinition 14942 * @param [options] Conversion options 14943 * @returns Plain object 14944 */ 14945 public static toObject(message: tabletmanagerdata.TableDefinition, options?: $protobuf.IConversionOptions): { [k: string]: any }; 14946 14947 /** 14948 * Converts this TableDefinition to JSON. 14949 * @returns JSON object 14950 */ 14951 public toJSON(): { [k: string]: any }; 14952 } 14953 14954 /** Properties of a SchemaDefinition. */ 14955 interface ISchemaDefinition { 14956 14957 /** SchemaDefinition database_schema */ 14958 database_schema?: (string|null); 14959 14960 /** SchemaDefinition table_definitions */ 14961 table_definitions?: (tabletmanagerdata.ITableDefinition[]|null); 14962 14963 /** SchemaDefinition version */ 14964 version?: (string|null); 14965 } 14966 14967 /** Represents a SchemaDefinition. */ 14968 class SchemaDefinition implements ISchemaDefinition { 14969 14970 /** 14971 * Constructs a new SchemaDefinition. 14972 * @param [properties] Properties to set 14973 */ 14974 constructor(properties?: tabletmanagerdata.ISchemaDefinition); 14975 14976 /** SchemaDefinition database_schema. */ 14977 public database_schema: string; 14978 14979 /** SchemaDefinition table_definitions. */ 14980 public table_definitions: tabletmanagerdata.ITableDefinition[]; 14981 14982 /** SchemaDefinition version. */ 14983 public version: string; 14984 14985 /** 14986 * Creates a new SchemaDefinition instance using the specified properties. 14987 * @param [properties] Properties to set 14988 * @returns SchemaDefinition instance 14989 */ 14990 public static create(properties?: tabletmanagerdata.ISchemaDefinition): tabletmanagerdata.SchemaDefinition; 14991 14992 /** 14993 * Encodes the specified SchemaDefinition message. Does not implicitly {@link tabletmanagerdata.SchemaDefinition.verify|verify} messages. 14994 * @param message SchemaDefinition message or plain object to encode 14995 * @param [writer] Writer to encode to 14996 * @returns Writer 14997 */ 14998 public static encode(message: tabletmanagerdata.ISchemaDefinition, writer?: $protobuf.Writer): $protobuf.Writer; 14999 15000 /** 15001 * Encodes the specified SchemaDefinition message, length delimited. Does not implicitly {@link tabletmanagerdata.SchemaDefinition.verify|verify} messages. 15002 * @param message SchemaDefinition message or plain object to encode 15003 * @param [writer] Writer to encode to 15004 * @returns Writer 15005 */ 15006 public static encodeDelimited(message: tabletmanagerdata.ISchemaDefinition, writer?: $protobuf.Writer): $protobuf.Writer; 15007 15008 /** 15009 * Decodes a SchemaDefinition message from the specified reader or buffer. 15010 * @param reader Reader or buffer to decode from 15011 * @param [length] Message length if known beforehand 15012 * @returns SchemaDefinition 15013 * @throws {Error} If the payload is not a reader or valid buffer 15014 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15015 */ 15016 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.SchemaDefinition; 15017 15018 /** 15019 * Decodes a SchemaDefinition message from the specified reader or buffer, length delimited. 15020 * @param reader Reader or buffer to decode from 15021 * @returns SchemaDefinition 15022 * @throws {Error} If the payload is not a reader or valid buffer 15023 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15024 */ 15025 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.SchemaDefinition; 15026 15027 /** 15028 * Verifies a SchemaDefinition message. 15029 * @param message Plain object to verify 15030 * @returns `null` if valid, otherwise the reason why it is not 15031 */ 15032 public static verify(message: { [k: string]: any }): (string|null); 15033 15034 /** 15035 * Creates a SchemaDefinition message from a plain object. Also converts values to their respective internal types. 15036 * @param object Plain object 15037 * @returns SchemaDefinition 15038 */ 15039 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.SchemaDefinition; 15040 15041 /** 15042 * Creates a plain object from a SchemaDefinition message. Also converts values to other types if specified. 15043 * @param message SchemaDefinition 15044 * @param [options] Conversion options 15045 * @returns Plain object 15046 */ 15047 public static toObject(message: tabletmanagerdata.SchemaDefinition, options?: $protobuf.IConversionOptions): { [k: string]: any }; 15048 15049 /** 15050 * Converts this SchemaDefinition to JSON. 15051 * @returns JSON object 15052 */ 15053 public toJSON(): { [k: string]: any }; 15054 } 15055 15056 /** Properties of a SchemaChangeResult. */ 15057 interface ISchemaChangeResult { 15058 15059 /** SchemaChangeResult before_schema */ 15060 before_schema?: (tabletmanagerdata.ISchemaDefinition|null); 15061 15062 /** SchemaChangeResult after_schema */ 15063 after_schema?: (tabletmanagerdata.ISchemaDefinition|null); 15064 } 15065 15066 /** Represents a SchemaChangeResult. */ 15067 class SchemaChangeResult implements ISchemaChangeResult { 15068 15069 /** 15070 * Constructs a new SchemaChangeResult. 15071 * @param [properties] Properties to set 15072 */ 15073 constructor(properties?: tabletmanagerdata.ISchemaChangeResult); 15074 15075 /** SchemaChangeResult before_schema. */ 15076 public before_schema?: (tabletmanagerdata.ISchemaDefinition|null); 15077 15078 /** SchemaChangeResult after_schema. */ 15079 public after_schema?: (tabletmanagerdata.ISchemaDefinition|null); 15080 15081 /** 15082 * Creates a new SchemaChangeResult instance using the specified properties. 15083 * @param [properties] Properties to set 15084 * @returns SchemaChangeResult instance 15085 */ 15086 public static create(properties?: tabletmanagerdata.ISchemaChangeResult): tabletmanagerdata.SchemaChangeResult; 15087 15088 /** 15089 * Encodes the specified SchemaChangeResult message. Does not implicitly {@link tabletmanagerdata.SchemaChangeResult.verify|verify} messages. 15090 * @param message SchemaChangeResult message or plain object to encode 15091 * @param [writer] Writer to encode to 15092 * @returns Writer 15093 */ 15094 public static encode(message: tabletmanagerdata.ISchemaChangeResult, writer?: $protobuf.Writer): $protobuf.Writer; 15095 15096 /** 15097 * Encodes the specified SchemaChangeResult message, length delimited. Does not implicitly {@link tabletmanagerdata.SchemaChangeResult.verify|verify} messages. 15098 * @param message SchemaChangeResult message or plain object to encode 15099 * @param [writer] Writer to encode to 15100 * @returns Writer 15101 */ 15102 public static encodeDelimited(message: tabletmanagerdata.ISchemaChangeResult, writer?: $protobuf.Writer): $protobuf.Writer; 15103 15104 /** 15105 * Decodes a SchemaChangeResult message from the specified reader or buffer. 15106 * @param reader Reader or buffer to decode from 15107 * @param [length] Message length if known beforehand 15108 * @returns SchemaChangeResult 15109 * @throws {Error} If the payload is not a reader or valid buffer 15110 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15111 */ 15112 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.SchemaChangeResult; 15113 15114 /** 15115 * Decodes a SchemaChangeResult message from the specified reader or buffer, length delimited. 15116 * @param reader Reader or buffer to decode from 15117 * @returns SchemaChangeResult 15118 * @throws {Error} If the payload is not a reader or valid buffer 15119 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15120 */ 15121 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.SchemaChangeResult; 15122 15123 /** 15124 * Verifies a SchemaChangeResult message. 15125 * @param message Plain object to verify 15126 * @returns `null` if valid, otherwise the reason why it is not 15127 */ 15128 public static verify(message: { [k: string]: any }): (string|null); 15129 15130 /** 15131 * Creates a SchemaChangeResult message from a plain object. Also converts values to their respective internal types. 15132 * @param object Plain object 15133 * @returns SchemaChangeResult 15134 */ 15135 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.SchemaChangeResult; 15136 15137 /** 15138 * Creates a plain object from a SchemaChangeResult message. Also converts values to other types if specified. 15139 * @param message SchemaChangeResult 15140 * @param [options] Conversion options 15141 * @returns Plain object 15142 */ 15143 public static toObject(message: tabletmanagerdata.SchemaChangeResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; 15144 15145 /** 15146 * Converts this SchemaChangeResult to JSON. 15147 * @returns JSON object 15148 */ 15149 public toJSON(): { [k: string]: any }; 15150 } 15151 15152 /** Properties of a UserPermission. */ 15153 interface IUserPermission { 15154 15155 /** UserPermission host */ 15156 host?: (string|null); 15157 15158 /** UserPermission user */ 15159 user?: (string|null); 15160 15161 /** UserPermission password_checksum */ 15162 password_checksum?: (number|Long|null); 15163 15164 /** UserPermission privileges */ 15165 privileges?: ({ [k: string]: string }|null); 15166 } 15167 15168 /** Represents a UserPermission. */ 15169 class UserPermission implements IUserPermission { 15170 15171 /** 15172 * Constructs a new UserPermission. 15173 * @param [properties] Properties to set 15174 */ 15175 constructor(properties?: tabletmanagerdata.IUserPermission); 15176 15177 /** UserPermission host. */ 15178 public host: string; 15179 15180 /** UserPermission user. */ 15181 public user: string; 15182 15183 /** UserPermission password_checksum. */ 15184 public password_checksum: (number|Long); 15185 15186 /** UserPermission privileges. */ 15187 public privileges: { [k: string]: string }; 15188 15189 /** 15190 * Creates a new UserPermission instance using the specified properties. 15191 * @param [properties] Properties to set 15192 * @returns UserPermission instance 15193 */ 15194 public static create(properties?: tabletmanagerdata.IUserPermission): tabletmanagerdata.UserPermission; 15195 15196 /** 15197 * Encodes the specified UserPermission message. Does not implicitly {@link tabletmanagerdata.UserPermission.verify|verify} messages. 15198 * @param message UserPermission message or plain object to encode 15199 * @param [writer] Writer to encode to 15200 * @returns Writer 15201 */ 15202 public static encode(message: tabletmanagerdata.IUserPermission, writer?: $protobuf.Writer): $protobuf.Writer; 15203 15204 /** 15205 * Encodes the specified UserPermission message, length delimited. Does not implicitly {@link tabletmanagerdata.UserPermission.verify|verify} messages. 15206 * @param message UserPermission message or plain object to encode 15207 * @param [writer] Writer to encode to 15208 * @returns Writer 15209 */ 15210 public static encodeDelimited(message: tabletmanagerdata.IUserPermission, writer?: $protobuf.Writer): $protobuf.Writer; 15211 15212 /** 15213 * Decodes a UserPermission message from the specified reader or buffer. 15214 * @param reader Reader or buffer to decode from 15215 * @param [length] Message length if known beforehand 15216 * @returns UserPermission 15217 * @throws {Error} If the payload is not a reader or valid buffer 15218 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15219 */ 15220 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.UserPermission; 15221 15222 /** 15223 * Decodes a UserPermission message from the specified reader or buffer, length delimited. 15224 * @param reader Reader or buffer to decode from 15225 * @returns UserPermission 15226 * @throws {Error} If the payload is not a reader or valid buffer 15227 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15228 */ 15229 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.UserPermission; 15230 15231 /** 15232 * Verifies a UserPermission message. 15233 * @param message Plain object to verify 15234 * @returns `null` if valid, otherwise the reason why it is not 15235 */ 15236 public static verify(message: { [k: string]: any }): (string|null); 15237 15238 /** 15239 * Creates a UserPermission message from a plain object. Also converts values to their respective internal types. 15240 * @param object Plain object 15241 * @returns UserPermission 15242 */ 15243 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.UserPermission; 15244 15245 /** 15246 * Creates a plain object from a UserPermission message. Also converts values to other types if specified. 15247 * @param message UserPermission 15248 * @param [options] Conversion options 15249 * @returns Plain object 15250 */ 15251 public static toObject(message: tabletmanagerdata.UserPermission, options?: $protobuf.IConversionOptions): { [k: string]: any }; 15252 15253 /** 15254 * Converts this UserPermission to JSON. 15255 * @returns JSON object 15256 */ 15257 public toJSON(): { [k: string]: any }; 15258 } 15259 15260 /** Properties of a DbPermission. */ 15261 interface IDbPermission { 15262 15263 /** DbPermission host */ 15264 host?: (string|null); 15265 15266 /** DbPermission db */ 15267 db?: (string|null); 15268 15269 /** DbPermission user */ 15270 user?: (string|null); 15271 15272 /** DbPermission privileges */ 15273 privileges?: ({ [k: string]: string }|null); 15274 } 15275 15276 /** Represents a DbPermission. */ 15277 class DbPermission implements IDbPermission { 15278 15279 /** 15280 * Constructs a new DbPermission. 15281 * @param [properties] Properties to set 15282 */ 15283 constructor(properties?: tabletmanagerdata.IDbPermission); 15284 15285 /** DbPermission host. */ 15286 public host: string; 15287 15288 /** DbPermission db. */ 15289 public db: string; 15290 15291 /** DbPermission user. */ 15292 public user: string; 15293 15294 /** DbPermission privileges. */ 15295 public privileges: { [k: string]: string }; 15296 15297 /** 15298 * Creates a new DbPermission instance using the specified properties. 15299 * @param [properties] Properties to set 15300 * @returns DbPermission instance 15301 */ 15302 public static create(properties?: tabletmanagerdata.IDbPermission): tabletmanagerdata.DbPermission; 15303 15304 /** 15305 * Encodes the specified DbPermission message. Does not implicitly {@link tabletmanagerdata.DbPermission.verify|verify} messages. 15306 * @param message DbPermission message or plain object to encode 15307 * @param [writer] Writer to encode to 15308 * @returns Writer 15309 */ 15310 public static encode(message: tabletmanagerdata.IDbPermission, writer?: $protobuf.Writer): $protobuf.Writer; 15311 15312 /** 15313 * Encodes the specified DbPermission message, length delimited. Does not implicitly {@link tabletmanagerdata.DbPermission.verify|verify} messages. 15314 * @param message DbPermission message or plain object to encode 15315 * @param [writer] Writer to encode to 15316 * @returns Writer 15317 */ 15318 public static encodeDelimited(message: tabletmanagerdata.IDbPermission, writer?: $protobuf.Writer): $protobuf.Writer; 15319 15320 /** 15321 * Decodes a DbPermission message from the specified reader or buffer. 15322 * @param reader Reader or buffer to decode from 15323 * @param [length] Message length if known beforehand 15324 * @returns DbPermission 15325 * @throws {Error} If the payload is not a reader or valid buffer 15326 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15327 */ 15328 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.DbPermission; 15329 15330 /** 15331 * Decodes a DbPermission message from the specified reader or buffer, length delimited. 15332 * @param reader Reader or buffer to decode from 15333 * @returns DbPermission 15334 * @throws {Error} If the payload is not a reader or valid buffer 15335 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15336 */ 15337 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.DbPermission; 15338 15339 /** 15340 * Verifies a DbPermission message. 15341 * @param message Plain object to verify 15342 * @returns `null` if valid, otherwise the reason why it is not 15343 */ 15344 public static verify(message: { [k: string]: any }): (string|null); 15345 15346 /** 15347 * Creates a DbPermission message from a plain object. Also converts values to their respective internal types. 15348 * @param object Plain object 15349 * @returns DbPermission 15350 */ 15351 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.DbPermission; 15352 15353 /** 15354 * Creates a plain object from a DbPermission message. Also converts values to other types if specified. 15355 * @param message DbPermission 15356 * @param [options] Conversion options 15357 * @returns Plain object 15358 */ 15359 public static toObject(message: tabletmanagerdata.DbPermission, options?: $protobuf.IConversionOptions): { [k: string]: any }; 15360 15361 /** 15362 * Converts this DbPermission to JSON. 15363 * @returns JSON object 15364 */ 15365 public toJSON(): { [k: string]: any }; 15366 } 15367 15368 /** Properties of a Permissions. */ 15369 interface IPermissions { 15370 15371 /** Permissions user_permissions */ 15372 user_permissions?: (tabletmanagerdata.IUserPermission[]|null); 15373 15374 /** Permissions db_permissions */ 15375 db_permissions?: (tabletmanagerdata.IDbPermission[]|null); 15376 } 15377 15378 /** Represents a Permissions. */ 15379 class Permissions implements IPermissions { 15380 15381 /** 15382 * Constructs a new Permissions. 15383 * @param [properties] Properties to set 15384 */ 15385 constructor(properties?: tabletmanagerdata.IPermissions); 15386 15387 /** Permissions user_permissions. */ 15388 public user_permissions: tabletmanagerdata.IUserPermission[]; 15389 15390 /** Permissions db_permissions. */ 15391 public db_permissions: tabletmanagerdata.IDbPermission[]; 15392 15393 /** 15394 * Creates a new Permissions instance using the specified properties. 15395 * @param [properties] Properties to set 15396 * @returns Permissions instance 15397 */ 15398 public static create(properties?: tabletmanagerdata.IPermissions): tabletmanagerdata.Permissions; 15399 15400 /** 15401 * Encodes the specified Permissions message. Does not implicitly {@link tabletmanagerdata.Permissions.verify|verify} messages. 15402 * @param message Permissions message or plain object to encode 15403 * @param [writer] Writer to encode to 15404 * @returns Writer 15405 */ 15406 public static encode(message: tabletmanagerdata.IPermissions, writer?: $protobuf.Writer): $protobuf.Writer; 15407 15408 /** 15409 * Encodes the specified Permissions message, length delimited. Does not implicitly {@link tabletmanagerdata.Permissions.verify|verify} messages. 15410 * @param message Permissions message or plain object to encode 15411 * @param [writer] Writer to encode to 15412 * @returns Writer 15413 */ 15414 public static encodeDelimited(message: tabletmanagerdata.IPermissions, writer?: $protobuf.Writer): $protobuf.Writer; 15415 15416 /** 15417 * Decodes a Permissions message from the specified reader or buffer. 15418 * @param reader Reader or buffer to decode from 15419 * @param [length] Message length if known beforehand 15420 * @returns Permissions 15421 * @throws {Error} If the payload is not a reader or valid buffer 15422 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15423 */ 15424 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.Permissions; 15425 15426 /** 15427 * Decodes a Permissions message from the specified reader or buffer, length delimited. 15428 * @param reader Reader or buffer to decode from 15429 * @returns Permissions 15430 * @throws {Error} If the payload is not a reader or valid buffer 15431 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15432 */ 15433 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.Permissions; 15434 15435 /** 15436 * Verifies a Permissions message. 15437 * @param message Plain object to verify 15438 * @returns `null` if valid, otherwise the reason why it is not 15439 */ 15440 public static verify(message: { [k: string]: any }): (string|null); 15441 15442 /** 15443 * Creates a Permissions message from a plain object. Also converts values to their respective internal types. 15444 * @param object Plain object 15445 * @returns Permissions 15446 */ 15447 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.Permissions; 15448 15449 /** 15450 * Creates a plain object from a Permissions message. Also converts values to other types if specified. 15451 * @param message Permissions 15452 * @param [options] Conversion options 15453 * @returns Plain object 15454 */ 15455 public static toObject(message: tabletmanagerdata.Permissions, options?: $protobuf.IConversionOptions): { [k: string]: any }; 15456 15457 /** 15458 * Converts this Permissions to JSON. 15459 * @returns JSON object 15460 */ 15461 public toJSON(): { [k: string]: any }; 15462 } 15463 15464 /** Properties of a PingRequest. */ 15465 interface IPingRequest { 15466 15467 /** PingRequest payload */ 15468 payload?: (string|null); 15469 } 15470 15471 /** Represents a PingRequest. */ 15472 class PingRequest implements IPingRequest { 15473 15474 /** 15475 * Constructs a new PingRequest. 15476 * @param [properties] Properties to set 15477 */ 15478 constructor(properties?: tabletmanagerdata.IPingRequest); 15479 15480 /** PingRequest payload. */ 15481 public payload: string; 15482 15483 /** 15484 * Creates a new PingRequest instance using the specified properties. 15485 * @param [properties] Properties to set 15486 * @returns PingRequest instance 15487 */ 15488 public static create(properties?: tabletmanagerdata.IPingRequest): tabletmanagerdata.PingRequest; 15489 15490 /** 15491 * Encodes the specified PingRequest message. Does not implicitly {@link tabletmanagerdata.PingRequest.verify|verify} messages. 15492 * @param message PingRequest message or plain object to encode 15493 * @param [writer] Writer to encode to 15494 * @returns Writer 15495 */ 15496 public static encode(message: tabletmanagerdata.IPingRequest, writer?: $protobuf.Writer): $protobuf.Writer; 15497 15498 /** 15499 * Encodes the specified PingRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.PingRequest.verify|verify} messages. 15500 * @param message PingRequest message or plain object to encode 15501 * @param [writer] Writer to encode to 15502 * @returns Writer 15503 */ 15504 public static encodeDelimited(message: tabletmanagerdata.IPingRequest, writer?: $protobuf.Writer): $protobuf.Writer; 15505 15506 /** 15507 * Decodes a PingRequest message from the specified reader or buffer. 15508 * @param reader Reader or buffer to decode from 15509 * @param [length] Message length if known beforehand 15510 * @returns PingRequest 15511 * @throws {Error} If the payload is not a reader or valid buffer 15512 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15513 */ 15514 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PingRequest; 15515 15516 /** 15517 * Decodes a PingRequest message from the specified reader or buffer, length delimited. 15518 * @param reader Reader or buffer to decode from 15519 * @returns PingRequest 15520 * @throws {Error} If the payload is not a reader or valid buffer 15521 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15522 */ 15523 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PingRequest; 15524 15525 /** 15526 * Verifies a PingRequest message. 15527 * @param message Plain object to verify 15528 * @returns `null` if valid, otherwise the reason why it is not 15529 */ 15530 public static verify(message: { [k: string]: any }): (string|null); 15531 15532 /** 15533 * Creates a PingRequest message from a plain object. Also converts values to their respective internal types. 15534 * @param object Plain object 15535 * @returns PingRequest 15536 */ 15537 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PingRequest; 15538 15539 /** 15540 * Creates a plain object from a PingRequest message. Also converts values to other types if specified. 15541 * @param message PingRequest 15542 * @param [options] Conversion options 15543 * @returns Plain object 15544 */ 15545 public static toObject(message: tabletmanagerdata.PingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 15546 15547 /** 15548 * Converts this PingRequest to JSON. 15549 * @returns JSON object 15550 */ 15551 public toJSON(): { [k: string]: any }; 15552 } 15553 15554 /** Properties of a PingResponse. */ 15555 interface IPingResponse { 15556 15557 /** PingResponse payload */ 15558 payload?: (string|null); 15559 } 15560 15561 /** Represents a PingResponse. */ 15562 class PingResponse implements IPingResponse { 15563 15564 /** 15565 * Constructs a new PingResponse. 15566 * @param [properties] Properties to set 15567 */ 15568 constructor(properties?: tabletmanagerdata.IPingResponse); 15569 15570 /** PingResponse payload. */ 15571 public payload: string; 15572 15573 /** 15574 * Creates a new PingResponse instance using the specified properties. 15575 * @param [properties] Properties to set 15576 * @returns PingResponse instance 15577 */ 15578 public static create(properties?: tabletmanagerdata.IPingResponse): tabletmanagerdata.PingResponse; 15579 15580 /** 15581 * Encodes the specified PingResponse message. Does not implicitly {@link tabletmanagerdata.PingResponse.verify|verify} messages. 15582 * @param message PingResponse message or plain object to encode 15583 * @param [writer] Writer to encode to 15584 * @returns Writer 15585 */ 15586 public static encode(message: tabletmanagerdata.IPingResponse, writer?: $protobuf.Writer): $protobuf.Writer; 15587 15588 /** 15589 * Encodes the specified PingResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.PingResponse.verify|verify} messages. 15590 * @param message PingResponse message or plain object to encode 15591 * @param [writer] Writer to encode to 15592 * @returns Writer 15593 */ 15594 public static encodeDelimited(message: tabletmanagerdata.IPingResponse, writer?: $protobuf.Writer): $protobuf.Writer; 15595 15596 /** 15597 * Decodes a PingResponse message from the specified reader or buffer. 15598 * @param reader Reader or buffer to decode from 15599 * @param [length] Message length if known beforehand 15600 * @returns PingResponse 15601 * @throws {Error} If the payload is not a reader or valid buffer 15602 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15603 */ 15604 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PingResponse; 15605 15606 /** 15607 * Decodes a PingResponse message from the specified reader or buffer, length delimited. 15608 * @param reader Reader or buffer to decode from 15609 * @returns PingResponse 15610 * @throws {Error} If the payload is not a reader or valid buffer 15611 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15612 */ 15613 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PingResponse; 15614 15615 /** 15616 * Verifies a PingResponse message. 15617 * @param message Plain object to verify 15618 * @returns `null` if valid, otherwise the reason why it is not 15619 */ 15620 public static verify(message: { [k: string]: any }): (string|null); 15621 15622 /** 15623 * Creates a PingResponse message from a plain object. Also converts values to their respective internal types. 15624 * @param object Plain object 15625 * @returns PingResponse 15626 */ 15627 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PingResponse; 15628 15629 /** 15630 * Creates a plain object from a PingResponse message. Also converts values to other types if specified. 15631 * @param message PingResponse 15632 * @param [options] Conversion options 15633 * @returns Plain object 15634 */ 15635 public static toObject(message: tabletmanagerdata.PingResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 15636 15637 /** 15638 * Converts this PingResponse to JSON. 15639 * @returns JSON object 15640 */ 15641 public toJSON(): { [k: string]: any }; 15642 } 15643 15644 /** Properties of a SleepRequest. */ 15645 interface ISleepRequest { 15646 15647 /** SleepRequest duration */ 15648 duration?: (number|Long|null); 15649 } 15650 15651 /** Represents a SleepRequest. */ 15652 class SleepRequest implements ISleepRequest { 15653 15654 /** 15655 * Constructs a new SleepRequest. 15656 * @param [properties] Properties to set 15657 */ 15658 constructor(properties?: tabletmanagerdata.ISleepRequest); 15659 15660 /** SleepRequest duration. */ 15661 public duration: (number|Long); 15662 15663 /** 15664 * Creates a new SleepRequest instance using the specified properties. 15665 * @param [properties] Properties to set 15666 * @returns SleepRequest instance 15667 */ 15668 public static create(properties?: tabletmanagerdata.ISleepRequest): tabletmanagerdata.SleepRequest; 15669 15670 /** 15671 * Encodes the specified SleepRequest message. Does not implicitly {@link tabletmanagerdata.SleepRequest.verify|verify} messages. 15672 * @param message SleepRequest message or plain object to encode 15673 * @param [writer] Writer to encode to 15674 * @returns Writer 15675 */ 15676 public static encode(message: tabletmanagerdata.ISleepRequest, writer?: $protobuf.Writer): $protobuf.Writer; 15677 15678 /** 15679 * Encodes the specified SleepRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.SleepRequest.verify|verify} messages. 15680 * @param message SleepRequest message or plain object to encode 15681 * @param [writer] Writer to encode to 15682 * @returns Writer 15683 */ 15684 public static encodeDelimited(message: tabletmanagerdata.ISleepRequest, writer?: $protobuf.Writer): $protobuf.Writer; 15685 15686 /** 15687 * Decodes a SleepRequest message from the specified reader or buffer. 15688 * @param reader Reader or buffer to decode from 15689 * @param [length] Message length if known beforehand 15690 * @returns SleepRequest 15691 * @throws {Error} If the payload is not a reader or valid buffer 15692 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15693 */ 15694 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.SleepRequest; 15695 15696 /** 15697 * Decodes a SleepRequest message from the specified reader or buffer, length delimited. 15698 * @param reader Reader or buffer to decode from 15699 * @returns SleepRequest 15700 * @throws {Error} If the payload is not a reader or valid buffer 15701 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15702 */ 15703 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.SleepRequest; 15704 15705 /** 15706 * Verifies a SleepRequest message. 15707 * @param message Plain object to verify 15708 * @returns `null` if valid, otherwise the reason why it is not 15709 */ 15710 public static verify(message: { [k: string]: any }): (string|null); 15711 15712 /** 15713 * Creates a SleepRequest message from a plain object. Also converts values to their respective internal types. 15714 * @param object Plain object 15715 * @returns SleepRequest 15716 */ 15717 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.SleepRequest; 15718 15719 /** 15720 * Creates a plain object from a SleepRequest message. Also converts values to other types if specified. 15721 * @param message SleepRequest 15722 * @param [options] Conversion options 15723 * @returns Plain object 15724 */ 15725 public static toObject(message: tabletmanagerdata.SleepRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 15726 15727 /** 15728 * Converts this SleepRequest to JSON. 15729 * @returns JSON object 15730 */ 15731 public toJSON(): { [k: string]: any }; 15732 } 15733 15734 /** Properties of a SleepResponse. */ 15735 interface ISleepResponse { 15736 } 15737 15738 /** Represents a SleepResponse. */ 15739 class SleepResponse implements ISleepResponse { 15740 15741 /** 15742 * Constructs a new SleepResponse. 15743 * @param [properties] Properties to set 15744 */ 15745 constructor(properties?: tabletmanagerdata.ISleepResponse); 15746 15747 /** 15748 * Creates a new SleepResponse instance using the specified properties. 15749 * @param [properties] Properties to set 15750 * @returns SleepResponse instance 15751 */ 15752 public static create(properties?: tabletmanagerdata.ISleepResponse): tabletmanagerdata.SleepResponse; 15753 15754 /** 15755 * Encodes the specified SleepResponse message. Does not implicitly {@link tabletmanagerdata.SleepResponse.verify|verify} messages. 15756 * @param message SleepResponse message or plain object to encode 15757 * @param [writer] Writer to encode to 15758 * @returns Writer 15759 */ 15760 public static encode(message: tabletmanagerdata.ISleepResponse, writer?: $protobuf.Writer): $protobuf.Writer; 15761 15762 /** 15763 * Encodes the specified SleepResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.SleepResponse.verify|verify} messages. 15764 * @param message SleepResponse message or plain object to encode 15765 * @param [writer] Writer to encode to 15766 * @returns Writer 15767 */ 15768 public static encodeDelimited(message: tabletmanagerdata.ISleepResponse, writer?: $protobuf.Writer): $protobuf.Writer; 15769 15770 /** 15771 * Decodes a SleepResponse message from the specified reader or buffer. 15772 * @param reader Reader or buffer to decode from 15773 * @param [length] Message length if known beforehand 15774 * @returns SleepResponse 15775 * @throws {Error} If the payload is not a reader or valid buffer 15776 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15777 */ 15778 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.SleepResponse; 15779 15780 /** 15781 * Decodes a SleepResponse message from the specified reader or buffer, length delimited. 15782 * @param reader Reader or buffer to decode from 15783 * @returns SleepResponse 15784 * @throws {Error} If the payload is not a reader or valid buffer 15785 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15786 */ 15787 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.SleepResponse; 15788 15789 /** 15790 * Verifies a SleepResponse message. 15791 * @param message Plain object to verify 15792 * @returns `null` if valid, otherwise the reason why it is not 15793 */ 15794 public static verify(message: { [k: string]: any }): (string|null); 15795 15796 /** 15797 * Creates a SleepResponse message from a plain object. Also converts values to their respective internal types. 15798 * @param object Plain object 15799 * @returns SleepResponse 15800 */ 15801 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.SleepResponse; 15802 15803 /** 15804 * Creates a plain object from a SleepResponse message. Also converts values to other types if specified. 15805 * @param message SleepResponse 15806 * @param [options] Conversion options 15807 * @returns Plain object 15808 */ 15809 public static toObject(message: tabletmanagerdata.SleepResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 15810 15811 /** 15812 * Converts this SleepResponse to JSON. 15813 * @returns JSON object 15814 */ 15815 public toJSON(): { [k: string]: any }; 15816 } 15817 15818 /** Properties of an ExecuteHookRequest. */ 15819 interface IExecuteHookRequest { 15820 15821 /** ExecuteHookRequest name */ 15822 name?: (string|null); 15823 15824 /** ExecuteHookRequest parameters */ 15825 parameters?: (string[]|null); 15826 15827 /** ExecuteHookRequest extra_env */ 15828 extra_env?: ({ [k: string]: string }|null); 15829 } 15830 15831 /** Represents an ExecuteHookRequest. */ 15832 class ExecuteHookRequest implements IExecuteHookRequest { 15833 15834 /** 15835 * Constructs a new ExecuteHookRequest. 15836 * @param [properties] Properties to set 15837 */ 15838 constructor(properties?: tabletmanagerdata.IExecuteHookRequest); 15839 15840 /** ExecuteHookRequest name. */ 15841 public name: string; 15842 15843 /** ExecuteHookRequest parameters. */ 15844 public parameters: string[]; 15845 15846 /** ExecuteHookRequest extra_env. */ 15847 public extra_env: { [k: string]: string }; 15848 15849 /** 15850 * Creates a new ExecuteHookRequest instance using the specified properties. 15851 * @param [properties] Properties to set 15852 * @returns ExecuteHookRequest instance 15853 */ 15854 public static create(properties?: tabletmanagerdata.IExecuteHookRequest): tabletmanagerdata.ExecuteHookRequest; 15855 15856 /** 15857 * Encodes the specified ExecuteHookRequest message. Does not implicitly {@link tabletmanagerdata.ExecuteHookRequest.verify|verify} messages. 15858 * @param message ExecuteHookRequest message or plain object to encode 15859 * @param [writer] Writer to encode to 15860 * @returns Writer 15861 */ 15862 public static encode(message: tabletmanagerdata.IExecuteHookRequest, writer?: $protobuf.Writer): $protobuf.Writer; 15863 15864 /** 15865 * Encodes the specified ExecuteHookRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ExecuteHookRequest.verify|verify} messages. 15866 * @param message ExecuteHookRequest message or plain object to encode 15867 * @param [writer] Writer to encode to 15868 * @returns Writer 15869 */ 15870 public static encodeDelimited(message: tabletmanagerdata.IExecuteHookRequest, writer?: $protobuf.Writer): $protobuf.Writer; 15871 15872 /** 15873 * Decodes an ExecuteHookRequest message from the specified reader or buffer. 15874 * @param reader Reader or buffer to decode from 15875 * @param [length] Message length if known beforehand 15876 * @returns ExecuteHookRequest 15877 * @throws {Error} If the payload is not a reader or valid buffer 15878 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15879 */ 15880 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ExecuteHookRequest; 15881 15882 /** 15883 * Decodes an ExecuteHookRequest message from the specified reader or buffer, length delimited. 15884 * @param reader Reader or buffer to decode from 15885 * @returns ExecuteHookRequest 15886 * @throws {Error} If the payload is not a reader or valid buffer 15887 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15888 */ 15889 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ExecuteHookRequest; 15890 15891 /** 15892 * Verifies an ExecuteHookRequest message. 15893 * @param message Plain object to verify 15894 * @returns `null` if valid, otherwise the reason why it is not 15895 */ 15896 public static verify(message: { [k: string]: any }): (string|null); 15897 15898 /** 15899 * Creates an ExecuteHookRequest message from a plain object. Also converts values to their respective internal types. 15900 * @param object Plain object 15901 * @returns ExecuteHookRequest 15902 */ 15903 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ExecuteHookRequest; 15904 15905 /** 15906 * Creates a plain object from an ExecuteHookRequest message. Also converts values to other types if specified. 15907 * @param message ExecuteHookRequest 15908 * @param [options] Conversion options 15909 * @returns Plain object 15910 */ 15911 public static toObject(message: tabletmanagerdata.ExecuteHookRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 15912 15913 /** 15914 * Converts this ExecuteHookRequest to JSON. 15915 * @returns JSON object 15916 */ 15917 public toJSON(): { [k: string]: any }; 15918 } 15919 15920 /** Properties of an ExecuteHookResponse. */ 15921 interface IExecuteHookResponse { 15922 15923 /** ExecuteHookResponse exit_status */ 15924 exit_status?: (number|Long|null); 15925 15926 /** ExecuteHookResponse stdout */ 15927 stdout?: (string|null); 15928 15929 /** ExecuteHookResponse stderr */ 15930 stderr?: (string|null); 15931 } 15932 15933 /** Represents an ExecuteHookResponse. */ 15934 class ExecuteHookResponse implements IExecuteHookResponse { 15935 15936 /** 15937 * Constructs a new ExecuteHookResponse. 15938 * @param [properties] Properties to set 15939 */ 15940 constructor(properties?: tabletmanagerdata.IExecuteHookResponse); 15941 15942 /** ExecuteHookResponse exit_status. */ 15943 public exit_status: (number|Long); 15944 15945 /** ExecuteHookResponse stdout. */ 15946 public stdout: string; 15947 15948 /** ExecuteHookResponse stderr. */ 15949 public stderr: string; 15950 15951 /** 15952 * Creates a new ExecuteHookResponse instance using the specified properties. 15953 * @param [properties] Properties to set 15954 * @returns ExecuteHookResponse instance 15955 */ 15956 public static create(properties?: tabletmanagerdata.IExecuteHookResponse): tabletmanagerdata.ExecuteHookResponse; 15957 15958 /** 15959 * Encodes the specified ExecuteHookResponse message. Does not implicitly {@link tabletmanagerdata.ExecuteHookResponse.verify|verify} messages. 15960 * @param message ExecuteHookResponse message or plain object to encode 15961 * @param [writer] Writer to encode to 15962 * @returns Writer 15963 */ 15964 public static encode(message: tabletmanagerdata.IExecuteHookResponse, writer?: $protobuf.Writer): $protobuf.Writer; 15965 15966 /** 15967 * Encodes the specified ExecuteHookResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ExecuteHookResponse.verify|verify} messages. 15968 * @param message ExecuteHookResponse message or plain object to encode 15969 * @param [writer] Writer to encode to 15970 * @returns Writer 15971 */ 15972 public static encodeDelimited(message: tabletmanagerdata.IExecuteHookResponse, writer?: $protobuf.Writer): $protobuf.Writer; 15973 15974 /** 15975 * Decodes an ExecuteHookResponse message from the specified reader or buffer. 15976 * @param reader Reader or buffer to decode from 15977 * @param [length] Message length if known beforehand 15978 * @returns ExecuteHookResponse 15979 * @throws {Error} If the payload is not a reader or valid buffer 15980 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15981 */ 15982 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ExecuteHookResponse; 15983 15984 /** 15985 * Decodes an ExecuteHookResponse message from the specified reader or buffer, length delimited. 15986 * @param reader Reader or buffer to decode from 15987 * @returns ExecuteHookResponse 15988 * @throws {Error} If the payload is not a reader or valid buffer 15989 * @throws {$protobuf.util.ProtocolError} If required fields are missing 15990 */ 15991 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ExecuteHookResponse; 15992 15993 /** 15994 * Verifies an ExecuteHookResponse message. 15995 * @param message Plain object to verify 15996 * @returns `null` if valid, otherwise the reason why it is not 15997 */ 15998 public static verify(message: { [k: string]: any }): (string|null); 15999 16000 /** 16001 * Creates an ExecuteHookResponse message from a plain object. Also converts values to their respective internal types. 16002 * @param object Plain object 16003 * @returns ExecuteHookResponse 16004 */ 16005 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ExecuteHookResponse; 16006 16007 /** 16008 * Creates a plain object from an ExecuteHookResponse message. Also converts values to other types if specified. 16009 * @param message ExecuteHookResponse 16010 * @param [options] Conversion options 16011 * @returns Plain object 16012 */ 16013 public static toObject(message: tabletmanagerdata.ExecuteHookResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16014 16015 /** 16016 * Converts this ExecuteHookResponse to JSON. 16017 * @returns JSON object 16018 */ 16019 public toJSON(): { [k: string]: any }; 16020 } 16021 16022 /** Properties of a GetSchemaRequest. */ 16023 interface IGetSchemaRequest { 16024 16025 /** GetSchemaRequest tables */ 16026 tables?: (string[]|null); 16027 16028 /** GetSchemaRequest include_views */ 16029 include_views?: (boolean|null); 16030 16031 /** GetSchemaRequest exclude_tables */ 16032 exclude_tables?: (string[]|null); 16033 16034 /** GetSchemaRequest table_schema_only */ 16035 table_schema_only?: (boolean|null); 16036 } 16037 16038 /** Represents a GetSchemaRequest. */ 16039 class GetSchemaRequest implements IGetSchemaRequest { 16040 16041 /** 16042 * Constructs a new GetSchemaRequest. 16043 * @param [properties] Properties to set 16044 */ 16045 constructor(properties?: tabletmanagerdata.IGetSchemaRequest); 16046 16047 /** GetSchemaRequest tables. */ 16048 public tables: string[]; 16049 16050 /** GetSchemaRequest include_views. */ 16051 public include_views: boolean; 16052 16053 /** GetSchemaRequest exclude_tables. */ 16054 public exclude_tables: string[]; 16055 16056 /** GetSchemaRequest table_schema_only. */ 16057 public table_schema_only: boolean; 16058 16059 /** 16060 * Creates a new GetSchemaRequest instance using the specified properties. 16061 * @param [properties] Properties to set 16062 * @returns GetSchemaRequest instance 16063 */ 16064 public static create(properties?: tabletmanagerdata.IGetSchemaRequest): tabletmanagerdata.GetSchemaRequest; 16065 16066 /** 16067 * Encodes the specified GetSchemaRequest message. Does not implicitly {@link tabletmanagerdata.GetSchemaRequest.verify|verify} messages. 16068 * @param message GetSchemaRequest message or plain object to encode 16069 * @param [writer] Writer to encode to 16070 * @returns Writer 16071 */ 16072 public static encode(message: tabletmanagerdata.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16073 16074 /** 16075 * Encodes the specified GetSchemaRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.GetSchemaRequest.verify|verify} messages. 16076 * @param message GetSchemaRequest message or plain object to encode 16077 * @param [writer] Writer to encode to 16078 * @returns Writer 16079 */ 16080 public static encodeDelimited(message: tabletmanagerdata.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16081 16082 /** 16083 * Decodes a GetSchemaRequest message from the specified reader or buffer. 16084 * @param reader Reader or buffer to decode from 16085 * @param [length] Message length if known beforehand 16086 * @returns GetSchemaRequest 16087 * @throws {Error} If the payload is not a reader or valid buffer 16088 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16089 */ 16090 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.GetSchemaRequest; 16091 16092 /** 16093 * Decodes a GetSchemaRequest message from the specified reader or buffer, length delimited. 16094 * @param reader Reader or buffer to decode from 16095 * @returns GetSchemaRequest 16096 * @throws {Error} If the payload is not a reader or valid buffer 16097 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16098 */ 16099 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.GetSchemaRequest; 16100 16101 /** 16102 * Verifies a GetSchemaRequest message. 16103 * @param message Plain object to verify 16104 * @returns `null` if valid, otherwise the reason why it is not 16105 */ 16106 public static verify(message: { [k: string]: any }): (string|null); 16107 16108 /** 16109 * Creates a GetSchemaRequest message from a plain object. Also converts values to their respective internal types. 16110 * @param object Plain object 16111 * @returns GetSchemaRequest 16112 */ 16113 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.GetSchemaRequest; 16114 16115 /** 16116 * Creates a plain object from a GetSchemaRequest message. Also converts values to other types if specified. 16117 * @param message GetSchemaRequest 16118 * @param [options] Conversion options 16119 * @returns Plain object 16120 */ 16121 public static toObject(message: tabletmanagerdata.GetSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16122 16123 /** 16124 * Converts this GetSchemaRequest to JSON. 16125 * @returns JSON object 16126 */ 16127 public toJSON(): { [k: string]: any }; 16128 } 16129 16130 /** Properties of a GetSchemaResponse. */ 16131 interface IGetSchemaResponse { 16132 16133 /** GetSchemaResponse schema_definition */ 16134 schema_definition?: (tabletmanagerdata.ISchemaDefinition|null); 16135 } 16136 16137 /** Represents a GetSchemaResponse. */ 16138 class GetSchemaResponse implements IGetSchemaResponse { 16139 16140 /** 16141 * Constructs a new GetSchemaResponse. 16142 * @param [properties] Properties to set 16143 */ 16144 constructor(properties?: tabletmanagerdata.IGetSchemaResponse); 16145 16146 /** GetSchemaResponse schema_definition. */ 16147 public schema_definition?: (tabletmanagerdata.ISchemaDefinition|null); 16148 16149 /** 16150 * Creates a new GetSchemaResponse instance using the specified properties. 16151 * @param [properties] Properties to set 16152 * @returns GetSchemaResponse instance 16153 */ 16154 public static create(properties?: tabletmanagerdata.IGetSchemaResponse): tabletmanagerdata.GetSchemaResponse; 16155 16156 /** 16157 * Encodes the specified GetSchemaResponse message. Does not implicitly {@link tabletmanagerdata.GetSchemaResponse.verify|verify} messages. 16158 * @param message GetSchemaResponse message or plain object to encode 16159 * @param [writer] Writer to encode to 16160 * @returns Writer 16161 */ 16162 public static encode(message: tabletmanagerdata.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 16163 16164 /** 16165 * Encodes the specified GetSchemaResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.GetSchemaResponse.verify|verify} messages. 16166 * @param message GetSchemaResponse message or plain object to encode 16167 * @param [writer] Writer to encode to 16168 * @returns Writer 16169 */ 16170 public static encodeDelimited(message: tabletmanagerdata.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 16171 16172 /** 16173 * Decodes a GetSchemaResponse message from the specified reader or buffer. 16174 * @param reader Reader or buffer to decode from 16175 * @param [length] Message length if known beforehand 16176 * @returns GetSchemaResponse 16177 * @throws {Error} If the payload is not a reader or valid buffer 16178 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16179 */ 16180 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.GetSchemaResponse; 16181 16182 /** 16183 * Decodes a GetSchemaResponse message from the specified reader or buffer, length delimited. 16184 * @param reader Reader or buffer to decode from 16185 * @returns GetSchemaResponse 16186 * @throws {Error} If the payload is not a reader or valid buffer 16187 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16188 */ 16189 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.GetSchemaResponse; 16190 16191 /** 16192 * Verifies a GetSchemaResponse message. 16193 * @param message Plain object to verify 16194 * @returns `null` if valid, otherwise the reason why it is not 16195 */ 16196 public static verify(message: { [k: string]: any }): (string|null); 16197 16198 /** 16199 * Creates a GetSchemaResponse message from a plain object. Also converts values to their respective internal types. 16200 * @param object Plain object 16201 * @returns GetSchemaResponse 16202 */ 16203 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.GetSchemaResponse; 16204 16205 /** 16206 * Creates a plain object from a GetSchemaResponse message. Also converts values to other types if specified. 16207 * @param message GetSchemaResponse 16208 * @param [options] Conversion options 16209 * @returns Plain object 16210 */ 16211 public static toObject(message: tabletmanagerdata.GetSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16212 16213 /** 16214 * Converts this GetSchemaResponse to JSON. 16215 * @returns JSON object 16216 */ 16217 public toJSON(): { [k: string]: any }; 16218 } 16219 16220 /** Properties of a GetPermissionsRequest. */ 16221 interface IGetPermissionsRequest { 16222 } 16223 16224 /** Represents a GetPermissionsRequest. */ 16225 class GetPermissionsRequest implements IGetPermissionsRequest { 16226 16227 /** 16228 * Constructs a new GetPermissionsRequest. 16229 * @param [properties] Properties to set 16230 */ 16231 constructor(properties?: tabletmanagerdata.IGetPermissionsRequest); 16232 16233 /** 16234 * Creates a new GetPermissionsRequest instance using the specified properties. 16235 * @param [properties] Properties to set 16236 * @returns GetPermissionsRequest instance 16237 */ 16238 public static create(properties?: tabletmanagerdata.IGetPermissionsRequest): tabletmanagerdata.GetPermissionsRequest; 16239 16240 /** 16241 * Encodes the specified GetPermissionsRequest message. Does not implicitly {@link tabletmanagerdata.GetPermissionsRequest.verify|verify} messages. 16242 * @param message GetPermissionsRequest message or plain object to encode 16243 * @param [writer] Writer to encode to 16244 * @returns Writer 16245 */ 16246 public static encode(message: tabletmanagerdata.IGetPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16247 16248 /** 16249 * Encodes the specified GetPermissionsRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.GetPermissionsRequest.verify|verify} messages. 16250 * @param message GetPermissionsRequest message or plain object to encode 16251 * @param [writer] Writer to encode to 16252 * @returns Writer 16253 */ 16254 public static encodeDelimited(message: tabletmanagerdata.IGetPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16255 16256 /** 16257 * Decodes a GetPermissionsRequest message from the specified reader or buffer. 16258 * @param reader Reader or buffer to decode from 16259 * @param [length] Message length if known beforehand 16260 * @returns GetPermissionsRequest 16261 * @throws {Error} If the payload is not a reader or valid buffer 16262 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16263 */ 16264 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.GetPermissionsRequest; 16265 16266 /** 16267 * Decodes a GetPermissionsRequest message from the specified reader or buffer, length delimited. 16268 * @param reader Reader or buffer to decode from 16269 * @returns GetPermissionsRequest 16270 * @throws {Error} If the payload is not a reader or valid buffer 16271 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16272 */ 16273 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.GetPermissionsRequest; 16274 16275 /** 16276 * Verifies a GetPermissionsRequest message. 16277 * @param message Plain object to verify 16278 * @returns `null` if valid, otherwise the reason why it is not 16279 */ 16280 public static verify(message: { [k: string]: any }): (string|null); 16281 16282 /** 16283 * Creates a GetPermissionsRequest message from a plain object. Also converts values to their respective internal types. 16284 * @param object Plain object 16285 * @returns GetPermissionsRequest 16286 */ 16287 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.GetPermissionsRequest; 16288 16289 /** 16290 * Creates a plain object from a GetPermissionsRequest message. Also converts values to other types if specified. 16291 * @param message GetPermissionsRequest 16292 * @param [options] Conversion options 16293 * @returns Plain object 16294 */ 16295 public static toObject(message: tabletmanagerdata.GetPermissionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16296 16297 /** 16298 * Converts this GetPermissionsRequest to JSON. 16299 * @returns JSON object 16300 */ 16301 public toJSON(): { [k: string]: any }; 16302 } 16303 16304 /** Properties of a GetPermissionsResponse. */ 16305 interface IGetPermissionsResponse { 16306 16307 /** GetPermissionsResponse permissions */ 16308 permissions?: (tabletmanagerdata.IPermissions|null); 16309 } 16310 16311 /** Represents a GetPermissionsResponse. */ 16312 class GetPermissionsResponse implements IGetPermissionsResponse { 16313 16314 /** 16315 * Constructs a new GetPermissionsResponse. 16316 * @param [properties] Properties to set 16317 */ 16318 constructor(properties?: tabletmanagerdata.IGetPermissionsResponse); 16319 16320 /** GetPermissionsResponse permissions. */ 16321 public permissions?: (tabletmanagerdata.IPermissions|null); 16322 16323 /** 16324 * Creates a new GetPermissionsResponse instance using the specified properties. 16325 * @param [properties] Properties to set 16326 * @returns GetPermissionsResponse instance 16327 */ 16328 public static create(properties?: tabletmanagerdata.IGetPermissionsResponse): tabletmanagerdata.GetPermissionsResponse; 16329 16330 /** 16331 * Encodes the specified GetPermissionsResponse message. Does not implicitly {@link tabletmanagerdata.GetPermissionsResponse.verify|verify} messages. 16332 * @param message GetPermissionsResponse message or plain object to encode 16333 * @param [writer] Writer to encode to 16334 * @returns Writer 16335 */ 16336 public static encode(message: tabletmanagerdata.IGetPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 16337 16338 /** 16339 * Encodes the specified GetPermissionsResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.GetPermissionsResponse.verify|verify} messages. 16340 * @param message GetPermissionsResponse message or plain object to encode 16341 * @param [writer] Writer to encode to 16342 * @returns Writer 16343 */ 16344 public static encodeDelimited(message: tabletmanagerdata.IGetPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 16345 16346 /** 16347 * Decodes a GetPermissionsResponse message from the specified reader or buffer. 16348 * @param reader Reader or buffer to decode from 16349 * @param [length] Message length if known beforehand 16350 * @returns GetPermissionsResponse 16351 * @throws {Error} If the payload is not a reader or valid buffer 16352 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16353 */ 16354 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.GetPermissionsResponse; 16355 16356 /** 16357 * Decodes a GetPermissionsResponse message from the specified reader or buffer, length delimited. 16358 * @param reader Reader or buffer to decode from 16359 * @returns GetPermissionsResponse 16360 * @throws {Error} If the payload is not a reader or valid buffer 16361 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16362 */ 16363 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.GetPermissionsResponse; 16364 16365 /** 16366 * Verifies a GetPermissionsResponse message. 16367 * @param message Plain object to verify 16368 * @returns `null` if valid, otherwise the reason why it is not 16369 */ 16370 public static verify(message: { [k: string]: any }): (string|null); 16371 16372 /** 16373 * Creates a GetPermissionsResponse message from a plain object. Also converts values to their respective internal types. 16374 * @param object Plain object 16375 * @returns GetPermissionsResponse 16376 */ 16377 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.GetPermissionsResponse; 16378 16379 /** 16380 * Creates a plain object from a GetPermissionsResponse message. Also converts values to other types if specified. 16381 * @param message GetPermissionsResponse 16382 * @param [options] Conversion options 16383 * @returns Plain object 16384 */ 16385 public static toObject(message: tabletmanagerdata.GetPermissionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16386 16387 /** 16388 * Converts this GetPermissionsResponse to JSON. 16389 * @returns JSON object 16390 */ 16391 public toJSON(): { [k: string]: any }; 16392 } 16393 16394 /** Properties of a SetReadOnlyRequest. */ 16395 interface ISetReadOnlyRequest { 16396 } 16397 16398 /** Represents a SetReadOnlyRequest. */ 16399 class SetReadOnlyRequest implements ISetReadOnlyRequest { 16400 16401 /** 16402 * Constructs a new SetReadOnlyRequest. 16403 * @param [properties] Properties to set 16404 */ 16405 constructor(properties?: tabletmanagerdata.ISetReadOnlyRequest); 16406 16407 /** 16408 * Creates a new SetReadOnlyRequest instance using the specified properties. 16409 * @param [properties] Properties to set 16410 * @returns SetReadOnlyRequest instance 16411 */ 16412 public static create(properties?: tabletmanagerdata.ISetReadOnlyRequest): tabletmanagerdata.SetReadOnlyRequest; 16413 16414 /** 16415 * Encodes the specified SetReadOnlyRequest message. Does not implicitly {@link tabletmanagerdata.SetReadOnlyRequest.verify|verify} messages. 16416 * @param message SetReadOnlyRequest message or plain object to encode 16417 * @param [writer] Writer to encode to 16418 * @returns Writer 16419 */ 16420 public static encode(message: tabletmanagerdata.ISetReadOnlyRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16421 16422 /** 16423 * Encodes the specified SetReadOnlyRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.SetReadOnlyRequest.verify|verify} messages. 16424 * @param message SetReadOnlyRequest message or plain object to encode 16425 * @param [writer] Writer to encode to 16426 * @returns Writer 16427 */ 16428 public static encodeDelimited(message: tabletmanagerdata.ISetReadOnlyRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16429 16430 /** 16431 * Decodes a SetReadOnlyRequest message from the specified reader or buffer. 16432 * @param reader Reader or buffer to decode from 16433 * @param [length] Message length if known beforehand 16434 * @returns SetReadOnlyRequest 16435 * @throws {Error} If the payload is not a reader or valid buffer 16436 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16437 */ 16438 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.SetReadOnlyRequest; 16439 16440 /** 16441 * Decodes a SetReadOnlyRequest message from the specified reader or buffer, length delimited. 16442 * @param reader Reader or buffer to decode from 16443 * @returns SetReadOnlyRequest 16444 * @throws {Error} If the payload is not a reader or valid buffer 16445 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16446 */ 16447 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.SetReadOnlyRequest; 16448 16449 /** 16450 * Verifies a SetReadOnlyRequest message. 16451 * @param message Plain object to verify 16452 * @returns `null` if valid, otherwise the reason why it is not 16453 */ 16454 public static verify(message: { [k: string]: any }): (string|null); 16455 16456 /** 16457 * Creates a SetReadOnlyRequest message from a plain object. Also converts values to their respective internal types. 16458 * @param object Plain object 16459 * @returns SetReadOnlyRequest 16460 */ 16461 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.SetReadOnlyRequest; 16462 16463 /** 16464 * Creates a plain object from a SetReadOnlyRequest message. Also converts values to other types if specified. 16465 * @param message SetReadOnlyRequest 16466 * @param [options] Conversion options 16467 * @returns Plain object 16468 */ 16469 public static toObject(message: tabletmanagerdata.SetReadOnlyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16470 16471 /** 16472 * Converts this SetReadOnlyRequest to JSON. 16473 * @returns JSON object 16474 */ 16475 public toJSON(): { [k: string]: any }; 16476 } 16477 16478 /** Properties of a SetReadOnlyResponse. */ 16479 interface ISetReadOnlyResponse { 16480 } 16481 16482 /** Represents a SetReadOnlyResponse. */ 16483 class SetReadOnlyResponse implements ISetReadOnlyResponse { 16484 16485 /** 16486 * Constructs a new SetReadOnlyResponse. 16487 * @param [properties] Properties to set 16488 */ 16489 constructor(properties?: tabletmanagerdata.ISetReadOnlyResponse); 16490 16491 /** 16492 * Creates a new SetReadOnlyResponse instance using the specified properties. 16493 * @param [properties] Properties to set 16494 * @returns SetReadOnlyResponse instance 16495 */ 16496 public static create(properties?: tabletmanagerdata.ISetReadOnlyResponse): tabletmanagerdata.SetReadOnlyResponse; 16497 16498 /** 16499 * Encodes the specified SetReadOnlyResponse message. Does not implicitly {@link tabletmanagerdata.SetReadOnlyResponse.verify|verify} messages. 16500 * @param message SetReadOnlyResponse message or plain object to encode 16501 * @param [writer] Writer to encode to 16502 * @returns Writer 16503 */ 16504 public static encode(message: tabletmanagerdata.ISetReadOnlyResponse, writer?: $protobuf.Writer): $protobuf.Writer; 16505 16506 /** 16507 * Encodes the specified SetReadOnlyResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.SetReadOnlyResponse.verify|verify} messages. 16508 * @param message SetReadOnlyResponse message or plain object to encode 16509 * @param [writer] Writer to encode to 16510 * @returns Writer 16511 */ 16512 public static encodeDelimited(message: tabletmanagerdata.ISetReadOnlyResponse, writer?: $protobuf.Writer): $protobuf.Writer; 16513 16514 /** 16515 * Decodes a SetReadOnlyResponse message from the specified reader or buffer. 16516 * @param reader Reader or buffer to decode from 16517 * @param [length] Message length if known beforehand 16518 * @returns SetReadOnlyResponse 16519 * @throws {Error} If the payload is not a reader or valid buffer 16520 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16521 */ 16522 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.SetReadOnlyResponse; 16523 16524 /** 16525 * Decodes a SetReadOnlyResponse message from the specified reader or buffer, length delimited. 16526 * @param reader Reader or buffer to decode from 16527 * @returns SetReadOnlyResponse 16528 * @throws {Error} If the payload is not a reader or valid buffer 16529 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16530 */ 16531 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.SetReadOnlyResponse; 16532 16533 /** 16534 * Verifies a SetReadOnlyResponse message. 16535 * @param message Plain object to verify 16536 * @returns `null` if valid, otherwise the reason why it is not 16537 */ 16538 public static verify(message: { [k: string]: any }): (string|null); 16539 16540 /** 16541 * Creates a SetReadOnlyResponse message from a plain object. Also converts values to their respective internal types. 16542 * @param object Plain object 16543 * @returns SetReadOnlyResponse 16544 */ 16545 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.SetReadOnlyResponse; 16546 16547 /** 16548 * Creates a plain object from a SetReadOnlyResponse message. Also converts values to other types if specified. 16549 * @param message SetReadOnlyResponse 16550 * @param [options] Conversion options 16551 * @returns Plain object 16552 */ 16553 public static toObject(message: tabletmanagerdata.SetReadOnlyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16554 16555 /** 16556 * Converts this SetReadOnlyResponse to JSON. 16557 * @returns JSON object 16558 */ 16559 public toJSON(): { [k: string]: any }; 16560 } 16561 16562 /** Properties of a SetReadWriteRequest. */ 16563 interface ISetReadWriteRequest { 16564 } 16565 16566 /** Represents a SetReadWriteRequest. */ 16567 class SetReadWriteRequest implements ISetReadWriteRequest { 16568 16569 /** 16570 * Constructs a new SetReadWriteRequest. 16571 * @param [properties] Properties to set 16572 */ 16573 constructor(properties?: tabletmanagerdata.ISetReadWriteRequest); 16574 16575 /** 16576 * Creates a new SetReadWriteRequest instance using the specified properties. 16577 * @param [properties] Properties to set 16578 * @returns SetReadWriteRequest instance 16579 */ 16580 public static create(properties?: tabletmanagerdata.ISetReadWriteRequest): tabletmanagerdata.SetReadWriteRequest; 16581 16582 /** 16583 * Encodes the specified SetReadWriteRequest message. Does not implicitly {@link tabletmanagerdata.SetReadWriteRequest.verify|verify} messages. 16584 * @param message SetReadWriteRequest message or plain object to encode 16585 * @param [writer] Writer to encode to 16586 * @returns Writer 16587 */ 16588 public static encode(message: tabletmanagerdata.ISetReadWriteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16589 16590 /** 16591 * Encodes the specified SetReadWriteRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.SetReadWriteRequest.verify|verify} messages. 16592 * @param message SetReadWriteRequest message or plain object to encode 16593 * @param [writer] Writer to encode to 16594 * @returns Writer 16595 */ 16596 public static encodeDelimited(message: tabletmanagerdata.ISetReadWriteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16597 16598 /** 16599 * Decodes a SetReadWriteRequest message from the specified reader or buffer. 16600 * @param reader Reader or buffer to decode from 16601 * @param [length] Message length if known beforehand 16602 * @returns SetReadWriteRequest 16603 * @throws {Error} If the payload is not a reader or valid buffer 16604 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16605 */ 16606 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.SetReadWriteRequest; 16607 16608 /** 16609 * Decodes a SetReadWriteRequest message from the specified reader or buffer, length delimited. 16610 * @param reader Reader or buffer to decode from 16611 * @returns SetReadWriteRequest 16612 * @throws {Error} If the payload is not a reader or valid buffer 16613 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16614 */ 16615 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.SetReadWriteRequest; 16616 16617 /** 16618 * Verifies a SetReadWriteRequest message. 16619 * @param message Plain object to verify 16620 * @returns `null` if valid, otherwise the reason why it is not 16621 */ 16622 public static verify(message: { [k: string]: any }): (string|null); 16623 16624 /** 16625 * Creates a SetReadWriteRequest message from a plain object. Also converts values to their respective internal types. 16626 * @param object Plain object 16627 * @returns SetReadWriteRequest 16628 */ 16629 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.SetReadWriteRequest; 16630 16631 /** 16632 * Creates a plain object from a SetReadWriteRequest message. Also converts values to other types if specified. 16633 * @param message SetReadWriteRequest 16634 * @param [options] Conversion options 16635 * @returns Plain object 16636 */ 16637 public static toObject(message: tabletmanagerdata.SetReadWriteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16638 16639 /** 16640 * Converts this SetReadWriteRequest to JSON. 16641 * @returns JSON object 16642 */ 16643 public toJSON(): { [k: string]: any }; 16644 } 16645 16646 /** Properties of a SetReadWriteResponse. */ 16647 interface ISetReadWriteResponse { 16648 } 16649 16650 /** Represents a SetReadWriteResponse. */ 16651 class SetReadWriteResponse implements ISetReadWriteResponse { 16652 16653 /** 16654 * Constructs a new SetReadWriteResponse. 16655 * @param [properties] Properties to set 16656 */ 16657 constructor(properties?: tabletmanagerdata.ISetReadWriteResponse); 16658 16659 /** 16660 * Creates a new SetReadWriteResponse instance using the specified properties. 16661 * @param [properties] Properties to set 16662 * @returns SetReadWriteResponse instance 16663 */ 16664 public static create(properties?: tabletmanagerdata.ISetReadWriteResponse): tabletmanagerdata.SetReadWriteResponse; 16665 16666 /** 16667 * Encodes the specified SetReadWriteResponse message. Does not implicitly {@link tabletmanagerdata.SetReadWriteResponse.verify|verify} messages. 16668 * @param message SetReadWriteResponse message or plain object to encode 16669 * @param [writer] Writer to encode to 16670 * @returns Writer 16671 */ 16672 public static encode(message: tabletmanagerdata.ISetReadWriteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 16673 16674 /** 16675 * Encodes the specified SetReadWriteResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.SetReadWriteResponse.verify|verify} messages. 16676 * @param message SetReadWriteResponse message or plain object to encode 16677 * @param [writer] Writer to encode to 16678 * @returns Writer 16679 */ 16680 public static encodeDelimited(message: tabletmanagerdata.ISetReadWriteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 16681 16682 /** 16683 * Decodes a SetReadWriteResponse message from the specified reader or buffer. 16684 * @param reader Reader or buffer to decode from 16685 * @param [length] Message length if known beforehand 16686 * @returns SetReadWriteResponse 16687 * @throws {Error} If the payload is not a reader or valid buffer 16688 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16689 */ 16690 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.SetReadWriteResponse; 16691 16692 /** 16693 * Decodes a SetReadWriteResponse message from the specified reader or buffer, length delimited. 16694 * @param reader Reader or buffer to decode from 16695 * @returns SetReadWriteResponse 16696 * @throws {Error} If the payload is not a reader or valid buffer 16697 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16698 */ 16699 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.SetReadWriteResponse; 16700 16701 /** 16702 * Verifies a SetReadWriteResponse message. 16703 * @param message Plain object to verify 16704 * @returns `null` if valid, otherwise the reason why it is not 16705 */ 16706 public static verify(message: { [k: string]: any }): (string|null); 16707 16708 /** 16709 * Creates a SetReadWriteResponse message from a plain object. Also converts values to their respective internal types. 16710 * @param object Plain object 16711 * @returns SetReadWriteResponse 16712 */ 16713 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.SetReadWriteResponse; 16714 16715 /** 16716 * Creates a plain object from a SetReadWriteResponse message. Also converts values to other types if specified. 16717 * @param message SetReadWriteResponse 16718 * @param [options] Conversion options 16719 * @returns Plain object 16720 */ 16721 public static toObject(message: tabletmanagerdata.SetReadWriteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16722 16723 /** 16724 * Converts this SetReadWriteResponse to JSON. 16725 * @returns JSON object 16726 */ 16727 public toJSON(): { [k: string]: any }; 16728 } 16729 16730 /** Properties of a ChangeTypeRequest. */ 16731 interface IChangeTypeRequest { 16732 16733 /** ChangeTypeRequest tablet_type */ 16734 tablet_type?: (topodata.TabletType|null); 16735 16736 /** ChangeTypeRequest semiSync */ 16737 semiSync?: (boolean|null); 16738 } 16739 16740 /** Represents a ChangeTypeRequest. */ 16741 class ChangeTypeRequest implements IChangeTypeRequest { 16742 16743 /** 16744 * Constructs a new ChangeTypeRequest. 16745 * @param [properties] Properties to set 16746 */ 16747 constructor(properties?: tabletmanagerdata.IChangeTypeRequest); 16748 16749 /** ChangeTypeRequest tablet_type. */ 16750 public tablet_type: topodata.TabletType; 16751 16752 /** ChangeTypeRequest semiSync. */ 16753 public semiSync: boolean; 16754 16755 /** 16756 * Creates a new ChangeTypeRequest instance using the specified properties. 16757 * @param [properties] Properties to set 16758 * @returns ChangeTypeRequest instance 16759 */ 16760 public static create(properties?: tabletmanagerdata.IChangeTypeRequest): tabletmanagerdata.ChangeTypeRequest; 16761 16762 /** 16763 * Encodes the specified ChangeTypeRequest message. Does not implicitly {@link tabletmanagerdata.ChangeTypeRequest.verify|verify} messages. 16764 * @param message ChangeTypeRequest message or plain object to encode 16765 * @param [writer] Writer to encode to 16766 * @returns Writer 16767 */ 16768 public static encode(message: tabletmanagerdata.IChangeTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16769 16770 /** 16771 * Encodes the specified ChangeTypeRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ChangeTypeRequest.verify|verify} messages. 16772 * @param message ChangeTypeRequest message or plain object to encode 16773 * @param [writer] Writer to encode to 16774 * @returns Writer 16775 */ 16776 public static encodeDelimited(message: tabletmanagerdata.IChangeTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16777 16778 /** 16779 * Decodes a ChangeTypeRequest message from the specified reader or buffer. 16780 * @param reader Reader or buffer to decode from 16781 * @param [length] Message length if known beforehand 16782 * @returns ChangeTypeRequest 16783 * @throws {Error} If the payload is not a reader or valid buffer 16784 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16785 */ 16786 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ChangeTypeRequest; 16787 16788 /** 16789 * Decodes a ChangeTypeRequest message from the specified reader or buffer, length delimited. 16790 * @param reader Reader or buffer to decode from 16791 * @returns ChangeTypeRequest 16792 * @throws {Error} If the payload is not a reader or valid buffer 16793 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16794 */ 16795 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ChangeTypeRequest; 16796 16797 /** 16798 * Verifies a ChangeTypeRequest message. 16799 * @param message Plain object to verify 16800 * @returns `null` if valid, otherwise the reason why it is not 16801 */ 16802 public static verify(message: { [k: string]: any }): (string|null); 16803 16804 /** 16805 * Creates a ChangeTypeRequest message from a plain object. Also converts values to their respective internal types. 16806 * @param object Plain object 16807 * @returns ChangeTypeRequest 16808 */ 16809 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ChangeTypeRequest; 16810 16811 /** 16812 * Creates a plain object from a ChangeTypeRequest message. Also converts values to other types if specified. 16813 * @param message ChangeTypeRequest 16814 * @param [options] Conversion options 16815 * @returns Plain object 16816 */ 16817 public static toObject(message: tabletmanagerdata.ChangeTypeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16818 16819 /** 16820 * Converts this ChangeTypeRequest to JSON. 16821 * @returns JSON object 16822 */ 16823 public toJSON(): { [k: string]: any }; 16824 } 16825 16826 /** Properties of a ChangeTypeResponse. */ 16827 interface IChangeTypeResponse { 16828 } 16829 16830 /** Represents a ChangeTypeResponse. */ 16831 class ChangeTypeResponse implements IChangeTypeResponse { 16832 16833 /** 16834 * Constructs a new ChangeTypeResponse. 16835 * @param [properties] Properties to set 16836 */ 16837 constructor(properties?: tabletmanagerdata.IChangeTypeResponse); 16838 16839 /** 16840 * Creates a new ChangeTypeResponse instance using the specified properties. 16841 * @param [properties] Properties to set 16842 * @returns ChangeTypeResponse instance 16843 */ 16844 public static create(properties?: tabletmanagerdata.IChangeTypeResponse): tabletmanagerdata.ChangeTypeResponse; 16845 16846 /** 16847 * Encodes the specified ChangeTypeResponse message. Does not implicitly {@link tabletmanagerdata.ChangeTypeResponse.verify|verify} messages. 16848 * @param message ChangeTypeResponse message or plain object to encode 16849 * @param [writer] Writer to encode to 16850 * @returns Writer 16851 */ 16852 public static encode(message: tabletmanagerdata.IChangeTypeResponse, writer?: $protobuf.Writer): $protobuf.Writer; 16853 16854 /** 16855 * Encodes the specified ChangeTypeResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ChangeTypeResponse.verify|verify} messages. 16856 * @param message ChangeTypeResponse message or plain object to encode 16857 * @param [writer] Writer to encode to 16858 * @returns Writer 16859 */ 16860 public static encodeDelimited(message: tabletmanagerdata.IChangeTypeResponse, writer?: $protobuf.Writer): $protobuf.Writer; 16861 16862 /** 16863 * Decodes a ChangeTypeResponse message from the specified reader or buffer. 16864 * @param reader Reader or buffer to decode from 16865 * @param [length] Message length if known beforehand 16866 * @returns ChangeTypeResponse 16867 * @throws {Error} If the payload is not a reader or valid buffer 16868 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16869 */ 16870 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ChangeTypeResponse; 16871 16872 /** 16873 * Decodes a ChangeTypeResponse message from the specified reader or buffer, length delimited. 16874 * @param reader Reader or buffer to decode from 16875 * @returns ChangeTypeResponse 16876 * @throws {Error} If the payload is not a reader or valid buffer 16877 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16878 */ 16879 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ChangeTypeResponse; 16880 16881 /** 16882 * Verifies a ChangeTypeResponse message. 16883 * @param message Plain object to verify 16884 * @returns `null` if valid, otherwise the reason why it is not 16885 */ 16886 public static verify(message: { [k: string]: any }): (string|null); 16887 16888 /** 16889 * Creates a ChangeTypeResponse message from a plain object. Also converts values to their respective internal types. 16890 * @param object Plain object 16891 * @returns ChangeTypeResponse 16892 */ 16893 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ChangeTypeResponse; 16894 16895 /** 16896 * Creates a plain object from a ChangeTypeResponse message. Also converts values to other types if specified. 16897 * @param message ChangeTypeResponse 16898 * @param [options] Conversion options 16899 * @returns Plain object 16900 */ 16901 public static toObject(message: tabletmanagerdata.ChangeTypeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16902 16903 /** 16904 * Converts this ChangeTypeResponse to JSON. 16905 * @returns JSON object 16906 */ 16907 public toJSON(): { [k: string]: any }; 16908 } 16909 16910 /** Properties of a RefreshStateRequest. */ 16911 interface IRefreshStateRequest { 16912 } 16913 16914 /** Represents a RefreshStateRequest. */ 16915 class RefreshStateRequest implements IRefreshStateRequest { 16916 16917 /** 16918 * Constructs a new RefreshStateRequest. 16919 * @param [properties] Properties to set 16920 */ 16921 constructor(properties?: tabletmanagerdata.IRefreshStateRequest); 16922 16923 /** 16924 * Creates a new RefreshStateRequest instance using the specified properties. 16925 * @param [properties] Properties to set 16926 * @returns RefreshStateRequest instance 16927 */ 16928 public static create(properties?: tabletmanagerdata.IRefreshStateRequest): tabletmanagerdata.RefreshStateRequest; 16929 16930 /** 16931 * Encodes the specified RefreshStateRequest message. Does not implicitly {@link tabletmanagerdata.RefreshStateRequest.verify|verify} messages. 16932 * @param message RefreshStateRequest message or plain object to encode 16933 * @param [writer] Writer to encode to 16934 * @returns Writer 16935 */ 16936 public static encode(message: tabletmanagerdata.IRefreshStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16937 16938 /** 16939 * Encodes the specified RefreshStateRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.RefreshStateRequest.verify|verify} messages. 16940 * @param message RefreshStateRequest message or plain object to encode 16941 * @param [writer] Writer to encode to 16942 * @returns Writer 16943 */ 16944 public static encodeDelimited(message: tabletmanagerdata.IRefreshStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; 16945 16946 /** 16947 * Decodes a RefreshStateRequest message from the specified reader or buffer. 16948 * @param reader Reader or buffer to decode from 16949 * @param [length] Message length if known beforehand 16950 * @returns RefreshStateRequest 16951 * @throws {Error} If the payload is not a reader or valid buffer 16952 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16953 */ 16954 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.RefreshStateRequest; 16955 16956 /** 16957 * Decodes a RefreshStateRequest message from the specified reader or buffer, length delimited. 16958 * @param reader Reader or buffer to decode from 16959 * @returns RefreshStateRequest 16960 * @throws {Error} If the payload is not a reader or valid buffer 16961 * @throws {$protobuf.util.ProtocolError} If required fields are missing 16962 */ 16963 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.RefreshStateRequest; 16964 16965 /** 16966 * Verifies a RefreshStateRequest message. 16967 * @param message Plain object to verify 16968 * @returns `null` if valid, otherwise the reason why it is not 16969 */ 16970 public static verify(message: { [k: string]: any }): (string|null); 16971 16972 /** 16973 * Creates a RefreshStateRequest message from a plain object. Also converts values to their respective internal types. 16974 * @param object Plain object 16975 * @returns RefreshStateRequest 16976 */ 16977 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.RefreshStateRequest; 16978 16979 /** 16980 * Creates a plain object from a RefreshStateRequest message. Also converts values to other types if specified. 16981 * @param message RefreshStateRequest 16982 * @param [options] Conversion options 16983 * @returns Plain object 16984 */ 16985 public static toObject(message: tabletmanagerdata.RefreshStateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 16986 16987 /** 16988 * Converts this RefreshStateRequest to JSON. 16989 * @returns JSON object 16990 */ 16991 public toJSON(): { [k: string]: any }; 16992 } 16993 16994 /** Properties of a RefreshStateResponse. */ 16995 interface IRefreshStateResponse { 16996 } 16997 16998 /** Represents a RefreshStateResponse. */ 16999 class RefreshStateResponse implements IRefreshStateResponse { 17000 17001 /** 17002 * Constructs a new RefreshStateResponse. 17003 * @param [properties] Properties to set 17004 */ 17005 constructor(properties?: tabletmanagerdata.IRefreshStateResponse); 17006 17007 /** 17008 * Creates a new RefreshStateResponse instance using the specified properties. 17009 * @param [properties] Properties to set 17010 * @returns RefreshStateResponse instance 17011 */ 17012 public static create(properties?: tabletmanagerdata.IRefreshStateResponse): tabletmanagerdata.RefreshStateResponse; 17013 17014 /** 17015 * Encodes the specified RefreshStateResponse message. Does not implicitly {@link tabletmanagerdata.RefreshStateResponse.verify|verify} messages. 17016 * @param message RefreshStateResponse message or plain object to encode 17017 * @param [writer] Writer to encode to 17018 * @returns Writer 17019 */ 17020 public static encode(message: tabletmanagerdata.IRefreshStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17021 17022 /** 17023 * Encodes the specified RefreshStateResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.RefreshStateResponse.verify|verify} messages. 17024 * @param message RefreshStateResponse message or plain object to encode 17025 * @param [writer] Writer to encode to 17026 * @returns Writer 17027 */ 17028 public static encodeDelimited(message: tabletmanagerdata.IRefreshStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17029 17030 /** 17031 * Decodes a RefreshStateResponse message from the specified reader or buffer. 17032 * @param reader Reader or buffer to decode from 17033 * @param [length] Message length if known beforehand 17034 * @returns RefreshStateResponse 17035 * @throws {Error} If the payload is not a reader or valid buffer 17036 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17037 */ 17038 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.RefreshStateResponse; 17039 17040 /** 17041 * Decodes a RefreshStateResponse message from the specified reader or buffer, length delimited. 17042 * @param reader Reader or buffer to decode from 17043 * @returns RefreshStateResponse 17044 * @throws {Error} If the payload is not a reader or valid buffer 17045 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17046 */ 17047 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.RefreshStateResponse; 17048 17049 /** 17050 * Verifies a RefreshStateResponse message. 17051 * @param message Plain object to verify 17052 * @returns `null` if valid, otherwise the reason why it is not 17053 */ 17054 public static verify(message: { [k: string]: any }): (string|null); 17055 17056 /** 17057 * Creates a RefreshStateResponse message from a plain object. Also converts values to their respective internal types. 17058 * @param object Plain object 17059 * @returns RefreshStateResponse 17060 */ 17061 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.RefreshStateResponse; 17062 17063 /** 17064 * Creates a plain object from a RefreshStateResponse message. Also converts values to other types if specified. 17065 * @param message RefreshStateResponse 17066 * @param [options] Conversion options 17067 * @returns Plain object 17068 */ 17069 public static toObject(message: tabletmanagerdata.RefreshStateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 17070 17071 /** 17072 * Converts this RefreshStateResponse to JSON. 17073 * @returns JSON object 17074 */ 17075 public toJSON(): { [k: string]: any }; 17076 } 17077 17078 /** Properties of a RunHealthCheckRequest. */ 17079 interface IRunHealthCheckRequest { 17080 } 17081 17082 /** Represents a RunHealthCheckRequest. */ 17083 class RunHealthCheckRequest implements IRunHealthCheckRequest { 17084 17085 /** 17086 * Constructs a new RunHealthCheckRequest. 17087 * @param [properties] Properties to set 17088 */ 17089 constructor(properties?: tabletmanagerdata.IRunHealthCheckRequest); 17090 17091 /** 17092 * Creates a new RunHealthCheckRequest instance using the specified properties. 17093 * @param [properties] Properties to set 17094 * @returns RunHealthCheckRequest instance 17095 */ 17096 public static create(properties?: tabletmanagerdata.IRunHealthCheckRequest): tabletmanagerdata.RunHealthCheckRequest; 17097 17098 /** 17099 * Encodes the specified RunHealthCheckRequest message. Does not implicitly {@link tabletmanagerdata.RunHealthCheckRequest.verify|verify} messages. 17100 * @param message RunHealthCheckRequest message or plain object to encode 17101 * @param [writer] Writer to encode to 17102 * @returns Writer 17103 */ 17104 public static encode(message: tabletmanagerdata.IRunHealthCheckRequest, writer?: $protobuf.Writer): $protobuf.Writer; 17105 17106 /** 17107 * Encodes the specified RunHealthCheckRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.RunHealthCheckRequest.verify|verify} messages. 17108 * @param message RunHealthCheckRequest message or plain object to encode 17109 * @param [writer] Writer to encode to 17110 * @returns Writer 17111 */ 17112 public static encodeDelimited(message: tabletmanagerdata.IRunHealthCheckRequest, writer?: $protobuf.Writer): $protobuf.Writer; 17113 17114 /** 17115 * Decodes a RunHealthCheckRequest message from the specified reader or buffer. 17116 * @param reader Reader or buffer to decode from 17117 * @param [length] Message length if known beforehand 17118 * @returns RunHealthCheckRequest 17119 * @throws {Error} If the payload is not a reader or valid buffer 17120 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17121 */ 17122 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.RunHealthCheckRequest; 17123 17124 /** 17125 * Decodes a RunHealthCheckRequest message from the specified reader or buffer, length delimited. 17126 * @param reader Reader or buffer to decode from 17127 * @returns RunHealthCheckRequest 17128 * @throws {Error} If the payload is not a reader or valid buffer 17129 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17130 */ 17131 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.RunHealthCheckRequest; 17132 17133 /** 17134 * Verifies a RunHealthCheckRequest message. 17135 * @param message Plain object to verify 17136 * @returns `null` if valid, otherwise the reason why it is not 17137 */ 17138 public static verify(message: { [k: string]: any }): (string|null); 17139 17140 /** 17141 * Creates a RunHealthCheckRequest message from a plain object. Also converts values to their respective internal types. 17142 * @param object Plain object 17143 * @returns RunHealthCheckRequest 17144 */ 17145 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.RunHealthCheckRequest; 17146 17147 /** 17148 * Creates a plain object from a RunHealthCheckRequest message. Also converts values to other types if specified. 17149 * @param message RunHealthCheckRequest 17150 * @param [options] Conversion options 17151 * @returns Plain object 17152 */ 17153 public static toObject(message: tabletmanagerdata.RunHealthCheckRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 17154 17155 /** 17156 * Converts this RunHealthCheckRequest to JSON. 17157 * @returns JSON object 17158 */ 17159 public toJSON(): { [k: string]: any }; 17160 } 17161 17162 /** Properties of a RunHealthCheckResponse. */ 17163 interface IRunHealthCheckResponse { 17164 } 17165 17166 /** Represents a RunHealthCheckResponse. */ 17167 class RunHealthCheckResponse implements IRunHealthCheckResponse { 17168 17169 /** 17170 * Constructs a new RunHealthCheckResponse. 17171 * @param [properties] Properties to set 17172 */ 17173 constructor(properties?: tabletmanagerdata.IRunHealthCheckResponse); 17174 17175 /** 17176 * Creates a new RunHealthCheckResponse instance using the specified properties. 17177 * @param [properties] Properties to set 17178 * @returns RunHealthCheckResponse instance 17179 */ 17180 public static create(properties?: tabletmanagerdata.IRunHealthCheckResponse): tabletmanagerdata.RunHealthCheckResponse; 17181 17182 /** 17183 * Encodes the specified RunHealthCheckResponse message. Does not implicitly {@link tabletmanagerdata.RunHealthCheckResponse.verify|verify} messages. 17184 * @param message RunHealthCheckResponse message or plain object to encode 17185 * @param [writer] Writer to encode to 17186 * @returns Writer 17187 */ 17188 public static encode(message: tabletmanagerdata.IRunHealthCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17189 17190 /** 17191 * Encodes the specified RunHealthCheckResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.RunHealthCheckResponse.verify|verify} messages. 17192 * @param message RunHealthCheckResponse message or plain object to encode 17193 * @param [writer] Writer to encode to 17194 * @returns Writer 17195 */ 17196 public static encodeDelimited(message: tabletmanagerdata.IRunHealthCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17197 17198 /** 17199 * Decodes a RunHealthCheckResponse message from the specified reader or buffer. 17200 * @param reader Reader or buffer to decode from 17201 * @param [length] Message length if known beforehand 17202 * @returns RunHealthCheckResponse 17203 * @throws {Error} If the payload is not a reader or valid buffer 17204 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17205 */ 17206 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.RunHealthCheckResponse; 17207 17208 /** 17209 * Decodes a RunHealthCheckResponse message from the specified reader or buffer, length delimited. 17210 * @param reader Reader or buffer to decode from 17211 * @returns RunHealthCheckResponse 17212 * @throws {Error} If the payload is not a reader or valid buffer 17213 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17214 */ 17215 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.RunHealthCheckResponse; 17216 17217 /** 17218 * Verifies a RunHealthCheckResponse message. 17219 * @param message Plain object to verify 17220 * @returns `null` if valid, otherwise the reason why it is not 17221 */ 17222 public static verify(message: { [k: string]: any }): (string|null); 17223 17224 /** 17225 * Creates a RunHealthCheckResponse message from a plain object. Also converts values to their respective internal types. 17226 * @param object Plain object 17227 * @returns RunHealthCheckResponse 17228 */ 17229 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.RunHealthCheckResponse; 17230 17231 /** 17232 * Creates a plain object from a RunHealthCheckResponse message. Also converts values to other types if specified. 17233 * @param message RunHealthCheckResponse 17234 * @param [options] Conversion options 17235 * @returns Plain object 17236 */ 17237 public static toObject(message: tabletmanagerdata.RunHealthCheckResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 17238 17239 /** 17240 * Converts this RunHealthCheckResponse to JSON. 17241 * @returns JSON object 17242 */ 17243 public toJSON(): { [k: string]: any }; 17244 } 17245 17246 /** Properties of a ReloadSchemaRequest. */ 17247 interface IReloadSchemaRequest { 17248 17249 /** ReloadSchemaRequest wait_position */ 17250 wait_position?: (string|null); 17251 } 17252 17253 /** Represents a ReloadSchemaRequest. */ 17254 class ReloadSchemaRequest implements IReloadSchemaRequest { 17255 17256 /** 17257 * Constructs a new ReloadSchemaRequest. 17258 * @param [properties] Properties to set 17259 */ 17260 constructor(properties?: tabletmanagerdata.IReloadSchemaRequest); 17261 17262 /** ReloadSchemaRequest wait_position. */ 17263 public wait_position: string; 17264 17265 /** 17266 * Creates a new ReloadSchemaRequest instance using the specified properties. 17267 * @param [properties] Properties to set 17268 * @returns ReloadSchemaRequest instance 17269 */ 17270 public static create(properties?: tabletmanagerdata.IReloadSchemaRequest): tabletmanagerdata.ReloadSchemaRequest; 17271 17272 /** 17273 * Encodes the specified ReloadSchemaRequest message. Does not implicitly {@link tabletmanagerdata.ReloadSchemaRequest.verify|verify} messages. 17274 * @param message ReloadSchemaRequest message or plain object to encode 17275 * @param [writer] Writer to encode to 17276 * @returns Writer 17277 */ 17278 public static encode(message: tabletmanagerdata.IReloadSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 17279 17280 /** 17281 * Encodes the specified ReloadSchemaRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ReloadSchemaRequest.verify|verify} messages. 17282 * @param message ReloadSchemaRequest message or plain object to encode 17283 * @param [writer] Writer to encode to 17284 * @returns Writer 17285 */ 17286 public static encodeDelimited(message: tabletmanagerdata.IReloadSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 17287 17288 /** 17289 * Decodes a ReloadSchemaRequest message from the specified reader or buffer. 17290 * @param reader Reader or buffer to decode from 17291 * @param [length] Message length if known beforehand 17292 * @returns ReloadSchemaRequest 17293 * @throws {Error} If the payload is not a reader or valid buffer 17294 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17295 */ 17296 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ReloadSchemaRequest; 17297 17298 /** 17299 * Decodes a ReloadSchemaRequest message from the specified reader or buffer, length delimited. 17300 * @param reader Reader or buffer to decode from 17301 * @returns ReloadSchemaRequest 17302 * @throws {Error} If the payload is not a reader or valid buffer 17303 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17304 */ 17305 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ReloadSchemaRequest; 17306 17307 /** 17308 * Verifies a ReloadSchemaRequest message. 17309 * @param message Plain object to verify 17310 * @returns `null` if valid, otherwise the reason why it is not 17311 */ 17312 public static verify(message: { [k: string]: any }): (string|null); 17313 17314 /** 17315 * Creates a ReloadSchemaRequest message from a plain object. Also converts values to their respective internal types. 17316 * @param object Plain object 17317 * @returns ReloadSchemaRequest 17318 */ 17319 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ReloadSchemaRequest; 17320 17321 /** 17322 * Creates a plain object from a ReloadSchemaRequest message. Also converts values to other types if specified. 17323 * @param message ReloadSchemaRequest 17324 * @param [options] Conversion options 17325 * @returns Plain object 17326 */ 17327 public static toObject(message: tabletmanagerdata.ReloadSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 17328 17329 /** 17330 * Converts this ReloadSchemaRequest to JSON. 17331 * @returns JSON object 17332 */ 17333 public toJSON(): { [k: string]: any }; 17334 } 17335 17336 /** Properties of a ReloadSchemaResponse. */ 17337 interface IReloadSchemaResponse { 17338 } 17339 17340 /** Represents a ReloadSchemaResponse. */ 17341 class ReloadSchemaResponse implements IReloadSchemaResponse { 17342 17343 /** 17344 * Constructs a new ReloadSchemaResponse. 17345 * @param [properties] Properties to set 17346 */ 17347 constructor(properties?: tabletmanagerdata.IReloadSchemaResponse); 17348 17349 /** 17350 * Creates a new ReloadSchemaResponse instance using the specified properties. 17351 * @param [properties] Properties to set 17352 * @returns ReloadSchemaResponse instance 17353 */ 17354 public static create(properties?: tabletmanagerdata.IReloadSchemaResponse): tabletmanagerdata.ReloadSchemaResponse; 17355 17356 /** 17357 * Encodes the specified ReloadSchemaResponse message. Does not implicitly {@link tabletmanagerdata.ReloadSchemaResponse.verify|verify} messages. 17358 * @param message ReloadSchemaResponse message or plain object to encode 17359 * @param [writer] Writer to encode to 17360 * @returns Writer 17361 */ 17362 public static encode(message: tabletmanagerdata.IReloadSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17363 17364 /** 17365 * Encodes the specified ReloadSchemaResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ReloadSchemaResponse.verify|verify} messages. 17366 * @param message ReloadSchemaResponse message or plain object to encode 17367 * @param [writer] Writer to encode to 17368 * @returns Writer 17369 */ 17370 public static encodeDelimited(message: tabletmanagerdata.IReloadSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17371 17372 /** 17373 * Decodes a ReloadSchemaResponse message from the specified reader or buffer. 17374 * @param reader Reader or buffer to decode from 17375 * @param [length] Message length if known beforehand 17376 * @returns ReloadSchemaResponse 17377 * @throws {Error} If the payload is not a reader or valid buffer 17378 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17379 */ 17380 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ReloadSchemaResponse; 17381 17382 /** 17383 * Decodes a ReloadSchemaResponse message from the specified reader or buffer, length delimited. 17384 * @param reader Reader or buffer to decode from 17385 * @returns ReloadSchemaResponse 17386 * @throws {Error} If the payload is not a reader or valid buffer 17387 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17388 */ 17389 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ReloadSchemaResponse; 17390 17391 /** 17392 * Verifies a ReloadSchemaResponse message. 17393 * @param message Plain object to verify 17394 * @returns `null` if valid, otherwise the reason why it is not 17395 */ 17396 public static verify(message: { [k: string]: any }): (string|null); 17397 17398 /** 17399 * Creates a ReloadSchemaResponse message from a plain object. Also converts values to their respective internal types. 17400 * @param object Plain object 17401 * @returns ReloadSchemaResponse 17402 */ 17403 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ReloadSchemaResponse; 17404 17405 /** 17406 * Creates a plain object from a ReloadSchemaResponse message. Also converts values to other types if specified. 17407 * @param message ReloadSchemaResponse 17408 * @param [options] Conversion options 17409 * @returns Plain object 17410 */ 17411 public static toObject(message: tabletmanagerdata.ReloadSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 17412 17413 /** 17414 * Converts this ReloadSchemaResponse to JSON. 17415 * @returns JSON object 17416 */ 17417 public toJSON(): { [k: string]: any }; 17418 } 17419 17420 /** Properties of a PreflightSchemaRequest. */ 17421 interface IPreflightSchemaRequest { 17422 17423 /** PreflightSchemaRequest changes */ 17424 changes?: (string[]|null); 17425 } 17426 17427 /** Represents a PreflightSchemaRequest. */ 17428 class PreflightSchemaRequest implements IPreflightSchemaRequest { 17429 17430 /** 17431 * Constructs a new PreflightSchemaRequest. 17432 * @param [properties] Properties to set 17433 */ 17434 constructor(properties?: tabletmanagerdata.IPreflightSchemaRequest); 17435 17436 /** PreflightSchemaRequest changes. */ 17437 public changes: string[]; 17438 17439 /** 17440 * Creates a new PreflightSchemaRequest instance using the specified properties. 17441 * @param [properties] Properties to set 17442 * @returns PreflightSchemaRequest instance 17443 */ 17444 public static create(properties?: tabletmanagerdata.IPreflightSchemaRequest): tabletmanagerdata.PreflightSchemaRequest; 17445 17446 /** 17447 * Encodes the specified PreflightSchemaRequest message. Does not implicitly {@link tabletmanagerdata.PreflightSchemaRequest.verify|verify} messages. 17448 * @param message PreflightSchemaRequest message or plain object to encode 17449 * @param [writer] Writer to encode to 17450 * @returns Writer 17451 */ 17452 public static encode(message: tabletmanagerdata.IPreflightSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 17453 17454 /** 17455 * Encodes the specified PreflightSchemaRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.PreflightSchemaRequest.verify|verify} messages. 17456 * @param message PreflightSchemaRequest message or plain object to encode 17457 * @param [writer] Writer to encode to 17458 * @returns Writer 17459 */ 17460 public static encodeDelimited(message: tabletmanagerdata.IPreflightSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 17461 17462 /** 17463 * Decodes a PreflightSchemaRequest message from the specified reader or buffer. 17464 * @param reader Reader or buffer to decode from 17465 * @param [length] Message length if known beforehand 17466 * @returns PreflightSchemaRequest 17467 * @throws {Error} If the payload is not a reader or valid buffer 17468 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17469 */ 17470 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PreflightSchemaRequest; 17471 17472 /** 17473 * Decodes a PreflightSchemaRequest message from the specified reader or buffer, length delimited. 17474 * @param reader Reader or buffer to decode from 17475 * @returns PreflightSchemaRequest 17476 * @throws {Error} If the payload is not a reader or valid buffer 17477 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17478 */ 17479 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PreflightSchemaRequest; 17480 17481 /** 17482 * Verifies a PreflightSchemaRequest message. 17483 * @param message Plain object to verify 17484 * @returns `null` if valid, otherwise the reason why it is not 17485 */ 17486 public static verify(message: { [k: string]: any }): (string|null); 17487 17488 /** 17489 * Creates a PreflightSchemaRequest message from a plain object. Also converts values to their respective internal types. 17490 * @param object Plain object 17491 * @returns PreflightSchemaRequest 17492 */ 17493 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PreflightSchemaRequest; 17494 17495 /** 17496 * Creates a plain object from a PreflightSchemaRequest message. Also converts values to other types if specified. 17497 * @param message PreflightSchemaRequest 17498 * @param [options] Conversion options 17499 * @returns Plain object 17500 */ 17501 public static toObject(message: tabletmanagerdata.PreflightSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 17502 17503 /** 17504 * Converts this PreflightSchemaRequest to JSON. 17505 * @returns JSON object 17506 */ 17507 public toJSON(): { [k: string]: any }; 17508 } 17509 17510 /** Properties of a PreflightSchemaResponse. */ 17511 interface IPreflightSchemaResponse { 17512 17513 /** PreflightSchemaResponse change_results */ 17514 change_results?: (tabletmanagerdata.ISchemaChangeResult[]|null); 17515 } 17516 17517 /** Represents a PreflightSchemaResponse. */ 17518 class PreflightSchemaResponse implements IPreflightSchemaResponse { 17519 17520 /** 17521 * Constructs a new PreflightSchemaResponse. 17522 * @param [properties] Properties to set 17523 */ 17524 constructor(properties?: tabletmanagerdata.IPreflightSchemaResponse); 17525 17526 /** PreflightSchemaResponse change_results. */ 17527 public change_results: tabletmanagerdata.ISchemaChangeResult[]; 17528 17529 /** 17530 * Creates a new PreflightSchemaResponse instance using the specified properties. 17531 * @param [properties] Properties to set 17532 * @returns PreflightSchemaResponse instance 17533 */ 17534 public static create(properties?: tabletmanagerdata.IPreflightSchemaResponse): tabletmanagerdata.PreflightSchemaResponse; 17535 17536 /** 17537 * Encodes the specified PreflightSchemaResponse message. Does not implicitly {@link tabletmanagerdata.PreflightSchemaResponse.verify|verify} messages. 17538 * @param message PreflightSchemaResponse message or plain object to encode 17539 * @param [writer] Writer to encode to 17540 * @returns Writer 17541 */ 17542 public static encode(message: tabletmanagerdata.IPreflightSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17543 17544 /** 17545 * Encodes the specified PreflightSchemaResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.PreflightSchemaResponse.verify|verify} messages. 17546 * @param message PreflightSchemaResponse message or plain object to encode 17547 * @param [writer] Writer to encode to 17548 * @returns Writer 17549 */ 17550 public static encodeDelimited(message: tabletmanagerdata.IPreflightSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17551 17552 /** 17553 * Decodes a PreflightSchemaResponse message from the specified reader or buffer. 17554 * @param reader Reader or buffer to decode from 17555 * @param [length] Message length if known beforehand 17556 * @returns PreflightSchemaResponse 17557 * @throws {Error} If the payload is not a reader or valid buffer 17558 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17559 */ 17560 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PreflightSchemaResponse; 17561 17562 /** 17563 * Decodes a PreflightSchemaResponse message from the specified reader or buffer, length delimited. 17564 * @param reader Reader or buffer to decode from 17565 * @returns PreflightSchemaResponse 17566 * @throws {Error} If the payload is not a reader or valid buffer 17567 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17568 */ 17569 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PreflightSchemaResponse; 17570 17571 /** 17572 * Verifies a PreflightSchemaResponse message. 17573 * @param message Plain object to verify 17574 * @returns `null` if valid, otherwise the reason why it is not 17575 */ 17576 public static verify(message: { [k: string]: any }): (string|null); 17577 17578 /** 17579 * Creates a PreflightSchemaResponse message from a plain object. Also converts values to their respective internal types. 17580 * @param object Plain object 17581 * @returns PreflightSchemaResponse 17582 */ 17583 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PreflightSchemaResponse; 17584 17585 /** 17586 * Creates a plain object from a PreflightSchemaResponse message. Also converts values to other types if specified. 17587 * @param message PreflightSchemaResponse 17588 * @param [options] Conversion options 17589 * @returns Plain object 17590 */ 17591 public static toObject(message: tabletmanagerdata.PreflightSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 17592 17593 /** 17594 * Converts this PreflightSchemaResponse to JSON. 17595 * @returns JSON object 17596 */ 17597 public toJSON(): { [k: string]: any }; 17598 } 17599 17600 /** Properties of an ApplySchemaRequest. */ 17601 interface IApplySchemaRequest { 17602 17603 /** ApplySchemaRequest sql */ 17604 sql?: (string|null); 17605 17606 /** ApplySchemaRequest force */ 17607 force?: (boolean|null); 17608 17609 /** ApplySchemaRequest allow_replication */ 17610 allow_replication?: (boolean|null); 17611 17612 /** ApplySchemaRequest before_schema */ 17613 before_schema?: (tabletmanagerdata.ISchemaDefinition|null); 17614 17615 /** ApplySchemaRequest after_schema */ 17616 after_schema?: (tabletmanagerdata.ISchemaDefinition|null); 17617 17618 /** ApplySchemaRequest sql_mode */ 17619 sql_mode?: (string|null); 17620 } 17621 17622 /** Represents an ApplySchemaRequest. */ 17623 class ApplySchemaRequest implements IApplySchemaRequest { 17624 17625 /** 17626 * Constructs a new ApplySchemaRequest. 17627 * @param [properties] Properties to set 17628 */ 17629 constructor(properties?: tabletmanagerdata.IApplySchemaRequest); 17630 17631 /** ApplySchemaRequest sql. */ 17632 public sql: string; 17633 17634 /** ApplySchemaRequest force. */ 17635 public force: boolean; 17636 17637 /** ApplySchemaRequest allow_replication. */ 17638 public allow_replication: boolean; 17639 17640 /** ApplySchemaRequest before_schema. */ 17641 public before_schema?: (tabletmanagerdata.ISchemaDefinition|null); 17642 17643 /** ApplySchemaRequest after_schema. */ 17644 public after_schema?: (tabletmanagerdata.ISchemaDefinition|null); 17645 17646 /** ApplySchemaRequest sql_mode. */ 17647 public sql_mode: string; 17648 17649 /** 17650 * Creates a new ApplySchemaRequest instance using the specified properties. 17651 * @param [properties] Properties to set 17652 * @returns ApplySchemaRequest instance 17653 */ 17654 public static create(properties?: tabletmanagerdata.IApplySchemaRequest): tabletmanagerdata.ApplySchemaRequest; 17655 17656 /** 17657 * Encodes the specified ApplySchemaRequest message. Does not implicitly {@link tabletmanagerdata.ApplySchemaRequest.verify|verify} messages. 17658 * @param message ApplySchemaRequest message or plain object to encode 17659 * @param [writer] Writer to encode to 17660 * @returns Writer 17661 */ 17662 public static encode(message: tabletmanagerdata.IApplySchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 17663 17664 /** 17665 * Encodes the specified ApplySchemaRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ApplySchemaRequest.verify|verify} messages. 17666 * @param message ApplySchemaRequest message or plain object to encode 17667 * @param [writer] Writer to encode to 17668 * @returns Writer 17669 */ 17670 public static encodeDelimited(message: tabletmanagerdata.IApplySchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 17671 17672 /** 17673 * Decodes an ApplySchemaRequest message from the specified reader or buffer. 17674 * @param reader Reader or buffer to decode from 17675 * @param [length] Message length if known beforehand 17676 * @returns ApplySchemaRequest 17677 * @throws {Error} If the payload is not a reader or valid buffer 17678 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17679 */ 17680 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ApplySchemaRequest; 17681 17682 /** 17683 * Decodes an ApplySchemaRequest message from the specified reader or buffer, length delimited. 17684 * @param reader Reader or buffer to decode from 17685 * @returns ApplySchemaRequest 17686 * @throws {Error} If the payload is not a reader or valid buffer 17687 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17688 */ 17689 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ApplySchemaRequest; 17690 17691 /** 17692 * Verifies an ApplySchemaRequest message. 17693 * @param message Plain object to verify 17694 * @returns `null` if valid, otherwise the reason why it is not 17695 */ 17696 public static verify(message: { [k: string]: any }): (string|null); 17697 17698 /** 17699 * Creates an ApplySchemaRequest message from a plain object. Also converts values to their respective internal types. 17700 * @param object Plain object 17701 * @returns ApplySchemaRequest 17702 */ 17703 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ApplySchemaRequest; 17704 17705 /** 17706 * Creates a plain object from an ApplySchemaRequest message. Also converts values to other types if specified. 17707 * @param message ApplySchemaRequest 17708 * @param [options] Conversion options 17709 * @returns Plain object 17710 */ 17711 public static toObject(message: tabletmanagerdata.ApplySchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 17712 17713 /** 17714 * Converts this ApplySchemaRequest to JSON. 17715 * @returns JSON object 17716 */ 17717 public toJSON(): { [k: string]: any }; 17718 } 17719 17720 /** Properties of an ApplySchemaResponse. */ 17721 interface IApplySchemaResponse { 17722 17723 /** ApplySchemaResponse before_schema */ 17724 before_schema?: (tabletmanagerdata.ISchemaDefinition|null); 17725 17726 /** ApplySchemaResponse after_schema */ 17727 after_schema?: (tabletmanagerdata.ISchemaDefinition|null); 17728 } 17729 17730 /** Represents an ApplySchemaResponse. */ 17731 class ApplySchemaResponse implements IApplySchemaResponse { 17732 17733 /** 17734 * Constructs a new ApplySchemaResponse. 17735 * @param [properties] Properties to set 17736 */ 17737 constructor(properties?: tabletmanagerdata.IApplySchemaResponse); 17738 17739 /** ApplySchemaResponse before_schema. */ 17740 public before_schema?: (tabletmanagerdata.ISchemaDefinition|null); 17741 17742 /** ApplySchemaResponse after_schema. */ 17743 public after_schema?: (tabletmanagerdata.ISchemaDefinition|null); 17744 17745 /** 17746 * Creates a new ApplySchemaResponse instance using the specified properties. 17747 * @param [properties] Properties to set 17748 * @returns ApplySchemaResponse instance 17749 */ 17750 public static create(properties?: tabletmanagerdata.IApplySchemaResponse): tabletmanagerdata.ApplySchemaResponse; 17751 17752 /** 17753 * Encodes the specified ApplySchemaResponse message. Does not implicitly {@link tabletmanagerdata.ApplySchemaResponse.verify|verify} messages. 17754 * @param message ApplySchemaResponse message or plain object to encode 17755 * @param [writer] Writer to encode to 17756 * @returns Writer 17757 */ 17758 public static encode(message: tabletmanagerdata.IApplySchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17759 17760 /** 17761 * Encodes the specified ApplySchemaResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ApplySchemaResponse.verify|verify} messages. 17762 * @param message ApplySchemaResponse message or plain object to encode 17763 * @param [writer] Writer to encode to 17764 * @returns Writer 17765 */ 17766 public static encodeDelimited(message: tabletmanagerdata.IApplySchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17767 17768 /** 17769 * Decodes an ApplySchemaResponse message from the specified reader or buffer. 17770 * @param reader Reader or buffer to decode from 17771 * @param [length] Message length if known beforehand 17772 * @returns ApplySchemaResponse 17773 * @throws {Error} If the payload is not a reader or valid buffer 17774 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17775 */ 17776 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ApplySchemaResponse; 17777 17778 /** 17779 * Decodes an ApplySchemaResponse message from the specified reader or buffer, length delimited. 17780 * @param reader Reader or buffer to decode from 17781 * @returns ApplySchemaResponse 17782 * @throws {Error} If the payload is not a reader or valid buffer 17783 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17784 */ 17785 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ApplySchemaResponse; 17786 17787 /** 17788 * Verifies an ApplySchemaResponse message. 17789 * @param message Plain object to verify 17790 * @returns `null` if valid, otherwise the reason why it is not 17791 */ 17792 public static verify(message: { [k: string]: any }): (string|null); 17793 17794 /** 17795 * Creates an ApplySchemaResponse message from a plain object. Also converts values to their respective internal types. 17796 * @param object Plain object 17797 * @returns ApplySchemaResponse 17798 */ 17799 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ApplySchemaResponse; 17800 17801 /** 17802 * Creates a plain object from an ApplySchemaResponse message. Also converts values to other types if specified. 17803 * @param message ApplySchemaResponse 17804 * @param [options] Conversion options 17805 * @returns Plain object 17806 */ 17807 public static toObject(message: tabletmanagerdata.ApplySchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 17808 17809 /** 17810 * Converts this ApplySchemaResponse to JSON. 17811 * @returns JSON object 17812 */ 17813 public toJSON(): { [k: string]: any }; 17814 } 17815 17816 /** Properties of a LockTablesRequest. */ 17817 interface ILockTablesRequest { 17818 } 17819 17820 /** Represents a LockTablesRequest. */ 17821 class LockTablesRequest implements ILockTablesRequest { 17822 17823 /** 17824 * Constructs a new LockTablesRequest. 17825 * @param [properties] Properties to set 17826 */ 17827 constructor(properties?: tabletmanagerdata.ILockTablesRequest); 17828 17829 /** 17830 * Creates a new LockTablesRequest instance using the specified properties. 17831 * @param [properties] Properties to set 17832 * @returns LockTablesRequest instance 17833 */ 17834 public static create(properties?: tabletmanagerdata.ILockTablesRequest): tabletmanagerdata.LockTablesRequest; 17835 17836 /** 17837 * Encodes the specified LockTablesRequest message. Does not implicitly {@link tabletmanagerdata.LockTablesRequest.verify|verify} messages. 17838 * @param message LockTablesRequest message or plain object to encode 17839 * @param [writer] Writer to encode to 17840 * @returns Writer 17841 */ 17842 public static encode(message: tabletmanagerdata.ILockTablesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 17843 17844 /** 17845 * Encodes the specified LockTablesRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.LockTablesRequest.verify|verify} messages. 17846 * @param message LockTablesRequest message or plain object to encode 17847 * @param [writer] Writer to encode to 17848 * @returns Writer 17849 */ 17850 public static encodeDelimited(message: tabletmanagerdata.ILockTablesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 17851 17852 /** 17853 * Decodes a LockTablesRequest message from the specified reader or buffer. 17854 * @param reader Reader or buffer to decode from 17855 * @param [length] Message length if known beforehand 17856 * @returns LockTablesRequest 17857 * @throws {Error} If the payload is not a reader or valid buffer 17858 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17859 */ 17860 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.LockTablesRequest; 17861 17862 /** 17863 * Decodes a LockTablesRequest message from the specified reader or buffer, length delimited. 17864 * @param reader Reader or buffer to decode from 17865 * @returns LockTablesRequest 17866 * @throws {Error} If the payload is not a reader or valid buffer 17867 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17868 */ 17869 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.LockTablesRequest; 17870 17871 /** 17872 * Verifies a LockTablesRequest message. 17873 * @param message Plain object to verify 17874 * @returns `null` if valid, otherwise the reason why it is not 17875 */ 17876 public static verify(message: { [k: string]: any }): (string|null); 17877 17878 /** 17879 * Creates a LockTablesRequest message from a plain object. Also converts values to their respective internal types. 17880 * @param object Plain object 17881 * @returns LockTablesRequest 17882 */ 17883 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.LockTablesRequest; 17884 17885 /** 17886 * Creates a plain object from a LockTablesRequest message. Also converts values to other types if specified. 17887 * @param message LockTablesRequest 17888 * @param [options] Conversion options 17889 * @returns Plain object 17890 */ 17891 public static toObject(message: tabletmanagerdata.LockTablesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 17892 17893 /** 17894 * Converts this LockTablesRequest to JSON. 17895 * @returns JSON object 17896 */ 17897 public toJSON(): { [k: string]: any }; 17898 } 17899 17900 /** Properties of a LockTablesResponse. */ 17901 interface ILockTablesResponse { 17902 } 17903 17904 /** Represents a LockTablesResponse. */ 17905 class LockTablesResponse implements ILockTablesResponse { 17906 17907 /** 17908 * Constructs a new LockTablesResponse. 17909 * @param [properties] Properties to set 17910 */ 17911 constructor(properties?: tabletmanagerdata.ILockTablesResponse); 17912 17913 /** 17914 * Creates a new LockTablesResponse instance using the specified properties. 17915 * @param [properties] Properties to set 17916 * @returns LockTablesResponse instance 17917 */ 17918 public static create(properties?: tabletmanagerdata.ILockTablesResponse): tabletmanagerdata.LockTablesResponse; 17919 17920 /** 17921 * Encodes the specified LockTablesResponse message. Does not implicitly {@link tabletmanagerdata.LockTablesResponse.verify|verify} messages. 17922 * @param message LockTablesResponse message or plain object to encode 17923 * @param [writer] Writer to encode to 17924 * @returns Writer 17925 */ 17926 public static encode(message: tabletmanagerdata.ILockTablesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17927 17928 /** 17929 * Encodes the specified LockTablesResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.LockTablesResponse.verify|verify} messages. 17930 * @param message LockTablesResponse message or plain object to encode 17931 * @param [writer] Writer to encode to 17932 * @returns Writer 17933 */ 17934 public static encodeDelimited(message: tabletmanagerdata.ILockTablesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 17935 17936 /** 17937 * Decodes a LockTablesResponse message from the specified reader or buffer. 17938 * @param reader Reader or buffer to decode from 17939 * @param [length] Message length if known beforehand 17940 * @returns LockTablesResponse 17941 * @throws {Error} If the payload is not a reader or valid buffer 17942 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17943 */ 17944 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.LockTablesResponse; 17945 17946 /** 17947 * Decodes a LockTablesResponse message from the specified reader or buffer, length delimited. 17948 * @param reader Reader or buffer to decode from 17949 * @returns LockTablesResponse 17950 * @throws {Error} If the payload is not a reader or valid buffer 17951 * @throws {$protobuf.util.ProtocolError} If required fields are missing 17952 */ 17953 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.LockTablesResponse; 17954 17955 /** 17956 * Verifies a LockTablesResponse message. 17957 * @param message Plain object to verify 17958 * @returns `null` if valid, otherwise the reason why it is not 17959 */ 17960 public static verify(message: { [k: string]: any }): (string|null); 17961 17962 /** 17963 * Creates a LockTablesResponse message from a plain object. Also converts values to their respective internal types. 17964 * @param object Plain object 17965 * @returns LockTablesResponse 17966 */ 17967 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.LockTablesResponse; 17968 17969 /** 17970 * Creates a plain object from a LockTablesResponse message. Also converts values to other types if specified. 17971 * @param message LockTablesResponse 17972 * @param [options] Conversion options 17973 * @returns Plain object 17974 */ 17975 public static toObject(message: tabletmanagerdata.LockTablesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 17976 17977 /** 17978 * Converts this LockTablesResponse to JSON. 17979 * @returns JSON object 17980 */ 17981 public toJSON(): { [k: string]: any }; 17982 } 17983 17984 /** Properties of an UnlockTablesRequest. */ 17985 interface IUnlockTablesRequest { 17986 } 17987 17988 /** Represents an UnlockTablesRequest. */ 17989 class UnlockTablesRequest implements IUnlockTablesRequest { 17990 17991 /** 17992 * Constructs a new UnlockTablesRequest. 17993 * @param [properties] Properties to set 17994 */ 17995 constructor(properties?: tabletmanagerdata.IUnlockTablesRequest); 17996 17997 /** 17998 * Creates a new UnlockTablesRequest instance using the specified properties. 17999 * @param [properties] Properties to set 18000 * @returns UnlockTablesRequest instance 18001 */ 18002 public static create(properties?: tabletmanagerdata.IUnlockTablesRequest): tabletmanagerdata.UnlockTablesRequest; 18003 18004 /** 18005 * Encodes the specified UnlockTablesRequest message. Does not implicitly {@link tabletmanagerdata.UnlockTablesRequest.verify|verify} messages. 18006 * @param message UnlockTablesRequest message or plain object to encode 18007 * @param [writer] Writer to encode to 18008 * @returns Writer 18009 */ 18010 public static encode(message: tabletmanagerdata.IUnlockTablesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18011 18012 /** 18013 * Encodes the specified UnlockTablesRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.UnlockTablesRequest.verify|verify} messages. 18014 * @param message UnlockTablesRequest message or plain object to encode 18015 * @param [writer] Writer to encode to 18016 * @returns Writer 18017 */ 18018 public static encodeDelimited(message: tabletmanagerdata.IUnlockTablesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18019 18020 /** 18021 * Decodes an UnlockTablesRequest message from the specified reader or buffer. 18022 * @param reader Reader or buffer to decode from 18023 * @param [length] Message length if known beforehand 18024 * @returns UnlockTablesRequest 18025 * @throws {Error} If the payload is not a reader or valid buffer 18026 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18027 */ 18028 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.UnlockTablesRequest; 18029 18030 /** 18031 * Decodes an UnlockTablesRequest message from the specified reader or buffer, length delimited. 18032 * @param reader Reader or buffer to decode from 18033 * @returns UnlockTablesRequest 18034 * @throws {Error} If the payload is not a reader or valid buffer 18035 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18036 */ 18037 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.UnlockTablesRequest; 18038 18039 /** 18040 * Verifies an UnlockTablesRequest message. 18041 * @param message Plain object to verify 18042 * @returns `null` if valid, otherwise the reason why it is not 18043 */ 18044 public static verify(message: { [k: string]: any }): (string|null); 18045 18046 /** 18047 * Creates an UnlockTablesRequest message from a plain object. Also converts values to their respective internal types. 18048 * @param object Plain object 18049 * @returns UnlockTablesRequest 18050 */ 18051 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.UnlockTablesRequest; 18052 18053 /** 18054 * Creates a plain object from an UnlockTablesRequest message. Also converts values to other types if specified. 18055 * @param message UnlockTablesRequest 18056 * @param [options] Conversion options 18057 * @returns Plain object 18058 */ 18059 public static toObject(message: tabletmanagerdata.UnlockTablesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 18060 18061 /** 18062 * Converts this UnlockTablesRequest to JSON. 18063 * @returns JSON object 18064 */ 18065 public toJSON(): { [k: string]: any }; 18066 } 18067 18068 /** Properties of an UnlockTablesResponse. */ 18069 interface IUnlockTablesResponse { 18070 } 18071 18072 /** Represents an UnlockTablesResponse. */ 18073 class UnlockTablesResponse implements IUnlockTablesResponse { 18074 18075 /** 18076 * Constructs a new UnlockTablesResponse. 18077 * @param [properties] Properties to set 18078 */ 18079 constructor(properties?: tabletmanagerdata.IUnlockTablesResponse); 18080 18081 /** 18082 * Creates a new UnlockTablesResponse instance using the specified properties. 18083 * @param [properties] Properties to set 18084 * @returns UnlockTablesResponse instance 18085 */ 18086 public static create(properties?: tabletmanagerdata.IUnlockTablesResponse): tabletmanagerdata.UnlockTablesResponse; 18087 18088 /** 18089 * Encodes the specified UnlockTablesResponse message. Does not implicitly {@link tabletmanagerdata.UnlockTablesResponse.verify|verify} messages. 18090 * @param message UnlockTablesResponse message or plain object to encode 18091 * @param [writer] Writer to encode to 18092 * @returns Writer 18093 */ 18094 public static encode(message: tabletmanagerdata.IUnlockTablesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 18095 18096 /** 18097 * Encodes the specified UnlockTablesResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.UnlockTablesResponse.verify|verify} messages. 18098 * @param message UnlockTablesResponse message or plain object to encode 18099 * @param [writer] Writer to encode to 18100 * @returns Writer 18101 */ 18102 public static encodeDelimited(message: tabletmanagerdata.IUnlockTablesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 18103 18104 /** 18105 * Decodes an UnlockTablesResponse message from the specified reader or buffer. 18106 * @param reader Reader or buffer to decode from 18107 * @param [length] Message length if known beforehand 18108 * @returns UnlockTablesResponse 18109 * @throws {Error} If the payload is not a reader or valid buffer 18110 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18111 */ 18112 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.UnlockTablesResponse; 18113 18114 /** 18115 * Decodes an UnlockTablesResponse message from the specified reader or buffer, length delimited. 18116 * @param reader Reader or buffer to decode from 18117 * @returns UnlockTablesResponse 18118 * @throws {Error} If the payload is not a reader or valid buffer 18119 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18120 */ 18121 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.UnlockTablesResponse; 18122 18123 /** 18124 * Verifies an UnlockTablesResponse message. 18125 * @param message Plain object to verify 18126 * @returns `null` if valid, otherwise the reason why it is not 18127 */ 18128 public static verify(message: { [k: string]: any }): (string|null); 18129 18130 /** 18131 * Creates an UnlockTablesResponse message from a plain object. Also converts values to their respective internal types. 18132 * @param object Plain object 18133 * @returns UnlockTablesResponse 18134 */ 18135 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.UnlockTablesResponse; 18136 18137 /** 18138 * Creates a plain object from an UnlockTablesResponse message. Also converts values to other types if specified. 18139 * @param message UnlockTablesResponse 18140 * @param [options] Conversion options 18141 * @returns Plain object 18142 */ 18143 public static toObject(message: tabletmanagerdata.UnlockTablesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 18144 18145 /** 18146 * Converts this UnlockTablesResponse to JSON. 18147 * @returns JSON object 18148 */ 18149 public toJSON(): { [k: string]: any }; 18150 } 18151 18152 /** Properties of an ExecuteQueryRequest. */ 18153 interface IExecuteQueryRequest { 18154 18155 /** ExecuteQueryRequest query */ 18156 query?: (Uint8Array|null); 18157 18158 /** ExecuteQueryRequest db_name */ 18159 db_name?: (string|null); 18160 18161 /** ExecuteQueryRequest max_rows */ 18162 max_rows?: (number|Long|null); 18163 18164 /** ExecuteQueryRequest caller_id */ 18165 caller_id?: (vtrpc.ICallerID|null); 18166 } 18167 18168 /** Represents an ExecuteQueryRequest. */ 18169 class ExecuteQueryRequest implements IExecuteQueryRequest { 18170 18171 /** 18172 * Constructs a new ExecuteQueryRequest. 18173 * @param [properties] Properties to set 18174 */ 18175 constructor(properties?: tabletmanagerdata.IExecuteQueryRequest); 18176 18177 /** ExecuteQueryRequest query. */ 18178 public query: Uint8Array; 18179 18180 /** ExecuteQueryRequest db_name. */ 18181 public db_name: string; 18182 18183 /** ExecuteQueryRequest max_rows. */ 18184 public max_rows: (number|Long); 18185 18186 /** ExecuteQueryRequest caller_id. */ 18187 public caller_id?: (vtrpc.ICallerID|null); 18188 18189 /** 18190 * Creates a new ExecuteQueryRequest instance using the specified properties. 18191 * @param [properties] Properties to set 18192 * @returns ExecuteQueryRequest instance 18193 */ 18194 public static create(properties?: tabletmanagerdata.IExecuteQueryRequest): tabletmanagerdata.ExecuteQueryRequest; 18195 18196 /** 18197 * Encodes the specified ExecuteQueryRequest message. Does not implicitly {@link tabletmanagerdata.ExecuteQueryRequest.verify|verify} messages. 18198 * @param message ExecuteQueryRequest message or plain object to encode 18199 * @param [writer] Writer to encode to 18200 * @returns Writer 18201 */ 18202 public static encode(message: tabletmanagerdata.IExecuteQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18203 18204 /** 18205 * Encodes the specified ExecuteQueryRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ExecuteQueryRequest.verify|verify} messages. 18206 * @param message ExecuteQueryRequest message or plain object to encode 18207 * @param [writer] Writer to encode to 18208 * @returns Writer 18209 */ 18210 public static encodeDelimited(message: tabletmanagerdata.IExecuteQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18211 18212 /** 18213 * Decodes an ExecuteQueryRequest message from the specified reader or buffer. 18214 * @param reader Reader or buffer to decode from 18215 * @param [length] Message length if known beforehand 18216 * @returns ExecuteQueryRequest 18217 * @throws {Error} If the payload is not a reader or valid buffer 18218 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18219 */ 18220 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ExecuteQueryRequest; 18221 18222 /** 18223 * Decodes an ExecuteQueryRequest message from the specified reader or buffer, length delimited. 18224 * @param reader Reader or buffer to decode from 18225 * @returns ExecuteQueryRequest 18226 * @throws {Error} If the payload is not a reader or valid buffer 18227 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18228 */ 18229 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ExecuteQueryRequest; 18230 18231 /** 18232 * Verifies an ExecuteQueryRequest message. 18233 * @param message Plain object to verify 18234 * @returns `null` if valid, otherwise the reason why it is not 18235 */ 18236 public static verify(message: { [k: string]: any }): (string|null); 18237 18238 /** 18239 * Creates an ExecuteQueryRequest message from a plain object. Also converts values to their respective internal types. 18240 * @param object Plain object 18241 * @returns ExecuteQueryRequest 18242 */ 18243 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ExecuteQueryRequest; 18244 18245 /** 18246 * Creates a plain object from an ExecuteQueryRequest message. Also converts values to other types if specified. 18247 * @param message ExecuteQueryRequest 18248 * @param [options] Conversion options 18249 * @returns Plain object 18250 */ 18251 public static toObject(message: tabletmanagerdata.ExecuteQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 18252 18253 /** 18254 * Converts this ExecuteQueryRequest to JSON. 18255 * @returns JSON object 18256 */ 18257 public toJSON(): { [k: string]: any }; 18258 } 18259 18260 /** Properties of an ExecuteQueryResponse. */ 18261 interface IExecuteQueryResponse { 18262 18263 /** ExecuteQueryResponse result */ 18264 result?: (query.IQueryResult|null); 18265 } 18266 18267 /** Represents an ExecuteQueryResponse. */ 18268 class ExecuteQueryResponse implements IExecuteQueryResponse { 18269 18270 /** 18271 * Constructs a new ExecuteQueryResponse. 18272 * @param [properties] Properties to set 18273 */ 18274 constructor(properties?: tabletmanagerdata.IExecuteQueryResponse); 18275 18276 /** ExecuteQueryResponse result. */ 18277 public result?: (query.IQueryResult|null); 18278 18279 /** 18280 * Creates a new ExecuteQueryResponse instance using the specified properties. 18281 * @param [properties] Properties to set 18282 * @returns ExecuteQueryResponse instance 18283 */ 18284 public static create(properties?: tabletmanagerdata.IExecuteQueryResponse): tabletmanagerdata.ExecuteQueryResponse; 18285 18286 /** 18287 * Encodes the specified ExecuteQueryResponse message. Does not implicitly {@link tabletmanagerdata.ExecuteQueryResponse.verify|verify} messages. 18288 * @param message ExecuteQueryResponse message or plain object to encode 18289 * @param [writer] Writer to encode to 18290 * @returns Writer 18291 */ 18292 public static encode(message: tabletmanagerdata.IExecuteQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer; 18293 18294 /** 18295 * Encodes the specified ExecuteQueryResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ExecuteQueryResponse.verify|verify} messages. 18296 * @param message ExecuteQueryResponse message or plain object to encode 18297 * @param [writer] Writer to encode to 18298 * @returns Writer 18299 */ 18300 public static encodeDelimited(message: tabletmanagerdata.IExecuteQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer; 18301 18302 /** 18303 * Decodes an ExecuteQueryResponse message from the specified reader or buffer. 18304 * @param reader Reader or buffer to decode from 18305 * @param [length] Message length if known beforehand 18306 * @returns ExecuteQueryResponse 18307 * @throws {Error} If the payload is not a reader or valid buffer 18308 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18309 */ 18310 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ExecuteQueryResponse; 18311 18312 /** 18313 * Decodes an ExecuteQueryResponse message from the specified reader or buffer, length delimited. 18314 * @param reader Reader or buffer to decode from 18315 * @returns ExecuteQueryResponse 18316 * @throws {Error} If the payload is not a reader or valid buffer 18317 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18318 */ 18319 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ExecuteQueryResponse; 18320 18321 /** 18322 * Verifies an ExecuteQueryResponse message. 18323 * @param message Plain object to verify 18324 * @returns `null` if valid, otherwise the reason why it is not 18325 */ 18326 public static verify(message: { [k: string]: any }): (string|null); 18327 18328 /** 18329 * Creates an ExecuteQueryResponse message from a plain object. Also converts values to their respective internal types. 18330 * @param object Plain object 18331 * @returns ExecuteQueryResponse 18332 */ 18333 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ExecuteQueryResponse; 18334 18335 /** 18336 * Creates a plain object from an ExecuteQueryResponse message. Also converts values to other types if specified. 18337 * @param message ExecuteQueryResponse 18338 * @param [options] Conversion options 18339 * @returns Plain object 18340 */ 18341 public static toObject(message: tabletmanagerdata.ExecuteQueryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 18342 18343 /** 18344 * Converts this ExecuteQueryResponse to JSON. 18345 * @returns JSON object 18346 */ 18347 public toJSON(): { [k: string]: any }; 18348 } 18349 18350 /** Properties of an ExecuteFetchAsDbaRequest. */ 18351 interface IExecuteFetchAsDbaRequest { 18352 18353 /** ExecuteFetchAsDbaRequest query */ 18354 query?: (Uint8Array|null); 18355 18356 /** ExecuteFetchAsDbaRequest db_name */ 18357 db_name?: (string|null); 18358 18359 /** ExecuteFetchAsDbaRequest max_rows */ 18360 max_rows?: (number|Long|null); 18361 18362 /** ExecuteFetchAsDbaRequest disable_binlogs */ 18363 disable_binlogs?: (boolean|null); 18364 18365 /** ExecuteFetchAsDbaRequest reload_schema */ 18366 reload_schema?: (boolean|null); 18367 } 18368 18369 /** Represents an ExecuteFetchAsDbaRequest. */ 18370 class ExecuteFetchAsDbaRequest implements IExecuteFetchAsDbaRequest { 18371 18372 /** 18373 * Constructs a new ExecuteFetchAsDbaRequest. 18374 * @param [properties] Properties to set 18375 */ 18376 constructor(properties?: tabletmanagerdata.IExecuteFetchAsDbaRequest); 18377 18378 /** ExecuteFetchAsDbaRequest query. */ 18379 public query: Uint8Array; 18380 18381 /** ExecuteFetchAsDbaRequest db_name. */ 18382 public db_name: string; 18383 18384 /** ExecuteFetchAsDbaRequest max_rows. */ 18385 public max_rows: (number|Long); 18386 18387 /** ExecuteFetchAsDbaRequest disable_binlogs. */ 18388 public disable_binlogs: boolean; 18389 18390 /** ExecuteFetchAsDbaRequest reload_schema. */ 18391 public reload_schema: boolean; 18392 18393 /** 18394 * Creates a new ExecuteFetchAsDbaRequest instance using the specified properties. 18395 * @param [properties] Properties to set 18396 * @returns ExecuteFetchAsDbaRequest instance 18397 */ 18398 public static create(properties?: tabletmanagerdata.IExecuteFetchAsDbaRequest): tabletmanagerdata.ExecuteFetchAsDbaRequest; 18399 18400 /** 18401 * Encodes the specified ExecuteFetchAsDbaRequest message. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsDbaRequest.verify|verify} messages. 18402 * @param message ExecuteFetchAsDbaRequest message or plain object to encode 18403 * @param [writer] Writer to encode to 18404 * @returns Writer 18405 */ 18406 public static encode(message: tabletmanagerdata.IExecuteFetchAsDbaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18407 18408 /** 18409 * Encodes the specified ExecuteFetchAsDbaRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsDbaRequest.verify|verify} messages. 18410 * @param message ExecuteFetchAsDbaRequest message or plain object to encode 18411 * @param [writer] Writer to encode to 18412 * @returns Writer 18413 */ 18414 public static encodeDelimited(message: tabletmanagerdata.IExecuteFetchAsDbaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18415 18416 /** 18417 * Decodes an ExecuteFetchAsDbaRequest message from the specified reader or buffer. 18418 * @param reader Reader or buffer to decode from 18419 * @param [length] Message length if known beforehand 18420 * @returns ExecuteFetchAsDbaRequest 18421 * @throws {Error} If the payload is not a reader or valid buffer 18422 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18423 */ 18424 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ExecuteFetchAsDbaRequest; 18425 18426 /** 18427 * Decodes an ExecuteFetchAsDbaRequest message from the specified reader or buffer, length delimited. 18428 * @param reader Reader or buffer to decode from 18429 * @returns ExecuteFetchAsDbaRequest 18430 * @throws {Error} If the payload is not a reader or valid buffer 18431 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18432 */ 18433 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ExecuteFetchAsDbaRequest; 18434 18435 /** 18436 * Verifies an ExecuteFetchAsDbaRequest message. 18437 * @param message Plain object to verify 18438 * @returns `null` if valid, otherwise the reason why it is not 18439 */ 18440 public static verify(message: { [k: string]: any }): (string|null); 18441 18442 /** 18443 * Creates an ExecuteFetchAsDbaRequest message from a plain object. Also converts values to their respective internal types. 18444 * @param object Plain object 18445 * @returns ExecuteFetchAsDbaRequest 18446 */ 18447 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ExecuteFetchAsDbaRequest; 18448 18449 /** 18450 * Creates a plain object from an ExecuteFetchAsDbaRequest message. Also converts values to other types if specified. 18451 * @param message ExecuteFetchAsDbaRequest 18452 * @param [options] Conversion options 18453 * @returns Plain object 18454 */ 18455 public static toObject(message: tabletmanagerdata.ExecuteFetchAsDbaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 18456 18457 /** 18458 * Converts this ExecuteFetchAsDbaRequest to JSON. 18459 * @returns JSON object 18460 */ 18461 public toJSON(): { [k: string]: any }; 18462 } 18463 18464 /** Properties of an ExecuteFetchAsDbaResponse. */ 18465 interface IExecuteFetchAsDbaResponse { 18466 18467 /** ExecuteFetchAsDbaResponse result */ 18468 result?: (query.IQueryResult|null); 18469 } 18470 18471 /** Represents an ExecuteFetchAsDbaResponse. */ 18472 class ExecuteFetchAsDbaResponse implements IExecuteFetchAsDbaResponse { 18473 18474 /** 18475 * Constructs a new ExecuteFetchAsDbaResponse. 18476 * @param [properties] Properties to set 18477 */ 18478 constructor(properties?: tabletmanagerdata.IExecuteFetchAsDbaResponse); 18479 18480 /** ExecuteFetchAsDbaResponse result. */ 18481 public result?: (query.IQueryResult|null); 18482 18483 /** 18484 * Creates a new ExecuteFetchAsDbaResponse instance using the specified properties. 18485 * @param [properties] Properties to set 18486 * @returns ExecuteFetchAsDbaResponse instance 18487 */ 18488 public static create(properties?: tabletmanagerdata.IExecuteFetchAsDbaResponse): tabletmanagerdata.ExecuteFetchAsDbaResponse; 18489 18490 /** 18491 * Encodes the specified ExecuteFetchAsDbaResponse message. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsDbaResponse.verify|verify} messages. 18492 * @param message ExecuteFetchAsDbaResponse message or plain object to encode 18493 * @param [writer] Writer to encode to 18494 * @returns Writer 18495 */ 18496 public static encode(message: tabletmanagerdata.IExecuteFetchAsDbaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 18497 18498 /** 18499 * Encodes the specified ExecuteFetchAsDbaResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsDbaResponse.verify|verify} messages. 18500 * @param message ExecuteFetchAsDbaResponse message or plain object to encode 18501 * @param [writer] Writer to encode to 18502 * @returns Writer 18503 */ 18504 public static encodeDelimited(message: tabletmanagerdata.IExecuteFetchAsDbaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 18505 18506 /** 18507 * Decodes an ExecuteFetchAsDbaResponse message from the specified reader or buffer. 18508 * @param reader Reader or buffer to decode from 18509 * @param [length] Message length if known beforehand 18510 * @returns ExecuteFetchAsDbaResponse 18511 * @throws {Error} If the payload is not a reader or valid buffer 18512 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18513 */ 18514 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ExecuteFetchAsDbaResponse; 18515 18516 /** 18517 * Decodes an ExecuteFetchAsDbaResponse message from the specified reader or buffer, length delimited. 18518 * @param reader Reader or buffer to decode from 18519 * @returns ExecuteFetchAsDbaResponse 18520 * @throws {Error} If the payload is not a reader or valid buffer 18521 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18522 */ 18523 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ExecuteFetchAsDbaResponse; 18524 18525 /** 18526 * Verifies an ExecuteFetchAsDbaResponse message. 18527 * @param message Plain object to verify 18528 * @returns `null` if valid, otherwise the reason why it is not 18529 */ 18530 public static verify(message: { [k: string]: any }): (string|null); 18531 18532 /** 18533 * Creates an ExecuteFetchAsDbaResponse message from a plain object. Also converts values to their respective internal types. 18534 * @param object Plain object 18535 * @returns ExecuteFetchAsDbaResponse 18536 */ 18537 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ExecuteFetchAsDbaResponse; 18538 18539 /** 18540 * Creates a plain object from an ExecuteFetchAsDbaResponse message. Also converts values to other types if specified. 18541 * @param message ExecuteFetchAsDbaResponse 18542 * @param [options] Conversion options 18543 * @returns Plain object 18544 */ 18545 public static toObject(message: tabletmanagerdata.ExecuteFetchAsDbaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 18546 18547 /** 18548 * Converts this ExecuteFetchAsDbaResponse to JSON. 18549 * @returns JSON object 18550 */ 18551 public toJSON(): { [k: string]: any }; 18552 } 18553 18554 /** Properties of an ExecuteFetchAsAllPrivsRequest. */ 18555 interface IExecuteFetchAsAllPrivsRequest { 18556 18557 /** ExecuteFetchAsAllPrivsRequest query */ 18558 query?: (Uint8Array|null); 18559 18560 /** ExecuteFetchAsAllPrivsRequest db_name */ 18561 db_name?: (string|null); 18562 18563 /** ExecuteFetchAsAllPrivsRequest max_rows */ 18564 max_rows?: (number|Long|null); 18565 18566 /** ExecuteFetchAsAllPrivsRequest reload_schema */ 18567 reload_schema?: (boolean|null); 18568 } 18569 18570 /** Represents an ExecuteFetchAsAllPrivsRequest. */ 18571 class ExecuteFetchAsAllPrivsRequest implements IExecuteFetchAsAllPrivsRequest { 18572 18573 /** 18574 * Constructs a new ExecuteFetchAsAllPrivsRequest. 18575 * @param [properties] Properties to set 18576 */ 18577 constructor(properties?: tabletmanagerdata.IExecuteFetchAsAllPrivsRequest); 18578 18579 /** ExecuteFetchAsAllPrivsRequest query. */ 18580 public query: Uint8Array; 18581 18582 /** ExecuteFetchAsAllPrivsRequest db_name. */ 18583 public db_name: string; 18584 18585 /** ExecuteFetchAsAllPrivsRequest max_rows. */ 18586 public max_rows: (number|Long); 18587 18588 /** ExecuteFetchAsAllPrivsRequest reload_schema. */ 18589 public reload_schema: boolean; 18590 18591 /** 18592 * Creates a new ExecuteFetchAsAllPrivsRequest instance using the specified properties. 18593 * @param [properties] Properties to set 18594 * @returns ExecuteFetchAsAllPrivsRequest instance 18595 */ 18596 public static create(properties?: tabletmanagerdata.IExecuteFetchAsAllPrivsRequest): tabletmanagerdata.ExecuteFetchAsAllPrivsRequest; 18597 18598 /** 18599 * Encodes the specified ExecuteFetchAsAllPrivsRequest message. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsAllPrivsRequest.verify|verify} messages. 18600 * @param message ExecuteFetchAsAllPrivsRequest message or plain object to encode 18601 * @param [writer] Writer to encode to 18602 * @returns Writer 18603 */ 18604 public static encode(message: tabletmanagerdata.IExecuteFetchAsAllPrivsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18605 18606 /** 18607 * Encodes the specified ExecuteFetchAsAllPrivsRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsAllPrivsRequest.verify|verify} messages. 18608 * @param message ExecuteFetchAsAllPrivsRequest message or plain object to encode 18609 * @param [writer] Writer to encode to 18610 * @returns Writer 18611 */ 18612 public static encodeDelimited(message: tabletmanagerdata.IExecuteFetchAsAllPrivsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18613 18614 /** 18615 * Decodes an ExecuteFetchAsAllPrivsRequest message from the specified reader or buffer. 18616 * @param reader Reader or buffer to decode from 18617 * @param [length] Message length if known beforehand 18618 * @returns ExecuteFetchAsAllPrivsRequest 18619 * @throws {Error} If the payload is not a reader or valid buffer 18620 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18621 */ 18622 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ExecuteFetchAsAllPrivsRequest; 18623 18624 /** 18625 * Decodes an ExecuteFetchAsAllPrivsRequest message from the specified reader or buffer, length delimited. 18626 * @param reader Reader or buffer to decode from 18627 * @returns ExecuteFetchAsAllPrivsRequest 18628 * @throws {Error} If the payload is not a reader or valid buffer 18629 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18630 */ 18631 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ExecuteFetchAsAllPrivsRequest; 18632 18633 /** 18634 * Verifies an ExecuteFetchAsAllPrivsRequest message. 18635 * @param message Plain object to verify 18636 * @returns `null` if valid, otherwise the reason why it is not 18637 */ 18638 public static verify(message: { [k: string]: any }): (string|null); 18639 18640 /** 18641 * Creates an ExecuteFetchAsAllPrivsRequest message from a plain object. Also converts values to their respective internal types. 18642 * @param object Plain object 18643 * @returns ExecuteFetchAsAllPrivsRequest 18644 */ 18645 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ExecuteFetchAsAllPrivsRequest; 18646 18647 /** 18648 * Creates a plain object from an ExecuteFetchAsAllPrivsRequest message. Also converts values to other types if specified. 18649 * @param message ExecuteFetchAsAllPrivsRequest 18650 * @param [options] Conversion options 18651 * @returns Plain object 18652 */ 18653 public static toObject(message: tabletmanagerdata.ExecuteFetchAsAllPrivsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 18654 18655 /** 18656 * Converts this ExecuteFetchAsAllPrivsRequest to JSON. 18657 * @returns JSON object 18658 */ 18659 public toJSON(): { [k: string]: any }; 18660 } 18661 18662 /** Properties of an ExecuteFetchAsAllPrivsResponse. */ 18663 interface IExecuteFetchAsAllPrivsResponse { 18664 18665 /** ExecuteFetchAsAllPrivsResponse result */ 18666 result?: (query.IQueryResult|null); 18667 } 18668 18669 /** Represents an ExecuteFetchAsAllPrivsResponse. */ 18670 class ExecuteFetchAsAllPrivsResponse implements IExecuteFetchAsAllPrivsResponse { 18671 18672 /** 18673 * Constructs a new ExecuteFetchAsAllPrivsResponse. 18674 * @param [properties] Properties to set 18675 */ 18676 constructor(properties?: tabletmanagerdata.IExecuteFetchAsAllPrivsResponse); 18677 18678 /** ExecuteFetchAsAllPrivsResponse result. */ 18679 public result?: (query.IQueryResult|null); 18680 18681 /** 18682 * Creates a new ExecuteFetchAsAllPrivsResponse instance using the specified properties. 18683 * @param [properties] Properties to set 18684 * @returns ExecuteFetchAsAllPrivsResponse instance 18685 */ 18686 public static create(properties?: tabletmanagerdata.IExecuteFetchAsAllPrivsResponse): tabletmanagerdata.ExecuteFetchAsAllPrivsResponse; 18687 18688 /** 18689 * Encodes the specified ExecuteFetchAsAllPrivsResponse message. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsAllPrivsResponse.verify|verify} messages. 18690 * @param message ExecuteFetchAsAllPrivsResponse message or plain object to encode 18691 * @param [writer] Writer to encode to 18692 * @returns Writer 18693 */ 18694 public static encode(message: tabletmanagerdata.IExecuteFetchAsAllPrivsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 18695 18696 /** 18697 * Encodes the specified ExecuteFetchAsAllPrivsResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsAllPrivsResponse.verify|verify} messages. 18698 * @param message ExecuteFetchAsAllPrivsResponse message or plain object to encode 18699 * @param [writer] Writer to encode to 18700 * @returns Writer 18701 */ 18702 public static encodeDelimited(message: tabletmanagerdata.IExecuteFetchAsAllPrivsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 18703 18704 /** 18705 * Decodes an ExecuteFetchAsAllPrivsResponse message from the specified reader or buffer. 18706 * @param reader Reader or buffer to decode from 18707 * @param [length] Message length if known beforehand 18708 * @returns ExecuteFetchAsAllPrivsResponse 18709 * @throws {Error} If the payload is not a reader or valid buffer 18710 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18711 */ 18712 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ExecuteFetchAsAllPrivsResponse; 18713 18714 /** 18715 * Decodes an ExecuteFetchAsAllPrivsResponse message from the specified reader or buffer, length delimited. 18716 * @param reader Reader or buffer to decode from 18717 * @returns ExecuteFetchAsAllPrivsResponse 18718 * @throws {Error} If the payload is not a reader or valid buffer 18719 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18720 */ 18721 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ExecuteFetchAsAllPrivsResponse; 18722 18723 /** 18724 * Verifies an ExecuteFetchAsAllPrivsResponse message. 18725 * @param message Plain object to verify 18726 * @returns `null` if valid, otherwise the reason why it is not 18727 */ 18728 public static verify(message: { [k: string]: any }): (string|null); 18729 18730 /** 18731 * Creates an ExecuteFetchAsAllPrivsResponse message from a plain object. Also converts values to their respective internal types. 18732 * @param object Plain object 18733 * @returns ExecuteFetchAsAllPrivsResponse 18734 */ 18735 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ExecuteFetchAsAllPrivsResponse; 18736 18737 /** 18738 * Creates a plain object from an ExecuteFetchAsAllPrivsResponse message. Also converts values to other types if specified. 18739 * @param message ExecuteFetchAsAllPrivsResponse 18740 * @param [options] Conversion options 18741 * @returns Plain object 18742 */ 18743 public static toObject(message: tabletmanagerdata.ExecuteFetchAsAllPrivsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 18744 18745 /** 18746 * Converts this ExecuteFetchAsAllPrivsResponse to JSON. 18747 * @returns JSON object 18748 */ 18749 public toJSON(): { [k: string]: any }; 18750 } 18751 18752 /** Properties of an ExecuteFetchAsAppRequest. */ 18753 interface IExecuteFetchAsAppRequest { 18754 18755 /** ExecuteFetchAsAppRequest query */ 18756 query?: (Uint8Array|null); 18757 18758 /** ExecuteFetchAsAppRequest max_rows */ 18759 max_rows?: (number|Long|null); 18760 } 18761 18762 /** Represents an ExecuteFetchAsAppRequest. */ 18763 class ExecuteFetchAsAppRequest implements IExecuteFetchAsAppRequest { 18764 18765 /** 18766 * Constructs a new ExecuteFetchAsAppRequest. 18767 * @param [properties] Properties to set 18768 */ 18769 constructor(properties?: tabletmanagerdata.IExecuteFetchAsAppRequest); 18770 18771 /** ExecuteFetchAsAppRequest query. */ 18772 public query: Uint8Array; 18773 18774 /** ExecuteFetchAsAppRequest max_rows. */ 18775 public max_rows: (number|Long); 18776 18777 /** 18778 * Creates a new ExecuteFetchAsAppRequest instance using the specified properties. 18779 * @param [properties] Properties to set 18780 * @returns ExecuteFetchAsAppRequest instance 18781 */ 18782 public static create(properties?: tabletmanagerdata.IExecuteFetchAsAppRequest): tabletmanagerdata.ExecuteFetchAsAppRequest; 18783 18784 /** 18785 * Encodes the specified ExecuteFetchAsAppRequest message. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsAppRequest.verify|verify} messages. 18786 * @param message ExecuteFetchAsAppRequest message or plain object to encode 18787 * @param [writer] Writer to encode to 18788 * @returns Writer 18789 */ 18790 public static encode(message: tabletmanagerdata.IExecuteFetchAsAppRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18791 18792 /** 18793 * Encodes the specified ExecuteFetchAsAppRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsAppRequest.verify|verify} messages. 18794 * @param message ExecuteFetchAsAppRequest message or plain object to encode 18795 * @param [writer] Writer to encode to 18796 * @returns Writer 18797 */ 18798 public static encodeDelimited(message: tabletmanagerdata.IExecuteFetchAsAppRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18799 18800 /** 18801 * Decodes an ExecuteFetchAsAppRequest message from the specified reader or buffer. 18802 * @param reader Reader or buffer to decode from 18803 * @param [length] Message length if known beforehand 18804 * @returns ExecuteFetchAsAppRequest 18805 * @throws {Error} If the payload is not a reader or valid buffer 18806 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18807 */ 18808 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ExecuteFetchAsAppRequest; 18809 18810 /** 18811 * Decodes an ExecuteFetchAsAppRequest message from the specified reader or buffer, length delimited. 18812 * @param reader Reader or buffer to decode from 18813 * @returns ExecuteFetchAsAppRequest 18814 * @throws {Error} If the payload is not a reader or valid buffer 18815 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18816 */ 18817 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ExecuteFetchAsAppRequest; 18818 18819 /** 18820 * Verifies an ExecuteFetchAsAppRequest message. 18821 * @param message Plain object to verify 18822 * @returns `null` if valid, otherwise the reason why it is not 18823 */ 18824 public static verify(message: { [k: string]: any }): (string|null); 18825 18826 /** 18827 * Creates an ExecuteFetchAsAppRequest message from a plain object. Also converts values to their respective internal types. 18828 * @param object Plain object 18829 * @returns ExecuteFetchAsAppRequest 18830 */ 18831 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ExecuteFetchAsAppRequest; 18832 18833 /** 18834 * Creates a plain object from an ExecuteFetchAsAppRequest message. Also converts values to other types if specified. 18835 * @param message ExecuteFetchAsAppRequest 18836 * @param [options] Conversion options 18837 * @returns Plain object 18838 */ 18839 public static toObject(message: tabletmanagerdata.ExecuteFetchAsAppRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 18840 18841 /** 18842 * Converts this ExecuteFetchAsAppRequest to JSON. 18843 * @returns JSON object 18844 */ 18845 public toJSON(): { [k: string]: any }; 18846 } 18847 18848 /** Properties of an ExecuteFetchAsAppResponse. */ 18849 interface IExecuteFetchAsAppResponse { 18850 18851 /** ExecuteFetchAsAppResponse result */ 18852 result?: (query.IQueryResult|null); 18853 } 18854 18855 /** Represents an ExecuteFetchAsAppResponse. */ 18856 class ExecuteFetchAsAppResponse implements IExecuteFetchAsAppResponse { 18857 18858 /** 18859 * Constructs a new ExecuteFetchAsAppResponse. 18860 * @param [properties] Properties to set 18861 */ 18862 constructor(properties?: tabletmanagerdata.IExecuteFetchAsAppResponse); 18863 18864 /** ExecuteFetchAsAppResponse result. */ 18865 public result?: (query.IQueryResult|null); 18866 18867 /** 18868 * Creates a new ExecuteFetchAsAppResponse instance using the specified properties. 18869 * @param [properties] Properties to set 18870 * @returns ExecuteFetchAsAppResponse instance 18871 */ 18872 public static create(properties?: tabletmanagerdata.IExecuteFetchAsAppResponse): tabletmanagerdata.ExecuteFetchAsAppResponse; 18873 18874 /** 18875 * Encodes the specified ExecuteFetchAsAppResponse message. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsAppResponse.verify|verify} messages. 18876 * @param message ExecuteFetchAsAppResponse message or plain object to encode 18877 * @param [writer] Writer to encode to 18878 * @returns Writer 18879 */ 18880 public static encode(message: tabletmanagerdata.IExecuteFetchAsAppResponse, writer?: $protobuf.Writer): $protobuf.Writer; 18881 18882 /** 18883 * Encodes the specified ExecuteFetchAsAppResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ExecuteFetchAsAppResponse.verify|verify} messages. 18884 * @param message ExecuteFetchAsAppResponse message or plain object to encode 18885 * @param [writer] Writer to encode to 18886 * @returns Writer 18887 */ 18888 public static encodeDelimited(message: tabletmanagerdata.IExecuteFetchAsAppResponse, writer?: $protobuf.Writer): $protobuf.Writer; 18889 18890 /** 18891 * Decodes an ExecuteFetchAsAppResponse message from the specified reader or buffer. 18892 * @param reader Reader or buffer to decode from 18893 * @param [length] Message length if known beforehand 18894 * @returns ExecuteFetchAsAppResponse 18895 * @throws {Error} If the payload is not a reader or valid buffer 18896 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18897 */ 18898 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ExecuteFetchAsAppResponse; 18899 18900 /** 18901 * Decodes an ExecuteFetchAsAppResponse message from the specified reader or buffer, length delimited. 18902 * @param reader Reader or buffer to decode from 18903 * @returns ExecuteFetchAsAppResponse 18904 * @throws {Error} If the payload is not a reader or valid buffer 18905 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18906 */ 18907 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ExecuteFetchAsAppResponse; 18908 18909 /** 18910 * Verifies an ExecuteFetchAsAppResponse message. 18911 * @param message Plain object to verify 18912 * @returns `null` if valid, otherwise the reason why it is not 18913 */ 18914 public static verify(message: { [k: string]: any }): (string|null); 18915 18916 /** 18917 * Creates an ExecuteFetchAsAppResponse message from a plain object. Also converts values to their respective internal types. 18918 * @param object Plain object 18919 * @returns ExecuteFetchAsAppResponse 18920 */ 18921 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ExecuteFetchAsAppResponse; 18922 18923 /** 18924 * Creates a plain object from an ExecuteFetchAsAppResponse message. Also converts values to other types if specified. 18925 * @param message ExecuteFetchAsAppResponse 18926 * @param [options] Conversion options 18927 * @returns Plain object 18928 */ 18929 public static toObject(message: tabletmanagerdata.ExecuteFetchAsAppResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 18930 18931 /** 18932 * Converts this ExecuteFetchAsAppResponse to JSON. 18933 * @returns JSON object 18934 */ 18935 public toJSON(): { [k: string]: any }; 18936 } 18937 18938 /** Properties of a ReplicationStatusRequest. */ 18939 interface IReplicationStatusRequest { 18940 } 18941 18942 /** Represents a ReplicationStatusRequest. */ 18943 class ReplicationStatusRequest implements IReplicationStatusRequest { 18944 18945 /** 18946 * Constructs a new ReplicationStatusRequest. 18947 * @param [properties] Properties to set 18948 */ 18949 constructor(properties?: tabletmanagerdata.IReplicationStatusRequest); 18950 18951 /** 18952 * Creates a new ReplicationStatusRequest instance using the specified properties. 18953 * @param [properties] Properties to set 18954 * @returns ReplicationStatusRequest instance 18955 */ 18956 public static create(properties?: tabletmanagerdata.IReplicationStatusRequest): tabletmanagerdata.ReplicationStatusRequest; 18957 18958 /** 18959 * Encodes the specified ReplicationStatusRequest message. Does not implicitly {@link tabletmanagerdata.ReplicationStatusRequest.verify|verify} messages. 18960 * @param message ReplicationStatusRequest message or plain object to encode 18961 * @param [writer] Writer to encode to 18962 * @returns Writer 18963 */ 18964 public static encode(message: tabletmanagerdata.IReplicationStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18965 18966 /** 18967 * Encodes the specified ReplicationStatusRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ReplicationStatusRequest.verify|verify} messages. 18968 * @param message ReplicationStatusRequest message or plain object to encode 18969 * @param [writer] Writer to encode to 18970 * @returns Writer 18971 */ 18972 public static encodeDelimited(message: tabletmanagerdata.IReplicationStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 18973 18974 /** 18975 * Decodes a ReplicationStatusRequest message from the specified reader or buffer. 18976 * @param reader Reader or buffer to decode from 18977 * @param [length] Message length if known beforehand 18978 * @returns ReplicationStatusRequest 18979 * @throws {Error} If the payload is not a reader or valid buffer 18980 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18981 */ 18982 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ReplicationStatusRequest; 18983 18984 /** 18985 * Decodes a ReplicationStatusRequest message from the specified reader or buffer, length delimited. 18986 * @param reader Reader or buffer to decode from 18987 * @returns ReplicationStatusRequest 18988 * @throws {Error} If the payload is not a reader or valid buffer 18989 * @throws {$protobuf.util.ProtocolError} If required fields are missing 18990 */ 18991 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ReplicationStatusRequest; 18992 18993 /** 18994 * Verifies a ReplicationStatusRequest message. 18995 * @param message Plain object to verify 18996 * @returns `null` if valid, otherwise the reason why it is not 18997 */ 18998 public static verify(message: { [k: string]: any }): (string|null); 18999 19000 /** 19001 * Creates a ReplicationStatusRequest message from a plain object. Also converts values to their respective internal types. 19002 * @param object Plain object 19003 * @returns ReplicationStatusRequest 19004 */ 19005 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ReplicationStatusRequest; 19006 19007 /** 19008 * Creates a plain object from a ReplicationStatusRequest message. Also converts values to other types if specified. 19009 * @param message ReplicationStatusRequest 19010 * @param [options] Conversion options 19011 * @returns Plain object 19012 */ 19013 public static toObject(message: tabletmanagerdata.ReplicationStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19014 19015 /** 19016 * Converts this ReplicationStatusRequest to JSON. 19017 * @returns JSON object 19018 */ 19019 public toJSON(): { [k: string]: any }; 19020 } 19021 19022 /** Properties of a ReplicationStatusResponse. */ 19023 interface IReplicationStatusResponse { 19024 19025 /** ReplicationStatusResponse status */ 19026 status?: (replicationdata.IStatus|null); 19027 } 19028 19029 /** Represents a ReplicationStatusResponse. */ 19030 class ReplicationStatusResponse implements IReplicationStatusResponse { 19031 19032 /** 19033 * Constructs a new ReplicationStatusResponse. 19034 * @param [properties] Properties to set 19035 */ 19036 constructor(properties?: tabletmanagerdata.IReplicationStatusResponse); 19037 19038 /** ReplicationStatusResponse status. */ 19039 public status?: (replicationdata.IStatus|null); 19040 19041 /** 19042 * Creates a new ReplicationStatusResponse instance using the specified properties. 19043 * @param [properties] Properties to set 19044 * @returns ReplicationStatusResponse instance 19045 */ 19046 public static create(properties?: tabletmanagerdata.IReplicationStatusResponse): tabletmanagerdata.ReplicationStatusResponse; 19047 19048 /** 19049 * Encodes the specified ReplicationStatusResponse message. Does not implicitly {@link tabletmanagerdata.ReplicationStatusResponse.verify|verify} messages. 19050 * @param message ReplicationStatusResponse message or plain object to encode 19051 * @param [writer] Writer to encode to 19052 * @returns Writer 19053 */ 19054 public static encode(message: tabletmanagerdata.IReplicationStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19055 19056 /** 19057 * Encodes the specified ReplicationStatusResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ReplicationStatusResponse.verify|verify} messages. 19058 * @param message ReplicationStatusResponse message or plain object to encode 19059 * @param [writer] Writer to encode to 19060 * @returns Writer 19061 */ 19062 public static encodeDelimited(message: tabletmanagerdata.IReplicationStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19063 19064 /** 19065 * Decodes a ReplicationStatusResponse message from the specified reader or buffer. 19066 * @param reader Reader or buffer to decode from 19067 * @param [length] Message length if known beforehand 19068 * @returns ReplicationStatusResponse 19069 * @throws {Error} If the payload is not a reader or valid buffer 19070 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19071 */ 19072 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ReplicationStatusResponse; 19073 19074 /** 19075 * Decodes a ReplicationStatusResponse message from the specified reader or buffer, length delimited. 19076 * @param reader Reader or buffer to decode from 19077 * @returns ReplicationStatusResponse 19078 * @throws {Error} If the payload is not a reader or valid buffer 19079 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19080 */ 19081 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ReplicationStatusResponse; 19082 19083 /** 19084 * Verifies a ReplicationStatusResponse message. 19085 * @param message Plain object to verify 19086 * @returns `null` if valid, otherwise the reason why it is not 19087 */ 19088 public static verify(message: { [k: string]: any }): (string|null); 19089 19090 /** 19091 * Creates a ReplicationStatusResponse message from a plain object. Also converts values to their respective internal types. 19092 * @param object Plain object 19093 * @returns ReplicationStatusResponse 19094 */ 19095 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ReplicationStatusResponse; 19096 19097 /** 19098 * Creates a plain object from a ReplicationStatusResponse message. Also converts values to other types if specified. 19099 * @param message ReplicationStatusResponse 19100 * @param [options] Conversion options 19101 * @returns Plain object 19102 */ 19103 public static toObject(message: tabletmanagerdata.ReplicationStatusResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19104 19105 /** 19106 * Converts this ReplicationStatusResponse to JSON. 19107 * @returns JSON object 19108 */ 19109 public toJSON(): { [k: string]: any }; 19110 } 19111 19112 /** Properties of a PrimaryStatusRequest. */ 19113 interface IPrimaryStatusRequest { 19114 } 19115 19116 /** Represents a PrimaryStatusRequest. */ 19117 class PrimaryStatusRequest implements IPrimaryStatusRequest { 19118 19119 /** 19120 * Constructs a new PrimaryStatusRequest. 19121 * @param [properties] Properties to set 19122 */ 19123 constructor(properties?: tabletmanagerdata.IPrimaryStatusRequest); 19124 19125 /** 19126 * Creates a new PrimaryStatusRequest instance using the specified properties. 19127 * @param [properties] Properties to set 19128 * @returns PrimaryStatusRequest instance 19129 */ 19130 public static create(properties?: tabletmanagerdata.IPrimaryStatusRequest): tabletmanagerdata.PrimaryStatusRequest; 19131 19132 /** 19133 * Encodes the specified PrimaryStatusRequest message. Does not implicitly {@link tabletmanagerdata.PrimaryStatusRequest.verify|verify} messages. 19134 * @param message PrimaryStatusRequest message or plain object to encode 19135 * @param [writer] Writer to encode to 19136 * @returns Writer 19137 */ 19138 public static encode(message: tabletmanagerdata.IPrimaryStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 19139 19140 /** 19141 * Encodes the specified PrimaryStatusRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.PrimaryStatusRequest.verify|verify} messages. 19142 * @param message PrimaryStatusRequest message or plain object to encode 19143 * @param [writer] Writer to encode to 19144 * @returns Writer 19145 */ 19146 public static encodeDelimited(message: tabletmanagerdata.IPrimaryStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 19147 19148 /** 19149 * Decodes a PrimaryStatusRequest message from the specified reader or buffer. 19150 * @param reader Reader or buffer to decode from 19151 * @param [length] Message length if known beforehand 19152 * @returns PrimaryStatusRequest 19153 * @throws {Error} If the payload is not a reader or valid buffer 19154 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19155 */ 19156 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PrimaryStatusRequest; 19157 19158 /** 19159 * Decodes a PrimaryStatusRequest message from the specified reader or buffer, length delimited. 19160 * @param reader Reader or buffer to decode from 19161 * @returns PrimaryStatusRequest 19162 * @throws {Error} If the payload is not a reader or valid buffer 19163 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19164 */ 19165 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PrimaryStatusRequest; 19166 19167 /** 19168 * Verifies a PrimaryStatusRequest message. 19169 * @param message Plain object to verify 19170 * @returns `null` if valid, otherwise the reason why it is not 19171 */ 19172 public static verify(message: { [k: string]: any }): (string|null); 19173 19174 /** 19175 * Creates a PrimaryStatusRequest message from a plain object. Also converts values to their respective internal types. 19176 * @param object Plain object 19177 * @returns PrimaryStatusRequest 19178 */ 19179 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PrimaryStatusRequest; 19180 19181 /** 19182 * Creates a plain object from a PrimaryStatusRequest message. Also converts values to other types if specified. 19183 * @param message PrimaryStatusRequest 19184 * @param [options] Conversion options 19185 * @returns Plain object 19186 */ 19187 public static toObject(message: tabletmanagerdata.PrimaryStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19188 19189 /** 19190 * Converts this PrimaryStatusRequest to JSON. 19191 * @returns JSON object 19192 */ 19193 public toJSON(): { [k: string]: any }; 19194 } 19195 19196 /** Properties of a PrimaryStatusResponse. */ 19197 interface IPrimaryStatusResponse { 19198 19199 /** PrimaryStatusResponse status */ 19200 status?: (replicationdata.IPrimaryStatus|null); 19201 } 19202 19203 /** Represents a PrimaryStatusResponse. */ 19204 class PrimaryStatusResponse implements IPrimaryStatusResponse { 19205 19206 /** 19207 * Constructs a new PrimaryStatusResponse. 19208 * @param [properties] Properties to set 19209 */ 19210 constructor(properties?: tabletmanagerdata.IPrimaryStatusResponse); 19211 19212 /** PrimaryStatusResponse status. */ 19213 public status?: (replicationdata.IPrimaryStatus|null); 19214 19215 /** 19216 * Creates a new PrimaryStatusResponse instance using the specified properties. 19217 * @param [properties] Properties to set 19218 * @returns PrimaryStatusResponse instance 19219 */ 19220 public static create(properties?: tabletmanagerdata.IPrimaryStatusResponse): tabletmanagerdata.PrimaryStatusResponse; 19221 19222 /** 19223 * Encodes the specified PrimaryStatusResponse message. Does not implicitly {@link tabletmanagerdata.PrimaryStatusResponse.verify|verify} messages. 19224 * @param message PrimaryStatusResponse message or plain object to encode 19225 * @param [writer] Writer to encode to 19226 * @returns Writer 19227 */ 19228 public static encode(message: tabletmanagerdata.IPrimaryStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19229 19230 /** 19231 * Encodes the specified PrimaryStatusResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.PrimaryStatusResponse.verify|verify} messages. 19232 * @param message PrimaryStatusResponse message or plain object to encode 19233 * @param [writer] Writer to encode to 19234 * @returns Writer 19235 */ 19236 public static encodeDelimited(message: tabletmanagerdata.IPrimaryStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19237 19238 /** 19239 * Decodes a PrimaryStatusResponse message from the specified reader or buffer. 19240 * @param reader Reader or buffer to decode from 19241 * @param [length] Message length if known beforehand 19242 * @returns PrimaryStatusResponse 19243 * @throws {Error} If the payload is not a reader or valid buffer 19244 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19245 */ 19246 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PrimaryStatusResponse; 19247 19248 /** 19249 * Decodes a PrimaryStatusResponse message from the specified reader or buffer, length delimited. 19250 * @param reader Reader or buffer to decode from 19251 * @returns PrimaryStatusResponse 19252 * @throws {Error} If the payload is not a reader or valid buffer 19253 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19254 */ 19255 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PrimaryStatusResponse; 19256 19257 /** 19258 * Verifies a PrimaryStatusResponse message. 19259 * @param message Plain object to verify 19260 * @returns `null` if valid, otherwise the reason why it is not 19261 */ 19262 public static verify(message: { [k: string]: any }): (string|null); 19263 19264 /** 19265 * Creates a PrimaryStatusResponse message from a plain object. Also converts values to their respective internal types. 19266 * @param object Plain object 19267 * @returns PrimaryStatusResponse 19268 */ 19269 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PrimaryStatusResponse; 19270 19271 /** 19272 * Creates a plain object from a PrimaryStatusResponse message. Also converts values to other types if specified. 19273 * @param message PrimaryStatusResponse 19274 * @param [options] Conversion options 19275 * @returns Plain object 19276 */ 19277 public static toObject(message: tabletmanagerdata.PrimaryStatusResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19278 19279 /** 19280 * Converts this PrimaryStatusResponse to JSON. 19281 * @returns JSON object 19282 */ 19283 public toJSON(): { [k: string]: any }; 19284 } 19285 19286 /** Properties of a PrimaryPositionRequest. */ 19287 interface IPrimaryPositionRequest { 19288 } 19289 19290 /** Represents a PrimaryPositionRequest. */ 19291 class PrimaryPositionRequest implements IPrimaryPositionRequest { 19292 19293 /** 19294 * Constructs a new PrimaryPositionRequest. 19295 * @param [properties] Properties to set 19296 */ 19297 constructor(properties?: tabletmanagerdata.IPrimaryPositionRequest); 19298 19299 /** 19300 * Creates a new PrimaryPositionRequest instance using the specified properties. 19301 * @param [properties] Properties to set 19302 * @returns PrimaryPositionRequest instance 19303 */ 19304 public static create(properties?: tabletmanagerdata.IPrimaryPositionRequest): tabletmanagerdata.PrimaryPositionRequest; 19305 19306 /** 19307 * Encodes the specified PrimaryPositionRequest message. Does not implicitly {@link tabletmanagerdata.PrimaryPositionRequest.verify|verify} messages. 19308 * @param message PrimaryPositionRequest message or plain object to encode 19309 * @param [writer] Writer to encode to 19310 * @returns Writer 19311 */ 19312 public static encode(message: tabletmanagerdata.IPrimaryPositionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 19313 19314 /** 19315 * Encodes the specified PrimaryPositionRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.PrimaryPositionRequest.verify|verify} messages. 19316 * @param message PrimaryPositionRequest message or plain object to encode 19317 * @param [writer] Writer to encode to 19318 * @returns Writer 19319 */ 19320 public static encodeDelimited(message: tabletmanagerdata.IPrimaryPositionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 19321 19322 /** 19323 * Decodes a PrimaryPositionRequest message from the specified reader or buffer. 19324 * @param reader Reader or buffer to decode from 19325 * @param [length] Message length if known beforehand 19326 * @returns PrimaryPositionRequest 19327 * @throws {Error} If the payload is not a reader or valid buffer 19328 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19329 */ 19330 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PrimaryPositionRequest; 19331 19332 /** 19333 * Decodes a PrimaryPositionRequest message from the specified reader or buffer, length delimited. 19334 * @param reader Reader or buffer to decode from 19335 * @returns PrimaryPositionRequest 19336 * @throws {Error} If the payload is not a reader or valid buffer 19337 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19338 */ 19339 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PrimaryPositionRequest; 19340 19341 /** 19342 * Verifies a PrimaryPositionRequest message. 19343 * @param message Plain object to verify 19344 * @returns `null` if valid, otherwise the reason why it is not 19345 */ 19346 public static verify(message: { [k: string]: any }): (string|null); 19347 19348 /** 19349 * Creates a PrimaryPositionRequest message from a plain object. Also converts values to their respective internal types. 19350 * @param object Plain object 19351 * @returns PrimaryPositionRequest 19352 */ 19353 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PrimaryPositionRequest; 19354 19355 /** 19356 * Creates a plain object from a PrimaryPositionRequest message. Also converts values to other types if specified. 19357 * @param message PrimaryPositionRequest 19358 * @param [options] Conversion options 19359 * @returns Plain object 19360 */ 19361 public static toObject(message: tabletmanagerdata.PrimaryPositionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19362 19363 /** 19364 * Converts this PrimaryPositionRequest to JSON. 19365 * @returns JSON object 19366 */ 19367 public toJSON(): { [k: string]: any }; 19368 } 19369 19370 /** Properties of a PrimaryPositionResponse. */ 19371 interface IPrimaryPositionResponse { 19372 19373 /** PrimaryPositionResponse position */ 19374 position?: (string|null); 19375 } 19376 19377 /** Represents a PrimaryPositionResponse. */ 19378 class PrimaryPositionResponse implements IPrimaryPositionResponse { 19379 19380 /** 19381 * Constructs a new PrimaryPositionResponse. 19382 * @param [properties] Properties to set 19383 */ 19384 constructor(properties?: tabletmanagerdata.IPrimaryPositionResponse); 19385 19386 /** PrimaryPositionResponse position. */ 19387 public position: string; 19388 19389 /** 19390 * Creates a new PrimaryPositionResponse instance using the specified properties. 19391 * @param [properties] Properties to set 19392 * @returns PrimaryPositionResponse instance 19393 */ 19394 public static create(properties?: tabletmanagerdata.IPrimaryPositionResponse): tabletmanagerdata.PrimaryPositionResponse; 19395 19396 /** 19397 * Encodes the specified PrimaryPositionResponse message. Does not implicitly {@link tabletmanagerdata.PrimaryPositionResponse.verify|verify} messages. 19398 * @param message PrimaryPositionResponse message or plain object to encode 19399 * @param [writer] Writer to encode to 19400 * @returns Writer 19401 */ 19402 public static encode(message: tabletmanagerdata.IPrimaryPositionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19403 19404 /** 19405 * Encodes the specified PrimaryPositionResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.PrimaryPositionResponse.verify|verify} messages. 19406 * @param message PrimaryPositionResponse message or plain object to encode 19407 * @param [writer] Writer to encode to 19408 * @returns Writer 19409 */ 19410 public static encodeDelimited(message: tabletmanagerdata.IPrimaryPositionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19411 19412 /** 19413 * Decodes a PrimaryPositionResponse message from the specified reader or buffer. 19414 * @param reader Reader or buffer to decode from 19415 * @param [length] Message length if known beforehand 19416 * @returns PrimaryPositionResponse 19417 * @throws {Error} If the payload is not a reader or valid buffer 19418 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19419 */ 19420 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PrimaryPositionResponse; 19421 19422 /** 19423 * Decodes a PrimaryPositionResponse message from the specified reader or buffer, length delimited. 19424 * @param reader Reader or buffer to decode from 19425 * @returns PrimaryPositionResponse 19426 * @throws {Error} If the payload is not a reader or valid buffer 19427 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19428 */ 19429 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PrimaryPositionResponse; 19430 19431 /** 19432 * Verifies a PrimaryPositionResponse message. 19433 * @param message Plain object to verify 19434 * @returns `null` if valid, otherwise the reason why it is not 19435 */ 19436 public static verify(message: { [k: string]: any }): (string|null); 19437 19438 /** 19439 * Creates a PrimaryPositionResponse message from a plain object. Also converts values to their respective internal types. 19440 * @param object Plain object 19441 * @returns PrimaryPositionResponse 19442 */ 19443 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PrimaryPositionResponse; 19444 19445 /** 19446 * Creates a plain object from a PrimaryPositionResponse message. Also converts values to other types if specified. 19447 * @param message PrimaryPositionResponse 19448 * @param [options] Conversion options 19449 * @returns Plain object 19450 */ 19451 public static toObject(message: tabletmanagerdata.PrimaryPositionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19452 19453 /** 19454 * Converts this PrimaryPositionResponse to JSON. 19455 * @returns JSON object 19456 */ 19457 public toJSON(): { [k: string]: any }; 19458 } 19459 19460 /** Properties of a WaitForPositionRequest. */ 19461 interface IWaitForPositionRequest { 19462 19463 /** WaitForPositionRequest position */ 19464 position?: (string|null); 19465 } 19466 19467 /** Represents a WaitForPositionRequest. */ 19468 class WaitForPositionRequest implements IWaitForPositionRequest { 19469 19470 /** 19471 * Constructs a new WaitForPositionRequest. 19472 * @param [properties] Properties to set 19473 */ 19474 constructor(properties?: tabletmanagerdata.IWaitForPositionRequest); 19475 19476 /** WaitForPositionRequest position. */ 19477 public position: string; 19478 19479 /** 19480 * Creates a new WaitForPositionRequest instance using the specified properties. 19481 * @param [properties] Properties to set 19482 * @returns WaitForPositionRequest instance 19483 */ 19484 public static create(properties?: tabletmanagerdata.IWaitForPositionRequest): tabletmanagerdata.WaitForPositionRequest; 19485 19486 /** 19487 * Encodes the specified WaitForPositionRequest message. Does not implicitly {@link tabletmanagerdata.WaitForPositionRequest.verify|verify} messages. 19488 * @param message WaitForPositionRequest message or plain object to encode 19489 * @param [writer] Writer to encode to 19490 * @returns Writer 19491 */ 19492 public static encode(message: tabletmanagerdata.IWaitForPositionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 19493 19494 /** 19495 * Encodes the specified WaitForPositionRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.WaitForPositionRequest.verify|verify} messages. 19496 * @param message WaitForPositionRequest message or plain object to encode 19497 * @param [writer] Writer to encode to 19498 * @returns Writer 19499 */ 19500 public static encodeDelimited(message: tabletmanagerdata.IWaitForPositionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 19501 19502 /** 19503 * Decodes a WaitForPositionRequest message from the specified reader or buffer. 19504 * @param reader Reader or buffer to decode from 19505 * @param [length] Message length if known beforehand 19506 * @returns WaitForPositionRequest 19507 * @throws {Error} If the payload is not a reader or valid buffer 19508 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19509 */ 19510 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.WaitForPositionRequest; 19511 19512 /** 19513 * Decodes a WaitForPositionRequest message from the specified reader or buffer, length delimited. 19514 * @param reader Reader or buffer to decode from 19515 * @returns WaitForPositionRequest 19516 * @throws {Error} If the payload is not a reader or valid buffer 19517 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19518 */ 19519 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.WaitForPositionRequest; 19520 19521 /** 19522 * Verifies a WaitForPositionRequest message. 19523 * @param message Plain object to verify 19524 * @returns `null` if valid, otherwise the reason why it is not 19525 */ 19526 public static verify(message: { [k: string]: any }): (string|null); 19527 19528 /** 19529 * Creates a WaitForPositionRequest message from a plain object. Also converts values to their respective internal types. 19530 * @param object Plain object 19531 * @returns WaitForPositionRequest 19532 */ 19533 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.WaitForPositionRequest; 19534 19535 /** 19536 * Creates a plain object from a WaitForPositionRequest message. Also converts values to other types if specified. 19537 * @param message WaitForPositionRequest 19538 * @param [options] Conversion options 19539 * @returns Plain object 19540 */ 19541 public static toObject(message: tabletmanagerdata.WaitForPositionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19542 19543 /** 19544 * Converts this WaitForPositionRequest to JSON. 19545 * @returns JSON object 19546 */ 19547 public toJSON(): { [k: string]: any }; 19548 } 19549 19550 /** Properties of a WaitForPositionResponse. */ 19551 interface IWaitForPositionResponse { 19552 } 19553 19554 /** Represents a WaitForPositionResponse. */ 19555 class WaitForPositionResponse implements IWaitForPositionResponse { 19556 19557 /** 19558 * Constructs a new WaitForPositionResponse. 19559 * @param [properties] Properties to set 19560 */ 19561 constructor(properties?: tabletmanagerdata.IWaitForPositionResponse); 19562 19563 /** 19564 * Creates a new WaitForPositionResponse instance using the specified properties. 19565 * @param [properties] Properties to set 19566 * @returns WaitForPositionResponse instance 19567 */ 19568 public static create(properties?: tabletmanagerdata.IWaitForPositionResponse): tabletmanagerdata.WaitForPositionResponse; 19569 19570 /** 19571 * Encodes the specified WaitForPositionResponse message. Does not implicitly {@link tabletmanagerdata.WaitForPositionResponse.verify|verify} messages. 19572 * @param message WaitForPositionResponse message or plain object to encode 19573 * @param [writer] Writer to encode to 19574 * @returns Writer 19575 */ 19576 public static encode(message: tabletmanagerdata.IWaitForPositionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19577 19578 /** 19579 * Encodes the specified WaitForPositionResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.WaitForPositionResponse.verify|verify} messages. 19580 * @param message WaitForPositionResponse message or plain object to encode 19581 * @param [writer] Writer to encode to 19582 * @returns Writer 19583 */ 19584 public static encodeDelimited(message: tabletmanagerdata.IWaitForPositionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19585 19586 /** 19587 * Decodes a WaitForPositionResponse message from the specified reader or buffer. 19588 * @param reader Reader or buffer to decode from 19589 * @param [length] Message length if known beforehand 19590 * @returns WaitForPositionResponse 19591 * @throws {Error} If the payload is not a reader or valid buffer 19592 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19593 */ 19594 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.WaitForPositionResponse; 19595 19596 /** 19597 * Decodes a WaitForPositionResponse message from the specified reader or buffer, length delimited. 19598 * @param reader Reader or buffer to decode from 19599 * @returns WaitForPositionResponse 19600 * @throws {Error} If the payload is not a reader or valid buffer 19601 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19602 */ 19603 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.WaitForPositionResponse; 19604 19605 /** 19606 * Verifies a WaitForPositionResponse message. 19607 * @param message Plain object to verify 19608 * @returns `null` if valid, otherwise the reason why it is not 19609 */ 19610 public static verify(message: { [k: string]: any }): (string|null); 19611 19612 /** 19613 * Creates a WaitForPositionResponse message from a plain object. Also converts values to their respective internal types. 19614 * @param object Plain object 19615 * @returns WaitForPositionResponse 19616 */ 19617 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.WaitForPositionResponse; 19618 19619 /** 19620 * Creates a plain object from a WaitForPositionResponse message. Also converts values to other types if specified. 19621 * @param message WaitForPositionResponse 19622 * @param [options] Conversion options 19623 * @returns Plain object 19624 */ 19625 public static toObject(message: tabletmanagerdata.WaitForPositionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19626 19627 /** 19628 * Converts this WaitForPositionResponse to JSON. 19629 * @returns JSON object 19630 */ 19631 public toJSON(): { [k: string]: any }; 19632 } 19633 19634 /** Properties of a StopReplicationRequest. */ 19635 interface IStopReplicationRequest { 19636 } 19637 19638 /** Represents a StopReplicationRequest. */ 19639 class StopReplicationRequest implements IStopReplicationRequest { 19640 19641 /** 19642 * Constructs a new StopReplicationRequest. 19643 * @param [properties] Properties to set 19644 */ 19645 constructor(properties?: tabletmanagerdata.IStopReplicationRequest); 19646 19647 /** 19648 * Creates a new StopReplicationRequest instance using the specified properties. 19649 * @param [properties] Properties to set 19650 * @returns StopReplicationRequest instance 19651 */ 19652 public static create(properties?: tabletmanagerdata.IStopReplicationRequest): tabletmanagerdata.StopReplicationRequest; 19653 19654 /** 19655 * Encodes the specified StopReplicationRequest message. Does not implicitly {@link tabletmanagerdata.StopReplicationRequest.verify|verify} messages. 19656 * @param message StopReplicationRequest message or plain object to encode 19657 * @param [writer] Writer to encode to 19658 * @returns Writer 19659 */ 19660 public static encode(message: tabletmanagerdata.IStopReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 19661 19662 /** 19663 * Encodes the specified StopReplicationRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.StopReplicationRequest.verify|verify} messages. 19664 * @param message StopReplicationRequest message or plain object to encode 19665 * @param [writer] Writer to encode to 19666 * @returns Writer 19667 */ 19668 public static encodeDelimited(message: tabletmanagerdata.IStopReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 19669 19670 /** 19671 * Decodes a StopReplicationRequest message from the specified reader or buffer. 19672 * @param reader Reader or buffer to decode from 19673 * @param [length] Message length if known beforehand 19674 * @returns StopReplicationRequest 19675 * @throws {Error} If the payload is not a reader or valid buffer 19676 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19677 */ 19678 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.StopReplicationRequest; 19679 19680 /** 19681 * Decodes a StopReplicationRequest message from the specified reader or buffer, length delimited. 19682 * @param reader Reader or buffer to decode from 19683 * @returns StopReplicationRequest 19684 * @throws {Error} If the payload is not a reader or valid buffer 19685 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19686 */ 19687 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.StopReplicationRequest; 19688 19689 /** 19690 * Verifies a StopReplicationRequest message. 19691 * @param message Plain object to verify 19692 * @returns `null` if valid, otherwise the reason why it is not 19693 */ 19694 public static verify(message: { [k: string]: any }): (string|null); 19695 19696 /** 19697 * Creates a StopReplicationRequest message from a plain object. Also converts values to their respective internal types. 19698 * @param object Plain object 19699 * @returns StopReplicationRequest 19700 */ 19701 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.StopReplicationRequest; 19702 19703 /** 19704 * Creates a plain object from a StopReplicationRequest message. Also converts values to other types if specified. 19705 * @param message StopReplicationRequest 19706 * @param [options] Conversion options 19707 * @returns Plain object 19708 */ 19709 public static toObject(message: tabletmanagerdata.StopReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19710 19711 /** 19712 * Converts this StopReplicationRequest to JSON. 19713 * @returns JSON object 19714 */ 19715 public toJSON(): { [k: string]: any }; 19716 } 19717 19718 /** Properties of a StopReplicationResponse. */ 19719 interface IStopReplicationResponse { 19720 } 19721 19722 /** Represents a StopReplicationResponse. */ 19723 class StopReplicationResponse implements IStopReplicationResponse { 19724 19725 /** 19726 * Constructs a new StopReplicationResponse. 19727 * @param [properties] Properties to set 19728 */ 19729 constructor(properties?: tabletmanagerdata.IStopReplicationResponse); 19730 19731 /** 19732 * Creates a new StopReplicationResponse instance using the specified properties. 19733 * @param [properties] Properties to set 19734 * @returns StopReplicationResponse instance 19735 */ 19736 public static create(properties?: tabletmanagerdata.IStopReplicationResponse): tabletmanagerdata.StopReplicationResponse; 19737 19738 /** 19739 * Encodes the specified StopReplicationResponse message. Does not implicitly {@link tabletmanagerdata.StopReplicationResponse.verify|verify} messages. 19740 * @param message StopReplicationResponse message or plain object to encode 19741 * @param [writer] Writer to encode to 19742 * @returns Writer 19743 */ 19744 public static encode(message: tabletmanagerdata.IStopReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19745 19746 /** 19747 * Encodes the specified StopReplicationResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.StopReplicationResponse.verify|verify} messages. 19748 * @param message StopReplicationResponse message or plain object to encode 19749 * @param [writer] Writer to encode to 19750 * @returns Writer 19751 */ 19752 public static encodeDelimited(message: tabletmanagerdata.IStopReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19753 19754 /** 19755 * Decodes a StopReplicationResponse message from the specified reader or buffer. 19756 * @param reader Reader or buffer to decode from 19757 * @param [length] Message length if known beforehand 19758 * @returns StopReplicationResponse 19759 * @throws {Error} If the payload is not a reader or valid buffer 19760 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19761 */ 19762 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.StopReplicationResponse; 19763 19764 /** 19765 * Decodes a StopReplicationResponse message from the specified reader or buffer, length delimited. 19766 * @param reader Reader or buffer to decode from 19767 * @returns StopReplicationResponse 19768 * @throws {Error} If the payload is not a reader or valid buffer 19769 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19770 */ 19771 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.StopReplicationResponse; 19772 19773 /** 19774 * Verifies a StopReplicationResponse message. 19775 * @param message Plain object to verify 19776 * @returns `null` if valid, otherwise the reason why it is not 19777 */ 19778 public static verify(message: { [k: string]: any }): (string|null); 19779 19780 /** 19781 * Creates a StopReplicationResponse message from a plain object. Also converts values to their respective internal types. 19782 * @param object Plain object 19783 * @returns StopReplicationResponse 19784 */ 19785 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.StopReplicationResponse; 19786 19787 /** 19788 * Creates a plain object from a StopReplicationResponse message. Also converts values to other types if specified. 19789 * @param message StopReplicationResponse 19790 * @param [options] Conversion options 19791 * @returns Plain object 19792 */ 19793 public static toObject(message: tabletmanagerdata.StopReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19794 19795 /** 19796 * Converts this StopReplicationResponse to JSON. 19797 * @returns JSON object 19798 */ 19799 public toJSON(): { [k: string]: any }; 19800 } 19801 19802 /** Properties of a StopReplicationMinimumRequest. */ 19803 interface IStopReplicationMinimumRequest { 19804 19805 /** StopReplicationMinimumRequest position */ 19806 position?: (string|null); 19807 19808 /** StopReplicationMinimumRequest wait_timeout */ 19809 wait_timeout?: (number|Long|null); 19810 } 19811 19812 /** Represents a StopReplicationMinimumRequest. */ 19813 class StopReplicationMinimumRequest implements IStopReplicationMinimumRequest { 19814 19815 /** 19816 * Constructs a new StopReplicationMinimumRequest. 19817 * @param [properties] Properties to set 19818 */ 19819 constructor(properties?: tabletmanagerdata.IStopReplicationMinimumRequest); 19820 19821 /** StopReplicationMinimumRequest position. */ 19822 public position: string; 19823 19824 /** StopReplicationMinimumRequest wait_timeout. */ 19825 public wait_timeout: (number|Long); 19826 19827 /** 19828 * Creates a new StopReplicationMinimumRequest instance using the specified properties. 19829 * @param [properties] Properties to set 19830 * @returns StopReplicationMinimumRequest instance 19831 */ 19832 public static create(properties?: tabletmanagerdata.IStopReplicationMinimumRequest): tabletmanagerdata.StopReplicationMinimumRequest; 19833 19834 /** 19835 * Encodes the specified StopReplicationMinimumRequest message. Does not implicitly {@link tabletmanagerdata.StopReplicationMinimumRequest.verify|verify} messages. 19836 * @param message StopReplicationMinimumRequest message or plain object to encode 19837 * @param [writer] Writer to encode to 19838 * @returns Writer 19839 */ 19840 public static encode(message: tabletmanagerdata.IStopReplicationMinimumRequest, writer?: $protobuf.Writer): $protobuf.Writer; 19841 19842 /** 19843 * Encodes the specified StopReplicationMinimumRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.StopReplicationMinimumRequest.verify|verify} messages. 19844 * @param message StopReplicationMinimumRequest message or plain object to encode 19845 * @param [writer] Writer to encode to 19846 * @returns Writer 19847 */ 19848 public static encodeDelimited(message: tabletmanagerdata.IStopReplicationMinimumRequest, writer?: $protobuf.Writer): $protobuf.Writer; 19849 19850 /** 19851 * Decodes a StopReplicationMinimumRequest message from the specified reader or buffer. 19852 * @param reader Reader or buffer to decode from 19853 * @param [length] Message length if known beforehand 19854 * @returns StopReplicationMinimumRequest 19855 * @throws {Error} If the payload is not a reader or valid buffer 19856 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19857 */ 19858 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.StopReplicationMinimumRequest; 19859 19860 /** 19861 * Decodes a StopReplicationMinimumRequest message from the specified reader or buffer, length delimited. 19862 * @param reader Reader or buffer to decode from 19863 * @returns StopReplicationMinimumRequest 19864 * @throws {Error} If the payload is not a reader or valid buffer 19865 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19866 */ 19867 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.StopReplicationMinimumRequest; 19868 19869 /** 19870 * Verifies a StopReplicationMinimumRequest message. 19871 * @param message Plain object to verify 19872 * @returns `null` if valid, otherwise the reason why it is not 19873 */ 19874 public static verify(message: { [k: string]: any }): (string|null); 19875 19876 /** 19877 * Creates a StopReplicationMinimumRequest message from a plain object. Also converts values to their respective internal types. 19878 * @param object Plain object 19879 * @returns StopReplicationMinimumRequest 19880 */ 19881 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.StopReplicationMinimumRequest; 19882 19883 /** 19884 * Creates a plain object from a StopReplicationMinimumRequest message. Also converts values to other types if specified. 19885 * @param message StopReplicationMinimumRequest 19886 * @param [options] Conversion options 19887 * @returns Plain object 19888 */ 19889 public static toObject(message: tabletmanagerdata.StopReplicationMinimumRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19890 19891 /** 19892 * Converts this StopReplicationMinimumRequest to JSON. 19893 * @returns JSON object 19894 */ 19895 public toJSON(): { [k: string]: any }; 19896 } 19897 19898 /** Properties of a StopReplicationMinimumResponse. */ 19899 interface IStopReplicationMinimumResponse { 19900 19901 /** StopReplicationMinimumResponse position */ 19902 position?: (string|null); 19903 } 19904 19905 /** Represents a StopReplicationMinimumResponse. */ 19906 class StopReplicationMinimumResponse implements IStopReplicationMinimumResponse { 19907 19908 /** 19909 * Constructs a new StopReplicationMinimumResponse. 19910 * @param [properties] Properties to set 19911 */ 19912 constructor(properties?: tabletmanagerdata.IStopReplicationMinimumResponse); 19913 19914 /** StopReplicationMinimumResponse position. */ 19915 public position: string; 19916 19917 /** 19918 * Creates a new StopReplicationMinimumResponse instance using the specified properties. 19919 * @param [properties] Properties to set 19920 * @returns StopReplicationMinimumResponse instance 19921 */ 19922 public static create(properties?: tabletmanagerdata.IStopReplicationMinimumResponse): tabletmanagerdata.StopReplicationMinimumResponse; 19923 19924 /** 19925 * Encodes the specified StopReplicationMinimumResponse message. Does not implicitly {@link tabletmanagerdata.StopReplicationMinimumResponse.verify|verify} messages. 19926 * @param message StopReplicationMinimumResponse message or plain object to encode 19927 * @param [writer] Writer to encode to 19928 * @returns Writer 19929 */ 19930 public static encode(message: tabletmanagerdata.IStopReplicationMinimumResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19931 19932 /** 19933 * Encodes the specified StopReplicationMinimumResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.StopReplicationMinimumResponse.verify|verify} messages. 19934 * @param message StopReplicationMinimumResponse message or plain object to encode 19935 * @param [writer] Writer to encode to 19936 * @returns Writer 19937 */ 19938 public static encodeDelimited(message: tabletmanagerdata.IStopReplicationMinimumResponse, writer?: $protobuf.Writer): $protobuf.Writer; 19939 19940 /** 19941 * Decodes a StopReplicationMinimumResponse message from the specified reader or buffer. 19942 * @param reader Reader or buffer to decode from 19943 * @param [length] Message length if known beforehand 19944 * @returns StopReplicationMinimumResponse 19945 * @throws {Error} If the payload is not a reader or valid buffer 19946 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19947 */ 19948 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.StopReplicationMinimumResponse; 19949 19950 /** 19951 * Decodes a StopReplicationMinimumResponse message from the specified reader or buffer, length delimited. 19952 * @param reader Reader or buffer to decode from 19953 * @returns StopReplicationMinimumResponse 19954 * @throws {Error} If the payload is not a reader or valid buffer 19955 * @throws {$protobuf.util.ProtocolError} If required fields are missing 19956 */ 19957 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.StopReplicationMinimumResponse; 19958 19959 /** 19960 * Verifies a StopReplicationMinimumResponse message. 19961 * @param message Plain object to verify 19962 * @returns `null` if valid, otherwise the reason why it is not 19963 */ 19964 public static verify(message: { [k: string]: any }): (string|null); 19965 19966 /** 19967 * Creates a StopReplicationMinimumResponse message from a plain object. Also converts values to their respective internal types. 19968 * @param object Plain object 19969 * @returns StopReplicationMinimumResponse 19970 */ 19971 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.StopReplicationMinimumResponse; 19972 19973 /** 19974 * Creates a plain object from a StopReplicationMinimumResponse message. Also converts values to other types if specified. 19975 * @param message StopReplicationMinimumResponse 19976 * @param [options] Conversion options 19977 * @returns Plain object 19978 */ 19979 public static toObject(message: tabletmanagerdata.StopReplicationMinimumResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 19980 19981 /** 19982 * Converts this StopReplicationMinimumResponse to JSON. 19983 * @returns JSON object 19984 */ 19985 public toJSON(): { [k: string]: any }; 19986 } 19987 19988 /** Properties of a StartReplicationRequest. */ 19989 interface IStartReplicationRequest { 19990 19991 /** StartReplicationRequest semiSync */ 19992 semiSync?: (boolean|null); 19993 } 19994 19995 /** Represents a StartReplicationRequest. */ 19996 class StartReplicationRequest implements IStartReplicationRequest { 19997 19998 /** 19999 * Constructs a new StartReplicationRequest. 20000 * @param [properties] Properties to set 20001 */ 20002 constructor(properties?: tabletmanagerdata.IStartReplicationRequest); 20003 20004 /** StartReplicationRequest semiSync. */ 20005 public semiSync: boolean; 20006 20007 /** 20008 * Creates a new StartReplicationRequest instance using the specified properties. 20009 * @param [properties] Properties to set 20010 * @returns StartReplicationRequest instance 20011 */ 20012 public static create(properties?: tabletmanagerdata.IStartReplicationRequest): tabletmanagerdata.StartReplicationRequest; 20013 20014 /** 20015 * Encodes the specified StartReplicationRequest message. Does not implicitly {@link tabletmanagerdata.StartReplicationRequest.verify|verify} messages. 20016 * @param message StartReplicationRequest message or plain object to encode 20017 * @param [writer] Writer to encode to 20018 * @returns Writer 20019 */ 20020 public static encode(message: tabletmanagerdata.IStartReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20021 20022 /** 20023 * Encodes the specified StartReplicationRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.StartReplicationRequest.verify|verify} messages. 20024 * @param message StartReplicationRequest message or plain object to encode 20025 * @param [writer] Writer to encode to 20026 * @returns Writer 20027 */ 20028 public static encodeDelimited(message: tabletmanagerdata.IStartReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20029 20030 /** 20031 * Decodes a StartReplicationRequest message from the specified reader or buffer. 20032 * @param reader Reader or buffer to decode from 20033 * @param [length] Message length if known beforehand 20034 * @returns StartReplicationRequest 20035 * @throws {Error} If the payload is not a reader or valid buffer 20036 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20037 */ 20038 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.StartReplicationRequest; 20039 20040 /** 20041 * Decodes a StartReplicationRequest message from the specified reader or buffer, length delimited. 20042 * @param reader Reader or buffer to decode from 20043 * @returns StartReplicationRequest 20044 * @throws {Error} If the payload is not a reader or valid buffer 20045 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20046 */ 20047 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.StartReplicationRequest; 20048 20049 /** 20050 * Verifies a StartReplicationRequest message. 20051 * @param message Plain object to verify 20052 * @returns `null` if valid, otherwise the reason why it is not 20053 */ 20054 public static verify(message: { [k: string]: any }): (string|null); 20055 20056 /** 20057 * Creates a StartReplicationRequest message from a plain object. Also converts values to their respective internal types. 20058 * @param object Plain object 20059 * @returns StartReplicationRequest 20060 */ 20061 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.StartReplicationRequest; 20062 20063 /** 20064 * Creates a plain object from a StartReplicationRequest message. Also converts values to other types if specified. 20065 * @param message StartReplicationRequest 20066 * @param [options] Conversion options 20067 * @returns Plain object 20068 */ 20069 public static toObject(message: tabletmanagerdata.StartReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 20070 20071 /** 20072 * Converts this StartReplicationRequest to JSON. 20073 * @returns JSON object 20074 */ 20075 public toJSON(): { [k: string]: any }; 20076 } 20077 20078 /** Properties of a StartReplicationResponse. */ 20079 interface IStartReplicationResponse { 20080 } 20081 20082 /** Represents a StartReplicationResponse. */ 20083 class StartReplicationResponse implements IStartReplicationResponse { 20084 20085 /** 20086 * Constructs a new StartReplicationResponse. 20087 * @param [properties] Properties to set 20088 */ 20089 constructor(properties?: tabletmanagerdata.IStartReplicationResponse); 20090 20091 /** 20092 * Creates a new StartReplicationResponse instance using the specified properties. 20093 * @param [properties] Properties to set 20094 * @returns StartReplicationResponse instance 20095 */ 20096 public static create(properties?: tabletmanagerdata.IStartReplicationResponse): tabletmanagerdata.StartReplicationResponse; 20097 20098 /** 20099 * Encodes the specified StartReplicationResponse message. Does not implicitly {@link tabletmanagerdata.StartReplicationResponse.verify|verify} messages. 20100 * @param message StartReplicationResponse message or plain object to encode 20101 * @param [writer] Writer to encode to 20102 * @returns Writer 20103 */ 20104 public static encode(message: tabletmanagerdata.IStartReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20105 20106 /** 20107 * Encodes the specified StartReplicationResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.StartReplicationResponse.verify|verify} messages. 20108 * @param message StartReplicationResponse message or plain object to encode 20109 * @param [writer] Writer to encode to 20110 * @returns Writer 20111 */ 20112 public static encodeDelimited(message: tabletmanagerdata.IStartReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20113 20114 /** 20115 * Decodes a StartReplicationResponse message from the specified reader or buffer. 20116 * @param reader Reader or buffer to decode from 20117 * @param [length] Message length if known beforehand 20118 * @returns StartReplicationResponse 20119 * @throws {Error} If the payload is not a reader or valid buffer 20120 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20121 */ 20122 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.StartReplicationResponse; 20123 20124 /** 20125 * Decodes a StartReplicationResponse message from the specified reader or buffer, length delimited. 20126 * @param reader Reader or buffer to decode from 20127 * @returns StartReplicationResponse 20128 * @throws {Error} If the payload is not a reader or valid buffer 20129 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20130 */ 20131 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.StartReplicationResponse; 20132 20133 /** 20134 * Verifies a StartReplicationResponse message. 20135 * @param message Plain object to verify 20136 * @returns `null` if valid, otherwise the reason why it is not 20137 */ 20138 public static verify(message: { [k: string]: any }): (string|null); 20139 20140 /** 20141 * Creates a StartReplicationResponse message from a plain object. Also converts values to their respective internal types. 20142 * @param object Plain object 20143 * @returns StartReplicationResponse 20144 */ 20145 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.StartReplicationResponse; 20146 20147 /** 20148 * Creates a plain object from a StartReplicationResponse message. Also converts values to other types if specified. 20149 * @param message StartReplicationResponse 20150 * @param [options] Conversion options 20151 * @returns Plain object 20152 */ 20153 public static toObject(message: tabletmanagerdata.StartReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 20154 20155 /** 20156 * Converts this StartReplicationResponse to JSON. 20157 * @returns JSON object 20158 */ 20159 public toJSON(): { [k: string]: any }; 20160 } 20161 20162 /** Properties of a StartReplicationUntilAfterRequest. */ 20163 interface IStartReplicationUntilAfterRequest { 20164 20165 /** StartReplicationUntilAfterRequest position */ 20166 position?: (string|null); 20167 20168 /** StartReplicationUntilAfterRequest wait_timeout */ 20169 wait_timeout?: (number|Long|null); 20170 } 20171 20172 /** Represents a StartReplicationUntilAfterRequest. */ 20173 class StartReplicationUntilAfterRequest implements IStartReplicationUntilAfterRequest { 20174 20175 /** 20176 * Constructs a new StartReplicationUntilAfterRequest. 20177 * @param [properties] Properties to set 20178 */ 20179 constructor(properties?: tabletmanagerdata.IStartReplicationUntilAfterRequest); 20180 20181 /** StartReplicationUntilAfterRequest position. */ 20182 public position: string; 20183 20184 /** StartReplicationUntilAfterRequest wait_timeout. */ 20185 public wait_timeout: (number|Long); 20186 20187 /** 20188 * Creates a new StartReplicationUntilAfterRequest instance using the specified properties. 20189 * @param [properties] Properties to set 20190 * @returns StartReplicationUntilAfterRequest instance 20191 */ 20192 public static create(properties?: tabletmanagerdata.IStartReplicationUntilAfterRequest): tabletmanagerdata.StartReplicationUntilAfterRequest; 20193 20194 /** 20195 * Encodes the specified StartReplicationUntilAfterRequest message. Does not implicitly {@link tabletmanagerdata.StartReplicationUntilAfterRequest.verify|verify} messages. 20196 * @param message StartReplicationUntilAfterRequest message or plain object to encode 20197 * @param [writer] Writer to encode to 20198 * @returns Writer 20199 */ 20200 public static encode(message: tabletmanagerdata.IStartReplicationUntilAfterRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20201 20202 /** 20203 * Encodes the specified StartReplicationUntilAfterRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.StartReplicationUntilAfterRequest.verify|verify} messages. 20204 * @param message StartReplicationUntilAfterRequest message or plain object to encode 20205 * @param [writer] Writer to encode to 20206 * @returns Writer 20207 */ 20208 public static encodeDelimited(message: tabletmanagerdata.IStartReplicationUntilAfterRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20209 20210 /** 20211 * Decodes a StartReplicationUntilAfterRequest message from the specified reader or buffer. 20212 * @param reader Reader or buffer to decode from 20213 * @param [length] Message length if known beforehand 20214 * @returns StartReplicationUntilAfterRequest 20215 * @throws {Error} If the payload is not a reader or valid buffer 20216 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20217 */ 20218 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.StartReplicationUntilAfterRequest; 20219 20220 /** 20221 * Decodes a StartReplicationUntilAfterRequest message from the specified reader or buffer, length delimited. 20222 * @param reader Reader or buffer to decode from 20223 * @returns StartReplicationUntilAfterRequest 20224 * @throws {Error} If the payload is not a reader or valid buffer 20225 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20226 */ 20227 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.StartReplicationUntilAfterRequest; 20228 20229 /** 20230 * Verifies a StartReplicationUntilAfterRequest message. 20231 * @param message Plain object to verify 20232 * @returns `null` if valid, otherwise the reason why it is not 20233 */ 20234 public static verify(message: { [k: string]: any }): (string|null); 20235 20236 /** 20237 * Creates a StartReplicationUntilAfterRequest message from a plain object. Also converts values to their respective internal types. 20238 * @param object Plain object 20239 * @returns StartReplicationUntilAfterRequest 20240 */ 20241 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.StartReplicationUntilAfterRequest; 20242 20243 /** 20244 * Creates a plain object from a StartReplicationUntilAfterRequest message. Also converts values to other types if specified. 20245 * @param message StartReplicationUntilAfterRequest 20246 * @param [options] Conversion options 20247 * @returns Plain object 20248 */ 20249 public static toObject(message: tabletmanagerdata.StartReplicationUntilAfterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 20250 20251 /** 20252 * Converts this StartReplicationUntilAfterRequest to JSON. 20253 * @returns JSON object 20254 */ 20255 public toJSON(): { [k: string]: any }; 20256 } 20257 20258 /** Properties of a StartReplicationUntilAfterResponse. */ 20259 interface IStartReplicationUntilAfterResponse { 20260 } 20261 20262 /** Represents a StartReplicationUntilAfterResponse. */ 20263 class StartReplicationUntilAfterResponse implements IStartReplicationUntilAfterResponse { 20264 20265 /** 20266 * Constructs a new StartReplicationUntilAfterResponse. 20267 * @param [properties] Properties to set 20268 */ 20269 constructor(properties?: tabletmanagerdata.IStartReplicationUntilAfterResponse); 20270 20271 /** 20272 * Creates a new StartReplicationUntilAfterResponse instance using the specified properties. 20273 * @param [properties] Properties to set 20274 * @returns StartReplicationUntilAfterResponse instance 20275 */ 20276 public static create(properties?: tabletmanagerdata.IStartReplicationUntilAfterResponse): tabletmanagerdata.StartReplicationUntilAfterResponse; 20277 20278 /** 20279 * Encodes the specified StartReplicationUntilAfterResponse message. Does not implicitly {@link tabletmanagerdata.StartReplicationUntilAfterResponse.verify|verify} messages. 20280 * @param message StartReplicationUntilAfterResponse message or plain object to encode 20281 * @param [writer] Writer to encode to 20282 * @returns Writer 20283 */ 20284 public static encode(message: tabletmanagerdata.IStartReplicationUntilAfterResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20285 20286 /** 20287 * Encodes the specified StartReplicationUntilAfterResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.StartReplicationUntilAfterResponse.verify|verify} messages. 20288 * @param message StartReplicationUntilAfterResponse message or plain object to encode 20289 * @param [writer] Writer to encode to 20290 * @returns Writer 20291 */ 20292 public static encodeDelimited(message: tabletmanagerdata.IStartReplicationUntilAfterResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20293 20294 /** 20295 * Decodes a StartReplicationUntilAfterResponse message from the specified reader or buffer. 20296 * @param reader Reader or buffer to decode from 20297 * @param [length] Message length if known beforehand 20298 * @returns StartReplicationUntilAfterResponse 20299 * @throws {Error} If the payload is not a reader or valid buffer 20300 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20301 */ 20302 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.StartReplicationUntilAfterResponse; 20303 20304 /** 20305 * Decodes a StartReplicationUntilAfterResponse message from the specified reader or buffer, length delimited. 20306 * @param reader Reader or buffer to decode from 20307 * @returns StartReplicationUntilAfterResponse 20308 * @throws {Error} If the payload is not a reader or valid buffer 20309 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20310 */ 20311 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.StartReplicationUntilAfterResponse; 20312 20313 /** 20314 * Verifies a StartReplicationUntilAfterResponse message. 20315 * @param message Plain object to verify 20316 * @returns `null` if valid, otherwise the reason why it is not 20317 */ 20318 public static verify(message: { [k: string]: any }): (string|null); 20319 20320 /** 20321 * Creates a StartReplicationUntilAfterResponse message from a plain object. Also converts values to their respective internal types. 20322 * @param object Plain object 20323 * @returns StartReplicationUntilAfterResponse 20324 */ 20325 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.StartReplicationUntilAfterResponse; 20326 20327 /** 20328 * Creates a plain object from a StartReplicationUntilAfterResponse message. Also converts values to other types if specified. 20329 * @param message StartReplicationUntilAfterResponse 20330 * @param [options] Conversion options 20331 * @returns Plain object 20332 */ 20333 public static toObject(message: tabletmanagerdata.StartReplicationUntilAfterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 20334 20335 /** 20336 * Converts this StartReplicationUntilAfterResponse to JSON. 20337 * @returns JSON object 20338 */ 20339 public toJSON(): { [k: string]: any }; 20340 } 20341 20342 /** Properties of a GetReplicasRequest. */ 20343 interface IGetReplicasRequest { 20344 } 20345 20346 /** Represents a GetReplicasRequest. */ 20347 class GetReplicasRequest implements IGetReplicasRequest { 20348 20349 /** 20350 * Constructs a new GetReplicasRequest. 20351 * @param [properties] Properties to set 20352 */ 20353 constructor(properties?: tabletmanagerdata.IGetReplicasRequest); 20354 20355 /** 20356 * Creates a new GetReplicasRequest instance using the specified properties. 20357 * @param [properties] Properties to set 20358 * @returns GetReplicasRequest instance 20359 */ 20360 public static create(properties?: tabletmanagerdata.IGetReplicasRequest): tabletmanagerdata.GetReplicasRequest; 20361 20362 /** 20363 * Encodes the specified GetReplicasRequest message. Does not implicitly {@link tabletmanagerdata.GetReplicasRequest.verify|verify} messages. 20364 * @param message GetReplicasRequest message or plain object to encode 20365 * @param [writer] Writer to encode to 20366 * @returns Writer 20367 */ 20368 public static encode(message: tabletmanagerdata.IGetReplicasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20369 20370 /** 20371 * Encodes the specified GetReplicasRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.GetReplicasRequest.verify|verify} messages. 20372 * @param message GetReplicasRequest message or plain object to encode 20373 * @param [writer] Writer to encode to 20374 * @returns Writer 20375 */ 20376 public static encodeDelimited(message: tabletmanagerdata.IGetReplicasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20377 20378 /** 20379 * Decodes a GetReplicasRequest message from the specified reader or buffer. 20380 * @param reader Reader or buffer to decode from 20381 * @param [length] Message length if known beforehand 20382 * @returns GetReplicasRequest 20383 * @throws {Error} If the payload is not a reader or valid buffer 20384 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20385 */ 20386 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.GetReplicasRequest; 20387 20388 /** 20389 * Decodes a GetReplicasRequest message from the specified reader or buffer, length delimited. 20390 * @param reader Reader or buffer to decode from 20391 * @returns GetReplicasRequest 20392 * @throws {Error} If the payload is not a reader or valid buffer 20393 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20394 */ 20395 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.GetReplicasRequest; 20396 20397 /** 20398 * Verifies a GetReplicasRequest message. 20399 * @param message Plain object to verify 20400 * @returns `null` if valid, otherwise the reason why it is not 20401 */ 20402 public static verify(message: { [k: string]: any }): (string|null); 20403 20404 /** 20405 * Creates a GetReplicasRequest message from a plain object. Also converts values to their respective internal types. 20406 * @param object Plain object 20407 * @returns GetReplicasRequest 20408 */ 20409 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.GetReplicasRequest; 20410 20411 /** 20412 * Creates a plain object from a GetReplicasRequest message. Also converts values to other types if specified. 20413 * @param message GetReplicasRequest 20414 * @param [options] Conversion options 20415 * @returns Plain object 20416 */ 20417 public static toObject(message: tabletmanagerdata.GetReplicasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 20418 20419 /** 20420 * Converts this GetReplicasRequest to JSON. 20421 * @returns JSON object 20422 */ 20423 public toJSON(): { [k: string]: any }; 20424 } 20425 20426 /** Properties of a GetReplicasResponse. */ 20427 interface IGetReplicasResponse { 20428 20429 /** GetReplicasResponse addrs */ 20430 addrs?: (string[]|null); 20431 } 20432 20433 /** Represents a GetReplicasResponse. */ 20434 class GetReplicasResponse implements IGetReplicasResponse { 20435 20436 /** 20437 * Constructs a new GetReplicasResponse. 20438 * @param [properties] Properties to set 20439 */ 20440 constructor(properties?: tabletmanagerdata.IGetReplicasResponse); 20441 20442 /** GetReplicasResponse addrs. */ 20443 public addrs: string[]; 20444 20445 /** 20446 * Creates a new GetReplicasResponse instance using the specified properties. 20447 * @param [properties] Properties to set 20448 * @returns GetReplicasResponse instance 20449 */ 20450 public static create(properties?: tabletmanagerdata.IGetReplicasResponse): tabletmanagerdata.GetReplicasResponse; 20451 20452 /** 20453 * Encodes the specified GetReplicasResponse message. Does not implicitly {@link tabletmanagerdata.GetReplicasResponse.verify|verify} messages. 20454 * @param message GetReplicasResponse message or plain object to encode 20455 * @param [writer] Writer to encode to 20456 * @returns Writer 20457 */ 20458 public static encode(message: tabletmanagerdata.IGetReplicasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20459 20460 /** 20461 * Encodes the specified GetReplicasResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.GetReplicasResponse.verify|verify} messages. 20462 * @param message GetReplicasResponse message or plain object to encode 20463 * @param [writer] Writer to encode to 20464 * @returns Writer 20465 */ 20466 public static encodeDelimited(message: tabletmanagerdata.IGetReplicasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20467 20468 /** 20469 * Decodes a GetReplicasResponse message from the specified reader or buffer. 20470 * @param reader Reader or buffer to decode from 20471 * @param [length] Message length if known beforehand 20472 * @returns GetReplicasResponse 20473 * @throws {Error} If the payload is not a reader or valid buffer 20474 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20475 */ 20476 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.GetReplicasResponse; 20477 20478 /** 20479 * Decodes a GetReplicasResponse message from the specified reader or buffer, length delimited. 20480 * @param reader Reader or buffer to decode from 20481 * @returns GetReplicasResponse 20482 * @throws {Error} If the payload is not a reader or valid buffer 20483 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20484 */ 20485 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.GetReplicasResponse; 20486 20487 /** 20488 * Verifies a GetReplicasResponse message. 20489 * @param message Plain object to verify 20490 * @returns `null` if valid, otherwise the reason why it is not 20491 */ 20492 public static verify(message: { [k: string]: any }): (string|null); 20493 20494 /** 20495 * Creates a GetReplicasResponse message from a plain object. Also converts values to their respective internal types. 20496 * @param object Plain object 20497 * @returns GetReplicasResponse 20498 */ 20499 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.GetReplicasResponse; 20500 20501 /** 20502 * Creates a plain object from a GetReplicasResponse message. Also converts values to other types if specified. 20503 * @param message GetReplicasResponse 20504 * @param [options] Conversion options 20505 * @returns Plain object 20506 */ 20507 public static toObject(message: tabletmanagerdata.GetReplicasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 20508 20509 /** 20510 * Converts this GetReplicasResponse to JSON. 20511 * @returns JSON object 20512 */ 20513 public toJSON(): { [k: string]: any }; 20514 } 20515 20516 /** Properties of a ResetReplicationRequest. */ 20517 interface IResetReplicationRequest { 20518 } 20519 20520 /** Represents a ResetReplicationRequest. */ 20521 class ResetReplicationRequest implements IResetReplicationRequest { 20522 20523 /** 20524 * Constructs a new ResetReplicationRequest. 20525 * @param [properties] Properties to set 20526 */ 20527 constructor(properties?: tabletmanagerdata.IResetReplicationRequest); 20528 20529 /** 20530 * Creates a new ResetReplicationRequest instance using the specified properties. 20531 * @param [properties] Properties to set 20532 * @returns ResetReplicationRequest instance 20533 */ 20534 public static create(properties?: tabletmanagerdata.IResetReplicationRequest): tabletmanagerdata.ResetReplicationRequest; 20535 20536 /** 20537 * Encodes the specified ResetReplicationRequest message. Does not implicitly {@link tabletmanagerdata.ResetReplicationRequest.verify|verify} messages. 20538 * @param message ResetReplicationRequest message or plain object to encode 20539 * @param [writer] Writer to encode to 20540 * @returns Writer 20541 */ 20542 public static encode(message: tabletmanagerdata.IResetReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20543 20544 /** 20545 * Encodes the specified ResetReplicationRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ResetReplicationRequest.verify|verify} messages. 20546 * @param message ResetReplicationRequest message or plain object to encode 20547 * @param [writer] Writer to encode to 20548 * @returns Writer 20549 */ 20550 public static encodeDelimited(message: tabletmanagerdata.IResetReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20551 20552 /** 20553 * Decodes a ResetReplicationRequest message from the specified reader or buffer. 20554 * @param reader Reader or buffer to decode from 20555 * @param [length] Message length if known beforehand 20556 * @returns ResetReplicationRequest 20557 * @throws {Error} If the payload is not a reader or valid buffer 20558 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20559 */ 20560 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ResetReplicationRequest; 20561 20562 /** 20563 * Decodes a ResetReplicationRequest message from the specified reader or buffer, length delimited. 20564 * @param reader Reader or buffer to decode from 20565 * @returns ResetReplicationRequest 20566 * @throws {Error} If the payload is not a reader or valid buffer 20567 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20568 */ 20569 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ResetReplicationRequest; 20570 20571 /** 20572 * Verifies a ResetReplicationRequest message. 20573 * @param message Plain object to verify 20574 * @returns `null` if valid, otherwise the reason why it is not 20575 */ 20576 public static verify(message: { [k: string]: any }): (string|null); 20577 20578 /** 20579 * Creates a ResetReplicationRequest message from a plain object. Also converts values to their respective internal types. 20580 * @param object Plain object 20581 * @returns ResetReplicationRequest 20582 */ 20583 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ResetReplicationRequest; 20584 20585 /** 20586 * Creates a plain object from a ResetReplicationRequest message. Also converts values to other types if specified. 20587 * @param message ResetReplicationRequest 20588 * @param [options] Conversion options 20589 * @returns Plain object 20590 */ 20591 public static toObject(message: tabletmanagerdata.ResetReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 20592 20593 /** 20594 * Converts this ResetReplicationRequest to JSON. 20595 * @returns JSON object 20596 */ 20597 public toJSON(): { [k: string]: any }; 20598 } 20599 20600 /** Properties of a ResetReplicationResponse. */ 20601 interface IResetReplicationResponse { 20602 } 20603 20604 /** Represents a ResetReplicationResponse. */ 20605 class ResetReplicationResponse implements IResetReplicationResponse { 20606 20607 /** 20608 * Constructs a new ResetReplicationResponse. 20609 * @param [properties] Properties to set 20610 */ 20611 constructor(properties?: tabletmanagerdata.IResetReplicationResponse); 20612 20613 /** 20614 * Creates a new ResetReplicationResponse instance using the specified properties. 20615 * @param [properties] Properties to set 20616 * @returns ResetReplicationResponse instance 20617 */ 20618 public static create(properties?: tabletmanagerdata.IResetReplicationResponse): tabletmanagerdata.ResetReplicationResponse; 20619 20620 /** 20621 * Encodes the specified ResetReplicationResponse message. Does not implicitly {@link tabletmanagerdata.ResetReplicationResponse.verify|verify} messages. 20622 * @param message ResetReplicationResponse message or plain object to encode 20623 * @param [writer] Writer to encode to 20624 * @returns Writer 20625 */ 20626 public static encode(message: tabletmanagerdata.IResetReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20627 20628 /** 20629 * Encodes the specified ResetReplicationResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ResetReplicationResponse.verify|verify} messages. 20630 * @param message ResetReplicationResponse message or plain object to encode 20631 * @param [writer] Writer to encode to 20632 * @returns Writer 20633 */ 20634 public static encodeDelimited(message: tabletmanagerdata.IResetReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20635 20636 /** 20637 * Decodes a ResetReplicationResponse message from the specified reader or buffer. 20638 * @param reader Reader or buffer to decode from 20639 * @param [length] Message length if known beforehand 20640 * @returns ResetReplicationResponse 20641 * @throws {Error} If the payload is not a reader or valid buffer 20642 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20643 */ 20644 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ResetReplicationResponse; 20645 20646 /** 20647 * Decodes a ResetReplicationResponse message from the specified reader or buffer, length delimited. 20648 * @param reader Reader or buffer to decode from 20649 * @returns ResetReplicationResponse 20650 * @throws {Error} If the payload is not a reader or valid buffer 20651 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20652 */ 20653 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ResetReplicationResponse; 20654 20655 /** 20656 * Verifies a ResetReplicationResponse message. 20657 * @param message Plain object to verify 20658 * @returns `null` if valid, otherwise the reason why it is not 20659 */ 20660 public static verify(message: { [k: string]: any }): (string|null); 20661 20662 /** 20663 * Creates a ResetReplicationResponse message from a plain object. Also converts values to their respective internal types. 20664 * @param object Plain object 20665 * @returns ResetReplicationResponse 20666 */ 20667 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ResetReplicationResponse; 20668 20669 /** 20670 * Creates a plain object from a ResetReplicationResponse message. Also converts values to other types if specified. 20671 * @param message ResetReplicationResponse 20672 * @param [options] Conversion options 20673 * @returns Plain object 20674 */ 20675 public static toObject(message: tabletmanagerdata.ResetReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 20676 20677 /** 20678 * Converts this ResetReplicationResponse to JSON. 20679 * @returns JSON object 20680 */ 20681 public toJSON(): { [k: string]: any }; 20682 } 20683 20684 /** Properties of a VReplicationExecRequest. */ 20685 interface IVReplicationExecRequest { 20686 20687 /** VReplicationExecRequest query */ 20688 query?: (string|null); 20689 } 20690 20691 /** Represents a VReplicationExecRequest. */ 20692 class VReplicationExecRequest implements IVReplicationExecRequest { 20693 20694 /** 20695 * Constructs a new VReplicationExecRequest. 20696 * @param [properties] Properties to set 20697 */ 20698 constructor(properties?: tabletmanagerdata.IVReplicationExecRequest); 20699 20700 /** VReplicationExecRequest query. */ 20701 public query: string; 20702 20703 /** 20704 * Creates a new VReplicationExecRequest instance using the specified properties. 20705 * @param [properties] Properties to set 20706 * @returns VReplicationExecRequest instance 20707 */ 20708 public static create(properties?: tabletmanagerdata.IVReplicationExecRequest): tabletmanagerdata.VReplicationExecRequest; 20709 20710 /** 20711 * Encodes the specified VReplicationExecRequest message. Does not implicitly {@link tabletmanagerdata.VReplicationExecRequest.verify|verify} messages. 20712 * @param message VReplicationExecRequest message or plain object to encode 20713 * @param [writer] Writer to encode to 20714 * @returns Writer 20715 */ 20716 public static encode(message: tabletmanagerdata.IVReplicationExecRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20717 20718 /** 20719 * Encodes the specified VReplicationExecRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.VReplicationExecRequest.verify|verify} messages. 20720 * @param message VReplicationExecRequest message or plain object to encode 20721 * @param [writer] Writer to encode to 20722 * @returns Writer 20723 */ 20724 public static encodeDelimited(message: tabletmanagerdata.IVReplicationExecRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20725 20726 /** 20727 * Decodes a VReplicationExecRequest message from the specified reader or buffer. 20728 * @param reader Reader or buffer to decode from 20729 * @param [length] Message length if known beforehand 20730 * @returns VReplicationExecRequest 20731 * @throws {Error} If the payload is not a reader or valid buffer 20732 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20733 */ 20734 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VReplicationExecRequest; 20735 20736 /** 20737 * Decodes a VReplicationExecRequest message from the specified reader or buffer, length delimited. 20738 * @param reader Reader or buffer to decode from 20739 * @returns VReplicationExecRequest 20740 * @throws {Error} If the payload is not a reader or valid buffer 20741 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20742 */ 20743 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VReplicationExecRequest; 20744 20745 /** 20746 * Verifies a VReplicationExecRequest message. 20747 * @param message Plain object to verify 20748 * @returns `null` if valid, otherwise the reason why it is not 20749 */ 20750 public static verify(message: { [k: string]: any }): (string|null); 20751 20752 /** 20753 * Creates a VReplicationExecRequest message from a plain object. Also converts values to their respective internal types. 20754 * @param object Plain object 20755 * @returns VReplicationExecRequest 20756 */ 20757 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VReplicationExecRequest; 20758 20759 /** 20760 * Creates a plain object from a VReplicationExecRequest message. Also converts values to other types if specified. 20761 * @param message VReplicationExecRequest 20762 * @param [options] Conversion options 20763 * @returns Plain object 20764 */ 20765 public static toObject(message: tabletmanagerdata.VReplicationExecRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 20766 20767 /** 20768 * Converts this VReplicationExecRequest to JSON. 20769 * @returns JSON object 20770 */ 20771 public toJSON(): { [k: string]: any }; 20772 } 20773 20774 /** Properties of a VReplicationExecResponse. */ 20775 interface IVReplicationExecResponse { 20776 20777 /** VReplicationExecResponse result */ 20778 result?: (query.IQueryResult|null); 20779 } 20780 20781 /** Represents a VReplicationExecResponse. */ 20782 class VReplicationExecResponse implements IVReplicationExecResponse { 20783 20784 /** 20785 * Constructs a new VReplicationExecResponse. 20786 * @param [properties] Properties to set 20787 */ 20788 constructor(properties?: tabletmanagerdata.IVReplicationExecResponse); 20789 20790 /** VReplicationExecResponse result. */ 20791 public result?: (query.IQueryResult|null); 20792 20793 /** 20794 * Creates a new VReplicationExecResponse instance using the specified properties. 20795 * @param [properties] Properties to set 20796 * @returns VReplicationExecResponse instance 20797 */ 20798 public static create(properties?: tabletmanagerdata.IVReplicationExecResponse): tabletmanagerdata.VReplicationExecResponse; 20799 20800 /** 20801 * Encodes the specified VReplicationExecResponse message. Does not implicitly {@link tabletmanagerdata.VReplicationExecResponse.verify|verify} messages. 20802 * @param message VReplicationExecResponse message or plain object to encode 20803 * @param [writer] Writer to encode to 20804 * @returns Writer 20805 */ 20806 public static encode(message: tabletmanagerdata.IVReplicationExecResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20807 20808 /** 20809 * Encodes the specified VReplicationExecResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.VReplicationExecResponse.verify|verify} messages. 20810 * @param message VReplicationExecResponse message or plain object to encode 20811 * @param [writer] Writer to encode to 20812 * @returns Writer 20813 */ 20814 public static encodeDelimited(message: tabletmanagerdata.IVReplicationExecResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20815 20816 /** 20817 * Decodes a VReplicationExecResponse message from the specified reader or buffer. 20818 * @param reader Reader or buffer to decode from 20819 * @param [length] Message length if known beforehand 20820 * @returns VReplicationExecResponse 20821 * @throws {Error} If the payload is not a reader or valid buffer 20822 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20823 */ 20824 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VReplicationExecResponse; 20825 20826 /** 20827 * Decodes a VReplicationExecResponse message from the specified reader or buffer, length delimited. 20828 * @param reader Reader or buffer to decode from 20829 * @returns VReplicationExecResponse 20830 * @throws {Error} If the payload is not a reader or valid buffer 20831 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20832 */ 20833 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VReplicationExecResponse; 20834 20835 /** 20836 * Verifies a VReplicationExecResponse message. 20837 * @param message Plain object to verify 20838 * @returns `null` if valid, otherwise the reason why it is not 20839 */ 20840 public static verify(message: { [k: string]: any }): (string|null); 20841 20842 /** 20843 * Creates a VReplicationExecResponse message from a plain object. Also converts values to their respective internal types. 20844 * @param object Plain object 20845 * @returns VReplicationExecResponse 20846 */ 20847 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VReplicationExecResponse; 20848 20849 /** 20850 * Creates a plain object from a VReplicationExecResponse message. Also converts values to other types if specified. 20851 * @param message VReplicationExecResponse 20852 * @param [options] Conversion options 20853 * @returns Plain object 20854 */ 20855 public static toObject(message: tabletmanagerdata.VReplicationExecResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 20856 20857 /** 20858 * Converts this VReplicationExecResponse to JSON. 20859 * @returns JSON object 20860 */ 20861 public toJSON(): { [k: string]: any }; 20862 } 20863 20864 /** Properties of a VReplicationWaitForPosRequest. */ 20865 interface IVReplicationWaitForPosRequest { 20866 20867 /** VReplicationWaitForPosRequest id */ 20868 id?: (number|Long|null); 20869 20870 /** VReplicationWaitForPosRequest position */ 20871 position?: (string|null); 20872 } 20873 20874 /** Represents a VReplicationWaitForPosRequest. */ 20875 class VReplicationWaitForPosRequest implements IVReplicationWaitForPosRequest { 20876 20877 /** 20878 * Constructs a new VReplicationWaitForPosRequest. 20879 * @param [properties] Properties to set 20880 */ 20881 constructor(properties?: tabletmanagerdata.IVReplicationWaitForPosRequest); 20882 20883 /** VReplicationWaitForPosRequest id. */ 20884 public id: (number|Long); 20885 20886 /** VReplicationWaitForPosRequest position. */ 20887 public position: string; 20888 20889 /** 20890 * Creates a new VReplicationWaitForPosRequest instance using the specified properties. 20891 * @param [properties] Properties to set 20892 * @returns VReplicationWaitForPosRequest instance 20893 */ 20894 public static create(properties?: tabletmanagerdata.IVReplicationWaitForPosRequest): tabletmanagerdata.VReplicationWaitForPosRequest; 20895 20896 /** 20897 * Encodes the specified VReplicationWaitForPosRequest message. Does not implicitly {@link tabletmanagerdata.VReplicationWaitForPosRequest.verify|verify} messages. 20898 * @param message VReplicationWaitForPosRequest message or plain object to encode 20899 * @param [writer] Writer to encode to 20900 * @returns Writer 20901 */ 20902 public static encode(message: tabletmanagerdata.IVReplicationWaitForPosRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20903 20904 /** 20905 * Encodes the specified VReplicationWaitForPosRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.VReplicationWaitForPosRequest.verify|verify} messages. 20906 * @param message VReplicationWaitForPosRequest message or plain object to encode 20907 * @param [writer] Writer to encode to 20908 * @returns Writer 20909 */ 20910 public static encodeDelimited(message: tabletmanagerdata.IVReplicationWaitForPosRequest, writer?: $protobuf.Writer): $protobuf.Writer; 20911 20912 /** 20913 * Decodes a VReplicationWaitForPosRequest message from the specified reader or buffer. 20914 * @param reader Reader or buffer to decode from 20915 * @param [length] Message length if known beforehand 20916 * @returns VReplicationWaitForPosRequest 20917 * @throws {Error} If the payload is not a reader or valid buffer 20918 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20919 */ 20920 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VReplicationWaitForPosRequest; 20921 20922 /** 20923 * Decodes a VReplicationWaitForPosRequest message from the specified reader or buffer, length delimited. 20924 * @param reader Reader or buffer to decode from 20925 * @returns VReplicationWaitForPosRequest 20926 * @throws {Error} If the payload is not a reader or valid buffer 20927 * @throws {$protobuf.util.ProtocolError} If required fields are missing 20928 */ 20929 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VReplicationWaitForPosRequest; 20930 20931 /** 20932 * Verifies a VReplicationWaitForPosRequest message. 20933 * @param message Plain object to verify 20934 * @returns `null` if valid, otherwise the reason why it is not 20935 */ 20936 public static verify(message: { [k: string]: any }): (string|null); 20937 20938 /** 20939 * Creates a VReplicationWaitForPosRequest message from a plain object. Also converts values to their respective internal types. 20940 * @param object Plain object 20941 * @returns VReplicationWaitForPosRequest 20942 */ 20943 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VReplicationWaitForPosRequest; 20944 20945 /** 20946 * Creates a plain object from a VReplicationWaitForPosRequest message. Also converts values to other types if specified. 20947 * @param message VReplicationWaitForPosRequest 20948 * @param [options] Conversion options 20949 * @returns Plain object 20950 */ 20951 public static toObject(message: tabletmanagerdata.VReplicationWaitForPosRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 20952 20953 /** 20954 * Converts this VReplicationWaitForPosRequest to JSON. 20955 * @returns JSON object 20956 */ 20957 public toJSON(): { [k: string]: any }; 20958 } 20959 20960 /** Properties of a VReplicationWaitForPosResponse. */ 20961 interface IVReplicationWaitForPosResponse { 20962 } 20963 20964 /** Represents a VReplicationWaitForPosResponse. */ 20965 class VReplicationWaitForPosResponse implements IVReplicationWaitForPosResponse { 20966 20967 /** 20968 * Constructs a new VReplicationWaitForPosResponse. 20969 * @param [properties] Properties to set 20970 */ 20971 constructor(properties?: tabletmanagerdata.IVReplicationWaitForPosResponse); 20972 20973 /** 20974 * Creates a new VReplicationWaitForPosResponse instance using the specified properties. 20975 * @param [properties] Properties to set 20976 * @returns VReplicationWaitForPosResponse instance 20977 */ 20978 public static create(properties?: tabletmanagerdata.IVReplicationWaitForPosResponse): tabletmanagerdata.VReplicationWaitForPosResponse; 20979 20980 /** 20981 * Encodes the specified VReplicationWaitForPosResponse message. Does not implicitly {@link tabletmanagerdata.VReplicationWaitForPosResponse.verify|verify} messages. 20982 * @param message VReplicationWaitForPosResponse message or plain object to encode 20983 * @param [writer] Writer to encode to 20984 * @returns Writer 20985 */ 20986 public static encode(message: tabletmanagerdata.IVReplicationWaitForPosResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20987 20988 /** 20989 * Encodes the specified VReplicationWaitForPosResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.VReplicationWaitForPosResponse.verify|verify} messages. 20990 * @param message VReplicationWaitForPosResponse message or plain object to encode 20991 * @param [writer] Writer to encode to 20992 * @returns Writer 20993 */ 20994 public static encodeDelimited(message: tabletmanagerdata.IVReplicationWaitForPosResponse, writer?: $protobuf.Writer): $protobuf.Writer; 20995 20996 /** 20997 * Decodes a VReplicationWaitForPosResponse message from the specified reader or buffer. 20998 * @param reader Reader or buffer to decode from 20999 * @param [length] Message length if known beforehand 21000 * @returns VReplicationWaitForPosResponse 21001 * @throws {Error} If the payload is not a reader or valid buffer 21002 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21003 */ 21004 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VReplicationWaitForPosResponse; 21005 21006 /** 21007 * Decodes a VReplicationWaitForPosResponse message from the specified reader or buffer, length delimited. 21008 * @param reader Reader or buffer to decode from 21009 * @returns VReplicationWaitForPosResponse 21010 * @throws {Error} If the payload is not a reader or valid buffer 21011 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21012 */ 21013 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VReplicationWaitForPosResponse; 21014 21015 /** 21016 * Verifies a VReplicationWaitForPosResponse message. 21017 * @param message Plain object to verify 21018 * @returns `null` if valid, otherwise the reason why it is not 21019 */ 21020 public static verify(message: { [k: string]: any }): (string|null); 21021 21022 /** 21023 * Creates a VReplicationWaitForPosResponse message from a plain object. Also converts values to their respective internal types. 21024 * @param object Plain object 21025 * @returns VReplicationWaitForPosResponse 21026 */ 21027 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VReplicationWaitForPosResponse; 21028 21029 /** 21030 * Creates a plain object from a VReplicationWaitForPosResponse message. Also converts values to other types if specified. 21031 * @param message VReplicationWaitForPosResponse 21032 * @param [options] Conversion options 21033 * @returns Plain object 21034 */ 21035 public static toObject(message: tabletmanagerdata.VReplicationWaitForPosResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 21036 21037 /** 21038 * Converts this VReplicationWaitForPosResponse to JSON. 21039 * @returns JSON object 21040 */ 21041 public toJSON(): { [k: string]: any }; 21042 } 21043 21044 /** Properties of an InitPrimaryRequest. */ 21045 interface IInitPrimaryRequest { 21046 21047 /** InitPrimaryRequest semiSync */ 21048 semiSync?: (boolean|null); 21049 } 21050 21051 /** Represents an InitPrimaryRequest. */ 21052 class InitPrimaryRequest implements IInitPrimaryRequest { 21053 21054 /** 21055 * Constructs a new InitPrimaryRequest. 21056 * @param [properties] Properties to set 21057 */ 21058 constructor(properties?: tabletmanagerdata.IInitPrimaryRequest); 21059 21060 /** InitPrimaryRequest semiSync. */ 21061 public semiSync: boolean; 21062 21063 /** 21064 * Creates a new InitPrimaryRequest instance using the specified properties. 21065 * @param [properties] Properties to set 21066 * @returns InitPrimaryRequest instance 21067 */ 21068 public static create(properties?: tabletmanagerdata.IInitPrimaryRequest): tabletmanagerdata.InitPrimaryRequest; 21069 21070 /** 21071 * Encodes the specified InitPrimaryRequest message. Does not implicitly {@link tabletmanagerdata.InitPrimaryRequest.verify|verify} messages. 21072 * @param message InitPrimaryRequest message or plain object to encode 21073 * @param [writer] Writer to encode to 21074 * @returns Writer 21075 */ 21076 public static encode(message: tabletmanagerdata.IInitPrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21077 21078 /** 21079 * Encodes the specified InitPrimaryRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.InitPrimaryRequest.verify|verify} messages. 21080 * @param message InitPrimaryRequest message or plain object to encode 21081 * @param [writer] Writer to encode to 21082 * @returns Writer 21083 */ 21084 public static encodeDelimited(message: tabletmanagerdata.IInitPrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21085 21086 /** 21087 * Decodes an InitPrimaryRequest message from the specified reader or buffer. 21088 * @param reader Reader or buffer to decode from 21089 * @param [length] Message length if known beforehand 21090 * @returns InitPrimaryRequest 21091 * @throws {Error} If the payload is not a reader or valid buffer 21092 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21093 */ 21094 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.InitPrimaryRequest; 21095 21096 /** 21097 * Decodes an InitPrimaryRequest message from the specified reader or buffer, length delimited. 21098 * @param reader Reader or buffer to decode from 21099 * @returns InitPrimaryRequest 21100 * @throws {Error} If the payload is not a reader or valid buffer 21101 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21102 */ 21103 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.InitPrimaryRequest; 21104 21105 /** 21106 * Verifies an InitPrimaryRequest message. 21107 * @param message Plain object to verify 21108 * @returns `null` if valid, otherwise the reason why it is not 21109 */ 21110 public static verify(message: { [k: string]: any }): (string|null); 21111 21112 /** 21113 * Creates an InitPrimaryRequest message from a plain object. Also converts values to their respective internal types. 21114 * @param object Plain object 21115 * @returns InitPrimaryRequest 21116 */ 21117 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.InitPrimaryRequest; 21118 21119 /** 21120 * Creates a plain object from an InitPrimaryRequest message. Also converts values to other types if specified. 21121 * @param message InitPrimaryRequest 21122 * @param [options] Conversion options 21123 * @returns Plain object 21124 */ 21125 public static toObject(message: tabletmanagerdata.InitPrimaryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 21126 21127 /** 21128 * Converts this InitPrimaryRequest to JSON. 21129 * @returns JSON object 21130 */ 21131 public toJSON(): { [k: string]: any }; 21132 } 21133 21134 /** Properties of an InitPrimaryResponse. */ 21135 interface IInitPrimaryResponse { 21136 21137 /** InitPrimaryResponse position */ 21138 position?: (string|null); 21139 } 21140 21141 /** Represents an InitPrimaryResponse. */ 21142 class InitPrimaryResponse implements IInitPrimaryResponse { 21143 21144 /** 21145 * Constructs a new InitPrimaryResponse. 21146 * @param [properties] Properties to set 21147 */ 21148 constructor(properties?: tabletmanagerdata.IInitPrimaryResponse); 21149 21150 /** InitPrimaryResponse position. */ 21151 public position: string; 21152 21153 /** 21154 * Creates a new InitPrimaryResponse instance using the specified properties. 21155 * @param [properties] Properties to set 21156 * @returns InitPrimaryResponse instance 21157 */ 21158 public static create(properties?: tabletmanagerdata.IInitPrimaryResponse): tabletmanagerdata.InitPrimaryResponse; 21159 21160 /** 21161 * Encodes the specified InitPrimaryResponse message. Does not implicitly {@link tabletmanagerdata.InitPrimaryResponse.verify|verify} messages. 21162 * @param message InitPrimaryResponse message or plain object to encode 21163 * @param [writer] Writer to encode to 21164 * @returns Writer 21165 */ 21166 public static encode(message: tabletmanagerdata.IInitPrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; 21167 21168 /** 21169 * Encodes the specified InitPrimaryResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.InitPrimaryResponse.verify|verify} messages. 21170 * @param message InitPrimaryResponse message or plain object to encode 21171 * @param [writer] Writer to encode to 21172 * @returns Writer 21173 */ 21174 public static encodeDelimited(message: tabletmanagerdata.IInitPrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; 21175 21176 /** 21177 * Decodes an InitPrimaryResponse message from the specified reader or buffer. 21178 * @param reader Reader or buffer to decode from 21179 * @param [length] Message length if known beforehand 21180 * @returns InitPrimaryResponse 21181 * @throws {Error} If the payload is not a reader or valid buffer 21182 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21183 */ 21184 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.InitPrimaryResponse; 21185 21186 /** 21187 * Decodes an InitPrimaryResponse message from the specified reader or buffer, length delimited. 21188 * @param reader Reader or buffer to decode from 21189 * @returns InitPrimaryResponse 21190 * @throws {Error} If the payload is not a reader or valid buffer 21191 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21192 */ 21193 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.InitPrimaryResponse; 21194 21195 /** 21196 * Verifies an InitPrimaryResponse message. 21197 * @param message Plain object to verify 21198 * @returns `null` if valid, otherwise the reason why it is not 21199 */ 21200 public static verify(message: { [k: string]: any }): (string|null); 21201 21202 /** 21203 * Creates an InitPrimaryResponse message from a plain object. Also converts values to their respective internal types. 21204 * @param object Plain object 21205 * @returns InitPrimaryResponse 21206 */ 21207 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.InitPrimaryResponse; 21208 21209 /** 21210 * Creates a plain object from an InitPrimaryResponse message. Also converts values to other types if specified. 21211 * @param message InitPrimaryResponse 21212 * @param [options] Conversion options 21213 * @returns Plain object 21214 */ 21215 public static toObject(message: tabletmanagerdata.InitPrimaryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 21216 21217 /** 21218 * Converts this InitPrimaryResponse to JSON. 21219 * @returns JSON object 21220 */ 21221 public toJSON(): { [k: string]: any }; 21222 } 21223 21224 /** Properties of a PopulateReparentJournalRequest. */ 21225 interface IPopulateReparentJournalRequest { 21226 21227 /** PopulateReparentJournalRequest time_created_ns */ 21228 time_created_ns?: (number|Long|null); 21229 21230 /** PopulateReparentJournalRequest action_name */ 21231 action_name?: (string|null); 21232 21233 /** PopulateReparentJournalRequest primary_alias */ 21234 primary_alias?: (topodata.ITabletAlias|null); 21235 21236 /** PopulateReparentJournalRequest replication_position */ 21237 replication_position?: (string|null); 21238 } 21239 21240 /** Represents a PopulateReparentJournalRequest. */ 21241 class PopulateReparentJournalRequest implements IPopulateReparentJournalRequest { 21242 21243 /** 21244 * Constructs a new PopulateReparentJournalRequest. 21245 * @param [properties] Properties to set 21246 */ 21247 constructor(properties?: tabletmanagerdata.IPopulateReparentJournalRequest); 21248 21249 /** PopulateReparentJournalRequest time_created_ns. */ 21250 public time_created_ns: (number|Long); 21251 21252 /** PopulateReparentJournalRequest action_name. */ 21253 public action_name: string; 21254 21255 /** PopulateReparentJournalRequest primary_alias. */ 21256 public primary_alias?: (topodata.ITabletAlias|null); 21257 21258 /** PopulateReparentJournalRequest replication_position. */ 21259 public replication_position: string; 21260 21261 /** 21262 * Creates a new PopulateReparentJournalRequest instance using the specified properties. 21263 * @param [properties] Properties to set 21264 * @returns PopulateReparentJournalRequest instance 21265 */ 21266 public static create(properties?: tabletmanagerdata.IPopulateReparentJournalRequest): tabletmanagerdata.PopulateReparentJournalRequest; 21267 21268 /** 21269 * Encodes the specified PopulateReparentJournalRequest message. Does not implicitly {@link tabletmanagerdata.PopulateReparentJournalRequest.verify|verify} messages. 21270 * @param message PopulateReparentJournalRequest message or plain object to encode 21271 * @param [writer] Writer to encode to 21272 * @returns Writer 21273 */ 21274 public static encode(message: tabletmanagerdata.IPopulateReparentJournalRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21275 21276 /** 21277 * Encodes the specified PopulateReparentJournalRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.PopulateReparentJournalRequest.verify|verify} messages. 21278 * @param message PopulateReparentJournalRequest message or plain object to encode 21279 * @param [writer] Writer to encode to 21280 * @returns Writer 21281 */ 21282 public static encodeDelimited(message: tabletmanagerdata.IPopulateReparentJournalRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21283 21284 /** 21285 * Decodes a PopulateReparentJournalRequest message from the specified reader or buffer. 21286 * @param reader Reader or buffer to decode from 21287 * @param [length] Message length if known beforehand 21288 * @returns PopulateReparentJournalRequest 21289 * @throws {Error} If the payload is not a reader or valid buffer 21290 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21291 */ 21292 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PopulateReparentJournalRequest; 21293 21294 /** 21295 * Decodes a PopulateReparentJournalRequest message from the specified reader or buffer, length delimited. 21296 * @param reader Reader or buffer to decode from 21297 * @returns PopulateReparentJournalRequest 21298 * @throws {Error} If the payload is not a reader or valid buffer 21299 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21300 */ 21301 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PopulateReparentJournalRequest; 21302 21303 /** 21304 * Verifies a PopulateReparentJournalRequest message. 21305 * @param message Plain object to verify 21306 * @returns `null` if valid, otherwise the reason why it is not 21307 */ 21308 public static verify(message: { [k: string]: any }): (string|null); 21309 21310 /** 21311 * Creates a PopulateReparentJournalRequest message from a plain object. Also converts values to their respective internal types. 21312 * @param object Plain object 21313 * @returns PopulateReparentJournalRequest 21314 */ 21315 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PopulateReparentJournalRequest; 21316 21317 /** 21318 * Creates a plain object from a PopulateReparentJournalRequest message. Also converts values to other types if specified. 21319 * @param message PopulateReparentJournalRequest 21320 * @param [options] Conversion options 21321 * @returns Plain object 21322 */ 21323 public static toObject(message: tabletmanagerdata.PopulateReparentJournalRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 21324 21325 /** 21326 * Converts this PopulateReparentJournalRequest to JSON. 21327 * @returns JSON object 21328 */ 21329 public toJSON(): { [k: string]: any }; 21330 } 21331 21332 /** Properties of a PopulateReparentJournalResponse. */ 21333 interface IPopulateReparentJournalResponse { 21334 } 21335 21336 /** Represents a PopulateReparentJournalResponse. */ 21337 class PopulateReparentJournalResponse implements IPopulateReparentJournalResponse { 21338 21339 /** 21340 * Constructs a new PopulateReparentJournalResponse. 21341 * @param [properties] Properties to set 21342 */ 21343 constructor(properties?: tabletmanagerdata.IPopulateReparentJournalResponse); 21344 21345 /** 21346 * Creates a new PopulateReparentJournalResponse instance using the specified properties. 21347 * @param [properties] Properties to set 21348 * @returns PopulateReparentJournalResponse instance 21349 */ 21350 public static create(properties?: tabletmanagerdata.IPopulateReparentJournalResponse): tabletmanagerdata.PopulateReparentJournalResponse; 21351 21352 /** 21353 * Encodes the specified PopulateReparentJournalResponse message. Does not implicitly {@link tabletmanagerdata.PopulateReparentJournalResponse.verify|verify} messages. 21354 * @param message PopulateReparentJournalResponse message or plain object to encode 21355 * @param [writer] Writer to encode to 21356 * @returns Writer 21357 */ 21358 public static encode(message: tabletmanagerdata.IPopulateReparentJournalResponse, writer?: $protobuf.Writer): $protobuf.Writer; 21359 21360 /** 21361 * Encodes the specified PopulateReparentJournalResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.PopulateReparentJournalResponse.verify|verify} messages. 21362 * @param message PopulateReparentJournalResponse message or plain object to encode 21363 * @param [writer] Writer to encode to 21364 * @returns Writer 21365 */ 21366 public static encodeDelimited(message: tabletmanagerdata.IPopulateReparentJournalResponse, writer?: $protobuf.Writer): $protobuf.Writer; 21367 21368 /** 21369 * Decodes a PopulateReparentJournalResponse message from the specified reader or buffer. 21370 * @param reader Reader or buffer to decode from 21371 * @param [length] Message length if known beforehand 21372 * @returns PopulateReparentJournalResponse 21373 * @throws {Error} If the payload is not a reader or valid buffer 21374 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21375 */ 21376 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PopulateReparentJournalResponse; 21377 21378 /** 21379 * Decodes a PopulateReparentJournalResponse message from the specified reader or buffer, length delimited. 21380 * @param reader Reader or buffer to decode from 21381 * @returns PopulateReparentJournalResponse 21382 * @throws {Error} If the payload is not a reader or valid buffer 21383 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21384 */ 21385 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PopulateReparentJournalResponse; 21386 21387 /** 21388 * Verifies a PopulateReparentJournalResponse message. 21389 * @param message Plain object to verify 21390 * @returns `null` if valid, otherwise the reason why it is not 21391 */ 21392 public static verify(message: { [k: string]: any }): (string|null); 21393 21394 /** 21395 * Creates a PopulateReparentJournalResponse message from a plain object. Also converts values to their respective internal types. 21396 * @param object Plain object 21397 * @returns PopulateReparentJournalResponse 21398 */ 21399 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PopulateReparentJournalResponse; 21400 21401 /** 21402 * Creates a plain object from a PopulateReparentJournalResponse message. Also converts values to other types if specified. 21403 * @param message PopulateReparentJournalResponse 21404 * @param [options] Conversion options 21405 * @returns Plain object 21406 */ 21407 public static toObject(message: tabletmanagerdata.PopulateReparentJournalResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 21408 21409 /** 21410 * Converts this PopulateReparentJournalResponse to JSON. 21411 * @returns JSON object 21412 */ 21413 public toJSON(): { [k: string]: any }; 21414 } 21415 21416 /** Properties of an InitReplicaRequest. */ 21417 interface IInitReplicaRequest { 21418 21419 /** InitReplicaRequest parent */ 21420 parent?: (topodata.ITabletAlias|null); 21421 21422 /** InitReplicaRequest replication_position */ 21423 replication_position?: (string|null); 21424 21425 /** InitReplicaRequest time_created_ns */ 21426 time_created_ns?: (number|Long|null); 21427 21428 /** InitReplicaRequest semiSync */ 21429 semiSync?: (boolean|null); 21430 } 21431 21432 /** Represents an InitReplicaRequest. */ 21433 class InitReplicaRequest implements IInitReplicaRequest { 21434 21435 /** 21436 * Constructs a new InitReplicaRequest. 21437 * @param [properties] Properties to set 21438 */ 21439 constructor(properties?: tabletmanagerdata.IInitReplicaRequest); 21440 21441 /** InitReplicaRequest parent. */ 21442 public parent?: (topodata.ITabletAlias|null); 21443 21444 /** InitReplicaRequest replication_position. */ 21445 public replication_position: string; 21446 21447 /** InitReplicaRequest time_created_ns. */ 21448 public time_created_ns: (number|Long); 21449 21450 /** InitReplicaRequest semiSync. */ 21451 public semiSync: boolean; 21452 21453 /** 21454 * Creates a new InitReplicaRequest instance using the specified properties. 21455 * @param [properties] Properties to set 21456 * @returns InitReplicaRequest instance 21457 */ 21458 public static create(properties?: tabletmanagerdata.IInitReplicaRequest): tabletmanagerdata.InitReplicaRequest; 21459 21460 /** 21461 * Encodes the specified InitReplicaRequest message. Does not implicitly {@link tabletmanagerdata.InitReplicaRequest.verify|verify} messages. 21462 * @param message InitReplicaRequest message or plain object to encode 21463 * @param [writer] Writer to encode to 21464 * @returns Writer 21465 */ 21466 public static encode(message: tabletmanagerdata.IInitReplicaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21467 21468 /** 21469 * Encodes the specified InitReplicaRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.InitReplicaRequest.verify|verify} messages. 21470 * @param message InitReplicaRequest message or plain object to encode 21471 * @param [writer] Writer to encode to 21472 * @returns Writer 21473 */ 21474 public static encodeDelimited(message: tabletmanagerdata.IInitReplicaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21475 21476 /** 21477 * Decodes an InitReplicaRequest message from the specified reader or buffer. 21478 * @param reader Reader or buffer to decode from 21479 * @param [length] Message length if known beforehand 21480 * @returns InitReplicaRequest 21481 * @throws {Error} If the payload is not a reader or valid buffer 21482 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21483 */ 21484 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.InitReplicaRequest; 21485 21486 /** 21487 * Decodes an InitReplicaRequest message from the specified reader or buffer, length delimited. 21488 * @param reader Reader or buffer to decode from 21489 * @returns InitReplicaRequest 21490 * @throws {Error} If the payload is not a reader or valid buffer 21491 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21492 */ 21493 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.InitReplicaRequest; 21494 21495 /** 21496 * Verifies an InitReplicaRequest message. 21497 * @param message Plain object to verify 21498 * @returns `null` if valid, otherwise the reason why it is not 21499 */ 21500 public static verify(message: { [k: string]: any }): (string|null); 21501 21502 /** 21503 * Creates an InitReplicaRequest message from a plain object. Also converts values to their respective internal types. 21504 * @param object Plain object 21505 * @returns InitReplicaRequest 21506 */ 21507 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.InitReplicaRequest; 21508 21509 /** 21510 * Creates a plain object from an InitReplicaRequest message. Also converts values to other types if specified. 21511 * @param message InitReplicaRequest 21512 * @param [options] Conversion options 21513 * @returns Plain object 21514 */ 21515 public static toObject(message: tabletmanagerdata.InitReplicaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 21516 21517 /** 21518 * Converts this InitReplicaRequest to JSON. 21519 * @returns JSON object 21520 */ 21521 public toJSON(): { [k: string]: any }; 21522 } 21523 21524 /** Properties of an InitReplicaResponse. */ 21525 interface IInitReplicaResponse { 21526 } 21527 21528 /** Represents an InitReplicaResponse. */ 21529 class InitReplicaResponse implements IInitReplicaResponse { 21530 21531 /** 21532 * Constructs a new InitReplicaResponse. 21533 * @param [properties] Properties to set 21534 */ 21535 constructor(properties?: tabletmanagerdata.IInitReplicaResponse); 21536 21537 /** 21538 * Creates a new InitReplicaResponse instance using the specified properties. 21539 * @param [properties] Properties to set 21540 * @returns InitReplicaResponse instance 21541 */ 21542 public static create(properties?: tabletmanagerdata.IInitReplicaResponse): tabletmanagerdata.InitReplicaResponse; 21543 21544 /** 21545 * Encodes the specified InitReplicaResponse message. Does not implicitly {@link tabletmanagerdata.InitReplicaResponse.verify|verify} messages. 21546 * @param message InitReplicaResponse message or plain object to encode 21547 * @param [writer] Writer to encode to 21548 * @returns Writer 21549 */ 21550 public static encode(message: tabletmanagerdata.IInitReplicaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 21551 21552 /** 21553 * Encodes the specified InitReplicaResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.InitReplicaResponse.verify|verify} messages. 21554 * @param message InitReplicaResponse message or plain object to encode 21555 * @param [writer] Writer to encode to 21556 * @returns Writer 21557 */ 21558 public static encodeDelimited(message: tabletmanagerdata.IInitReplicaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 21559 21560 /** 21561 * Decodes an InitReplicaResponse message from the specified reader or buffer. 21562 * @param reader Reader or buffer to decode from 21563 * @param [length] Message length if known beforehand 21564 * @returns InitReplicaResponse 21565 * @throws {Error} If the payload is not a reader or valid buffer 21566 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21567 */ 21568 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.InitReplicaResponse; 21569 21570 /** 21571 * Decodes an InitReplicaResponse message from the specified reader or buffer, length delimited. 21572 * @param reader Reader or buffer to decode from 21573 * @returns InitReplicaResponse 21574 * @throws {Error} If the payload is not a reader or valid buffer 21575 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21576 */ 21577 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.InitReplicaResponse; 21578 21579 /** 21580 * Verifies an InitReplicaResponse message. 21581 * @param message Plain object to verify 21582 * @returns `null` if valid, otherwise the reason why it is not 21583 */ 21584 public static verify(message: { [k: string]: any }): (string|null); 21585 21586 /** 21587 * Creates an InitReplicaResponse message from a plain object. Also converts values to their respective internal types. 21588 * @param object Plain object 21589 * @returns InitReplicaResponse 21590 */ 21591 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.InitReplicaResponse; 21592 21593 /** 21594 * Creates a plain object from an InitReplicaResponse message. Also converts values to other types if specified. 21595 * @param message InitReplicaResponse 21596 * @param [options] Conversion options 21597 * @returns Plain object 21598 */ 21599 public static toObject(message: tabletmanagerdata.InitReplicaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 21600 21601 /** 21602 * Converts this InitReplicaResponse to JSON. 21603 * @returns JSON object 21604 */ 21605 public toJSON(): { [k: string]: any }; 21606 } 21607 21608 /** Properties of a DemotePrimaryRequest. */ 21609 interface IDemotePrimaryRequest { 21610 } 21611 21612 /** Represents a DemotePrimaryRequest. */ 21613 class DemotePrimaryRequest implements IDemotePrimaryRequest { 21614 21615 /** 21616 * Constructs a new DemotePrimaryRequest. 21617 * @param [properties] Properties to set 21618 */ 21619 constructor(properties?: tabletmanagerdata.IDemotePrimaryRequest); 21620 21621 /** 21622 * Creates a new DemotePrimaryRequest instance using the specified properties. 21623 * @param [properties] Properties to set 21624 * @returns DemotePrimaryRequest instance 21625 */ 21626 public static create(properties?: tabletmanagerdata.IDemotePrimaryRequest): tabletmanagerdata.DemotePrimaryRequest; 21627 21628 /** 21629 * Encodes the specified DemotePrimaryRequest message. Does not implicitly {@link tabletmanagerdata.DemotePrimaryRequest.verify|verify} messages. 21630 * @param message DemotePrimaryRequest message or plain object to encode 21631 * @param [writer] Writer to encode to 21632 * @returns Writer 21633 */ 21634 public static encode(message: tabletmanagerdata.IDemotePrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21635 21636 /** 21637 * Encodes the specified DemotePrimaryRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.DemotePrimaryRequest.verify|verify} messages. 21638 * @param message DemotePrimaryRequest message or plain object to encode 21639 * @param [writer] Writer to encode to 21640 * @returns Writer 21641 */ 21642 public static encodeDelimited(message: tabletmanagerdata.IDemotePrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21643 21644 /** 21645 * Decodes a DemotePrimaryRequest message from the specified reader or buffer. 21646 * @param reader Reader or buffer to decode from 21647 * @param [length] Message length if known beforehand 21648 * @returns DemotePrimaryRequest 21649 * @throws {Error} If the payload is not a reader or valid buffer 21650 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21651 */ 21652 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.DemotePrimaryRequest; 21653 21654 /** 21655 * Decodes a DemotePrimaryRequest message from the specified reader or buffer, length delimited. 21656 * @param reader Reader or buffer to decode from 21657 * @returns DemotePrimaryRequest 21658 * @throws {Error} If the payload is not a reader or valid buffer 21659 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21660 */ 21661 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.DemotePrimaryRequest; 21662 21663 /** 21664 * Verifies a DemotePrimaryRequest message. 21665 * @param message Plain object to verify 21666 * @returns `null` if valid, otherwise the reason why it is not 21667 */ 21668 public static verify(message: { [k: string]: any }): (string|null); 21669 21670 /** 21671 * Creates a DemotePrimaryRequest message from a plain object. Also converts values to their respective internal types. 21672 * @param object Plain object 21673 * @returns DemotePrimaryRequest 21674 */ 21675 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.DemotePrimaryRequest; 21676 21677 /** 21678 * Creates a plain object from a DemotePrimaryRequest message. Also converts values to other types if specified. 21679 * @param message DemotePrimaryRequest 21680 * @param [options] Conversion options 21681 * @returns Plain object 21682 */ 21683 public static toObject(message: tabletmanagerdata.DemotePrimaryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 21684 21685 /** 21686 * Converts this DemotePrimaryRequest to JSON. 21687 * @returns JSON object 21688 */ 21689 public toJSON(): { [k: string]: any }; 21690 } 21691 21692 /** Properties of a DemotePrimaryResponse. */ 21693 interface IDemotePrimaryResponse { 21694 21695 /** DemotePrimaryResponse primary_status */ 21696 primary_status?: (replicationdata.IPrimaryStatus|null); 21697 } 21698 21699 /** Represents a DemotePrimaryResponse. */ 21700 class DemotePrimaryResponse implements IDemotePrimaryResponse { 21701 21702 /** 21703 * Constructs a new DemotePrimaryResponse. 21704 * @param [properties] Properties to set 21705 */ 21706 constructor(properties?: tabletmanagerdata.IDemotePrimaryResponse); 21707 21708 /** DemotePrimaryResponse primary_status. */ 21709 public primary_status?: (replicationdata.IPrimaryStatus|null); 21710 21711 /** 21712 * Creates a new DemotePrimaryResponse instance using the specified properties. 21713 * @param [properties] Properties to set 21714 * @returns DemotePrimaryResponse instance 21715 */ 21716 public static create(properties?: tabletmanagerdata.IDemotePrimaryResponse): tabletmanagerdata.DemotePrimaryResponse; 21717 21718 /** 21719 * Encodes the specified DemotePrimaryResponse message. Does not implicitly {@link tabletmanagerdata.DemotePrimaryResponse.verify|verify} messages. 21720 * @param message DemotePrimaryResponse message or plain object to encode 21721 * @param [writer] Writer to encode to 21722 * @returns Writer 21723 */ 21724 public static encode(message: tabletmanagerdata.IDemotePrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; 21725 21726 /** 21727 * Encodes the specified DemotePrimaryResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.DemotePrimaryResponse.verify|verify} messages. 21728 * @param message DemotePrimaryResponse message or plain object to encode 21729 * @param [writer] Writer to encode to 21730 * @returns Writer 21731 */ 21732 public static encodeDelimited(message: tabletmanagerdata.IDemotePrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; 21733 21734 /** 21735 * Decodes a DemotePrimaryResponse message from the specified reader or buffer. 21736 * @param reader Reader or buffer to decode from 21737 * @param [length] Message length if known beforehand 21738 * @returns DemotePrimaryResponse 21739 * @throws {Error} If the payload is not a reader or valid buffer 21740 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21741 */ 21742 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.DemotePrimaryResponse; 21743 21744 /** 21745 * Decodes a DemotePrimaryResponse message from the specified reader or buffer, length delimited. 21746 * @param reader Reader or buffer to decode from 21747 * @returns DemotePrimaryResponse 21748 * @throws {Error} If the payload is not a reader or valid buffer 21749 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21750 */ 21751 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.DemotePrimaryResponse; 21752 21753 /** 21754 * Verifies a DemotePrimaryResponse message. 21755 * @param message Plain object to verify 21756 * @returns `null` if valid, otherwise the reason why it is not 21757 */ 21758 public static verify(message: { [k: string]: any }): (string|null); 21759 21760 /** 21761 * Creates a DemotePrimaryResponse message from a plain object. Also converts values to their respective internal types. 21762 * @param object Plain object 21763 * @returns DemotePrimaryResponse 21764 */ 21765 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.DemotePrimaryResponse; 21766 21767 /** 21768 * Creates a plain object from a DemotePrimaryResponse message. Also converts values to other types if specified. 21769 * @param message DemotePrimaryResponse 21770 * @param [options] Conversion options 21771 * @returns Plain object 21772 */ 21773 public static toObject(message: tabletmanagerdata.DemotePrimaryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 21774 21775 /** 21776 * Converts this DemotePrimaryResponse to JSON. 21777 * @returns JSON object 21778 */ 21779 public toJSON(): { [k: string]: any }; 21780 } 21781 21782 /** Properties of an UndoDemotePrimaryRequest. */ 21783 interface IUndoDemotePrimaryRequest { 21784 21785 /** UndoDemotePrimaryRequest semiSync */ 21786 semiSync?: (boolean|null); 21787 } 21788 21789 /** Represents an UndoDemotePrimaryRequest. */ 21790 class UndoDemotePrimaryRequest implements IUndoDemotePrimaryRequest { 21791 21792 /** 21793 * Constructs a new UndoDemotePrimaryRequest. 21794 * @param [properties] Properties to set 21795 */ 21796 constructor(properties?: tabletmanagerdata.IUndoDemotePrimaryRequest); 21797 21798 /** UndoDemotePrimaryRequest semiSync. */ 21799 public semiSync: boolean; 21800 21801 /** 21802 * Creates a new UndoDemotePrimaryRequest instance using the specified properties. 21803 * @param [properties] Properties to set 21804 * @returns UndoDemotePrimaryRequest instance 21805 */ 21806 public static create(properties?: tabletmanagerdata.IUndoDemotePrimaryRequest): tabletmanagerdata.UndoDemotePrimaryRequest; 21807 21808 /** 21809 * Encodes the specified UndoDemotePrimaryRequest message. Does not implicitly {@link tabletmanagerdata.UndoDemotePrimaryRequest.verify|verify} messages. 21810 * @param message UndoDemotePrimaryRequest message or plain object to encode 21811 * @param [writer] Writer to encode to 21812 * @returns Writer 21813 */ 21814 public static encode(message: tabletmanagerdata.IUndoDemotePrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21815 21816 /** 21817 * Encodes the specified UndoDemotePrimaryRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.UndoDemotePrimaryRequest.verify|verify} messages. 21818 * @param message UndoDemotePrimaryRequest message or plain object to encode 21819 * @param [writer] Writer to encode to 21820 * @returns Writer 21821 */ 21822 public static encodeDelimited(message: tabletmanagerdata.IUndoDemotePrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21823 21824 /** 21825 * Decodes an UndoDemotePrimaryRequest message from the specified reader or buffer. 21826 * @param reader Reader or buffer to decode from 21827 * @param [length] Message length if known beforehand 21828 * @returns UndoDemotePrimaryRequest 21829 * @throws {Error} If the payload is not a reader or valid buffer 21830 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21831 */ 21832 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.UndoDemotePrimaryRequest; 21833 21834 /** 21835 * Decodes an UndoDemotePrimaryRequest message from the specified reader or buffer, length delimited. 21836 * @param reader Reader or buffer to decode from 21837 * @returns UndoDemotePrimaryRequest 21838 * @throws {Error} If the payload is not a reader or valid buffer 21839 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21840 */ 21841 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.UndoDemotePrimaryRequest; 21842 21843 /** 21844 * Verifies an UndoDemotePrimaryRequest message. 21845 * @param message Plain object to verify 21846 * @returns `null` if valid, otherwise the reason why it is not 21847 */ 21848 public static verify(message: { [k: string]: any }): (string|null); 21849 21850 /** 21851 * Creates an UndoDemotePrimaryRequest message from a plain object. Also converts values to their respective internal types. 21852 * @param object Plain object 21853 * @returns UndoDemotePrimaryRequest 21854 */ 21855 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.UndoDemotePrimaryRequest; 21856 21857 /** 21858 * Creates a plain object from an UndoDemotePrimaryRequest message. Also converts values to other types if specified. 21859 * @param message UndoDemotePrimaryRequest 21860 * @param [options] Conversion options 21861 * @returns Plain object 21862 */ 21863 public static toObject(message: tabletmanagerdata.UndoDemotePrimaryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 21864 21865 /** 21866 * Converts this UndoDemotePrimaryRequest to JSON. 21867 * @returns JSON object 21868 */ 21869 public toJSON(): { [k: string]: any }; 21870 } 21871 21872 /** Properties of an UndoDemotePrimaryResponse. */ 21873 interface IUndoDemotePrimaryResponse { 21874 } 21875 21876 /** Represents an UndoDemotePrimaryResponse. */ 21877 class UndoDemotePrimaryResponse implements IUndoDemotePrimaryResponse { 21878 21879 /** 21880 * Constructs a new UndoDemotePrimaryResponse. 21881 * @param [properties] Properties to set 21882 */ 21883 constructor(properties?: tabletmanagerdata.IUndoDemotePrimaryResponse); 21884 21885 /** 21886 * Creates a new UndoDemotePrimaryResponse instance using the specified properties. 21887 * @param [properties] Properties to set 21888 * @returns UndoDemotePrimaryResponse instance 21889 */ 21890 public static create(properties?: tabletmanagerdata.IUndoDemotePrimaryResponse): tabletmanagerdata.UndoDemotePrimaryResponse; 21891 21892 /** 21893 * Encodes the specified UndoDemotePrimaryResponse message. Does not implicitly {@link tabletmanagerdata.UndoDemotePrimaryResponse.verify|verify} messages. 21894 * @param message UndoDemotePrimaryResponse message or plain object to encode 21895 * @param [writer] Writer to encode to 21896 * @returns Writer 21897 */ 21898 public static encode(message: tabletmanagerdata.IUndoDemotePrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; 21899 21900 /** 21901 * Encodes the specified UndoDemotePrimaryResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.UndoDemotePrimaryResponse.verify|verify} messages. 21902 * @param message UndoDemotePrimaryResponse message or plain object to encode 21903 * @param [writer] Writer to encode to 21904 * @returns Writer 21905 */ 21906 public static encodeDelimited(message: tabletmanagerdata.IUndoDemotePrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; 21907 21908 /** 21909 * Decodes an UndoDemotePrimaryResponse message from the specified reader or buffer. 21910 * @param reader Reader or buffer to decode from 21911 * @param [length] Message length if known beforehand 21912 * @returns UndoDemotePrimaryResponse 21913 * @throws {Error} If the payload is not a reader or valid buffer 21914 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21915 */ 21916 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.UndoDemotePrimaryResponse; 21917 21918 /** 21919 * Decodes an UndoDemotePrimaryResponse message from the specified reader or buffer, length delimited. 21920 * @param reader Reader or buffer to decode from 21921 * @returns UndoDemotePrimaryResponse 21922 * @throws {Error} If the payload is not a reader or valid buffer 21923 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21924 */ 21925 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.UndoDemotePrimaryResponse; 21926 21927 /** 21928 * Verifies an UndoDemotePrimaryResponse message. 21929 * @param message Plain object to verify 21930 * @returns `null` if valid, otherwise the reason why it is not 21931 */ 21932 public static verify(message: { [k: string]: any }): (string|null); 21933 21934 /** 21935 * Creates an UndoDemotePrimaryResponse message from a plain object. Also converts values to their respective internal types. 21936 * @param object Plain object 21937 * @returns UndoDemotePrimaryResponse 21938 */ 21939 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.UndoDemotePrimaryResponse; 21940 21941 /** 21942 * Creates a plain object from an UndoDemotePrimaryResponse message. Also converts values to other types if specified. 21943 * @param message UndoDemotePrimaryResponse 21944 * @param [options] Conversion options 21945 * @returns Plain object 21946 */ 21947 public static toObject(message: tabletmanagerdata.UndoDemotePrimaryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 21948 21949 /** 21950 * Converts this UndoDemotePrimaryResponse to JSON. 21951 * @returns JSON object 21952 */ 21953 public toJSON(): { [k: string]: any }; 21954 } 21955 21956 /** Properties of a ReplicaWasPromotedRequest. */ 21957 interface IReplicaWasPromotedRequest { 21958 } 21959 21960 /** Represents a ReplicaWasPromotedRequest. */ 21961 class ReplicaWasPromotedRequest implements IReplicaWasPromotedRequest { 21962 21963 /** 21964 * Constructs a new ReplicaWasPromotedRequest. 21965 * @param [properties] Properties to set 21966 */ 21967 constructor(properties?: tabletmanagerdata.IReplicaWasPromotedRequest); 21968 21969 /** 21970 * Creates a new ReplicaWasPromotedRequest instance using the specified properties. 21971 * @param [properties] Properties to set 21972 * @returns ReplicaWasPromotedRequest instance 21973 */ 21974 public static create(properties?: tabletmanagerdata.IReplicaWasPromotedRequest): tabletmanagerdata.ReplicaWasPromotedRequest; 21975 21976 /** 21977 * Encodes the specified ReplicaWasPromotedRequest message. Does not implicitly {@link tabletmanagerdata.ReplicaWasPromotedRequest.verify|verify} messages. 21978 * @param message ReplicaWasPromotedRequest message or plain object to encode 21979 * @param [writer] Writer to encode to 21980 * @returns Writer 21981 */ 21982 public static encode(message: tabletmanagerdata.IReplicaWasPromotedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21983 21984 /** 21985 * Encodes the specified ReplicaWasPromotedRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ReplicaWasPromotedRequest.verify|verify} messages. 21986 * @param message ReplicaWasPromotedRequest message or plain object to encode 21987 * @param [writer] Writer to encode to 21988 * @returns Writer 21989 */ 21990 public static encodeDelimited(message: tabletmanagerdata.IReplicaWasPromotedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 21991 21992 /** 21993 * Decodes a ReplicaWasPromotedRequest message from the specified reader or buffer. 21994 * @param reader Reader or buffer to decode from 21995 * @param [length] Message length if known beforehand 21996 * @returns ReplicaWasPromotedRequest 21997 * @throws {Error} If the payload is not a reader or valid buffer 21998 * @throws {$protobuf.util.ProtocolError} If required fields are missing 21999 */ 22000 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ReplicaWasPromotedRequest; 22001 22002 /** 22003 * Decodes a ReplicaWasPromotedRequest message from the specified reader or buffer, length delimited. 22004 * @param reader Reader or buffer to decode from 22005 * @returns ReplicaWasPromotedRequest 22006 * @throws {Error} If the payload is not a reader or valid buffer 22007 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22008 */ 22009 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ReplicaWasPromotedRequest; 22010 22011 /** 22012 * Verifies a ReplicaWasPromotedRequest message. 22013 * @param message Plain object to verify 22014 * @returns `null` if valid, otherwise the reason why it is not 22015 */ 22016 public static verify(message: { [k: string]: any }): (string|null); 22017 22018 /** 22019 * Creates a ReplicaWasPromotedRequest message from a plain object. Also converts values to their respective internal types. 22020 * @param object Plain object 22021 * @returns ReplicaWasPromotedRequest 22022 */ 22023 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ReplicaWasPromotedRequest; 22024 22025 /** 22026 * Creates a plain object from a ReplicaWasPromotedRequest message. Also converts values to other types if specified. 22027 * @param message ReplicaWasPromotedRequest 22028 * @param [options] Conversion options 22029 * @returns Plain object 22030 */ 22031 public static toObject(message: tabletmanagerdata.ReplicaWasPromotedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 22032 22033 /** 22034 * Converts this ReplicaWasPromotedRequest to JSON. 22035 * @returns JSON object 22036 */ 22037 public toJSON(): { [k: string]: any }; 22038 } 22039 22040 /** Properties of a ReplicaWasPromotedResponse. */ 22041 interface IReplicaWasPromotedResponse { 22042 } 22043 22044 /** Represents a ReplicaWasPromotedResponse. */ 22045 class ReplicaWasPromotedResponse implements IReplicaWasPromotedResponse { 22046 22047 /** 22048 * Constructs a new ReplicaWasPromotedResponse. 22049 * @param [properties] Properties to set 22050 */ 22051 constructor(properties?: tabletmanagerdata.IReplicaWasPromotedResponse); 22052 22053 /** 22054 * Creates a new ReplicaWasPromotedResponse instance using the specified properties. 22055 * @param [properties] Properties to set 22056 * @returns ReplicaWasPromotedResponse instance 22057 */ 22058 public static create(properties?: tabletmanagerdata.IReplicaWasPromotedResponse): tabletmanagerdata.ReplicaWasPromotedResponse; 22059 22060 /** 22061 * Encodes the specified ReplicaWasPromotedResponse message. Does not implicitly {@link tabletmanagerdata.ReplicaWasPromotedResponse.verify|verify} messages. 22062 * @param message ReplicaWasPromotedResponse message or plain object to encode 22063 * @param [writer] Writer to encode to 22064 * @returns Writer 22065 */ 22066 public static encode(message: tabletmanagerdata.IReplicaWasPromotedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22067 22068 /** 22069 * Encodes the specified ReplicaWasPromotedResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ReplicaWasPromotedResponse.verify|verify} messages. 22070 * @param message ReplicaWasPromotedResponse message or plain object to encode 22071 * @param [writer] Writer to encode to 22072 * @returns Writer 22073 */ 22074 public static encodeDelimited(message: tabletmanagerdata.IReplicaWasPromotedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22075 22076 /** 22077 * Decodes a ReplicaWasPromotedResponse message from the specified reader or buffer. 22078 * @param reader Reader or buffer to decode from 22079 * @param [length] Message length if known beforehand 22080 * @returns ReplicaWasPromotedResponse 22081 * @throws {Error} If the payload is not a reader or valid buffer 22082 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22083 */ 22084 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ReplicaWasPromotedResponse; 22085 22086 /** 22087 * Decodes a ReplicaWasPromotedResponse message from the specified reader or buffer, length delimited. 22088 * @param reader Reader or buffer to decode from 22089 * @returns ReplicaWasPromotedResponse 22090 * @throws {Error} If the payload is not a reader or valid buffer 22091 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22092 */ 22093 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ReplicaWasPromotedResponse; 22094 22095 /** 22096 * Verifies a ReplicaWasPromotedResponse message. 22097 * @param message Plain object to verify 22098 * @returns `null` if valid, otherwise the reason why it is not 22099 */ 22100 public static verify(message: { [k: string]: any }): (string|null); 22101 22102 /** 22103 * Creates a ReplicaWasPromotedResponse message from a plain object. Also converts values to their respective internal types. 22104 * @param object Plain object 22105 * @returns ReplicaWasPromotedResponse 22106 */ 22107 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ReplicaWasPromotedResponse; 22108 22109 /** 22110 * Creates a plain object from a ReplicaWasPromotedResponse message. Also converts values to other types if specified. 22111 * @param message ReplicaWasPromotedResponse 22112 * @param [options] Conversion options 22113 * @returns Plain object 22114 */ 22115 public static toObject(message: tabletmanagerdata.ReplicaWasPromotedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 22116 22117 /** 22118 * Converts this ReplicaWasPromotedResponse to JSON. 22119 * @returns JSON object 22120 */ 22121 public toJSON(): { [k: string]: any }; 22122 } 22123 22124 /** Properties of a ResetReplicationParametersRequest. */ 22125 interface IResetReplicationParametersRequest { 22126 } 22127 22128 /** Represents a ResetReplicationParametersRequest. */ 22129 class ResetReplicationParametersRequest implements IResetReplicationParametersRequest { 22130 22131 /** 22132 * Constructs a new ResetReplicationParametersRequest. 22133 * @param [properties] Properties to set 22134 */ 22135 constructor(properties?: tabletmanagerdata.IResetReplicationParametersRequest); 22136 22137 /** 22138 * Creates a new ResetReplicationParametersRequest instance using the specified properties. 22139 * @param [properties] Properties to set 22140 * @returns ResetReplicationParametersRequest instance 22141 */ 22142 public static create(properties?: tabletmanagerdata.IResetReplicationParametersRequest): tabletmanagerdata.ResetReplicationParametersRequest; 22143 22144 /** 22145 * Encodes the specified ResetReplicationParametersRequest message. Does not implicitly {@link tabletmanagerdata.ResetReplicationParametersRequest.verify|verify} messages. 22146 * @param message ResetReplicationParametersRequest message or plain object to encode 22147 * @param [writer] Writer to encode to 22148 * @returns Writer 22149 */ 22150 public static encode(message: tabletmanagerdata.IResetReplicationParametersRequest, writer?: $protobuf.Writer): $protobuf.Writer; 22151 22152 /** 22153 * Encodes the specified ResetReplicationParametersRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ResetReplicationParametersRequest.verify|verify} messages. 22154 * @param message ResetReplicationParametersRequest message or plain object to encode 22155 * @param [writer] Writer to encode to 22156 * @returns Writer 22157 */ 22158 public static encodeDelimited(message: tabletmanagerdata.IResetReplicationParametersRequest, writer?: $protobuf.Writer): $protobuf.Writer; 22159 22160 /** 22161 * Decodes a ResetReplicationParametersRequest message from the specified reader or buffer. 22162 * @param reader Reader or buffer to decode from 22163 * @param [length] Message length if known beforehand 22164 * @returns ResetReplicationParametersRequest 22165 * @throws {Error} If the payload is not a reader or valid buffer 22166 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22167 */ 22168 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ResetReplicationParametersRequest; 22169 22170 /** 22171 * Decodes a ResetReplicationParametersRequest message from the specified reader or buffer, length delimited. 22172 * @param reader Reader or buffer to decode from 22173 * @returns ResetReplicationParametersRequest 22174 * @throws {Error} If the payload is not a reader or valid buffer 22175 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22176 */ 22177 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ResetReplicationParametersRequest; 22178 22179 /** 22180 * Verifies a ResetReplicationParametersRequest message. 22181 * @param message Plain object to verify 22182 * @returns `null` if valid, otherwise the reason why it is not 22183 */ 22184 public static verify(message: { [k: string]: any }): (string|null); 22185 22186 /** 22187 * Creates a ResetReplicationParametersRequest message from a plain object. Also converts values to their respective internal types. 22188 * @param object Plain object 22189 * @returns ResetReplicationParametersRequest 22190 */ 22191 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ResetReplicationParametersRequest; 22192 22193 /** 22194 * Creates a plain object from a ResetReplicationParametersRequest message. Also converts values to other types if specified. 22195 * @param message ResetReplicationParametersRequest 22196 * @param [options] Conversion options 22197 * @returns Plain object 22198 */ 22199 public static toObject(message: tabletmanagerdata.ResetReplicationParametersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 22200 22201 /** 22202 * Converts this ResetReplicationParametersRequest to JSON. 22203 * @returns JSON object 22204 */ 22205 public toJSON(): { [k: string]: any }; 22206 } 22207 22208 /** Properties of a ResetReplicationParametersResponse. */ 22209 interface IResetReplicationParametersResponse { 22210 } 22211 22212 /** Represents a ResetReplicationParametersResponse. */ 22213 class ResetReplicationParametersResponse implements IResetReplicationParametersResponse { 22214 22215 /** 22216 * Constructs a new ResetReplicationParametersResponse. 22217 * @param [properties] Properties to set 22218 */ 22219 constructor(properties?: tabletmanagerdata.IResetReplicationParametersResponse); 22220 22221 /** 22222 * Creates a new ResetReplicationParametersResponse instance using the specified properties. 22223 * @param [properties] Properties to set 22224 * @returns ResetReplicationParametersResponse instance 22225 */ 22226 public static create(properties?: tabletmanagerdata.IResetReplicationParametersResponse): tabletmanagerdata.ResetReplicationParametersResponse; 22227 22228 /** 22229 * Encodes the specified ResetReplicationParametersResponse message. Does not implicitly {@link tabletmanagerdata.ResetReplicationParametersResponse.verify|verify} messages. 22230 * @param message ResetReplicationParametersResponse message or plain object to encode 22231 * @param [writer] Writer to encode to 22232 * @returns Writer 22233 */ 22234 public static encode(message: tabletmanagerdata.IResetReplicationParametersResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22235 22236 /** 22237 * Encodes the specified ResetReplicationParametersResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ResetReplicationParametersResponse.verify|verify} messages. 22238 * @param message ResetReplicationParametersResponse message or plain object to encode 22239 * @param [writer] Writer to encode to 22240 * @returns Writer 22241 */ 22242 public static encodeDelimited(message: tabletmanagerdata.IResetReplicationParametersResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22243 22244 /** 22245 * Decodes a ResetReplicationParametersResponse message from the specified reader or buffer. 22246 * @param reader Reader or buffer to decode from 22247 * @param [length] Message length if known beforehand 22248 * @returns ResetReplicationParametersResponse 22249 * @throws {Error} If the payload is not a reader or valid buffer 22250 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22251 */ 22252 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ResetReplicationParametersResponse; 22253 22254 /** 22255 * Decodes a ResetReplicationParametersResponse message from the specified reader or buffer, length delimited. 22256 * @param reader Reader or buffer to decode from 22257 * @returns ResetReplicationParametersResponse 22258 * @throws {Error} If the payload is not a reader or valid buffer 22259 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22260 */ 22261 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ResetReplicationParametersResponse; 22262 22263 /** 22264 * Verifies a ResetReplicationParametersResponse message. 22265 * @param message Plain object to verify 22266 * @returns `null` if valid, otherwise the reason why it is not 22267 */ 22268 public static verify(message: { [k: string]: any }): (string|null); 22269 22270 /** 22271 * Creates a ResetReplicationParametersResponse message from a plain object. Also converts values to their respective internal types. 22272 * @param object Plain object 22273 * @returns ResetReplicationParametersResponse 22274 */ 22275 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ResetReplicationParametersResponse; 22276 22277 /** 22278 * Creates a plain object from a ResetReplicationParametersResponse message. Also converts values to other types if specified. 22279 * @param message ResetReplicationParametersResponse 22280 * @param [options] Conversion options 22281 * @returns Plain object 22282 */ 22283 public static toObject(message: tabletmanagerdata.ResetReplicationParametersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 22284 22285 /** 22286 * Converts this ResetReplicationParametersResponse to JSON. 22287 * @returns JSON object 22288 */ 22289 public toJSON(): { [k: string]: any }; 22290 } 22291 22292 /** Properties of a FullStatusRequest. */ 22293 interface IFullStatusRequest { 22294 } 22295 22296 /** Represents a FullStatusRequest. */ 22297 class FullStatusRequest implements IFullStatusRequest { 22298 22299 /** 22300 * Constructs a new FullStatusRequest. 22301 * @param [properties] Properties to set 22302 */ 22303 constructor(properties?: tabletmanagerdata.IFullStatusRequest); 22304 22305 /** 22306 * Creates a new FullStatusRequest instance using the specified properties. 22307 * @param [properties] Properties to set 22308 * @returns FullStatusRequest instance 22309 */ 22310 public static create(properties?: tabletmanagerdata.IFullStatusRequest): tabletmanagerdata.FullStatusRequest; 22311 22312 /** 22313 * Encodes the specified FullStatusRequest message. Does not implicitly {@link tabletmanagerdata.FullStatusRequest.verify|verify} messages. 22314 * @param message FullStatusRequest message or plain object to encode 22315 * @param [writer] Writer to encode to 22316 * @returns Writer 22317 */ 22318 public static encode(message: tabletmanagerdata.IFullStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 22319 22320 /** 22321 * Encodes the specified FullStatusRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.FullStatusRequest.verify|verify} messages. 22322 * @param message FullStatusRequest message or plain object to encode 22323 * @param [writer] Writer to encode to 22324 * @returns Writer 22325 */ 22326 public static encodeDelimited(message: tabletmanagerdata.IFullStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 22327 22328 /** 22329 * Decodes a FullStatusRequest message from the specified reader or buffer. 22330 * @param reader Reader or buffer to decode from 22331 * @param [length] Message length if known beforehand 22332 * @returns FullStatusRequest 22333 * @throws {Error} If the payload is not a reader or valid buffer 22334 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22335 */ 22336 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.FullStatusRequest; 22337 22338 /** 22339 * Decodes a FullStatusRequest message from the specified reader or buffer, length delimited. 22340 * @param reader Reader or buffer to decode from 22341 * @returns FullStatusRequest 22342 * @throws {Error} If the payload is not a reader or valid buffer 22343 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22344 */ 22345 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.FullStatusRequest; 22346 22347 /** 22348 * Verifies a FullStatusRequest message. 22349 * @param message Plain object to verify 22350 * @returns `null` if valid, otherwise the reason why it is not 22351 */ 22352 public static verify(message: { [k: string]: any }): (string|null); 22353 22354 /** 22355 * Creates a FullStatusRequest message from a plain object. Also converts values to their respective internal types. 22356 * @param object Plain object 22357 * @returns FullStatusRequest 22358 */ 22359 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.FullStatusRequest; 22360 22361 /** 22362 * Creates a plain object from a FullStatusRequest message. Also converts values to other types if specified. 22363 * @param message FullStatusRequest 22364 * @param [options] Conversion options 22365 * @returns Plain object 22366 */ 22367 public static toObject(message: tabletmanagerdata.FullStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 22368 22369 /** 22370 * Converts this FullStatusRequest to JSON. 22371 * @returns JSON object 22372 */ 22373 public toJSON(): { [k: string]: any }; 22374 } 22375 22376 /** Properties of a FullStatusResponse. */ 22377 interface IFullStatusResponse { 22378 22379 /** FullStatusResponse status */ 22380 status?: (replicationdata.IFullStatus|null); 22381 } 22382 22383 /** Represents a FullStatusResponse. */ 22384 class FullStatusResponse implements IFullStatusResponse { 22385 22386 /** 22387 * Constructs a new FullStatusResponse. 22388 * @param [properties] Properties to set 22389 */ 22390 constructor(properties?: tabletmanagerdata.IFullStatusResponse); 22391 22392 /** FullStatusResponse status. */ 22393 public status?: (replicationdata.IFullStatus|null); 22394 22395 /** 22396 * Creates a new FullStatusResponse instance using the specified properties. 22397 * @param [properties] Properties to set 22398 * @returns FullStatusResponse instance 22399 */ 22400 public static create(properties?: tabletmanagerdata.IFullStatusResponse): tabletmanagerdata.FullStatusResponse; 22401 22402 /** 22403 * Encodes the specified FullStatusResponse message. Does not implicitly {@link tabletmanagerdata.FullStatusResponse.verify|verify} messages. 22404 * @param message FullStatusResponse message or plain object to encode 22405 * @param [writer] Writer to encode to 22406 * @returns Writer 22407 */ 22408 public static encode(message: tabletmanagerdata.IFullStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22409 22410 /** 22411 * Encodes the specified FullStatusResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.FullStatusResponse.verify|verify} messages. 22412 * @param message FullStatusResponse message or plain object to encode 22413 * @param [writer] Writer to encode to 22414 * @returns Writer 22415 */ 22416 public static encodeDelimited(message: tabletmanagerdata.IFullStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22417 22418 /** 22419 * Decodes a FullStatusResponse message from the specified reader or buffer. 22420 * @param reader Reader or buffer to decode from 22421 * @param [length] Message length if known beforehand 22422 * @returns FullStatusResponse 22423 * @throws {Error} If the payload is not a reader or valid buffer 22424 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22425 */ 22426 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.FullStatusResponse; 22427 22428 /** 22429 * Decodes a FullStatusResponse message from the specified reader or buffer, length delimited. 22430 * @param reader Reader or buffer to decode from 22431 * @returns FullStatusResponse 22432 * @throws {Error} If the payload is not a reader or valid buffer 22433 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22434 */ 22435 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.FullStatusResponse; 22436 22437 /** 22438 * Verifies a FullStatusResponse message. 22439 * @param message Plain object to verify 22440 * @returns `null` if valid, otherwise the reason why it is not 22441 */ 22442 public static verify(message: { [k: string]: any }): (string|null); 22443 22444 /** 22445 * Creates a FullStatusResponse message from a plain object. Also converts values to their respective internal types. 22446 * @param object Plain object 22447 * @returns FullStatusResponse 22448 */ 22449 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.FullStatusResponse; 22450 22451 /** 22452 * Creates a plain object from a FullStatusResponse message. Also converts values to other types if specified. 22453 * @param message FullStatusResponse 22454 * @param [options] Conversion options 22455 * @returns Plain object 22456 */ 22457 public static toObject(message: tabletmanagerdata.FullStatusResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 22458 22459 /** 22460 * Converts this FullStatusResponse to JSON. 22461 * @returns JSON object 22462 */ 22463 public toJSON(): { [k: string]: any }; 22464 } 22465 22466 /** Properties of a SetReplicationSourceRequest. */ 22467 interface ISetReplicationSourceRequest { 22468 22469 /** SetReplicationSourceRequest parent */ 22470 parent?: (topodata.ITabletAlias|null); 22471 22472 /** SetReplicationSourceRequest time_created_ns */ 22473 time_created_ns?: (number|Long|null); 22474 22475 /** SetReplicationSourceRequest force_start_replication */ 22476 force_start_replication?: (boolean|null); 22477 22478 /** SetReplicationSourceRequest wait_position */ 22479 wait_position?: (string|null); 22480 22481 /** SetReplicationSourceRequest semiSync */ 22482 semiSync?: (boolean|null); 22483 } 22484 22485 /** Represents a SetReplicationSourceRequest. */ 22486 class SetReplicationSourceRequest implements ISetReplicationSourceRequest { 22487 22488 /** 22489 * Constructs a new SetReplicationSourceRequest. 22490 * @param [properties] Properties to set 22491 */ 22492 constructor(properties?: tabletmanagerdata.ISetReplicationSourceRequest); 22493 22494 /** SetReplicationSourceRequest parent. */ 22495 public parent?: (topodata.ITabletAlias|null); 22496 22497 /** SetReplicationSourceRequest time_created_ns. */ 22498 public time_created_ns: (number|Long); 22499 22500 /** SetReplicationSourceRequest force_start_replication. */ 22501 public force_start_replication: boolean; 22502 22503 /** SetReplicationSourceRequest wait_position. */ 22504 public wait_position: string; 22505 22506 /** SetReplicationSourceRequest semiSync. */ 22507 public semiSync: boolean; 22508 22509 /** 22510 * Creates a new SetReplicationSourceRequest instance using the specified properties. 22511 * @param [properties] Properties to set 22512 * @returns SetReplicationSourceRequest instance 22513 */ 22514 public static create(properties?: tabletmanagerdata.ISetReplicationSourceRequest): tabletmanagerdata.SetReplicationSourceRequest; 22515 22516 /** 22517 * Encodes the specified SetReplicationSourceRequest message. Does not implicitly {@link tabletmanagerdata.SetReplicationSourceRequest.verify|verify} messages. 22518 * @param message SetReplicationSourceRequest message or plain object to encode 22519 * @param [writer] Writer to encode to 22520 * @returns Writer 22521 */ 22522 public static encode(message: tabletmanagerdata.ISetReplicationSourceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 22523 22524 /** 22525 * Encodes the specified SetReplicationSourceRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.SetReplicationSourceRequest.verify|verify} messages. 22526 * @param message SetReplicationSourceRequest message or plain object to encode 22527 * @param [writer] Writer to encode to 22528 * @returns Writer 22529 */ 22530 public static encodeDelimited(message: tabletmanagerdata.ISetReplicationSourceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 22531 22532 /** 22533 * Decodes a SetReplicationSourceRequest message from the specified reader or buffer. 22534 * @param reader Reader or buffer to decode from 22535 * @param [length] Message length if known beforehand 22536 * @returns SetReplicationSourceRequest 22537 * @throws {Error} If the payload is not a reader or valid buffer 22538 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22539 */ 22540 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.SetReplicationSourceRequest; 22541 22542 /** 22543 * Decodes a SetReplicationSourceRequest message from the specified reader or buffer, length delimited. 22544 * @param reader Reader or buffer to decode from 22545 * @returns SetReplicationSourceRequest 22546 * @throws {Error} If the payload is not a reader or valid buffer 22547 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22548 */ 22549 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.SetReplicationSourceRequest; 22550 22551 /** 22552 * Verifies a SetReplicationSourceRequest message. 22553 * @param message Plain object to verify 22554 * @returns `null` if valid, otherwise the reason why it is not 22555 */ 22556 public static verify(message: { [k: string]: any }): (string|null); 22557 22558 /** 22559 * Creates a SetReplicationSourceRequest message from a plain object. Also converts values to their respective internal types. 22560 * @param object Plain object 22561 * @returns SetReplicationSourceRequest 22562 */ 22563 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.SetReplicationSourceRequest; 22564 22565 /** 22566 * Creates a plain object from a SetReplicationSourceRequest message. Also converts values to other types if specified. 22567 * @param message SetReplicationSourceRequest 22568 * @param [options] Conversion options 22569 * @returns Plain object 22570 */ 22571 public static toObject(message: tabletmanagerdata.SetReplicationSourceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 22572 22573 /** 22574 * Converts this SetReplicationSourceRequest to JSON. 22575 * @returns JSON object 22576 */ 22577 public toJSON(): { [k: string]: any }; 22578 } 22579 22580 /** Properties of a SetReplicationSourceResponse. */ 22581 interface ISetReplicationSourceResponse { 22582 } 22583 22584 /** Represents a SetReplicationSourceResponse. */ 22585 class SetReplicationSourceResponse implements ISetReplicationSourceResponse { 22586 22587 /** 22588 * Constructs a new SetReplicationSourceResponse. 22589 * @param [properties] Properties to set 22590 */ 22591 constructor(properties?: tabletmanagerdata.ISetReplicationSourceResponse); 22592 22593 /** 22594 * Creates a new SetReplicationSourceResponse instance using the specified properties. 22595 * @param [properties] Properties to set 22596 * @returns SetReplicationSourceResponse instance 22597 */ 22598 public static create(properties?: tabletmanagerdata.ISetReplicationSourceResponse): tabletmanagerdata.SetReplicationSourceResponse; 22599 22600 /** 22601 * Encodes the specified SetReplicationSourceResponse message. Does not implicitly {@link tabletmanagerdata.SetReplicationSourceResponse.verify|verify} messages. 22602 * @param message SetReplicationSourceResponse message or plain object to encode 22603 * @param [writer] Writer to encode to 22604 * @returns Writer 22605 */ 22606 public static encode(message: tabletmanagerdata.ISetReplicationSourceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22607 22608 /** 22609 * Encodes the specified SetReplicationSourceResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.SetReplicationSourceResponse.verify|verify} messages. 22610 * @param message SetReplicationSourceResponse message or plain object to encode 22611 * @param [writer] Writer to encode to 22612 * @returns Writer 22613 */ 22614 public static encodeDelimited(message: tabletmanagerdata.ISetReplicationSourceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22615 22616 /** 22617 * Decodes a SetReplicationSourceResponse message from the specified reader or buffer. 22618 * @param reader Reader or buffer to decode from 22619 * @param [length] Message length if known beforehand 22620 * @returns SetReplicationSourceResponse 22621 * @throws {Error} If the payload is not a reader or valid buffer 22622 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22623 */ 22624 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.SetReplicationSourceResponse; 22625 22626 /** 22627 * Decodes a SetReplicationSourceResponse message from the specified reader or buffer, length delimited. 22628 * @param reader Reader or buffer to decode from 22629 * @returns SetReplicationSourceResponse 22630 * @throws {Error} If the payload is not a reader or valid buffer 22631 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22632 */ 22633 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.SetReplicationSourceResponse; 22634 22635 /** 22636 * Verifies a SetReplicationSourceResponse message. 22637 * @param message Plain object to verify 22638 * @returns `null` if valid, otherwise the reason why it is not 22639 */ 22640 public static verify(message: { [k: string]: any }): (string|null); 22641 22642 /** 22643 * Creates a SetReplicationSourceResponse message from a plain object. Also converts values to their respective internal types. 22644 * @param object Plain object 22645 * @returns SetReplicationSourceResponse 22646 */ 22647 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.SetReplicationSourceResponse; 22648 22649 /** 22650 * Creates a plain object from a SetReplicationSourceResponse message. Also converts values to other types if specified. 22651 * @param message SetReplicationSourceResponse 22652 * @param [options] Conversion options 22653 * @returns Plain object 22654 */ 22655 public static toObject(message: tabletmanagerdata.SetReplicationSourceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 22656 22657 /** 22658 * Converts this SetReplicationSourceResponse to JSON. 22659 * @returns JSON object 22660 */ 22661 public toJSON(): { [k: string]: any }; 22662 } 22663 22664 /** Properties of a ReplicaWasRestartedRequest. */ 22665 interface IReplicaWasRestartedRequest { 22666 22667 /** ReplicaWasRestartedRequest parent */ 22668 parent?: (topodata.ITabletAlias|null); 22669 } 22670 22671 /** Represents a ReplicaWasRestartedRequest. */ 22672 class ReplicaWasRestartedRequest implements IReplicaWasRestartedRequest { 22673 22674 /** 22675 * Constructs a new ReplicaWasRestartedRequest. 22676 * @param [properties] Properties to set 22677 */ 22678 constructor(properties?: tabletmanagerdata.IReplicaWasRestartedRequest); 22679 22680 /** ReplicaWasRestartedRequest parent. */ 22681 public parent?: (topodata.ITabletAlias|null); 22682 22683 /** 22684 * Creates a new ReplicaWasRestartedRequest instance using the specified properties. 22685 * @param [properties] Properties to set 22686 * @returns ReplicaWasRestartedRequest instance 22687 */ 22688 public static create(properties?: tabletmanagerdata.IReplicaWasRestartedRequest): tabletmanagerdata.ReplicaWasRestartedRequest; 22689 22690 /** 22691 * Encodes the specified ReplicaWasRestartedRequest message. Does not implicitly {@link tabletmanagerdata.ReplicaWasRestartedRequest.verify|verify} messages. 22692 * @param message ReplicaWasRestartedRequest message or plain object to encode 22693 * @param [writer] Writer to encode to 22694 * @returns Writer 22695 */ 22696 public static encode(message: tabletmanagerdata.IReplicaWasRestartedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 22697 22698 /** 22699 * Encodes the specified ReplicaWasRestartedRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.ReplicaWasRestartedRequest.verify|verify} messages. 22700 * @param message ReplicaWasRestartedRequest message or plain object to encode 22701 * @param [writer] Writer to encode to 22702 * @returns Writer 22703 */ 22704 public static encodeDelimited(message: tabletmanagerdata.IReplicaWasRestartedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 22705 22706 /** 22707 * Decodes a ReplicaWasRestartedRequest message from the specified reader or buffer. 22708 * @param reader Reader or buffer to decode from 22709 * @param [length] Message length if known beforehand 22710 * @returns ReplicaWasRestartedRequest 22711 * @throws {Error} If the payload is not a reader or valid buffer 22712 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22713 */ 22714 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ReplicaWasRestartedRequest; 22715 22716 /** 22717 * Decodes a ReplicaWasRestartedRequest message from the specified reader or buffer, length delimited. 22718 * @param reader Reader or buffer to decode from 22719 * @returns ReplicaWasRestartedRequest 22720 * @throws {Error} If the payload is not a reader or valid buffer 22721 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22722 */ 22723 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ReplicaWasRestartedRequest; 22724 22725 /** 22726 * Verifies a ReplicaWasRestartedRequest message. 22727 * @param message Plain object to verify 22728 * @returns `null` if valid, otherwise the reason why it is not 22729 */ 22730 public static verify(message: { [k: string]: any }): (string|null); 22731 22732 /** 22733 * Creates a ReplicaWasRestartedRequest message from a plain object. Also converts values to their respective internal types. 22734 * @param object Plain object 22735 * @returns ReplicaWasRestartedRequest 22736 */ 22737 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ReplicaWasRestartedRequest; 22738 22739 /** 22740 * Creates a plain object from a ReplicaWasRestartedRequest message. Also converts values to other types if specified. 22741 * @param message ReplicaWasRestartedRequest 22742 * @param [options] Conversion options 22743 * @returns Plain object 22744 */ 22745 public static toObject(message: tabletmanagerdata.ReplicaWasRestartedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 22746 22747 /** 22748 * Converts this ReplicaWasRestartedRequest to JSON. 22749 * @returns JSON object 22750 */ 22751 public toJSON(): { [k: string]: any }; 22752 } 22753 22754 /** Properties of a ReplicaWasRestartedResponse. */ 22755 interface IReplicaWasRestartedResponse { 22756 } 22757 22758 /** Represents a ReplicaWasRestartedResponse. */ 22759 class ReplicaWasRestartedResponse implements IReplicaWasRestartedResponse { 22760 22761 /** 22762 * Constructs a new ReplicaWasRestartedResponse. 22763 * @param [properties] Properties to set 22764 */ 22765 constructor(properties?: tabletmanagerdata.IReplicaWasRestartedResponse); 22766 22767 /** 22768 * Creates a new ReplicaWasRestartedResponse instance using the specified properties. 22769 * @param [properties] Properties to set 22770 * @returns ReplicaWasRestartedResponse instance 22771 */ 22772 public static create(properties?: tabletmanagerdata.IReplicaWasRestartedResponse): tabletmanagerdata.ReplicaWasRestartedResponse; 22773 22774 /** 22775 * Encodes the specified ReplicaWasRestartedResponse message. Does not implicitly {@link tabletmanagerdata.ReplicaWasRestartedResponse.verify|verify} messages. 22776 * @param message ReplicaWasRestartedResponse message or plain object to encode 22777 * @param [writer] Writer to encode to 22778 * @returns Writer 22779 */ 22780 public static encode(message: tabletmanagerdata.IReplicaWasRestartedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22781 22782 /** 22783 * Encodes the specified ReplicaWasRestartedResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.ReplicaWasRestartedResponse.verify|verify} messages. 22784 * @param message ReplicaWasRestartedResponse message or plain object to encode 22785 * @param [writer] Writer to encode to 22786 * @returns Writer 22787 */ 22788 public static encodeDelimited(message: tabletmanagerdata.IReplicaWasRestartedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22789 22790 /** 22791 * Decodes a ReplicaWasRestartedResponse message from the specified reader or buffer. 22792 * @param reader Reader or buffer to decode from 22793 * @param [length] Message length if known beforehand 22794 * @returns ReplicaWasRestartedResponse 22795 * @throws {Error} If the payload is not a reader or valid buffer 22796 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22797 */ 22798 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.ReplicaWasRestartedResponse; 22799 22800 /** 22801 * Decodes a ReplicaWasRestartedResponse message from the specified reader or buffer, length delimited. 22802 * @param reader Reader or buffer to decode from 22803 * @returns ReplicaWasRestartedResponse 22804 * @throws {Error} If the payload is not a reader or valid buffer 22805 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22806 */ 22807 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.ReplicaWasRestartedResponse; 22808 22809 /** 22810 * Verifies a ReplicaWasRestartedResponse message. 22811 * @param message Plain object to verify 22812 * @returns `null` if valid, otherwise the reason why it is not 22813 */ 22814 public static verify(message: { [k: string]: any }): (string|null); 22815 22816 /** 22817 * Creates a ReplicaWasRestartedResponse message from a plain object. Also converts values to their respective internal types. 22818 * @param object Plain object 22819 * @returns ReplicaWasRestartedResponse 22820 */ 22821 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.ReplicaWasRestartedResponse; 22822 22823 /** 22824 * Creates a plain object from a ReplicaWasRestartedResponse message. Also converts values to other types if specified. 22825 * @param message ReplicaWasRestartedResponse 22826 * @param [options] Conversion options 22827 * @returns Plain object 22828 */ 22829 public static toObject(message: tabletmanagerdata.ReplicaWasRestartedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 22830 22831 /** 22832 * Converts this ReplicaWasRestartedResponse to JSON. 22833 * @returns JSON object 22834 */ 22835 public toJSON(): { [k: string]: any }; 22836 } 22837 22838 /** Properties of a StopReplicationAndGetStatusRequest. */ 22839 interface IStopReplicationAndGetStatusRequest { 22840 22841 /** StopReplicationAndGetStatusRequest stop_replication_mode */ 22842 stop_replication_mode?: (replicationdata.StopReplicationMode|null); 22843 } 22844 22845 /** Represents a StopReplicationAndGetStatusRequest. */ 22846 class StopReplicationAndGetStatusRequest implements IStopReplicationAndGetStatusRequest { 22847 22848 /** 22849 * Constructs a new StopReplicationAndGetStatusRequest. 22850 * @param [properties] Properties to set 22851 */ 22852 constructor(properties?: tabletmanagerdata.IStopReplicationAndGetStatusRequest); 22853 22854 /** StopReplicationAndGetStatusRequest stop_replication_mode. */ 22855 public stop_replication_mode: replicationdata.StopReplicationMode; 22856 22857 /** 22858 * Creates a new StopReplicationAndGetStatusRequest instance using the specified properties. 22859 * @param [properties] Properties to set 22860 * @returns StopReplicationAndGetStatusRequest instance 22861 */ 22862 public static create(properties?: tabletmanagerdata.IStopReplicationAndGetStatusRequest): tabletmanagerdata.StopReplicationAndGetStatusRequest; 22863 22864 /** 22865 * Encodes the specified StopReplicationAndGetStatusRequest message. Does not implicitly {@link tabletmanagerdata.StopReplicationAndGetStatusRequest.verify|verify} messages. 22866 * @param message StopReplicationAndGetStatusRequest message or plain object to encode 22867 * @param [writer] Writer to encode to 22868 * @returns Writer 22869 */ 22870 public static encode(message: tabletmanagerdata.IStopReplicationAndGetStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 22871 22872 /** 22873 * Encodes the specified StopReplicationAndGetStatusRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.StopReplicationAndGetStatusRequest.verify|verify} messages. 22874 * @param message StopReplicationAndGetStatusRequest message or plain object to encode 22875 * @param [writer] Writer to encode to 22876 * @returns Writer 22877 */ 22878 public static encodeDelimited(message: tabletmanagerdata.IStopReplicationAndGetStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 22879 22880 /** 22881 * Decodes a StopReplicationAndGetStatusRequest message from the specified reader or buffer. 22882 * @param reader Reader or buffer to decode from 22883 * @param [length] Message length if known beforehand 22884 * @returns StopReplicationAndGetStatusRequest 22885 * @throws {Error} If the payload is not a reader or valid buffer 22886 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22887 */ 22888 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.StopReplicationAndGetStatusRequest; 22889 22890 /** 22891 * Decodes a StopReplicationAndGetStatusRequest message from the specified reader or buffer, length delimited. 22892 * @param reader Reader or buffer to decode from 22893 * @returns StopReplicationAndGetStatusRequest 22894 * @throws {Error} If the payload is not a reader or valid buffer 22895 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22896 */ 22897 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.StopReplicationAndGetStatusRequest; 22898 22899 /** 22900 * Verifies a StopReplicationAndGetStatusRequest message. 22901 * @param message Plain object to verify 22902 * @returns `null` if valid, otherwise the reason why it is not 22903 */ 22904 public static verify(message: { [k: string]: any }): (string|null); 22905 22906 /** 22907 * Creates a StopReplicationAndGetStatusRequest message from a plain object. Also converts values to their respective internal types. 22908 * @param object Plain object 22909 * @returns StopReplicationAndGetStatusRequest 22910 */ 22911 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.StopReplicationAndGetStatusRequest; 22912 22913 /** 22914 * Creates a plain object from a StopReplicationAndGetStatusRequest message. Also converts values to other types if specified. 22915 * @param message StopReplicationAndGetStatusRequest 22916 * @param [options] Conversion options 22917 * @returns Plain object 22918 */ 22919 public static toObject(message: tabletmanagerdata.StopReplicationAndGetStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 22920 22921 /** 22922 * Converts this StopReplicationAndGetStatusRequest to JSON. 22923 * @returns JSON object 22924 */ 22925 public toJSON(): { [k: string]: any }; 22926 } 22927 22928 /** Properties of a StopReplicationAndGetStatusResponse. */ 22929 interface IStopReplicationAndGetStatusResponse { 22930 22931 /** StopReplicationAndGetStatusResponse status */ 22932 status?: (replicationdata.IStopReplicationStatus|null); 22933 } 22934 22935 /** Represents a StopReplicationAndGetStatusResponse. */ 22936 class StopReplicationAndGetStatusResponse implements IStopReplicationAndGetStatusResponse { 22937 22938 /** 22939 * Constructs a new StopReplicationAndGetStatusResponse. 22940 * @param [properties] Properties to set 22941 */ 22942 constructor(properties?: tabletmanagerdata.IStopReplicationAndGetStatusResponse); 22943 22944 /** StopReplicationAndGetStatusResponse status. */ 22945 public status?: (replicationdata.IStopReplicationStatus|null); 22946 22947 /** 22948 * Creates a new StopReplicationAndGetStatusResponse instance using the specified properties. 22949 * @param [properties] Properties to set 22950 * @returns StopReplicationAndGetStatusResponse instance 22951 */ 22952 public static create(properties?: tabletmanagerdata.IStopReplicationAndGetStatusResponse): tabletmanagerdata.StopReplicationAndGetStatusResponse; 22953 22954 /** 22955 * Encodes the specified StopReplicationAndGetStatusResponse message. Does not implicitly {@link tabletmanagerdata.StopReplicationAndGetStatusResponse.verify|verify} messages. 22956 * @param message StopReplicationAndGetStatusResponse message or plain object to encode 22957 * @param [writer] Writer to encode to 22958 * @returns Writer 22959 */ 22960 public static encode(message: tabletmanagerdata.IStopReplicationAndGetStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22961 22962 /** 22963 * Encodes the specified StopReplicationAndGetStatusResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.StopReplicationAndGetStatusResponse.verify|verify} messages. 22964 * @param message StopReplicationAndGetStatusResponse message or plain object to encode 22965 * @param [writer] Writer to encode to 22966 * @returns Writer 22967 */ 22968 public static encodeDelimited(message: tabletmanagerdata.IStopReplicationAndGetStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; 22969 22970 /** 22971 * Decodes a StopReplicationAndGetStatusResponse message from the specified reader or buffer. 22972 * @param reader Reader or buffer to decode from 22973 * @param [length] Message length if known beforehand 22974 * @returns StopReplicationAndGetStatusResponse 22975 * @throws {Error} If the payload is not a reader or valid buffer 22976 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22977 */ 22978 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.StopReplicationAndGetStatusResponse; 22979 22980 /** 22981 * Decodes a StopReplicationAndGetStatusResponse message from the specified reader or buffer, length delimited. 22982 * @param reader Reader or buffer to decode from 22983 * @returns StopReplicationAndGetStatusResponse 22984 * @throws {Error} If the payload is not a reader or valid buffer 22985 * @throws {$protobuf.util.ProtocolError} If required fields are missing 22986 */ 22987 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.StopReplicationAndGetStatusResponse; 22988 22989 /** 22990 * Verifies a StopReplicationAndGetStatusResponse message. 22991 * @param message Plain object to verify 22992 * @returns `null` if valid, otherwise the reason why it is not 22993 */ 22994 public static verify(message: { [k: string]: any }): (string|null); 22995 22996 /** 22997 * Creates a StopReplicationAndGetStatusResponse message from a plain object. Also converts values to their respective internal types. 22998 * @param object Plain object 22999 * @returns StopReplicationAndGetStatusResponse 23000 */ 23001 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.StopReplicationAndGetStatusResponse; 23002 23003 /** 23004 * Creates a plain object from a StopReplicationAndGetStatusResponse message. Also converts values to other types if specified. 23005 * @param message StopReplicationAndGetStatusResponse 23006 * @param [options] Conversion options 23007 * @returns Plain object 23008 */ 23009 public static toObject(message: tabletmanagerdata.StopReplicationAndGetStatusResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 23010 23011 /** 23012 * Converts this StopReplicationAndGetStatusResponse to JSON. 23013 * @returns JSON object 23014 */ 23015 public toJSON(): { [k: string]: any }; 23016 } 23017 23018 /** Properties of a PromoteReplicaRequest. */ 23019 interface IPromoteReplicaRequest { 23020 23021 /** PromoteReplicaRequest semiSync */ 23022 semiSync?: (boolean|null); 23023 } 23024 23025 /** Represents a PromoteReplicaRequest. */ 23026 class PromoteReplicaRequest implements IPromoteReplicaRequest { 23027 23028 /** 23029 * Constructs a new PromoteReplicaRequest. 23030 * @param [properties] Properties to set 23031 */ 23032 constructor(properties?: tabletmanagerdata.IPromoteReplicaRequest); 23033 23034 /** PromoteReplicaRequest semiSync. */ 23035 public semiSync: boolean; 23036 23037 /** 23038 * Creates a new PromoteReplicaRequest instance using the specified properties. 23039 * @param [properties] Properties to set 23040 * @returns PromoteReplicaRequest instance 23041 */ 23042 public static create(properties?: tabletmanagerdata.IPromoteReplicaRequest): tabletmanagerdata.PromoteReplicaRequest; 23043 23044 /** 23045 * Encodes the specified PromoteReplicaRequest message. Does not implicitly {@link tabletmanagerdata.PromoteReplicaRequest.verify|verify} messages. 23046 * @param message PromoteReplicaRequest message or plain object to encode 23047 * @param [writer] Writer to encode to 23048 * @returns Writer 23049 */ 23050 public static encode(message: tabletmanagerdata.IPromoteReplicaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 23051 23052 /** 23053 * Encodes the specified PromoteReplicaRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.PromoteReplicaRequest.verify|verify} messages. 23054 * @param message PromoteReplicaRequest message or plain object to encode 23055 * @param [writer] Writer to encode to 23056 * @returns Writer 23057 */ 23058 public static encodeDelimited(message: tabletmanagerdata.IPromoteReplicaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 23059 23060 /** 23061 * Decodes a PromoteReplicaRequest message from the specified reader or buffer. 23062 * @param reader Reader or buffer to decode from 23063 * @param [length] Message length if known beforehand 23064 * @returns PromoteReplicaRequest 23065 * @throws {Error} If the payload is not a reader or valid buffer 23066 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23067 */ 23068 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PromoteReplicaRequest; 23069 23070 /** 23071 * Decodes a PromoteReplicaRequest message from the specified reader or buffer, length delimited. 23072 * @param reader Reader or buffer to decode from 23073 * @returns PromoteReplicaRequest 23074 * @throws {Error} If the payload is not a reader or valid buffer 23075 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23076 */ 23077 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PromoteReplicaRequest; 23078 23079 /** 23080 * Verifies a PromoteReplicaRequest message. 23081 * @param message Plain object to verify 23082 * @returns `null` if valid, otherwise the reason why it is not 23083 */ 23084 public static verify(message: { [k: string]: any }): (string|null); 23085 23086 /** 23087 * Creates a PromoteReplicaRequest message from a plain object. Also converts values to their respective internal types. 23088 * @param object Plain object 23089 * @returns PromoteReplicaRequest 23090 */ 23091 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PromoteReplicaRequest; 23092 23093 /** 23094 * Creates a plain object from a PromoteReplicaRequest message. Also converts values to other types if specified. 23095 * @param message PromoteReplicaRequest 23096 * @param [options] Conversion options 23097 * @returns Plain object 23098 */ 23099 public static toObject(message: tabletmanagerdata.PromoteReplicaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 23100 23101 /** 23102 * Converts this PromoteReplicaRequest to JSON. 23103 * @returns JSON object 23104 */ 23105 public toJSON(): { [k: string]: any }; 23106 } 23107 23108 /** Properties of a PromoteReplicaResponse. */ 23109 interface IPromoteReplicaResponse { 23110 23111 /** PromoteReplicaResponse position */ 23112 position?: (string|null); 23113 } 23114 23115 /** Represents a PromoteReplicaResponse. */ 23116 class PromoteReplicaResponse implements IPromoteReplicaResponse { 23117 23118 /** 23119 * Constructs a new PromoteReplicaResponse. 23120 * @param [properties] Properties to set 23121 */ 23122 constructor(properties?: tabletmanagerdata.IPromoteReplicaResponse); 23123 23124 /** PromoteReplicaResponse position. */ 23125 public position: string; 23126 23127 /** 23128 * Creates a new PromoteReplicaResponse instance using the specified properties. 23129 * @param [properties] Properties to set 23130 * @returns PromoteReplicaResponse instance 23131 */ 23132 public static create(properties?: tabletmanagerdata.IPromoteReplicaResponse): tabletmanagerdata.PromoteReplicaResponse; 23133 23134 /** 23135 * Encodes the specified PromoteReplicaResponse message. Does not implicitly {@link tabletmanagerdata.PromoteReplicaResponse.verify|verify} messages. 23136 * @param message PromoteReplicaResponse message or plain object to encode 23137 * @param [writer] Writer to encode to 23138 * @returns Writer 23139 */ 23140 public static encode(message: tabletmanagerdata.IPromoteReplicaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 23141 23142 /** 23143 * Encodes the specified PromoteReplicaResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.PromoteReplicaResponse.verify|verify} messages. 23144 * @param message PromoteReplicaResponse message or plain object to encode 23145 * @param [writer] Writer to encode to 23146 * @returns Writer 23147 */ 23148 public static encodeDelimited(message: tabletmanagerdata.IPromoteReplicaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 23149 23150 /** 23151 * Decodes a PromoteReplicaResponse message from the specified reader or buffer. 23152 * @param reader Reader or buffer to decode from 23153 * @param [length] Message length if known beforehand 23154 * @returns PromoteReplicaResponse 23155 * @throws {Error} If the payload is not a reader or valid buffer 23156 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23157 */ 23158 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.PromoteReplicaResponse; 23159 23160 /** 23161 * Decodes a PromoteReplicaResponse message from the specified reader or buffer, length delimited. 23162 * @param reader Reader or buffer to decode from 23163 * @returns PromoteReplicaResponse 23164 * @throws {Error} If the payload is not a reader or valid buffer 23165 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23166 */ 23167 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.PromoteReplicaResponse; 23168 23169 /** 23170 * Verifies a PromoteReplicaResponse message. 23171 * @param message Plain object to verify 23172 * @returns `null` if valid, otherwise the reason why it is not 23173 */ 23174 public static verify(message: { [k: string]: any }): (string|null); 23175 23176 /** 23177 * Creates a PromoteReplicaResponse message from a plain object. Also converts values to their respective internal types. 23178 * @param object Plain object 23179 * @returns PromoteReplicaResponse 23180 */ 23181 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.PromoteReplicaResponse; 23182 23183 /** 23184 * Creates a plain object from a PromoteReplicaResponse message. Also converts values to other types if specified. 23185 * @param message PromoteReplicaResponse 23186 * @param [options] Conversion options 23187 * @returns Plain object 23188 */ 23189 public static toObject(message: tabletmanagerdata.PromoteReplicaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 23190 23191 /** 23192 * Converts this PromoteReplicaResponse to JSON. 23193 * @returns JSON object 23194 */ 23195 public toJSON(): { [k: string]: any }; 23196 } 23197 23198 /** Properties of a BackupRequest. */ 23199 interface IBackupRequest { 23200 23201 /** BackupRequest concurrency */ 23202 concurrency?: (number|Long|null); 23203 23204 /** BackupRequest allow_primary */ 23205 allow_primary?: (boolean|null); 23206 23207 /** BackupRequest incremental_from_pos */ 23208 incremental_from_pos?: (string|null); 23209 } 23210 23211 /** Represents a BackupRequest. */ 23212 class BackupRequest implements IBackupRequest { 23213 23214 /** 23215 * Constructs a new BackupRequest. 23216 * @param [properties] Properties to set 23217 */ 23218 constructor(properties?: tabletmanagerdata.IBackupRequest); 23219 23220 /** BackupRequest concurrency. */ 23221 public concurrency: (number|Long); 23222 23223 /** BackupRequest allow_primary. */ 23224 public allow_primary: boolean; 23225 23226 /** BackupRequest incremental_from_pos. */ 23227 public incremental_from_pos: string; 23228 23229 /** 23230 * Creates a new BackupRequest instance using the specified properties. 23231 * @param [properties] Properties to set 23232 * @returns BackupRequest instance 23233 */ 23234 public static create(properties?: tabletmanagerdata.IBackupRequest): tabletmanagerdata.BackupRequest; 23235 23236 /** 23237 * Encodes the specified BackupRequest message. Does not implicitly {@link tabletmanagerdata.BackupRequest.verify|verify} messages. 23238 * @param message BackupRequest message or plain object to encode 23239 * @param [writer] Writer to encode to 23240 * @returns Writer 23241 */ 23242 public static encode(message: tabletmanagerdata.IBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; 23243 23244 /** 23245 * Encodes the specified BackupRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.BackupRequest.verify|verify} messages. 23246 * @param message BackupRequest message or plain object to encode 23247 * @param [writer] Writer to encode to 23248 * @returns Writer 23249 */ 23250 public static encodeDelimited(message: tabletmanagerdata.IBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; 23251 23252 /** 23253 * Decodes a BackupRequest message from the specified reader or buffer. 23254 * @param reader Reader or buffer to decode from 23255 * @param [length] Message length if known beforehand 23256 * @returns BackupRequest 23257 * @throws {Error} If the payload is not a reader or valid buffer 23258 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23259 */ 23260 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.BackupRequest; 23261 23262 /** 23263 * Decodes a BackupRequest message from the specified reader or buffer, length delimited. 23264 * @param reader Reader or buffer to decode from 23265 * @returns BackupRequest 23266 * @throws {Error} If the payload is not a reader or valid buffer 23267 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23268 */ 23269 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.BackupRequest; 23270 23271 /** 23272 * Verifies a BackupRequest message. 23273 * @param message Plain object to verify 23274 * @returns `null` if valid, otherwise the reason why it is not 23275 */ 23276 public static verify(message: { [k: string]: any }): (string|null); 23277 23278 /** 23279 * Creates a BackupRequest message from a plain object. Also converts values to their respective internal types. 23280 * @param object Plain object 23281 * @returns BackupRequest 23282 */ 23283 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.BackupRequest; 23284 23285 /** 23286 * Creates a plain object from a BackupRequest message. Also converts values to other types if specified. 23287 * @param message BackupRequest 23288 * @param [options] Conversion options 23289 * @returns Plain object 23290 */ 23291 public static toObject(message: tabletmanagerdata.BackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 23292 23293 /** 23294 * Converts this BackupRequest to JSON. 23295 * @returns JSON object 23296 */ 23297 public toJSON(): { [k: string]: any }; 23298 } 23299 23300 /** Properties of a BackupResponse. */ 23301 interface IBackupResponse { 23302 23303 /** BackupResponse event */ 23304 event?: (logutil.IEvent|null); 23305 } 23306 23307 /** Represents a BackupResponse. */ 23308 class BackupResponse implements IBackupResponse { 23309 23310 /** 23311 * Constructs a new BackupResponse. 23312 * @param [properties] Properties to set 23313 */ 23314 constructor(properties?: tabletmanagerdata.IBackupResponse); 23315 23316 /** BackupResponse event. */ 23317 public event?: (logutil.IEvent|null); 23318 23319 /** 23320 * Creates a new BackupResponse instance using the specified properties. 23321 * @param [properties] Properties to set 23322 * @returns BackupResponse instance 23323 */ 23324 public static create(properties?: tabletmanagerdata.IBackupResponse): tabletmanagerdata.BackupResponse; 23325 23326 /** 23327 * Encodes the specified BackupResponse message. Does not implicitly {@link tabletmanagerdata.BackupResponse.verify|verify} messages. 23328 * @param message BackupResponse message or plain object to encode 23329 * @param [writer] Writer to encode to 23330 * @returns Writer 23331 */ 23332 public static encode(message: tabletmanagerdata.IBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; 23333 23334 /** 23335 * Encodes the specified BackupResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.BackupResponse.verify|verify} messages. 23336 * @param message BackupResponse message or plain object to encode 23337 * @param [writer] Writer to encode to 23338 * @returns Writer 23339 */ 23340 public static encodeDelimited(message: tabletmanagerdata.IBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; 23341 23342 /** 23343 * Decodes a BackupResponse message from the specified reader or buffer. 23344 * @param reader Reader or buffer to decode from 23345 * @param [length] Message length if known beforehand 23346 * @returns BackupResponse 23347 * @throws {Error} If the payload is not a reader or valid buffer 23348 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23349 */ 23350 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.BackupResponse; 23351 23352 /** 23353 * Decodes a BackupResponse message from the specified reader or buffer, length delimited. 23354 * @param reader Reader or buffer to decode from 23355 * @returns BackupResponse 23356 * @throws {Error} If the payload is not a reader or valid buffer 23357 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23358 */ 23359 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.BackupResponse; 23360 23361 /** 23362 * Verifies a BackupResponse message. 23363 * @param message Plain object to verify 23364 * @returns `null` if valid, otherwise the reason why it is not 23365 */ 23366 public static verify(message: { [k: string]: any }): (string|null); 23367 23368 /** 23369 * Creates a BackupResponse message from a plain object. Also converts values to their respective internal types. 23370 * @param object Plain object 23371 * @returns BackupResponse 23372 */ 23373 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.BackupResponse; 23374 23375 /** 23376 * Creates a plain object from a BackupResponse message. Also converts values to other types if specified. 23377 * @param message BackupResponse 23378 * @param [options] Conversion options 23379 * @returns Plain object 23380 */ 23381 public static toObject(message: tabletmanagerdata.BackupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 23382 23383 /** 23384 * Converts this BackupResponse to JSON. 23385 * @returns JSON object 23386 */ 23387 public toJSON(): { [k: string]: any }; 23388 } 23389 23390 /** Properties of a RestoreFromBackupRequest. */ 23391 interface IRestoreFromBackupRequest { 23392 23393 /** RestoreFromBackupRequest backup_time */ 23394 backup_time?: (vttime.ITime|null); 23395 23396 /** RestoreFromBackupRequest restore_to_pos */ 23397 restore_to_pos?: (string|null); 23398 23399 /** RestoreFromBackupRequest dry_run */ 23400 dry_run?: (boolean|null); 23401 } 23402 23403 /** Represents a RestoreFromBackupRequest. */ 23404 class RestoreFromBackupRequest implements IRestoreFromBackupRequest { 23405 23406 /** 23407 * Constructs a new RestoreFromBackupRequest. 23408 * @param [properties] Properties to set 23409 */ 23410 constructor(properties?: tabletmanagerdata.IRestoreFromBackupRequest); 23411 23412 /** RestoreFromBackupRequest backup_time. */ 23413 public backup_time?: (vttime.ITime|null); 23414 23415 /** RestoreFromBackupRequest restore_to_pos. */ 23416 public restore_to_pos: string; 23417 23418 /** RestoreFromBackupRequest dry_run. */ 23419 public dry_run: boolean; 23420 23421 /** 23422 * Creates a new RestoreFromBackupRequest instance using the specified properties. 23423 * @param [properties] Properties to set 23424 * @returns RestoreFromBackupRequest instance 23425 */ 23426 public static create(properties?: tabletmanagerdata.IRestoreFromBackupRequest): tabletmanagerdata.RestoreFromBackupRequest; 23427 23428 /** 23429 * Encodes the specified RestoreFromBackupRequest message. Does not implicitly {@link tabletmanagerdata.RestoreFromBackupRequest.verify|verify} messages. 23430 * @param message RestoreFromBackupRequest message or plain object to encode 23431 * @param [writer] Writer to encode to 23432 * @returns Writer 23433 */ 23434 public static encode(message: tabletmanagerdata.IRestoreFromBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; 23435 23436 /** 23437 * Encodes the specified RestoreFromBackupRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.RestoreFromBackupRequest.verify|verify} messages. 23438 * @param message RestoreFromBackupRequest message or plain object to encode 23439 * @param [writer] Writer to encode to 23440 * @returns Writer 23441 */ 23442 public static encodeDelimited(message: tabletmanagerdata.IRestoreFromBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; 23443 23444 /** 23445 * Decodes a RestoreFromBackupRequest message from the specified reader or buffer. 23446 * @param reader Reader or buffer to decode from 23447 * @param [length] Message length if known beforehand 23448 * @returns RestoreFromBackupRequest 23449 * @throws {Error} If the payload is not a reader or valid buffer 23450 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23451 */ 23452 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.RestoreFromBackupRequest; 23453 23454 /** 23455 * Decodes a RestoreFromBackupRequest message from the specified reader or buffer, length delimited. 23456 * @param reader Reader or buffer to decode from 23457 * @returns RestoreFromBackupRequest 23458 * @throws {Error} If the payload is not a reader or valid buffer 23459 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23460 */ 23461 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.RestoreFromBackupRequest; 23462 23463 /** 23464 * Verifies a RestoreFromBackupRequest message. 23465 * @param message Plain object to verify 23466 * @returns `null` if valid, otherwise the reason why it is not 23467 */ 23468 public static verify(message: { [k: string]: any }): (string|null); 23469 23470 /** 23471 * Creates a RestoreFromBackupRequest message from a plain object. Also converts values to their respective internal types. 23472 * @param object Plain object 23473 * @returns RestoreFromBackupRequest 23474 */ 23475 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.RestoreFromBackupRequest; 23476 23477 /** 23478 * Creates a plain object from a RestoreFromBackupRequest message. Also converts values to other types if specified. 23479 * @param message RestoreFromBackupRequest 23480 * @param [options] Conversion options 23481 * @returns Plain object 23482 */ 23483 public static toObject(message: tabletmanagerdata.RestoreFromBackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 23484 23485 /** 23486 * Converts this RestoreFromBackupRequest to JSON. 23487 * @returns JSON object 23488 */ 23489 public toJSON(): { [k: string]: any }; 23490 } 23491 23492 /** Properties of a RestoreFromBackupResponse. */ 23493 interface IRestoreFromBackupResponse { 23494 23495 /** RestoreFromBackupResponse event */ 23496 event?: (logutil.IEvent|null); 23497 } 23498 23499 /** Represents a RestoreFromBackupResponse. */ 23500 class RestoreFromBackupResponse implements IRestoreFromBackupResponse { 23501 23502 /** 23503 * Constructs a new RestoreFromBackupResponse. 23504 * @param [properties] Properties to set 23505 */ 23506 constructor(properties?: tabletmanagerdata.IRestoreFromBackupResponse); 23507 23508 /** RestoreFromBackupResponse event. */ 23509 public event?: (logutil.IEvent|null); 23510 23511 /** 23512 * Creates a new RestoreFromBackupResponse instance using the specified properties. 23513 * @param [properties] Properties to set 23514 * @returns RestoreFromBackupResponse instance 23515 */ 23516 public static create(properties?: tabletmanagerdata.IRestoreFromBackupResponse): tabletmanagerdata.RestoreFromBackupResponse; 23517 23518 /** 23519 * Encodes the specified RestoreFromBackupResponse message. Does not implicitly {@link tabletmanagerdata.RestoreFromBackupResponse.verify|verify} messages. 23520 * @param message RestoreFromBackupResponse message or plain object to encode 23521 * @param [writer] Writer to encode to 23522 * @returns Writer 23523 */ 23524 public static encode(message: tabletmanagerdata.IRestoreFromBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; 23525 23526 /** 23527 * Encodes the specified RestoreFromBackupResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.RestoreFromBackupResponse.verify|verify} messages. 23528 * @param message RestoreFromBackupResponse message or plain object to encode 23529 * @param [writer] Writer to encode to 23530 * @returns Writer 23531 */ 23532 public static encodeDelimited(message: tabletmanagerdata.IRestoreFromBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; 23533 23534 /** 23535 * Decodes a RestoreFromBackupResponse message from the specified reader or buffer. 23536 * @param reader Reader or buffer to decode from 23537 * @param [length] Message length if known beforehand 23538 * @returns RestoreFromBackupResponse 23539 * @throws {Error} If the payload is not a reader or valid buffer 23540 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23541 */ 23542 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.RestoreFromBackupResponse; 23543 23544 /** 23545 * Decodes a RestoreFromBackupResponse message from the specified reader or buffer, length delimited. 23546 * @param reader Reader or buffer to decode from 23547 * @returns RestoreFromBackupResponse 23548 * @throws {Error} If the payload is not a reader or valid buffer 23549 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23550 */ 23551 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.RestoreFromBackupResponse; 23552 23553 /** 23554 * Verifies a RestoreFromBackupResponse message. 23555 * @param message Plain object to verify 23556 * @returns `null` if valid, otherwise the reason why it is not 23557 */ 23558 public static verify(message: { [k: string]: any }): (string|null); 23559 23560 /** 23561 * Creates a RestoreFromBackupResponse message from a plain object. Also converts values to their respective internal types. 23562 * @param object Plain object 23563 * @returns RestoreFromBackupResponse 23564 */ 23565 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.RestoreFromBackupResponse; 23566 23567 /** 23568 * Creates a plain object from a RestoreFromBackupResponse message. Also converts values to other types if specified. 23569 * @param message RestoreFromBackupResponse 23570 * @param [options] Conversion options 23571 * @returns Plain object 23572 */ 23573 public static toObject(message: tabletmanagerdata.RestoreFromBackupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 23574 23575 /** 23576 * Converts this RestoreFromBackupResponse to JSON. 23577 * @returns JSON object 23578 */ 23579 public toJSON(): { [k: string]: any }; 23580 } 23581 23582 /** Properties of a VExecRequest. */ 23583 interface IVExecRequest { 23584 23585 /** VExecRequest query */ 23586 query?: (string|null); 23587 23588 /** VExecRequest workflow */ 23589 workflow?: (string|null); 23590 23591 /** VExecRequest keyspace */ 23592 keyspace?: (string|null); 23593 } 23594 23595 /** Represents a VExecRequest. */ 23596 class VExecRequest implements IVExecRequest { 23597 23598 /** 23599 * Constructs a new VExecRequest. 23600 * @param [properties] Properties to set 23601 */ 23602 constructor(properties?: tabletmanagerdata.IVExecRequest); 23603 23604 /** VExecRequest query. */ 23605 public query: string; 23606 23607 /** VExecRequest workflow. */ 23608 public workflow: string; 23609 23610 /** VExecRequest keyspace. */ 23611 public keyspace: string; 23612 23613 /** 23614 * Creates a new VExecRequest instance using the specified properties. 23615 * @param [properties] Properties to set 23616 * @returns VExecRequest instance 23617 */ 23618 public static create(properties?: tabletmanagerdata.IVExecRequest): tabletmanagerdata.VExecRequest; 23619 23620 /** 23621 * Encodes the specified VExecRequest message. Does not implicitly {@link tabletmanagerdata.VExecRequest.verify|verify} messages. 23622 * @param message VExecRequest message or plain object to encode 23623 * @param [writer] Writer to encode to 23624 * @returns Writer 23625 */ 23626 public static encode(message: tabletmanagerdata.IVExecRequest, writer?: $protobuf.Writer): $protobuf.Writer; 23627 23628 /** 23629 * Encodes the specified VExecRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.VExecRequest.verify|verify} messages. 23630 * @param message VExecRequest message or plain object to encode 23631 * @param [writer] Writer to encode to 23632 * @returns Writer 23633 */ 23634 public static encodeDelimited(message: tabletmanagerdata.IVExecRequest, writer?: $protobuf.Writer): $protobuf.Writer; 23635 23636 /** 23637 * Decodes a VExecRequest message from the specified reader or buffer. 23638 * @param reader Reader or buffer to decode from 23639 * @param [length] Message length if known beforehand 23640 * @returns VExecRequest 23641 * @throws {Error} If the payload is not a reader or valid buffer 23642 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23643 */ 23644 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VExecRequest; 23645 23646 /** 23647 * Decodes a VExecRequest message from the specified reader or buffer, length delimited. 23648 * @param reader Reader or buffer to decode from 23649 * @returns VExecRequest 23650 * @throws {Error} If the payload is not a reader or valid buffer 23651 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23652 */ 23653 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VExecRequest; 23654 23655 /** 23656 * Verifies a VExecRequest message. 23657 * @param message Plain object to verify 23658 * @returns `null` if valid, otherwise the reason why it is not 23659 */ 23660 public static verify(message: { [k: string]: any }): (string|null); 23661 23662 /** 23663 * Creates a VExecRequest message from a plain object. Also converts values to their respective internal types. 23664 * @param object Plain object 23665 * @returns VExecRequest 23666 */ 23667 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VExecRequest; 23668 23669 /** 23670 * Creates a plain object from a VExecRequest message. Also converts values to other types if specified. 23671 * @param message VExecRequest 23672 * @param [options] Conversion options 23673 * @returns Plain object 23674 */ 23675 public static toObject(message: tabletmanagerdata.VExecRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 23676 23677 /** 23678 * Converts this VExecRequest to JSON. 23679 * @returns JSON object 23680 */ 23681 public toJSON(): { [k: string]: any }; 23682 } 23683 23684 /** Properties of a VExecResponse. */ 23685 interface IVExecResponse { 23686 23687 /** VExecResponse result */ 23688 result?: (query.IQueryResult|null); 23689 } 23690 23691 /** Represents a VExecResponse. */ 23692 class VExecResponse implements IVExecResponse { 23693 23694 /** 23695 * Constructs a new VExecResponse. 23696 * @param [properties] Properties to set 23697 */ 23698 constructor(properties?: tabletmanagerdata.IVExecResponse); 23699 23700 /** VExecResponse result. */ 23701 public result?: (query.IQueryResult|null); 23702 23703 /** 23704 * Creates a new VExecResponse instance using the specified properties. 23705 * @param [properties] Properties to set 23706 * @returns VExecResponse instance 23707 */ 23708 public static create(properties?: tabletmanagerdata.IVExecResponse): tabletmanagerdata.VExecResponse; 23709 23710 /** 23711 * Encodes the specified VExecResponse message. Does not implicitly {@link tabletmanagerdata.VExecResponse.verify|verify} messages. 23712 * @param message VExecResponse message or plain object to encode 23713 * @param [writer] Writer to encode to 23714 * @returns Writer 23715 */ 23716 public static encode(message: tabletmanagerdata.IVExecResponse, writer?: $protobuf.Writer): $protobuf.Writer; 23717 23718 /** 23719 * Encodes the specified VExecResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.VExecResponse.verify|verify} messages. 23720 * @param message VExecResponse message or plain object to encode 23721 * @param [writer] Writer to encode to 23722 * @returns Writer 23723 */ 23724 public static encodeDelimited(message: tabletmanagerdata.IVExecResponse, writer?: $protobuf.Writer): $protobuf.Writer; 23725 23726 /** 23727 * Decodes a VExecResponse message from the specified reader or buffer. 23728 * @param reader Reader or buffer to decode from 23729 * @param [length] Message length if known beforehand 23730 * @returns VExecResponse 23731 * @throws {Error} If the payload is not a reader or valid buffer 23732 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23733 */ 23734 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VExecResponse; 23735 23736 /** 23737 * Decodes a VExecResponse message from the specified reader or buffer, length delimited. 23738 * @param reader Reader or buffer to decode from 23739 * @returns VExecResponse 23740 * @throws {Error} If the payload is not a reader or valid buffer 23741 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23742 */ 23743 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VExecResponse; 23744 23745 /** 23746 * Verifies a VExecResponse message. 23747 * @param message Plain object to verify 23748 * @returns `null` if valid, otherwise the reason why it is not 23749 */ 23750 public static verify(message: { [k: string]: any }): (string|null); 23751 23752 /** 23753 * Creates a VExecResponse message from a plain object. Also converts values to their respective internal types. 23754 * @param object Plain object 23755 * @returns VExecResponse 23756 */ 23757 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VExecResponse; 23758 23759 /** 23760 * Creates a plain object from a VExecResponse message. Also converts values to other types if specified. 23761 * @param message VExecResponse 23762 * @param [options] Conversion options 23763 * @returns Plain object 23764 */ 23765 public static toObject(message: tabletmanagerdata.VExecResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 23766 23767 /** 23768 * Converts this VExecResponse to JSON. 23769 * @returns JSON object 23770 */ 23771 public toJSON(): { [k: string]: any }; 23772 } 23773 23774 /** Properties of a VDiffRequest. */ 23775 interface IVDiffRequest { 23776 23777 /** VDiffRequest keyspace */ 23778 keyspace?: (string|null); 23779 23780 /** VDiffRequest workflow */ 23781 workflow?: (string|null); 23782 23783 /** VDiffRequest action */ 23784 action?: (string|null); 23785 23786 /** VDiffRequest action_arg */ 23787 action_arg?: (string|null); 23788 23789 /** VDiffRequest vdiff_uuid */ 23790 vdiff_uuid?: (string|null); 23791 23792 /** VDiffRequest options */ 23793 options?: (tabletmanagerdata.IVDiffOptions|null); 23794 } 23795 23796 /** Represents a VDiffRequest. */ 23797 class VDiffRequest implements IVDiffRequest { 23798 23799 /** 23800 * Constructs a new VDiffRequest. 23801 * @param [properties] Properties to set 23802 */ 23803 constructor(properties?: tabletmanagerdata.IVDiffRequest); 23804 23805 /** VDiffRequest keyspace. */ 23806 public keyspace: string; 23807 23808 /** VDiffRequest workflow. */ 23809 public workflow: string; 23810 23811 /** VDiffRequest action. */ 23812 public action: string; 23813 23814 /** VDiffRequest action_arg. */ 23815 public action_arg: string; 23816 23817 /** VDiffRequest vdiff_uuid. */ 23818 public vdiff_uuid: string; 23819 23820 /** VDiffRequest options. */ 23821 public options?: (tabletmanagerdata.IVDiffOptions|null); 23822 23823 /** 23824 * Creates a new VDiffRequest instance using the specified properties. 23825 * @param [properties] Properties to set 23826 * @returns VDiffRequest instance 23827 */ 23828 public static create(properties?: tabletmanagerdata.IVDiffRequest): tabletmanagerdata.VDiffRequest; 23829 23830 /** 23831 * Encodes the specified VDiffRequest message. Does not implicitly {@link tabletmanagerdata.VDiffRequest.verify|verify} messages. 23832 * @param message VDiffRequest message or plain object to encode 23833 * @param [writer] Writer to encode to 23834 * @returns Writer 23835 */ 23836 public static encode(message: tabletmanagerdata.IVDiffRequest, writer?: $protobuf.Writer): $protobuf.Writer; 23837 23838 /** 23839 * Encodes the specified VDiffRequest message, length delimited. Does not implicitly {@link tabletmanagerdata.VDiffRequest.verify|verify} messages. 23840 * @param message VDiffRequest message or plain object to encode 23841 * @param [writer] Writer to encode to 23842 * @returns Writer 23843 */ 23844 public static encodeDelimited(message: tabletmanagerdata.IVDiffRequest, writer?: $protobuf.Writer): $protobuf.Writer; 23845 23846 /** 23847 * Decodes a VDiffRequest message from the specified reader or buffer. 23848 * @param reader Reader or buffer to decode from 23849 * @param [length] Message length if known beforehand 23850 * @returns VDiffRequest 23851 * @throws {Error} If the payload is not a reader or valid buffer 23852 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23853 */ 23854 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VDiffRequest; 23855 23856 /** 23857 * Decodes a VDiffRequest message from the specified reader or buffer, length delimited. 23858 * @param reader Reader or buffer to decode from 23859 * @returns VDiffRequest 23860 * @throws {Error} If the payload is not a reader or valid buffer 23861 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23862 */ 23863 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VDiffRequest; 23864 23865 /** 23866 * Verifies a VDiffRequest message. 23867 * @param message Plain object to verify 23868 * @returns `null` if valid, otherwise the reason why it is not 23869 */ 23870 public static verify(message: { [k: string]: any }): (string|null); 23871 23872 /** 23873 * Creates a VDiffRequest message from a plain object. Also converts values to their respective internal types. 23874 * @param object Plain object 23875 * @returns VDiffRequest 23876 */ 23877 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VDiffRequest; 23878 23879 /** 23880 * Creates a plain object from a VDiffRequest message. Also converts values to other types if specified. 23881 * @param message VDiffRequest 23882 * @param [options] Conversion options 23883 * @returns Plain object 23884 */ 23885 public static toObject(message: tabletmanagerdata.VDiffRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 23886 23887 /** 23888 * Converts this VDiffRequest to JSON. 23889 * @returns JSON object 23890 */ 23891 public toJSON(): { [k: string]: any }; 23892 } 23893 23894 /** Properties of a VDiffResponse. */ 23895 interface IVDiffResponse { 23896 23897 /** VDiffResponse id */ 23898 id?: (number|Long|null); 23899 23900 /** VDiffResponse output */ 23901 output?: (query.IQueryResult|null); 23902 23903 /** VDiffResponse vdiff_uuid */ 23904 vdiff_uuid?: (string|null); 23905 } 23906 23907 /** Represents a VDiffResponse. */ 23908 class VDiffResponse implements IVDiffResponse { 23909 23910 /** 23911 * Constructs a new VDiffResponse. 23912 * @param [properties] Properties to set 23913 */ 23914 constructor(properties?: tabletmanagerdata.IVDiffResponse); 23915 23916 /** VDiffResponse id. */ 23917 public id: (number|Long); 23918 23919 /** VDiffResponse output. */ 23920 public output?: (query.IQueryResult|null); 23921 23922 /** VDiffResponse vdiff_uuid. */ 23923 public vdiff_uuid: string; 23924 23925 /** 23926 * Creates a new VDiffResponse instance using the specified properties. 23927 * @param [properties] Properties to set 23928 * @returns VDiffResponse instance 23929 */ 23930 public static create(properties?: tabletmanagerdata.IVDiffResponse): tabletmanagerdata.VDiffResponse; 23931 23932 /** 23933 * Encodes the specified VDiffResponse message. Does not implicitly {@link tabletmanagerdata.VDiffResponse.verify|verify} messages. 23934 * @param message VDiffResponse message or plain object to encode 23935 * @param [writer] Writer to encode to 23936 * @returns Writer 23937 */ 23938 public static encode(message: tabletmanagerdata.IVDiffResponse, writer?: $protobuf.Writer): $protobuf.Writer; 23939 23940 /** 23941 * Encodes the specified VDiffResponse message, length delimited. Does not implicitly {@link tabletmanagerdata.VDiffResponse.verify|verify} messages. 23942 * @param message VDiffResponse message or plain object to encode 23943 * @param [writer] Writer to encode to 23944 * @returns Writer 23945 */ 23946 public static encodeDelimited(message: tabletmanagerdata.IVDiffResponse, writer?: $protobuf.Writer): $protobuf.Writer; 23947 23948 /** 23949 * Decodes a VDiffResponse message from the specified reader or buffer. 23950 * @param reader Reader or buffer to decode from 23951 * @param [length] Message length if known beforehand 23952 * @returns VDiffResponse 23953 * @throws {Error} If the payload is not a reader or valid buffer 23954 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23955 */ 23956 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VDiffResponse; 23957 23958 /** 23959 * Decodes a VDiffResponse message from the specified reader or buffer, length delimited. 23960 * @param reader Reader or buffer to decode from 23961 * @returns VDiffResponse 23962 * @throws {Error} If the payload is not a reader or valid buffer 23963 * @throws {$protobuf.util.ProtocolError} If required fields are missing 23964 */ 23965 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VDiffResponse; 23966 23967 /** 23968 * Verifies a VDiffResponse message. 23969 * @param message Plain object to verify 23970 * @returns `null` if valid, otherwise the reason why it is not 23971 */ 23972 public static verify(message: { [k: string]: any }): (string|null); 23973 23974 /** 23975 * Creates a VDiffResponse message from a plain object. Also converts values to their respective internal types. 23976 * @param object Plain object 23977 * @returns VDiffResponse 23978 */ 23979 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VDiffResponse; 23980 23981 /** 23982 * Creates a plain object from a VDiffResponse message. Also converts values to other types if specified. 23983 * @param message VDiffResponse 23984 * @param [options] Conversion options 23985 * @returns Plain object 23986 */ 23987 public static toObject(message: tabletmanagerdata.VDiffResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 23988 23989 /** 23990 * Converts this VDiffResponse to JSON. 23991 * @returns JSON object 23992 */ 23993 public toJSON(): { [k: string]: any }; 23994 } 23995 23996 /** Properties of a VDiffPickerOptions. */ 23997 interface IVDiffPickerOptions { 23998 23999 /** VDiffPickerOptions tablet_types */ 24000 tablet_types?: (string|null); 24001 24002 /** VDiffPickerOptions source_cell */ 24003 source_cell?: (string|null); 24004 24005 /** VDiffPickerOptions target_cell */ 24006 target_cell?: (string|null); 24007 } 24008 24009 /** Represents a VDiffPickerOptions. */ 24010 class VDiffPickerOptions implements IVDiffPickerOptions { 24011 24012 /** 24013 * Constructs a new VDiffPickerOptions. 24014 * @param [properties] Properties to set 24015 */ 24016 constructor(properties?: tabletmanagerdata.IVDiffPickerOptions); 24017 24018 /** VDiffPickerOptions tablet_types. */ 24019 public tablet_types: string; 24020 24021 /** VDiffPickerOptions source_cell. */ 24022 public source_cell: string; 24023 24024 /** VDiffPickerOptions target_cell. */ 24025 public target_cell: string; 24026 24027 /** 24028 * Creates a new VDiffPickerOptions instance using the specified properties. 24029 * @param [properties] Properties to set 24030 * @returns VDiffPickerOptions instance 24031 */ 24032 public static create(properties?: tabletmanagerdata.IVDiffPickerOptions): tabletmanagerdata.VDiffPickerOptions; 24033 24034 /** 24035 * Encodes the specified VDiffPickerOptions message. Does not implicitly {@link tabletmanagerdata.VDiffPickerOptions.verify|verify} messages. 24036 * @param message VDiffPickerOptions message or plain object to encode 24037 * @param [writer] Writer to encode to 24038 * @returns Writer 24039 */ 24040 public static encode(message: tabletmanagerdata.IVDiffPickerOptions, writer?: $protobuf.Writer): $protobuf.Writer; 24041 24042 /** 24043 * Encodes the specified VDiffPickerOptions message, length delimited. Does not implicitly {@link tabletmanagerdata.VDiffPickerOptions.verify|verify} messages. 24044 * @param message VDiffPickerOptions message or plain object to encode 24045 * @param [writer] Writer to encode to 24046 * @returns Writer 24047 */ 24048 public static encodeDelimited(message: tabletmanagerdata.IVDiffPickerOptions, writer?: $protobuf.Writer): $protobuf.Writer; 24049 24050 /** 24051 * Decodes a VDiffPickerOptions message from the specified reader or buffer. 24052 * @param reader Reader or buffer to decode from 24053 * @param [length] Message length if known beforehand 24054 * @returns VDiffPickerOptions 24055 * @throws {Error} If the payload is not a reader or valid buffer 24056 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24057 */ 24058 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VDiffPickerOptions; 24059 24060 /** 24061 * Decodes a VDiffPickerOptions message from the specified reader or buffer, length delimited. 24062 * @param reader Reader or buffer to decode from 24063 * @returns VDiffPickerOptions 24064 * @throws {Error} If the payload is not a reader or valid buffer 24065 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24066 */ 24067 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VDiffPickerOptions; 24068 24069 /** 24070 * Verifies a VDiffPickerOptions message. 24071 * @param message Plain object to verify 24072 * @returns `null` if valid, otherwise the reason why it is not 24073 */ 24074 public static verify(message: { [k: string]: any }): (string|null); 24075 24076 /** 24077 * Creates a VDiffPickerOptions message from a plain object. Also converts values to their respective internal types. 24078 * @param object Plain object 24079 * @returns VDiffPickerOptions 24080 */ 24081 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VDiffPickerOptions; 24082 24083 /** 24084 * Creates a plain object from a VDiffPickerOptions message. Also converts values to other types if specified. 24085 * @param message VDiffPickerOptions 24086 * @param [options] Conversion options 24087 * @returns Plain object 24088 */ 24089 public static toObject(message: tabletmanagerdata.VDiffPickerOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; 24090 24091 /** 24092 * Converts this VDiffPickerOptions to JSON. 24093 * @returns JSON object 24094 */ 24095 public toJSON(): { [k: string]: any }; 24096 } 24097 24098 /** Properties of a VDiffReportOptions. */ 24099 interface IVDiffReportOptions { 24100 24101 /** VDiffReportOptions only_pks */ 24102 only_pks?: (boolean|null); 24103 24104 /** VDiffReportOptions debug_query */ 24105 debug_query?: (boolean|null); 24106 24107 /** VDiffReportOptions format */ 24108 format?: (string|null); 24109 } 24110 24111 /** Represents a VDiffReportOptions. */ 24112 class VDiffReportOptions implements IVDiffReportOptions { 24113 24114 /** 24115 * Constructs a new VDiffReportOptions. 24116 * @param [properties] Properties to set 24117 */ 24118 constructor(properties?: tabletmanagerdata.IVDiffReportOptions); 24119 24120 /** VDiffReportOptions only_pks. */ 24121 public only_pks: boolean; 24122 24123 /** VDiffReportOptions debug_query. */ 24124 public debug_query: boolean; 24125 24126 /** VDiffReportOptions format. */ 24127 public format: string; 24128 24129 /** 24130 * Creates a new VDiffReportOptions instance using the specified properties. 24131 * @param [properties] Properties to set 24132 * @returns VDiffReportOptions instance 24133 */ 24134 public static create(properties?: tabletmanagerdata.IVDiffReportOptions): tabletmanagerdata.VDiffReportOptions; 24135 24136 /** 24137 * Encodes the specified VDiffReportOptions message. Does not implicitly {@link tabletmanagerdata.VDiffReportOptions.verify|verify} messages. 24138 * @param message VDiffReportOptions message or plain object to encode 24139 * @param [writer] Writer to encode to 24140 * @returns Writer 24141 */ 24142 public static encode(message: tabletmanagerdata.IVDiffReportOptions, writer?: $protobuf.Writer): $protobuf.Writer; 24143 24144 /** 24145 * Encodes the specified VDiffReportOptions message, length delimited. Does not implicitly {@link tabletmanagerdata.VDiffReportOptions.verify|verify} messages. 24146 * @param message VDiffReportOptions message or plain object to encode 24147 * @param [writer] Writer to encode to 24148 * @returns Writer 24149 */ 24150 public static encodeDelimited(message: tabletmanagerdata.IVDiffReportOptions, writer?: $protobuf.Writer): $protobuf.Writer; 24151 24152 /** 24153 * Decodes a VDiffReportOptions message from the specified reader or buffer. 24154 * @param reader Reader or buffer to decode from 24155 * @param [length] Message length if known beforehand 24156 * @returns VDiffReportOptions 24157 * @throws {Error} If the payload is not a reader or valid buffer 24158 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24159 */ 24160 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VDiffReportOptions; 24161 24162 /** 24163 * Decodes a VDiffReportOptions message from the specified reader or buffer, length delimited. 24164 * @param reader Reader or buffer to decode from 24165 * @returns VDiffReportOptions 24166 * @throws {Error} If the payload is not a reader or valid buffer 24167 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24168 */ 24169 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VDiffReportOptions; 24170 24171 /** 24172 * Verifies a VDiffReportOptions message. 24173 * @param message Plain object to verify 24174 * @returns `null` if valid, otherwise the reason why it is not 24175 */ 24176 public static verify(message: { [k: string]: any }): (string|null); 24177 24178 /** 24179 * Creates a VDiffReportOptions message from a plain object. Also converts values to their respective internal types. 24180 * @param object Plain object 24181 * @returns VDiffReportOptions 24182 */ 24183 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VDiffReportOptions; 24184 24185 /** 24186 * Creates a plain object from a VDiffReportOptions message. Also converts values to other types if specified. 24187 * @param message VDiffReportOptions 24188 * @param [options] Conversion options 24189 * @returns Plain object 24190 */ 24191 public static toObject(message: tabletmanagerdata.VDiffReportOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; 24192 24193 /** 24194 * Converts this VDiffReportOptions to JSON. 24195 * @returns JSON object 24196 */ 24197 public toJSON(): { [k: string]: any }; 24198 } 24199 24200 /** Properties of a VDiffCoreOptions. */ 24201 interface IVDiffCoreOptions { 24202 24203 /** VDiffCoreOptions tables */ 24204 tables?: (string|null); 24205 24206 /** VDiffCoreOptions auto_retry */ 24207 auto_retry?: (boolean|null); 24208 24209 /** VDiffCoreOptions max_rows */ 24210 max_rows?: (number|Long|null); 24211 24212 /** VDiffCoreOptions checksum */ 24213 checksum?: (boolean|null); 24214 24215 /** VDiffCoreOptions sample_pct */ 24216 sample_pct?: (number|Long|null); 24217 24218 /** VDiffCoreOptions timeout_seconds */ 24219 timeout_seconds?: (number|Long|null); 24220 24221 /** VDiffCoreOptions max_extra_rows_to_compare */ 24222 max_extra_rows_to_compare?: (number|Long|null); 24223 } 24224 24225 /** Represents a VDiffCoreOptions. */ 24226 class VDiffCoreOptions implements IVDiffCoreOptions { 24227 24228 /** 24229 * Constructs a new VDiffCoreOptions. 24230 * @param [properties] Properties to set 24231 */ 24232 constructor(properties?: tabletmanagerdata.IVDiffCoreOptions); 24233 24234 /** VDiffCoreOptions tables. */ 24235 public tables: string; 24236 24237 /** VDiffCoreOptions auto_retry. */ 24238 public auto_retry: boolean; 24239 24240 /** VDiffCoreOptions max_rows. */ 24241 public max_rows: (number|Long); 24242 24243 /** VDiffCoreOptions checksum. */ 24244 public checksum: boolean; 24245 24246 /** VDiffCoreOptions sample_pct. */ 24247 public sample_pct: (number|Long); 24248 24249 /** VDiffCoreOptions timeout_seconds. */ 24250 public timeout_seconds: (number|Long); 24251 24252 /** VDiffCoreOptions max_extra_rows_to_compare. */ 24253 public max_extra_rows_to_compare: (number|Long); 24254 24255 /** 24256 * Creates a new VDiffCoreOptions instance using the specified properties. 24257 * @param [properties] Properties to set 24258 * @returns VDiffCoreOptions instance 24259 */ 24260 public static create(properties?: tabletmanagerdata.IVDiffCoreOptions): tabletmanagerdata.VDiffCoreOptions; 24261 24262 /** 24263 * Encodes the specified VDiffCoreOptions message. Does not implicitly {@link tabletmanagerdata.VDiffCoreOptions.verify|verify} messages. 24264 * @param message VDiffCoreOptions message or plain object to encode 24265 * @param [writer] Writer to encode to 24266 * @returns Writer 24267 */ 24268 public static encode(message: tabletmanagerdata.IVDiffCoreOptions, writer?: $protobuf.Writer): $protobuf.Writer; 24269 24270 /** 24271 * Encodes the specified VDiffCoreOptions message, length delimited. Does not implicitly {@link tabletmanagerdata.VDiffCoreOptions.verify|verify} messages. 24272 * @param message VDiffCoreOptions message or plain object to encode 24273 * @param [writer] Writer to encode to 24274 * @returns Writer 24275 */ 24276 public static encodeDelimited(message: tabletmanagerdata.IVDiffCoreOptions, writer?: $protobuf.Writer): $protobuf.Writer; 24277 24278 /** 24279 * Decodes a VDiffCoreOptions message from the specified reader or buffer. 24280 * @param reader Reader or buffer to decode from 24281 * @param [length] Message length if known beforehand 24282 * @returns VDiffCoreOptions 24283 * @throws {Error} If the payload is not a reader or valid buffer 24284 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24285 */ 24286 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VDiffCoreOptions; 24287 24288 /** 24289 * Decodes a VDiffCoreOptions message from the specified reader or buffer, length delimited. 24290 * @param reader Reader or buffer to decode from 24291 * @returns VDiffCoreOptions 24292 * @throws {Error} If the payload is not a reader or valid buffer 24293 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24294 */ 24295 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VDiffCoreOptions; 24296 24297 /** 24298 * Verifies a VDiffCoreOptions message. 24299 * @param message Plain object to verify 24300 * @returns `null` if valid, otherwise the reason why it is not 24301 */ 24302 public static verify(message: { [k: string]: any }): (string|null); 24303 24304 /** 24305 * Creates a VDiffCoreOptions message from a plain object. Also converts values to their respective internal types. 24306 * @param object Plain object 24307 * @returns VDiffCoreOptions 24308 */ 24309 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VDiffCoreOptions; 24310 24311 /** 24312 * Creates a plain object from a VDiffCoreOptions message. Also converts values to other types if specified. 24313 * @param message VDiffCoreOptions 24314 * @param [options] Conversion options 24315 * @returns Plain object 24316 */ 24317 public static toObject(message: tabletmanagerdata.VDiffCoreOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; 24318 24319 /** 24320 * Converts this VDiffCoreOptions to JSON. 24321 * @returns JSON object 24322 */ 24323 public toJSON(): { [k: string]: any }; 24324 } 24325 24326 /** Properties of a VDiffOptions. */ 24327 interface IVDiffOptions { 24328 24329 /** VDiffOptions picker_options */ 24330 picker_options?: (tabletmanagerdata.IVDiffPickerOptions|null); 24331 24332 /** VDiffOptions core_options */ 24333 core_options?: (tabletmanagerdata.IVDiffCoreOptions|null); 24334 24335 /** VDiffOptions report_options */ 24336 report_options?: (tabletmanagerdata.IVDiffReportOptions|null); 24337 } 24338 24339 /** Represents a VDiffOptions. */ 24340 class VDiffOptions implements IVDiffOptions { 24341 24342 /** 24343 * Constructs a new VDiffOptions. 24344 * @param [properties] Properties to set 24345 */ 24346 constructor(properties?: tabletmanagerdata.IVDiffOptions); 24347 24348 /** VDiffOptions picker_options. */ 24349 public picker_options?: (tabletmanagerdata.IVDiffPickerOptions|null); 24350 24351 /** VDiffOptions core_options. */ 24352 public core_options?: (tabletmanagerdata.IVDiffCoreOptions|null); 24353 24354 /** VDiffOptions report_options. */ 24355 public report_options?: (tabletmanagerdata.IVDiffReportOptions|null); 24356 24357 /** 24358 * Creates a new VDiffOptions instance using the specified properties. 24359 * @param [properties] Properties to set 24360 * @returns VDiffOptions instance 24361 */ 24362 public static create(properties?: tabletmanagerdata.IVDiffOptions): tabletmanagerdata.VDiffOptions; 24363 24364 /** 24365 * Encodes the specified VDiffOptions message. Does not implicitly {@link tabletmanagerdata.VDiffOptions.verify|verify} messages. 24366 * @param message VDiffOptions message or plain object to encode 24367 * @param [writer] Writer to encode to 24368 * @returns Writer 24369 */ 24370 public static encode(message: tabletmanagerdata.IVDiffOptions, writer?: $protobuf.Writer): $protobuf.Writer; 24371 24372 /** 24373 * Encodes the specified VDiffOptions message, length delimited. Does not implicitly {@link tabletmanagerdata.VDiffOptions.verify|verify} messages. 24374 * @param message VDiffOptions message or plain object to encode 24375 * @param [writer] Writer to encode to 24376 * @returns Writer 24377 */ 24378 public static encodeDelimited(message: tabletmanagerdata.IVDiffOptions, writer?: $protobuf.Writer): $protobuf.Writer; 24379 24380 /** 24381 * Decodes a VDiffOptions message from the specified reader or buffer. 24382 * @param reader Reader or buffer to decode from 24383 * @param [length] Message length if known beforehand 24384 * @returns VDiffOptions 24385 * @throws {Error} If the payload is not a reader or valid buffer 24386 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24387 */ 24388 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): tabletmanagerdata.VDiffOptions; 24389 24390 /** 24391 * Decodes a VDiffOptions message from the specified reader or buffer, length delimited. 24392 * @param reader Reader or buffer to decode from 24393 * @returns VDiffOptions 24394 * @throws {Error} If the payload is not a reader or valid buffer 24395 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24396 */ 24397 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): tabletmanagerdata.VDiffOptions; 24398 24399 /** 24400 * Verifies a VDiffOptions message. 24401 * @param message Plain object to verify 24402 * @returns `null` if valid, otherwise the reason why it is not 24403 */ 24404 public static verify(message: { [k: string]: any }): (string|null); 24405 24406 /** 24407 * Creates a VDiffOptions message from a plain object. Also converts values to their respective internal types. 24408 * @param object Plain object 24409 * @returns VDiffOptions 24410 */ 24411 public static fromObject(object: { [k: string]: any }): tabletmanagerdata.VDiffOptions; 24412 24413 /** 24414 * Creates a plain object from a VDiffOptions message. Also converts values to other types if specified. 24415 * @param message VDiffOptions 24416 * @param [options] Conversion options 24417 * @returns Plain object 24418 */ 24419 public static toObject(message: tabletmanagerdata.VDiffOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; 24420 24421 /** 24422 * Converts this VDiffOptions to JSON. 24423 * @returns JSON object 24424 */ 24425 public toJSON(): { [k: string]: any }; 24426 } 24427 } 24428 24429 /** Namespace query. */ 24430 export namespace query { 24431 24432 /** Properties of a Target. */ 24433 interface ITarget { 24434 24435 /** Target keyspace */ 24436 keyspace?: (string|null); 24437 24438 /** Target shard */ 24439 shard?: (string|null); 24440 24441 /** Target tablet_type */ 24442 tablet_type?: (topodata.TabletType|null); 24443 24444 /** Target cell */ 24445 cell?: (string|null); 24446 } 24447 24448 /** Represents a Target. */ 24449 class Target implements ITarget { 24450 24451 /** 24452 * Constructs a new Target. 24453 * @param [properties] Properties to set 24454 */ 24455 constructor(properties?: query.ITarget); 24456 24457 /** Target keyspace. */ 24458 public keyspace: string; 24459 24460 /** Target shard. */ 24461 public shard: string; 24462 24463 /** Target tablet_type. */ 24464 public tablet_type: topodata.TabletType; 24465 24466 /** Target cell. */ 24467 public cell: string; 24468 24469 /** 24470 * Creates a new Target instance using the specified properties. 24471 * @param [properties] Properties to set 24472 * @returns Target instance 24473 */ 24474 public static create(properties?: query.ITarget): query.Target; 24475 24476 /** 24477 * Encodes the specified Target message. Does not implicitly {@link query.Target.verify|verify} messages. 24478 * @param message Target message or plain object to encode 24479 * @param [writer] Writer to encode to 24480 * @returns Writer 24481 */ 24482 public static encode(message: query.ITarget, writer?: $protobuf.Writer): $protobuf.Writer; 24483 24484 /** 24485 * Encodes the specified Target message, length delimited. Does not implicitly {@link query.Target.verify|verify} messages. 24486 * @param message Target message or plain object to encode 24487 * @param [writer] Writer to encode to 24488 * @returns Writer 24489 */ 24490 public static encodeDelimited(message: query.ITarget, writer?: $protobuf.Writer): $protobuf.Writer; 24491 24492 /** 24493 * Decodes a Target message from the specified reader or buffer. 24494 * @param reader Reader or buffer to decode from 24495 * @param [length] Message length if known beforehand 24496 * @returns Target 24497 * @throws {Error} If the payload is not a reader or valid buffer 24498 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24499 */ 24500 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Target; 24501 24502 /** 24503 * Decodes a Target message from the specified reader or buffer, length delimited. 24504 * @param reader Reader or buffer to decode from 24505 * @returns Target 24506 * @throws {Error} If the payload is not a reader or valid buffer 24507 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24508 */ 24509 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Target; 24510 24511 /** 24512 * Verifies a Target message. 24513 * @param message Plain object to verify 24514 * @returns `null` if valid, otherwise the reason why it is not 24515 */ 24516 public static verify(message: { [k: string]: any }): (string|null); 24517 24518 /** 24519 * Creates a Target message from a plain object. Also converts values to their respective internal types. 24520 * @param object Plain object 24521 * @returns Target 24522 */ 24523 public static fromObject(object: { [k: string]: any }): query.Target; 24524 24525 /** 24526 * Creates a plain object from a Target message. Also converts values to other types if specified. 24527 * @param message Target 24528 * @param [options] Conversion options 24529 * @returns Plain object 24530 */ 24531 public static toObject(message: query.Target, options?: $protobuf.IConversionOptions): { [k: string]: any }; 24532 24533 /** 24534 * Converts this Target to JSON. 24535 * @returns JSON object 24536 */ 24537 public toJSON(): { [k: string]: any }; 24538 } 24539 24540 /** Properties of a VTGateCallerID. */ 24541 interface IVTGateCallerID { 24542 24543 /** VTGateCallerID username */ 24544 username?: (string|null); 24545 24546 /** VTGateCallerID groups */ 24547 groups?: (string[]|null); 24548 } 24549 24550 /** Represents a VTGateCallerID. */ 24551 class VTGateCallerID implements IVTGateCallerID { 24552 24553 /** 24554 * Constructs a new VTGateCallerID. 24555 * @param [properties] Properties to set 24556 */ 24557 constructor(properties?: query.IVTGateCallerID); 24558 24559 /** VTGateCallerID username. */ 24560 public username: string; 24561 24562 /** VTGateCallerID groups. */ 24563 public groups: string[]; 24564 24565 /** 24566 * Creates a new VTGateCallerID instance using the specified properties. 24567 * @param [properties] Properties to set 24568 * @returns VTGateCallerID instance 24569 */ 24570 public static create(properties?: query.IVTGateCallerID): query.VTGateCallerID; 24571 24572 /** 24573 * Encodes the specified VTGateCallerID message. Does not implicitly {@link query.VTGateCallerID.verify|verify} messages. 24574 * @param message VTGateCallerID message or plain object to encode 24575 * @param [writer] Writer to encode to 24576 * @returns Writer 24577 */ 24578 public static encode(message: query.IVTGateCallerID, writer?: $protobuf.Writer): $protobuf.Writer; 24579 24580 /** 24581 * Encodes the specified VTGateCallerID message, length delimited. Does not implicitly {@link query.VTGateCallerID.verify|verify} messages. 24582 * @param message VTGateCallerID message or plain object to encode 24583 * @param [writer] Writer to encode to 24584 * @returns Writer 24585 */ 24586 public static encodeDelimited(message: query.IVTGateCallerID, writer?: $protobuf.Writer): $protobuf.Writer; 24587 24588 /** 24589 * Decodes a VTGateCallerID message from the specified reader or buffer. 24590 * @param reader Reader or buffer to decode from 24591 * @param [length] Message length if known beforehand 24592 * @returns VTGateCallerID 24593 * @throws {Error} If the payload is not a reader or valid buffer 24594 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24595 */ 24596 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.VTGateCallerID; 24597 24598 /** 24599 * Decodes a VTGateCallerID message from the specified reader or buffer, length delimited. 24600 * @param reader Reader or buffer to decode from 24601 * @returns VTGateCallerID 24602 * @throws {Error} If the payload is not a reader or valid buffer 24603 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24604 */ 24605 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.VTGateCallerID; 24606 24607 /** 24608 * Verifies a VTGateCallerID message. 24609 * @param message Plain object to verify 24610 * @returns `null` if valid, otherwise the reason why it is not 24611 */ 24612 public static verify(message: { [k: string]: any }): (string|null); 24613 24614 /** 24615 * Creates a VTGateCallerID message from a plain object. Also converts values to their respective internal types. 24616 * @param object Plain object 24617 * @returns VTGateCallerID 24618 */ 24619 public static fromObject(object: { [k: string]: any }): query.VTGateCallerID; 24620 24621 /** 24622 * Creates a plain object from a VTGateCallerID message. Also converts values to other types if specified. 24623 * @param message VTGateCallerID 24624 * @param [options] Conversion options 24625 * @returns Plain object 24626 */ 24627 public static toObject(message: query.VTGateCallerID, options?: $protobuf.IConversionOptions): { [k: string]: any }; 24628 24629 /** 24630 * Converts this VTGateCallerID to JSON. 24631 * @returns JSON object 24632 */ 24633 public toJSON(): { [k: string]: any }; 24634 } 24635 24636 /** Properties of an EventToken. */ 24637 interface IEventToken { 24638 24639 /** EventToken timestamp */ 24640 timestamp?: (number|Long|null); 24641 24642 /** EventToken shard */ 24643 shard?: (string|null); 24644 24645 /** EventToken position */ 24646 position?: (string|null); 24647 } 24648 24649 /** Represents an EventToken. */ 24650 class EventToken implements IEventToken { 24651 24652 /** 24653 * Constructs a new EventToken. 24654 * @param [properties] Properties to set 24655 */ 24656 constructor(properties?: query.IEventToken); 24657 24658 /** EventToken timestamp. */ 24659 public timestamp: (number|Long); 24660 24661 /** EventToken shard. */ 24662 public shard: string; 24663 24664 /** EventToken position. */ 24665 public position: string; 24666 24667 /** 24668 * Creates a new EventToken instance using the specified properties. 24669 * @param [properties] Properties to set 24670 * @returns EventToken instance 24671 */ 24672 public static create(properties?: query.IEventToken): query.EventToken; 24673 24674 /** 24675 * Encodes the specified EventToken message. Does not implicitly {@link query.EventToken.verify|verify} messages. 24676 * @param message EventToken message or plain object to encode 24677 * @param [writer] Writer to encode to 24678 * @returns Writer 24679 */ 24680 public static encode(message: query.IEventToken, writer?: $protobuf.Writer): $protobuf.Writer; 24681 24682 /** 24683 * Encodes the specified EventToken message, length delimited. Does not implicitly {@link query.EventToken.verify|verify} messages. 24684 * @param message EventToken message or plain object to encode 24685 * @param [writer] Writer to encode to 24686 * @returns Writer 24687 */ 24688 public static encodeDelimited(message: query.IEventToken, writer?: $protobuf.Writer): $protobuf.Writer; 24689 24690 /** 24691 * Decodes an EventToken message from the specified reader or buffer. 24692 * @param reader Reader or buffer to decode from 24693 * @param [length] Message length if known beforehand 24694 * @returns EventToken 24695 * @throws {Error} If the payload is not a reader or valid buffer 24696 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24697 */ 24698 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.EventToken; 24699 24700 /** 24701 * Decodes an EventToken message from the specified reader or buffer, length delimited. 24702 * @param reader Reader or buffer to decode from 24703 * @returns EventToken 24704 * @throws {Error} If the payload is not a reader or valid buffer 24705 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24706 */ 24707 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.EventToken; 24708 24709 /** 24710 * Verifies an EventToken message. 24711 * @param message Plain object to verify 24712 * @returns `null` if valid, otherwise the reason why it is not 24713 */ 24714 public static verify(message: { [k: string]: any }): (string|null); 24715 24716 /** 24717 * Creates an EventToken message from a plain object. Also converts values to their respective internal types. 24718 * @param object Plain object 24719 * @returns EventToken 24720 */ 24721 public static fromObject(object: { [k: string]: any }): query.EventToken; 24722 24723 /** 24724 * Creates a plain object from an EventToken message. Also converts values to other types if specified. 24725 * @param message EventToken 24726 * @param [options] Conversion options 24727 * @returns Plain object 24728 */ 24729 public static toObject(message: query.EventToken, options?: $protobuf.IConversionOptions): { [k: string]: any }; 24730 24731 /** 24732 * Converts this EventToken to JSON. 24733 * @returns JSON object 24734 */ 24735 public toJSON(): { [k: string]: any }; 24736 } 24737 24738 /** MySqlFlag enum. */ 24739 enum MySqlFlag { 24740 EMPTY = 0, 24741 NOT_NULL_FLAG = 1, 24742 PRI_KEY_FLAG = 2, 24743 UNIQUE_KEY_FLAG = 4, 24744 MULTIPLE_KEY_FLAG = 8, 24745 BLOB_FLAG = 16, 24746 UNSIGNED_FLAG = 32, 24747 ZEROFILL_FLAG = 64, 24748 BINARY_FLAG = 128, 24749 ENUM_FLAG = 256, 24750 AUTO_INCREMENT_FLAG = 512, 24751 TIMESTAMP_FLAG = 1024, 24752 SET_FLAG = 2048, 24753 NO_DEFAULT_VALUE_FLAG = 4096, 24754 ON_UPDATE_NOW_FLAG = 8192, 24755 NUM_FLAG = 32768, 24756 PART_KEY_FLAG = 16384, 24757 GROUP_FLAG = 32768, 24758 UNIQUE_FLAG = 65536, 24759 BINCMP_FLAG = 131072 24760 } 24761 24762 /** Flag enum. */ 24763 enum Flag { 24764 NONE = 0, 24765 ISINTEGRAL = 256, 24766 ISUNSIGNED = 512, 24767 ISFLOAT = 1024, 24768 ISQUOTED = 2048, 24769 ISTEXT = 4096, 24770 ISBINARY = 8192 24771 } 24772 24773 /** Type enum. */ 24774 enum Type { 24775 NULL_TYPE = 0, 24776 INT8 = 257, 24777 UINT8 = 770, 24778 INT16 = 259, 24779 UINT16 = 772, 24780 INT24 = 261, 24781 UINT24 = 774, 24782 INT32 = 263, 24783 UINT32 = 776, 24784 INT64 = 265, 24785 UINT64 = 778, 24786 FLOAT32 = 1035, 24787 FLOAT64 = 1036, 24788 TIMESTAMP = 2061, 24789 DATE = 2062, 24790 TIME = 2063, 24791 DATETIME = 2064, 24792 YEAR = 785, 24793 DECIMAL = 18, 24794 TEXT = 6163, 24795 BLOB = 10260, 24796 VARCHAR = 6165, 24797 VARBINARY = 10262, 24798 CHAR = 6167, 24799 BINARY = 10264, 24800 BIT = 2073, 24801 ENUM = 2074, 24802 SET = 2075, 24803 TUPLE = 28, 24804 GEOMETRY = 2077, 24805 JSON = 2078, 24806 EXPRESSION = 31, 24807 HEXNUM = 4128, 24808 HEXVAL = 4129, 24809 BITNUM = 4130 24810 } 24811 24812 /** Properties of a Value. */ 24813 interface IValue { 24814 24815 /** Value type */ 24816 type?: (query.Type|null); 24817 24818 /** Value value */ 24819 value?: (Uint8Array|null); 24820 } 24821 24822 /** Represents a Value. */ 24823 class Value implements IValue { 24824 24825 /** 24826 * Constructs a new Value. 24827 * @param [properties] Properties to set 24828 */ 24829 constructor(properties?: query.IValue); 24830 24831 /** Value type. */ 24832 public type: query.Type; 24833 24834 /** Value value. */ 24835 public value: Uint8Array; 24836 24837 /** 24838 * Creates a new Value instance using the specified properties. 24839 * @param [properties] Properties to set 24840 * @returns Value instance 24841 */ 24842 public static create(properties?: query.IValue): query.Value; 24843 24844 /** 24845 * Encodes the specified Value message. Does not implicitly {@link query.Value.verify|verify} messages. 24846 * @param message Value message or plain object to encode 24847 * @param [writer] Writer to encode to 24848 * @returns Writer 24849 */ 24850 public static encode(message: query.IValue, writer?: $protobuf.Writer): $protobuf.Writer; 24851 24852 /** 24853 * Encodes the specified Value message, length delimited. Does not implicitly {@link query.Value.verify|verify} messages. 24854 * @param message Value message or plain object to encode 24855 * @param [writer] Writer to encode to 24856 * @returns Writer 24857 */ 24858 public static encodeDelimited(message: query.IValue, writer?: $protobuf.Writer): $protobuf.Writer; 24859 24860 /** 24861 * Decodes a Value message from the specified reader or buffer. 24862 * @param reader Reader or buffer to decode from 24863 * @param [length] Message length if known beforehand 24864 * @returns Value 24865 * @throws {Error} If the payload is not a reader or valid buffer 24866 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24867 */ 24868 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Value; 24869 24870 /** 24871 * Decodes a Value message from the specified reader or buffer, length delimited. 24872 * @param reader Reader or buffer to decode from 24873 * @returns Value 24874 * @throws {Error} If the payload is not a reader or valid buffer 24875 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24876 */ 24877 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Value; 24878 24879 /** 24880 * Verifies a Value message. 24881 * @param message Plain object to verify 24882 * @returns `null` if valid, otherwise the reason why it is not 24883 */ 24884 public static verify(message: { [k: string]: any }): (string|null); 24885 24886 /** 24887 * Creates a Value message from a plain object. Also converts values to their respective internal types. 24888 * @param object Plain object 24889 * @returns Value 24890 */ 24891 public static fromObject(object: { [k: string]: any }): query.Value; 24892 24893 /** 24894 * Creates a plain object from a Value message. Also converts values to other types if specified. 24895 * @param message Value 24896 * @param [options] Conversion options 24897 * @returns Plain object 24898 */ 24899 public static toObject(message: query.Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; 24900 24901 /** 24902 * Converts this Value to JSON. 24903 * @returns JSON object 24904 */ 24905 public toJSON(): { [k: string]: any }; 24906 } 24907 24908 /** Properties of a BindVariable. */ 24909 interface IBindVariable { 24910 24911 /** BindVariable type */ 24912 type?: (query.Type|null); 24913 24914 /** BindVariable value */ 24915 value?: (Uint8Array|null); 24916 24917 /** BindVariable values */ 24918 values?: (query.IValue[]|null); 24919 } 24920 24921 /** Represents a BindVariable. */ 24922 class BindVariable implements IBindVariable { 24923 24924 /** 24925 * Constructs a new BindVariable. 24926 * @param [properties] Properties to set 24927 */ 24928 constructor(properties?: query.IBindVariable); 24929 24930 /** BindVariable type. */ 24931 public type: query.Type; 24932 24933 /** BindVariable value. */ 24934 public value: Uint8Array; 24935 24936 /** BindVariable values. */ 24937 public values: query.IValue[]; 24938 24939 /** 24940 * Creates a new BindVariable instance using the specified properties. 24941 * @param [properties] Properties to set 24942 * @returns BindVariable instance 24943 */ 24944 public static create(properties?: query.IBindVariable): query.BindVariable; 24945 24946 /** 24947 * Encodes the specified BindVariable message. Does not implicitly {@link query.BindVariable.verify|verify} messages. 24948 * @param message BindVariable message or plain object to encode 24949 * @param [writer] Writer to encode to 24950 * @returns Writer 24951 */ 24952 public static encode(message: query.IBindVariable, writer?: $protobuf.Writer): $protobuf.Writer; 24953 24954 /** 24955 * Encodes the specified BindVariable message, length delimited. Does not implicitly {@link query.BindVariable.verify|verify} messages. 24956 * @param message BindVariable message or plain object to encode 24957 * @param [writer] Writer to encode to 24958 * @returns Writer 24959 */ 24960 public static encodeDelimited(message: query.IBindVariable, writer?: $protobuf.Writer): $protobuf.Writer; 24961 24962 /** 24963 * Decodes a BindVariable message from the specified reader or buffer. 24964 * @param reader Reader or buffer to decode from 24965 * @param [length] Message length if known beforehand 24966 * @returns BindVariable 24967 * @throws {Error} If the payload is not a reader or valid buffer 24968 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24969 */ 24970 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BindVariable; 24971 24972 /** 24973 * Decodes a BindVariable message from the specified reader or buffer, length delimited. 24974 * @param reader Reader or buffer to decode from 24975 * @returns BindVariable 24976 * @throws {Error} If the payload is not a reader or valid buffer 24977 * @throws {$protobuf.util.ProtocolError} If required fields are missing 24978 */ 24979 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BindVariable; 24980 24981 /** 24982 * Verifies a BindVariable message. 24983 * @param message Plain object to verify 24984 * @returns `null` if valid, otherwise the reason why it is not 24985 */ 24986 public static verify(message: { [k: string]: any }): (string|null); 24987 24988 /** 24989 * Creates a BindVariable message from a plain object. Also converts values to their respective internal types. 24990 * @param object Plain object 24991 * @returns BindVariable 24992 */ 24993 public static fromObject(object: { [k: string]: any }): query.BindVariable; 24994 24995 /** 24996 * Creates a plain object from a BindVariable message. Also converts values to other types if specified. 24997 * @param message BindVariable 24998 * @param [options] Conversion options 24999 * @returns Plain object 25000 */ 25001 public static toObject(message: query.BindVariable, options?: $protobuf.IConversionOptions): { [k: string]: any }; 25002 25003 /** 25004 * Converts this BindVariable to JSON. 25005 * @returns JSON object 25006 */ 25007 public toJSON(): { [k: string]: any }; 25008 } 25009 25010 /** Properties of a BoundQuery. */ 25011 interface IBoundQuery { 25012 25013 /** BoundQuery sql */ 25014 sql?: (string|null); 25015 25016 /** BoundQuery bind_variables */ 25017 bind_variables?: ({ [k: string]: query.IBindVariable }|null); 25018 } 25019 25020 /** Represents a BoundQuery. */ 25021 class BoundQuery implements IBoundQuery { 25022 25023 /** 25024 * Constructs a new BoundQuery. 25025 * @param [properties] Properties to set 25026 */ 25027 constructor(properties?: query.IBoundQuery); 25028 25029 /** BoundQuery sql. */ 25030 public sql: string; 25031 25032 /** BoundQuery bind_variables. */ 25033 public bind_variables: { [k: string]: query.IBindVariable }; 25034 25035 /** 25036 * Creates a new BoundQuery instance using the specified properties. 25037 * @param [properties] Properties to set 25038 * @returns BoundQuery instance 25039 */ 25040 public static create(properties?: query.IBoundQuery): query.BoundQuery; 25041 25042 /** 25043 * Encodes the specified BoundQuery message. Does not implicitly {@link query.BoundQuery.verify|verify} messages. 25044 * @param message BoundQuery message or plain object to encode 25045 * @param [writer] Writer to encode to 25046 * @returns Writer 25047 */ 25048 public static encode(message: query.IBoundQuery, writer?: $protobuf.Writer): $protobuf.Writer; 25049 25050 /** 25051 * Encodes the specified BoundQuery message, length delimited. Does not implicitly {@link query.BoundQuery.verify|verify} messages. 25052 * @param message BoundQuery message or plain object to encode 25053 * @param [writer] Writer to encode to 25054 * @returns Writer 25055 */ 25056 public static encodeDelimited(message: query.IBoundQuery, writer?: $protobuf.Writer): $protobuf.Writer; 25057 25058 /** 25059 * Decodes a BoundQuery message from the specified reader or buffer. 25060 * @param reader Reader or buffer to decode from 25061 * @param [length] Message length if known beforehand 25062 * @returns BoundQuery 25063 * @throws {Error} If the payload is not a reader or valid buffer 25064 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25065 */ 25066 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BoundQuery; 25067 25068 /** 25069 * Decodes a BoundQuery message from the specified reader or buffer, length delimited. 25070 * @param reader Reader or buffer to decode from 25071 * @returns BoundQuery 25072 * @throws {Error} If the payload is not a reader or valid buffer 25073 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25074 */ 25075 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BoundQuery; 25076 25077 /** 25078 * Verifies a BoundQuery message. 25079 * @param message Plain object to verify 25080 * @returns `null` if valid, otherwise the reason why it is not 25081 */ 25082 public static verify(message: { [k: string]: any }): (string|null); 25083 25084 /** 25085 * Creates a BoundQuery message from a plain object. Also converts values to their respective internal types. 25086 * @param object Plain object 25087 * @returns BoundQuery 25088 */ 25089 public static fromObject(object: { [k: string]: any }): query.BoundQuery; 25090 25091 /** 25092 * Creates a plain object from a BoundQuery message. Also converts values to other types if specified. 25093 * @param message BoundQuery 25094 * @param [options] Conversion options 25095 * @returns Plain object 25096 */ 25097 public static toObject(message: query.BoundQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; 25098 25099 /** 25100 * Converts this BoundQuery to JSON. 25101 * @returns JSON object 25102 */ 25103 public toJSON(): { [k: string]: any }; 25104 } 25105 25106 /** Properties of an ExecuteOptions. */ 25107 interface IExecuteOptions { 25108 25109 /** ExecuteOptions included_fields */ 25110 included_fields?: (query.ExecuteOptions.IncludedFields|null); 25111 25112 /** ExecuteOptions client_found_rows */ 25113 client_found_rows?: (boolean|null); 25114 25115 /** ExecuteOptions workload */ 25116 workload?: (query.ExecuteOptions.Workload|null); 25117 25118 /** ExecuteOptions sql_select_limit */ 25119 sql_select_limit?: (number|Long|null); 25120 25121 /** ExecuteOptions transaction_isolation */ 25122 transaction_isolation?: (query.ExecuteOptions.TransactionIsolation|null); 25123 25124 /** ExecuteOptions skip_query_plan_cache */ 25125 skip_query_plan_cache?: (boolean|null); 25126 25127 /** ExecuteOptions planner_version */ 25128 planner_version?: (query.ExecuteOptions.PlannerVersion|null); 25129 25130 /** ExecuteOptions has_created_temp_tables */ 25131 has_created_temp_tables?: (boolean|null); 25132 25133 /** ExecuteOptions consolidator */ 25134 consolidator?: (query.ExecuteOptions.Consolidator|null); 25135 25136 /** ExecuteOptions transaction_access_mode */ 25137 transaction_access_mode?: (query.ExecuteOptions.TransactionAccessMode[]|null); 25138 } 25139 25140 /** Represents an ExecuteOptions. */ 25141 class ExecuteOptions implements IExecuteOptions { 25142 25143 /** 25144 * Constructs a new ExecuteOptions. 25145 * @param [properties] Properties to set 25146 */ 25147 constructor(properties?: query.IExecuteOptions); 25148 25149 /** ExecuteOptions included_fields. */ 25150 public included_fields: query.ExecuteOptions.IncludedFields; 25151 25152 /** ExecuteOptions client_found_rows. */ 25153 public client_found_rows: boolean; 25154 25155 /** ExecuteOptions workload. */ 25156 public workload: query.ExecuteOptions.Workload; 25157 25158 /** ExecuteOptions sql_select_limit. */ 25159 public sql_select_limit: (number|Long); 25160 25161 /** ExecuteOptions transaction_isolation. */ 25162 public transaction_isolation: query.ExecuteOptions.TransactionIsolation; 25163 25164 /** ExecuteOptions skip_query_plan_cache. */ 25165 public skip_query_plan_cache: boolean; 25166 25167 /** ExecuteOptions planner_version. */ 25168 public planner_version: query.ExecuteOptions.PlannerVersion; 25169 25170 /** ExecuteOptions has_created_temp_tables. */ 25171 public has_created_temp_tables: boolean; 25172 25173 /** ExecuteOptions consolidator. */ 25174 public consolidator: query.ExecuteOptions.Consolidator; 25175 25176 /** ExecuteOptions transaction_access_mode. */ 25177 public transaction_access_mode: query.ExecuteOptions.TransactionAccessMode[]; 25178 25179 /** 25180 * Creates a new ExecuteOptions instance using the specified properties. 25181 * @param [properties] Properties to set 25182 * @returns ExecuteOptions instance 25183 */ 25184 public static create(properties?: query.IExecuteOptions): query.ExecuteOptions; 25185 25186 /** 25187 * Encodes the specified ExecuteOptions message. Does not implicitly {@link query.ExecuteOptions.verify|verify} messages. 25188 * @param message ExecuteOptions message or plain object to encode 25189 * @param [writer] Writer to encode to 25190 * @returns Writer 25191 */ 25192 public static encode(message: query.IExecuteOptions, writer?: $protobuf.Writer): $protobuf.Writer; 25193 25194 /** 25195 * Encodes the specified ExecuteOptions message, length delimited. Does not implicitly {@link query.ExecuteOptions.verify|verify} messages. 25196 * @param message ExecuteOptions message or plain object to encode 25197 * @param [writer] Writer to encode to 25198 * @returns Writer 25199 */ 25200 public static encodeDelimited(message: query.IExecuteOptions, writer?: $protobuf.Writer): $protobuf.Writer; 25201 25202 /** 25203 * Decodes an ExecuteOptions message from the specified reader or buffer. 25204 * @param reader Reader or buffer to decode from 25205 * @param [length] Message length if known beforehand 25206 * @returns ExecuteOptions 25207 * @throws {Error} If the payload is not a reader or valid buffer 25208 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25209 */ 25210 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ExecuteOptions; 25211 25212 /** 25213 * Decodes an ExecuteOptions message from the specified reader or buffer, length delimited. 25214 * @param reader Reader or buffer to decode from 25215 * @returns ExecuteOptions 25216 * @throws {Error} If the payload is not a reader or valid buffer 25217 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25218 */ 25219 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ExecuteOptions; 25220 25221 /** 25222 * Verifies an ExecuteOptions message. 25223 * @param message Plain object to verify 25224 * @returns `null` if valid, otherwise the reason why it is not 25225 */ 25226 public static verify(message: { [k: string]: any }): (string|null); 25227 25228 /** 25229 * Creates an ExecuteOptions message from a plain object. Also converts values to their respective internal types. 25230 * @param object Plain object 25231 * @returns ExecuteOptions 25232 */ 25233 public static fromObject(object: { [k: string]: any }): query.ExecuteOptions; 25234 25235 /** 25236 * Creates a plain object from an ExecuteOptions message. Also converts values to other types if specified. 25237 * @param message ExecuteOptions 25238 * @param [options] Conversion options 25239 * @returns Plain object 25240 */ 25241 public static toObject(message: query.ExecuteOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; 25242 25243 /** 25244 * Converts this ExecuteOptions to JSON. 25245 * @returns JSON object 25246 */ 25247 public toJSON(): { [k: string]: any }; 25248 } 25249 25250 namespace ExecuteOptions { 25251 25252 /** IncludedFields enum. */ 25253 enum IncludedFields { 25254 TYPE_AND_NAME = 0, 25255 TYPE_ONLY = 1, 25256 ALL = 2 25257 } 25258 25259 /** Workload enum. */ 25260 enum Workload { 25261 UNSPECIFIED = 0, 25262 OLTP = 1, 25263 OLAP = 2, 25264 DBA = 3 25265 } 25266 25267 /** TransactionIsolation enum. */ 25268 enum TransactionIsolation { 25269 DEFAULT = 0, 25270 REPEATABLE_READ = 1, 25271 READ_COMMITTED = 2, 25272 READ_UNCOMMITTED = 3, 25273 SERIALIZABLE = 4, 25274 CONSISTENT_SNAPSHOT_READ_ONLY = 5, 25275 AUTOCOMMIT = 6 25276 } 25277 25278 /** PlannerVersion enum. */ 25279 enum PlannerVersion { 25280 DEFAULT_PLANNER = 0, 25281 V3 = 1, 25282 Gen4 = 2, 25283 Gen4Greedy = 3, 25284 Gen4Left2Right = 4, 25285 Gen4WithFallback = 5, 25286 Gen4CompareV3 = 6 25287 } 25288 25289 /** Consolidator enum. */ 25290 enum Consolidator { 25291 CONSOLIDATOR_UNSPECIFIED = 0, 25292 CONSOLIDATOR_DISABLED = 1, 25293 CONSOLIDATOR_ENABLED = 2, 25294 CONSOLIDATOR_ENABLED_REPLICAS = 3 25295 } 25296 25297 /** TransactionAccessMode enum. */ 25298 enum TransactionAccessMode { 25299 CONSISTENT_SNAPSHOT = 0, 25300 READ_WRITE = 1, 25301 READ_ONLY = 2 25302 } 25303 } 25304 25305 /** Properties of a Field. */ 25306 interface IField { 25307 25308 /** Field name */ 25309 name?: (string|null); 25310 25311 /** Field type */ 25312 type?: (query.Type|null); 25313 25314 /** Field table */ 25315 table?: (string|null); 25316 25317 /** Field org_table */ 25318 org_table?: (string|null); 25319 25320 /** Field database */ 25321 database?: (string|null); 25322 25323 /** Field org_name */ 25324 org_name?: (string|null); 25325 25326 /** Field column_length */ 25327 column_length?: (number|null); 25328 25329 /** Field charset */ 25330 charset?: (number|null); 25331 25332 /** Field decimals */ 25333 decimals?: (number|null); 25334 25335 /** Field flags */ 25336 flags?: (number|null); 25337 25338 /** Field column_type */ 25339 column_type?: (string|null); 25340 } 25341 25342 /** Represents a Field. */ 25343 class Field implements IField { 25344 25345 /** 25346 * Constructs a new Field. 25347 * @param [properties] Properties to set 25348 */ 25349 constructor(properties?: query.IField); 25350 25351 /** Field name. */ 25352 public name: string; 25353 25354 /** Field type. */ 25355 public type: query.Type; 25356 25357 /** Field table. */ 25358 public table: string; 25359 25360 /** Field org_table. */ 25361 public org_table: string; 25362 25363 /** Field database. */ 25364 public database: string; 25365 25366 /** Field org_name. */ 25367 public org_name: string; 25368 25369 /** Field column_length. */ 25370 public column_length: number; 25371 25372 /** Field charset. */ 25373 public charset: number; 25374 25375 /** Field decimals. */ 25376 public decimals: number; 25377 25378 /** Field flags. */ 25379 public flags: number; 25380 25381 /** Field column_type. */ 25382 public column_type: string; 25383 25384 /** 25385 * Creates a new Field instance using the specified properties. 25386 * @param [properties] Properties to set 25387 * @returns Field instance 25388 */ 25389 public static create(properties?: query.IField): query.Field; 25390 25391 /** 25392 * Encodes the specified Field message. Does not implicitly {@link query.Field.verify|verify} messages. 25393 * @param message Field message or plain object to encode 25394 * @param [writer] Writer to encode to 25395 * @returns Writer 25396 */ 25397 public static encode(message: query.IField, writer?: $protobuf.Writer): $protobuf.Writer; 25398 25399 /** 25400 * Encodes the specified Field message, length delimited. Does not implicitly {@link query.Field.verify|verify} messages. 25401 * @param message Field message or plain object to encode 25402 * @param [writer] Writer to encode to 25403 * @returns Writer 25404 */ 25405 public static encodeDelimited(message: query.IField, writer?: $protobuf.Writer): $protobuf.Writer; 25406 25407 /** 25408 * Decodes a Field message from the specified reader or buffer. 25409 * @param reader Reader or buffer to decode from 25410 * @param [length] Message length if known beforehand 25411 * @returns Field 25412 * @throws {Error} If the payload is not a reader or valid buffer 25413 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25414 */ 25415 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Field; 25416 25417 /** 25418 * Decodes a Field message from the specified reader or buffer, length delimited. 25419 * @param reader Reader or buffer to decode from 25420 * @returns Field 25421 * @throws {Error} If the payload is not a reader or valid buffer 25422 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25423 */ 25424 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Field; 25425 25426 /** 25427 * Verifies a Field message. 25428 * @param message Plain object to verify 25429 * @returns `null` if valid, otherwise the reason why it is not 25430 */ 25431 public static verify(message: { [k: string]: any }): (string|null); 25432 25433 /** 25434 * Creates a Field message from a plain object. Also converts values to their respective internal types. 25435 * @param object Plain object 25436 * @returns Field 25437 */ 25438 public static fromObject(object: { [k: string]: any }): query.Field; 25439 25440 /** 25441 * Creates a plain object from a Field message. Also converts values to other types if specified. 25442 * @param message Field 25443 * @param [options] Conversion options 25444 * @returns Plain object 25445 */ 25446 public static toObject(message: query.Field, options?: $protobuf.IConversionOptions): { [k: string]: any }; 25447 25448 /** 25449 * Converts this Field to JSON. 25450 * @returns JSON object 25451 */ 25452 public toJSON(): { [k: string]: any }; 25453 } 25454 25455 /** Properties of a Row. */ 25456 interface IRow { 25457 25458 /** Row lengths */ 25459 lengths?: ((number|Long)[]|null); 25460 25461 /** Row values */ 25462 values?: (Uint8Array|null); 25463 } 25464 25465 /** Represents a Row. */ 25466 class Row implements IRow { 25467 25468 /** 25469 * Constructs a new Row. 25470 * @param [properties] Properties to set 25471 */ 25472 constructor(properties?: query.IRow); 25473 25474 /** Row lengths. */ 25475 public lengths: (number|Long)[]; 25476 25477 /** Row values. */ 25478 public values: Uint8Array; 25479 25480 /** 25481 * Creates a new Row instance using the specified properties. 25482 * @param [properties] Properties to set 25483 * @returns Row instance 25484 */ 25485 public static create(properties?: query.IRow): query.Row; 25486 25487 /** 25488 * Encodes the specified Row message. Does not implicitly {@link query.Row.verify|verify} messages. 25489 * @param message Row message or plain object to encode 25490 * @param [writer] Writer to encode to 25491 * @returns Writer 25492 */ 25493 public static encode(message: query.IRow, writer?: $protobuf.Writer): $protobuf.Writer; 25494 25495 /** 25496 * Encodes the specified Row message, length delimited. Does not implicitly {@link query.Row.verify|verify} messages. 25497 * @param message Row message or plain object to encode 25498 * @param [writer] Writer to encode to 25499 * @returns Writer 25500 */ 25501 public static encodeDelimited(message: query.IRow, writer?: $protobuf.Writer): $protobuf.Writer; 25502 25503 /** 25504 * Decodes a Row message from the specified reader or buffer. 25505 * @param reader Reader or buffer to decode from 25506 * @param [length] Message length if known beforehand 25507 * @returns Row 25508 * @throws {Error} If the payload is not a reader or valid buffer 25509 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25510 */ 25511 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Row; 25512 25513 /** 25514 * Decodes a Row message from the specified reader or buffer, length delimited. 25515 * @param reader Reader or buffer to decode from 25516 * @returns Row 25517 * @throws {Error} If the payload is not a reader or valid buffer 25518 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25519 */ 25520 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Row; 25521 25522 /** 25523 * Verifies a Row message. 25524 * @param message Plain object to verify 25525 * @returns `null` if valid, otherwise the reason why it is not 25526 */ 25527 public static verify(message: { [k: string]: any }): (string|null); 25528 25529 /** 25530 * Creates a Row message from a plain object. Also converts values to their respective internal types. 25531 * @param object Plain object 25532 * @returns Row 25533 */ 25534 public static fromObject(object: { [k: string]: any }): query.Row; 25535 25536 /** 25537 * Creates a plain object from a Row message. Also converts values to other types if specified. 25538 * @param message Row 25539 * @param [options] Conversion options 25540 * @returns Plain object 25541 */ 25542 public static toObject(message: query.Row, options?: $protobuf.IConversionOptions): { [k: string]: any }; 25543 25544 /** 25545 * Converts this Row to JSON. 25546 * @returns JSON object 25547 */ 25548 public toJSON(): { [k: string]: any }; 25549 } 25550 25551 /** Properties of a QueryResult. */ 25552 interface IQueryResult { 25553 25554 /** QueryResult fields */ 25555 fields?: (query.IField[]|null); 25556 25557 /** QueryResult rows_affected */ 25558 rows_affected?: (number|Long|null); 25559 25560 /** QueryResult insert_id */ 25561 insert_id?: (number|Long|null); 25562 25563 /** QueryResult rows */ 25564 rows?: (query.IRow[]|null); 25565 25566 /** QueryResult info */ 25567 info?: (string|null); 25568 25569 /** QueryResult session_state_changes */ 25570 session_state_changes?: (string|null); 25571 } 25572 25573 /** Represents a QueryResult. */ 25574 class QueryResult implements IQueryResult { 25575 25576 /** 25577 * Constructs a new QueryResult. 25578 * @param [properties] Properties to set 25579 */ 25580 constructor(properties?: query.IQueryResult); 25581 25582 /** QueryResult fields. */ 25583 public fields: query.IField[]; 25584 25585 /** QueryResult rows_affected. */ 25586 public rows_affected: (number|Long); 25587 25588 /** QueryResult insert_id. */ 25589 public insert_id: (number|Long); 25590 25591 /** QueryResult rows. */ 25592 public rows: query.IRow[]; 25593 25594 /** QueryResult info. */ 25595 public info: string; 25596 25597 /** QueryResult session_state_changes. */ 25598 public session_state_changes: string; 25599 25600 /** 25601 * Creates a new QueryResult instance using the specified properties. 25602 * @param [properties] Properties to set 25603 * @returns QueryResult instance 25604 */ 25605 public static create(properties?: query.IQueryResult): query.QueryResult; 25606 25607 /** 25608 * Encodes the specified QueryResult message. Does not implicitly {@link query.QueryResult.verify|verify} messages. 25609 * @param message QueryResult message or plain object to encode 25610 * @param [writer] Writer to encode to 25611 * @returns Writer 25612 */ 25613 public static encode(message: query.IQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; 25614 25615 /** 25616 * Encodes the specified QueryResult message, length delimited. Does not implicitly {@link query.QueryResult.verify|verify} messages. 25617 * @param message QueryResult message or plain object to encode 25618 * @param [writer] Writer to encode to 25619 * @returns Writer 25620 */ 25621 public static encodeDelimited(message: query.IQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; 25622 25623 /** 25624 * Decodes a QueryResult message from the specified reader or buffer. 25625 * @param reader Reader or buffer to decode from 25626 * @param [length] Message length if known beforehand 25627 * @returns QueryResult 25628 * @throws {Error} If the payload is not a reader or valid buffer 25629 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25630 */ 25631 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.QueryResult; 25632 25633 /** 25634 * Decodes a QueryResult message from the specified reader or buffer, length delimited. 25635 * @param reader Reader or buffer to decode from 25636 * @returns QueryResult 25637 * @throws {Error} If the payload is not a reader or valid buffer 25638 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25639 */ 25640 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.QueryResult; 25641 25642 /** 25643 * Verifies a QueryResult message. 25644 * @param message Plain object to verify 25645 * @returns `null` if valid, otherwise the reason why it is not 25646 */ 25647 public static verify(message: { [k: string]: any }): (string|null); 25648 25649 /** 25650 * Creates a QueryResult message from a plain object. Also converts values to their respective internal types. 25651 * @param object Plain object 25652 * @returns QueryResult 25653 */ 25654 public static fromObject(object: { [k: string]: any }): query.QueryResult; 25655 25656 /** 25657 * Creates a plain object from a QueryResult message. Also converts values to other types if specified. 25658 * @param message QueryResult 25659 * @param [options] Conversion options 25660 * @returns Plain object 25661 */ 25662 public static toObject(message: query.QueryResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; 25663 25664 /** 25665 * Converts this QueryResult to JSON. 25666 * @returns JSON object 25667 */ 25668 public toJSON(): { [k: string]: any }; 25669 } 25670 25671 /** Properties of a QueryWarning. */ 25672 interface IQueryWarning { 25673 25674 /** QueryWarning code */ 25675 code?: (number|null); 25676 25677 /** QueryWarning message */ 25678 message?: (string|null); 25679 } 25680 25681 /** Represents a QueryWarning. */ 25682 class QueryWarning implements IQueryWarning { 25683 25684 /** 25685 * Constructs a new QueryWarning. 25686 * @param [properties] Properties to set 25687 */ 25688 constructor(properties?: query.IQueryWarning); 25689 25690 /** QueryWarning code. */ 25691 public code: number; 25692 25693 /** QueryWarning message. */ 25694 public message: string; 25695 25696 /** 25697 * Creates a new QueryWarning instance using the specified properties. 25698 * @param [properties] Properties to set 25699 * @returns QueryWarning instance 25700 */ 25701 public static create(properties?: query.IQueryWarning): query.QueryWarning; 25702 25703 /** 25704 * Encodes the specified QueryWarning message. Does not implicitly {@link query.QueryWarning.verify|verify} messages. 25705 * @param message QueryWarning message or plain object to encode 25706 * @param [writer] Writer to encode to 25707 * @returns Writer 25708 */ 25709 public static encode(message: query.IQueryWarning, writer?: $protobuf.Writer): $protobuf.Writer; 25710 25711 /** 25712 * Encodes the specified QueryWarning message, length delimited. Does not implicitly {@link query.QueryWarning.verify|verify} messages. 25713 * @param message QueryWarning message or plain object to encode 25714 * @param [writer] Writer to encode to 25715 * @returns Writer 25716 */ 25717 public static encodeDelimited(message: query.IQueryWarning, writer?: $protobuf.Writer): $protobuf.Writer; 25718 25719 /** 25720 * Decodes a QueryWarning message from the specified reader or buffer. 25721 * @param reader Reader or buffer to decode from 25722 * @param [length] Message length if known beforehand 25723 * @returns QueryWarning 25724 * @throws {Error} If the payload is not a reader or valid buffer 25725 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25726 */ 25727 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.QueryWarning; 25728 25729 /** 25730 * Decodes a QueryWarning message from the specified reader or buffer, length delimited. 25731 * @param reader Reader or buffer to decode from 25732 * @returns QueryWarning 25733 * @throws {Error} If the payload is not a reader or valid buffer 25734 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25735 */ 25736 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.QueryWarning; 25737 25738 /** 25739 * Verifies a QueryWarning message. 25740 * @param message Plain object to verify 25741 * @returns `null` if valid, otherwise the reason why it is not 25742 */ 25743 public static verify(message: { [k: string]: any }): (string|null); 25744 25745 /** 25746 * Creates a QueryWarning message from a plain object. Also converts values to their respective internal types. 25747 * @param object Plain object 25748 * @returns QueryWarning 25749 */ 25750 public static fromObject(object: { [k: string]: any }): query.QueryWarning; 25751 25752 /** 25753 * Creates a plain object from a QueryWarning message. Also converts values to other types if specified. 25754 * @param message QueryWarning 25755 * @param [options] Conversion options 25756 * @returns Plain object 25757 */ 25758 public static toObject(message: query.QueryWarning, options?: $protobuf.IConversionOptions): { [k: string]: any }; 25759 25760 /** 25761 * Converts this QueryWarning to JSON. 25762 * @returns JSON object 25763 */ 25764 public toJSON(): { [k: string]: any }; 25765 } 25766 25767 /** Properties of a StreamEvent. */ 25768 interface IStreamEvent { 25769 25770 /** StreamEvent statements */ 25771 statements?: (query.StreamEvent.IStatement[]|null); 25772 25773 /** StreamEvent event_token */ 25774 event_token?: (query.IEventToken|null); 25775 } 25776 25777 /** Represents a StreamEvent. */ 25778 class StreamEvent implements IStreamEvent { 25779 25780 /** 25781 * Constructs a new StreamEvent. 25782 * @param [properties] Properties to set 25783 */ 25784 constructor(properties?: query.IStreamEvent); 25785 25786 /** StreamEvent statements. */ 25787 public statements: query.StreamEvent.IStatement[]; 25788 25789 /** StreamEvent event_token. */ 25790 public event_token?: (query.IEventToken|null); 25791 25792 /** 25793 * Creates a new StreamEvent instance using the specified properties. 25794 * @param [properties] Properties to set 25795 * @returns StreamEvent instance 25796 */ 25797 public static create(properties?: query.IStreamEvent): query.StreamEvent; 25798 25799 /** 25800 * Encodes the specified StreamEvent message. Does not implicitly {@link query.StreamEvent.verify|verify} messages. 25801 * @param message StreamEvent message or plain object to encode 25802 * @param [writer] Writer to encode to 25803 * @returns Writer 25804 */ 25805 public static encode(message: query.IStreamEvent, writer?: $protobuf.Writer): $protobuf.Writer; 25806 25807 /** 25808 * Encodes the specified StreamEvent message, length delimited. Does not implicitly {@link query.StreamEvent.verify|verify} messages. 25809 * @param message StreamEvent message or plain object to encode 25810 * @param [writer] Writer to encode to 25811 * @returns Writer 25812 */ 25813 public static encodeDelimited(message: query.IStreamEvent, writer?: $protobuf.Writer): $protobuf.Writer; 25814 25815 /** 25816 * Decodes a StreamEvent message from the specified reader or buffer. 25817 * @param reader Reader or buffer to decode from 25818 * @param [length] Message length if known beforehand 25819 * @returns StreamEvent 25820 * @throws {Error} If the payload is not a reader or valid buffer 25821 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25822 */ 25823 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamEvent; 25824 25825 /** 25826 * Decodes a StreamEvent message from the specified reader or buffer, length delimited. 25827 * @param reader Reader or buffer to decode from 25828 * @returns StreamEvent 25829 * @throws {Error} If the payload is not a reader or valid buffer 25830 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25831 */ 25832 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamEvent; 25833 25834 /** 25835 * Verifies a StreamEvent message. 25836 * @param message Plain object to verify 25837 * @returns `null` if valid, otherwise the reason why it is not 25838 */ 25839 public static verify(message: { [k: string]: any }): (string|null); 25840 25841 /** 25842 * Creates a StreamEvent message from a plain object. Also converts values to their respective internal types. 25843 * @param object Plain object 25844 * @returns StreamEvent 25845 */ 25846 public static fromObject(object: { [k: string]: any }): query.StreamEvent; 25847 25848 /** 25849 * Creates a plain object from a StreamEvent message. Also converts values to other types if specified. 25850 * @param message StreamEvent 25851 * @param [options] Conversion options 25852 * @returns Plain object 25853 */ 25854 public static toObject(message: query.StreamEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; 25855 25856 /** 25857 * Converts this StreamEvent to JSON. 25858 * @returns JSON object 25859 */ 25860 public toJSON(): { [k: string]: any }; 25861 } 25862 25863 namespace StreamEvent { 25864 25865 /** Properties of a Statement. */ 25866 interface IStatement { 25867 25868 /** Statement category */ 25869 category?: (query.StreamEvent.Statement.Category|null); 25870 25871 /** Statement table_name */ 25872 table_name?: (string|null); 25873 25874 /** Statement primary_key_fields */ 25875 primary_key_fields?: (query.IField[]|null); 25876 25877 /** Statement primary_key_values */ 25878 primary_key_values?: (query.IRow[]|null); 25879 25880 /** Statement sql */ 25881 sql?: (Uint8Array|null); 25882 } 25883 25884 /** Represents a Statement. */ 25885 class Statement implements IStatement { 25886 25887 /** 25888 * Constructs a new Statement. 25889 * @param [properties] Properties to set 25890 */ 25891 constructor(properties?: query.StreamEvent.IStatement); 25892 25893 /** Statement category. */ 25894 public category: query.StreamEvent.Statement.Category; 25895 25896 /** Statement table_name. */ 25897 public table_name: string; 25898 25899 /** Statement primary_key_fields. */ 25900 public primary_key_fields: query.IField[]; 25901 25902 /** Statement primary_key_values. */ 25903 public primary_key_values: query.IRow[]; 25904 25905 /** Statement sql. */ 25906 public sql: Uint8Array; 25907 25908 /** 25909 * Creates a new Statement instance using the specified properties. 25910 * @param [properties] Properties to set 25911 * @returns Statement instance 25912 */ 25913 public static create(properties?: query.StreamEvent.IStatement): query.StreamEvent.Statement; 25914 25915 /** 25916 * Encodes the specified Statement message. Does not implicitly {@link query.StreamEvent.Statement.verify|verify} messages. 25917 * @param message Statement message or plain object to encode 25918 * @param [writer] Writer to encode to 25919 * @returns Writer 25920 */ 25921 public static encode(message: query.StreamEvent.IStatement, writer?: $protobuf.Writer): $protobuf.Writer; 25922 25923 /** 25924 * Encodes the specified Statement message, length delimited. Does not implicitly {@link query.StreamEvent.Statement.verify|verify} messages. 25925 * @param message Statement message or plain object to encode 25926 * @param [writer] Writer to encode to 25927 * @returns Writer 25928 */ 25929 public static encodeDelimited(message: query.StreamEvent.IStatement, writer?: $protobuf.Writer): $protobuf.Writer; 25930 25931 /** 25932 * Decodes a Statement message from the specified reader or buffer. 25933 * @param reader Reader or buffer to decode from 25934 * @param [length] Message length if known beforehand 25935 * @returns Statement 25936 * @throws {Error} If the payload is not a reader or valid buffer 25937 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25938 */ 25939 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamEvent.Statement; 25940 25941 /** 25942 * Decodes a Statement message from the specified reader or buffer, length delimited. 25943 * @param reader Reader or buffer to decode from 25944 * @returns Statement 25945 * @throws {Error} If the payload is not a reader or valid buffer 25946 * @throws {$protobuf.util.ProtocolError} If required fields are missing 25947 */ 25948 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamEvent.Statement; 25949 25950 /** 25951 * Verifies a Statement message. 25952 * @param message Plain object to verify 25953 * @returns `null` if valid, otherwise the reason why it is not 25954 */ 25955 public static verify(message: { [k: string]: any }): (string|null); 25956 25957 /** 25958 * Creates a Statement message from a plain object. Also converts values to their respective internal types. 25959 * @param object Plain object 25960 * @returns Statement 25961 */ 25962 public static fromObject(object: { [k: string]: any }): query.StreamEvent.Statement; 25963 25964 /** 25965 * Creates a plain object from a Statement message. Also converts values to other types if specified. 25966 * @param message Statement 25967 * @param [options] Conversion options 25968 * @returns Plain object 25969 */ 25970 public static toObject(message: query.StreamEvent.Statement, options?: $protobuf.IConversionOptions): { [k: string]: any }; 25971 25972 /** 25973 * Converts this Statement to JSON. 25974 * @returns JSON object 25975 */ 25976 public toJSON(): { [k: string]: any }; 25977 } 25978 25979 namespace Statement { 25980 25981 /** Category enum. */ 25982 enum Category { 25983 Error = 0, 25984 DML = 1, 25985 DDL = 2 25986 } 25987 } 25988 } 25989 25990 /** Properties of an ExecuteRequest. */ 25991 interface IExecuteRequest { 25992 25993 /** ExecuteRequest effective_caller_id */ 25994 effective_caller_id?: (vtrpc.ICallerID|null); 25995 25996 /** ExecuteRequest immediate_caller_id */ 25997 immediate_caller_id?: (query.IVTGateCallerID|null); 25998 25999 /** ExecuteRequest target */ 26000 target?: (query.ITarget|null); 26001 26002 /** ExecuteRequest query */ 26003 query?: (query.IBoundQuery|null); 26004 26005 /** ExecuteRequest transaction_id */ 26006 transaction_id?: (number|Long|null); 26007 26008 /** ExecuteRequest options */ 26009 options?: (query.IExecuteOptions|null); 26010 26011 /** ExecuteRequest reserved_id */ 26012 reserved_id?: (number|Long|null); 26013 } 26014 26015 /** Represents an ExecuteRequest. */ 26016 class ExecuteRequest implements IExecuteRequest { 26017 26018 /** 26019 * Constructs a new ExecuteRequest. 26020 * @param [properties] Properties to set 26021 */ 26022 constructor(properties?: query.IExecuteRequest); 26023 26024 /** ExecuteRequest effective_caller_id. */ 26025 public effective_caller_id?: (vtrpc.ICallerID|null); 26026 26027 /** ExecuteRequest immediate_caller_id. */ 26028 public immediate_caller_id?: (query.IVTGateCallerID|null); 26029 26030 /** ExecuteRequest target. */ 26031 public target?: (query.ITarget|null); 26032 26033 /** ExecuteRequest query. */ 26034 public query?: (query.IBoundQuery|null); 26035 26036 /** ExecuteRequest transaction_id. */ 26037 public transaction_id: (number|Long); 26038 26039 /** ExecuteRequest options. */ 26040 public options?: (query.IExecuteOptions|null); 26041 26042 /** ExecuteRequest reserved_id. */ 26043 public reserved_id: (number|Long); 26044 26045 /** 26046 * Creates a new ExecuteRequest instance using the specified properties. 26047 * @param [properties] Properties to set 26048 * @returns ExecuteRequest instance 26049 */ 26050 public static create(properties?: query.IExecuteRequest): query.ExecuteRequest; 26051 26052 /** 26053 * Encodes the specified ExecuteRequest message. Does not implicitly {@link query.ExecuteRequest.verify|verify} messages. 26054 * @param message ExecuteRequest message or plain object to encode 26055 * @param [writer] Writer to encode to 26056 * @returns Writer 26057 */ 26058 public static encode(message: query.IExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 26059 26060 /** 26061 * Encodes the specified ExecuteRequest message, length delimited. Does not implicitly {@link query.ExecuteRequest.verify|verify} messages. 26062 * @param message ExecuteRequest message or plain object to encode 26063 * @param [writer] Writer to encode to 26064 * @returns Writer 26065 */ 26066 public static encodeDelimited(message: query.IExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 26067 26068 /** 26069 * Decodes an ExecuteRequest message from the specified reader or buffer. 26070 * @param reader Reader or buffer to decode from 26071 * @param [length] Message length if known beforehand 26072 * @returns ExecuteRequest 26073 * @throws {Error} If the payload is not a reader or valid buffer 26074 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26075 */ 26076 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ExecuteRequest; 26077 26078 /** 26079 * Decodes an ExecuteRequest message from the specified reader or buffer, length delimited. 26080 * @param reader Reader or buffer to decode from 26081 * @returns ExecuteRequest 26082 * @throws {Error} If the payload is not a reader or valid buffer 26083 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26084 */ 26085 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ExecuteRequest; 26086 26087 /** 26088 * Verifies an ExecuteRequest message. 26089 * @param message Plain object to verify 26090 * @returns `null` if valid, otherwise the reason why it is not 26091 */ 26092 public static verify(message: { [k: string]: any }): (string|null); 26093 26094 /** 26095 * Creates an ExecuteRequest message from a plain object. Also converts values to their respective internal types. 26096 * @param object Plain object 26097 * @returns ExecuteRequest 26098 */ 26099 public static fromObject(object: { [k: string]: any }): query.ExecuteRequest; 26100 26101 /** 26102 * Creates a plain object from an ExecuteRequest message. Also converts values to other types if specified. 26103 * @param message ExecuteRequest 26104 * @param [options] Conversion options 26105 * @returns Plain object 26106 */ 26107 public static toObject(message: query.ExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 26108 26109 /** 26110 * Converts this ExecuteRequest to JSON. 26111 * @returns JSON object 26112 */ 26113 public toJSON(): { [k: string]: any }; 26114 } 26115 26116 /** Properties of an ExecuteResponse. */ 26117 interface IExecuteResponse { 26118 26119 /** ExecuteResponse result */ 26120 result?: (query.IQueryResult|null); 26121 } 26122 26123 /** Represents an ExecuteResponse. */ 26124 class ExecuteResponse implements IExecuteResponse { 26125 26126 /** 26127 * Constructs a new ExecuteResponse. 26128 * @param [properties] Properties to set 26129 */ 26130 constructor(properties?: query.IExecuteResponse); 26131 26132 /** ExecuteResponse result. */ 26133 public result?: (query.IQueryResult|null); 26134 26135 /** 26136 * Creates a new ExecuteResponse instance using the specified properties. 26137 * @param [properties] Properties to set 26138 * @returns ExecuteResponse instance 26139 */ 26140 public static create(properties?: query.IExecuteResponse): query.ExecuteResponse; 26141 26142 /** 26143 * Encodes the specified ExecuteResponse message. Does not implicitly {@link query.ExecuteResponse.verify|verify} messages. 26144 * @param message ExecuteResponse message or plain object to encode 26145 * @param [writer] Writer to encode to 26146 * @returns Writer 26147 */ 26148 public static encode(message: query.IExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 26149 26150 /** 26151 * Encodes the specified ExecuteResponse message, length delimited. Does not implicitly {@link query.ExecuteResponse.verify|verify} messages. 26152 * @param message ExecuteResponse message or plain object to encode 26153 * @param [writer] Writer to encode to 26154 * @returns Writer 26155 */ 26156 public static encodeDelimited(message: query.IExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 26157 26158 /** 26159 * Decodes an ExecuteResponse message from the specified reader or buffer. 26160 * @param reader Reader or buffer to decode from 26161 * @param [length] Message length if known beforehand 26162 * @returns ExecuteResponse 26163 * @throws {Error} If the payload is not a reader or valid buffer 26164 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26165 */ 26166 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ExecuteResponse; 26167 26168 /** 26169 * Decodes an ExecuteResponse message from the specified reader or buffer, length delimited. 26170 * @param reader Reader or buffer to decode from 26171 * @returns ExecuteResponse 26172 * @throws {Error} If the payload is not a reader or valid buffer 26173 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26174 */ 26175 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ExecuteResponse; 26176 26177 /** 26178 * Verifies an ExecuteResponse message. 26179 * @param message Plain object to verify 26180 * @returns `null` if valid, otherwise the reason why it is not 26181 */ 26182 public static verify(message: { [k: string]: any }): (string|null); 26183 26184 /** 26185 * Creates an ExecuteResponse message from a plain object. Also converts values to their respective internal types. 26186 * @param object Plain object 26187 * @returns ExecuteResponse 26188 */ 26189 public static fromObject(object: { [k: string]: any }): query.ExecuteResponse; 26190 26191 /** 26192 * Creates a plain object from an ExecuteResponse message. Also converts values to other types if specified. 26193 * @param message ExecuteResponse 26194 * @param [options] Conversion options 26195 * @returns Plain object 26196 */ 26197 public static toObject(message: query.ExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 26198 26199 /** 26200 * Converts this ExecuteResponse to JSON. 26201 * @returns JSON object 26202 */ 26203 public toJSON(): { [k: string]: any }; 26204 } 26205 26206 /** Properties of a ResultWithError. */ 26207 interface IResultWithError { 26208 26209 /** ResultWithError error */ 26210 error?: (vtrpc.IRPCError|null); 26211 26212 /** ResultWithError result */ 26213 result?: (query.IQueryResult|null); 26214 } 26215 26216 /** Represents a ResultWithError. */ 26217 class ResultWithError implements IResultWithError { 26218 26219 /** 26220 * Constructs a new ResultWithError. 26221 * @param [properties] Properties to set 26222 */ 26223 constructor(properties?: query.IResultWithError); 26224 26225 /** ResultWithError error. */ 26226 public error?: (vtrpc.IRPCError|null); 26227 26228 /** ResultWithError result. */ 26229 public result?: (query.IQueryResult|null); 26230 26231 /** 26232 * Creates a new ResultWithError instance using the specified properties. 26233 * @param [properties] Properties to set 26234 * @returns ResultWithError instance 26235 */ 26236 public static create(properties?: query.IResultWithError): query.ResultWithError; 26237 26238 /** 26239 * Encodes the specified ResultWithError message. Does not implicitly {@link query.ResultWithError.verify|verify} messages. 26240 * @param message ResultWithError message or plain object to encode 26241 * @param [writer] Writer to encode to 26242 * @returns Writer 26243 */ 26244 public static encode(message: query.IResultWithError, writer?: $protobuf.Writer): $protobuf.Writer; 26245 26246 /** 26247 * Encodes the specified ResultWithError message, length delimited. Does not implicitly {@link query.ResultWithError.verify|verify} messages. 26248 * @param message ResultWithError message or plain object to encode 26249 * @param [writer] Writer to encode to 26250 * @returns Writer 26251 */ 26252 public static encodeDelimited(message: query.IResultWithError, writer?: $protobuf.Writer): $protobuf.Writer; 26253 26254 /** 26255 * Decodes a ResultWithError message from the specified reader or buffer. 26256 * @param reader Reader or buffer to decode from 26257 * @param [length] Message length if known beforehand 26258 * @returns ResultWithError 26259 * @throws {Error} If the payload is not a reader or valid buffer 26260 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26261 */ 26262 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ResultWithError; 26263 26264 /** 26265 * Decodes a ResultWithError message from the specified reader or buffer, length delimited. 26266 * @param reader Reader or buffer to decode from 26267 * @returns ResultWithError 26268 * @throws {Error} If the payload is not a reader or valid buffer 26269 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26270 */ 26271 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ResultWithError; 26272 26273 /** 26274 * Verifies a ResultWithError message. 26275 * @param message Plain object to verify 26276 * @returns `null` if valid, otherwise the reason why it is not 26277 */ 26278 public static verify(message: { [k: string]: any }): (string|null); 26279 26280 /** 26281 * Creates a ResultWithError message from a plain object. Also converts values to their respective internal types. 26282 * @param object Plain object 26283 * @returns ResultWithError 26284 */ 26285 public static fromObject(object: { [k: string]: any }): query.ResultWithError; 26286 26287 /** 26288 * Creates a plain object from a ResultWithError message. Also converts values to other types if specified. 26289 * @param message ResultWithError 26290 * @param [options] Conversion options 26291 * @returns Plain object 26292 */ 26293 public static toObject(message: query.ResultWithError, options?: $protobuf.IConversionOptions): { [k: string]: any }; 26294 26295 /** 26296 * Converts this ResultWithError to JSON. 26297 * @returns JSON object 26298 */ 26299 public toJSON(): { [k: string]: any }; 26300 } 26301 26302 /** Properties of a StreamExecuteRequest. */ 26303 interface IStreamExecuteRequest { 26304 26305 /** StreamExecuteRequest effective_caller_id */ 26306 effective_caller_id?: (vtrpc.ICallerID|null); 26307 26308 /** StreamExecuteRequest immediate_caller_id */ 26309 immediate_caller_id?: (query.IVTGateCallerID|null); 26310 26311 /** StreamExecuteRequest target */ 26312 target?: (query.ITarget|null); 26313 26314 /** StreamExecuteRequest query */ 26315 query?: (query.IBoundQuery|null); 26316 26317 /** StreamExecuteRequest options */ 26318 options?: (query.IExecuteOptions|null); 26319 26320 /** StreamExecuteRequest transaction_id */ 26321 transaction_id?: (number|Long|null); 26322 26323 /** StreamExecuteRequest reserved_id */ 26324 reserved_id?: (number|Long|null); 26325 } 26326 26327 /** Represents a StreamExecuteRequest. */ 26328 class StreamExecuteRequest implements IStreamExecuteRequest { 26329 26330 /** 26331 * Constructs a new StreamExecuteRequest. 26332 * @param [properties] Properties to set 26333 */ 26334 constructor(properties?: query.IStreamExecuteRequest); 26335 26336 /** StreamExecuteRequest effective_caller_id. */ 26337 public effective_caller_id?: (vtrpc.ICallerID|null); 26338 26339 /** StreamExecuteRequest immediate_caller_id. */ 26340 public immediate_caller_id?: (query.IVTGateCallerID|null); 26341 26342 /** StreamExecuteRequest target. */ 26343 public target?: (query.ITarget|null); 26344 26345 /** StreamExecuteRequest query. */ 26346 public query?: (query.IBoundQuery|null); 26347 26348 /** StreamExecuteRequest options. */ 26349 public options?: (query.IExecuteOptions|null); 26350 26351 /** StreamExecuteRequest transaction_id. */ 26352 public transaction_id: (number|Long); 26353 26354 /** StreamExecuteRequest reserved_id. */ 26355 public reserved_id: (number|Long); 26356 26357 /** 26358 * Creates a new StreamExecuteRequest instance using the specified properties. 26359 * @param [properties] Properties to set 26360 * @returns StreamExecuteRequest instance 26361 */ 26362 public static create(properties?: query.IStreamExecuteRequest): query.StreamExecuteRequest; 26363 26364 /** 26365 * Encodes the specified StreamExecuteRequest message. Does not implicitly {@link query.StreamExecuteRequest.verify|verify} messages. 26366 * @param message StreamExecuteRequest message or plain object to encode 26367 * @param [writer] Writer to encode to 26368 * @returns Writer 26369 */ 26370 public static encode(message: query.IStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 26371 26372 /** 26373 * Encodes the specified StreamExecuteRequest message, length delimited. Does not implicitly {@link query.StreamExecuteRequest.verify|verify} messages. 26374 * @param message StreamExecuteRequest message or plain object to encode 26375 * @param [writer] Writer to encode to 26376 * @returns Writer 26377 */ 26378 public static encodeDelimited(message: query.IStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 26379 26380 /** 26381 * Decodes a StreamExecuteRequest message from the specified reader or buffer. 26382 * @param reader Reader or buffer to decode from 26383 * @param [length] Message length if known beforehand 26384 * @returns StreamExecuteRequest 26385 * @throws {Error} If the payload is not a reader or valid buffer 26386 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26387 */ 26388 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamExecuteRequest; 26389 26390 /** 26391 * Decodes a StreamExecuteRequest message from the specified reader or buffer, length delimited. 26392 * @param reader Reader or buffer to decode from 26393 * @returns StreamExecuteRequest 26394 * @throws {Error} If the payload is not a reader or valid buffer 26395 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26396 */ 26397 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamExecuteRequest; 26398 26399 /** 26400 * Verifies a StreamExecuteRequest message. 26401 * @param message Plain object to verify 26402 * @returns `null` if valid, otherwise the reason why it is not 26403 */ 26404 public static verify(message: { [k: string]: any }): (string|null); 26405 26406 /** 26407 * Creates a StreamExecuteRequest message from a plain object. Also converts values to their respective internal types. 26408 * @param object Plain object 26409 * @returns StreamExecuteRequest 26410 */ 26411 public static fromObject(object: { [k: string]: any }): query.StreamExecuteRequest; 26412 26413 /** 26414 * Creates a plain object from a StreamExecuteRequest message. Also converts values to other types if specified. 26415 * @param message StreamExecuteRequest 26416 * @param [options] Conversion options 26417 * @returns Plain object 26418 */ 26419 public static toObject(message: query.StreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 26420 26421 /** 26422 * Converts this StreamExecuteRequest to JSON. 26423 * @returns JSON object 26424 */ 26425 public toJSON(): { [k: string]: any }; 26426 } 26427 26428 /** Properties of a StreamExecuteResponse. */ 26429 interface IStreamExecuteResponse { 26430 26431 /** StreamExecuteResponse result */ 26432 result?: (query.IQueryResult|null); 26433 } 26434 26435 /** Represents a StreamExecuteResponse. */ 26436 class StreamExecuteResponse implements IStreamExecuteResponse { 26437 26438 /** 26439 * Constructs a new StreamExecuteResponse. 26440 * @param [properties] Properties to set 26441 */ 26442 constructor(properties?: query.IStreamExecuteResponse); 26443 26444 /** StreamExecuteResponse result. */ 26445 public result?: (query.IQueryResult|null); 26446 26447 /** 26448 * Creates a new StreamExecuteResponse instance using the specified properties. 26449 * @param [properties] Properties to set 26450 * @returns StreamExecuteResponse instance 26451 */ 26452 public static create(properties?: query.IStreamExecuteResponse): query.StreamExecuteResponse; 26453 26454 /** 26455 * Encodes the specified StreamExecuteResponse message. Does not implicitly {@link query.StreamExecuteResponse.verify|verify} messages. 26456 * @param message StreamExecuteResponse message or plain object to encode 26457 * @param [writer] Writer to encode to 26458 * @returns Writer 26459 */ 26460 public static encode(message: query.IStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 26461 26462 /** 26463 * Encodes the specified StreamExecuteResponse message, length delimited. Does not implicitly {@link query.StreamExecuteResponse.verify|verify} messages. 26464 * @param message StreamExecuteResponse message or plain object to encode 26465 * @param [writer] Writer to encode to 26466 * @returns Writer 26467 */ 26468 public static encodeDelimited(message: query.IStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 26469 26470 /** 26471 * Decodes a StreamExecuteResponse message from the specified reader or buffer. 26472 * @param reader Reader or buffer to decode from 26473 * @param [length] Message length if known beforehand 26474 * @returns StreamExecuteResponse 26475 * @throws {Error} If the payload is not a reader or valid buffer 26476 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26477 */ 26478 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamExecuteResponse; 26479 26480 /** 26481 * Decodes a StreamExecuteResponse message from the specified reader or buffer, length delimited. 26482 * @param reader Reader or buffer to decode from 26483 * @returns StreamExecuteResponse 26484 * @throws {Error} If the payload is not a reader or valid buffer 26485 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26486 */ 26487 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamExecuteResponse; 26488 26489 /** 26490 * Verifies a StreamExecuteResponse message. 26491 * @param message Plain object to verify 26492 * @returns `null` if valid, otherwise the reason why it is not 26493 */ 26494 public static verify(message: { [k: string]: any }): (string|null); 26495 26496 /** 26497 * Creates a StreamExecuteResponse message from a plain object. Also converts values to their respective internal types. 26498 * @param object Plain object 26499 * @returns StreamExecuteResponse 26500 */ 26501 public static fromObject(object: { [k: string]: any }): query.StreamExecuteResponse; 26502 26503 /** 26504 * Creates a plain object from a StreamExecuteResponse message. Also converts values to other types if specified. 26505 * @param message StreamExecuteResponse 26506 * @param [options] Conversion options 26507 * @returns Plain object 26508 */ 26509 public static toObject(message: query.StreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 26510 26511 /** 26512 * Converts this StreamExecuteResponse to JSON. 26513 * @returns JSON object 26514 */ 26515 public toJSON(): { [k: string]: any }; 26516 } 26517 26518 /** Properties of a BeginRequest. */ 26519 interface IBeginRequest { 26520 26521 /** BeginRequest effective_caller_id */ 26522 effective_caller_id?: (vtrpc.ICallerID|null); 26523 26524 /** BeginRequest immediate_caller_id */ 26525 immediate_caller_id?: (query.IVTGateCallerID|null); 26526 26527 /** BeginRequest target */ 26528 target?: (query.ITarget|null); 26529 26530 /** BeginRequest options */ 26531 options?: (query.IExecuteOptions|null); 26532 } 26533 26534 /** Represents a BeginRequest. */ 26535 class BeginRequest implements IBeginRequest { 26536 26537 /** 26538 * Constructs a new BeginRequest. 26539 * @param [properties] Properties to set 26540 */ 26541 constructor(properties?: query.IBeginRequest); 26542 26543 /** BeginRequest effective_caller_id. */ 26544 public effective_caller_id?: (vtrpc.ICallerID|null); 26545 26546 /** BeginRequest immediate_caller_id. */ 26547 public immediate_caller_id?: (query.IVTGateCallerID|null); 26548 26549 /** BeginRequest target. */ 26550 public target?: (query.ITarget|null); 26551 26552 /** BeginRequest options. */ 26553 public options?: (query.IExecuteOptions|null); 26554 26555 /** 26556 * Creates a new BeginRequest instance using the specified properties. 26557 * @param [properties] Properties to set 26558 * @returns BeginRequest instance 26559 */ 26560 public static create(properties?: query.IBeginRequest): query.BeginRequest; 26561 26562 /** 26563 * Encodes the specified BeginRequest message. Does not implicitly {@link query.BeginRequest.verify|verify} messages. 26564 * @param message BeginRequest message or plain object to encode 26565 * @param [writer] Writer to encode to 26566 * @returns Writer 26567 */ 26568 public static encode(message: query.IBeginRequest, writer?: $protobuf.Writer): $protobuf.Writer; 26569 26570 /** 26571 * Encodes the specified BeginRequest message, length delimited. Does not implicitly {@link query.BeginRequest.verify|verify} messages. 26572 * @param message BeginRequest message or plain object to encode 26573 * @param [writer] Writer to encode to 26574 * @returns Writer 26575 */ 26576 public static encodeDelimited(message: query.IBeginRequest, writer?: $protobuf.Writer): $protobuf.Writer; 26577 26578 /** 26579 * Decodes a BeginRequest message from the specified reader or buffer. 26580 * @param reader Reader or buffer to decode from 26581 * @param [length] Message length if known beforehand 26582 * @returns BeginRequest 26583 * @throws {Error} If the payload is not a reader or valid buffer 26584 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26585 */ 26586 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginRequest; 26587 26588 /** 26589 * Decodes a BeginRequest message from the specified reader or buffer, length delimited. 26590 * @param reader Reader or buffer to decode from 26591 * @returns BeginRequest 26592 * @throws {Error} If the payload is not a reader or valid buffer 26593 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26594 */ 26595 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginRequest; 26596 26597 /** 26598 * Verifies a BeginRequest message. 26599 * @param message Plain object to verify 26600 * @returns `null` if valid, otherwise the reason why it is not 26601 */ 26602 public static verify(message: { [k: string]: any }): (string|null); 26603 26604 /** 26605 * Creates a BeginRequest message from a plain object. Also converts values to their respective internal types. 26606 * @param object Plain object 26607 * @returns BeginRequest 26608 */ 26609 public static fromObject(object: { [k: string]: any }): query.BeginRequest; 26610 26611 /** 26612 * Creates a plain object from a BeginRequest message. Also converts values to other types if specified. 26613 * @param message BeginRequest 26614 * @param [options] Conversion options 26615 * @returns Plain object 26616 */ 26617 public static toObject(message: query.BeginRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 26618 26619 /** 26620 * Converts this BeginRequest to JSON. 26621 * @returns JSON object 26622 */ 26623 public toJSON(): { [k: string]: any }; 26624 } 26625 26626 /** Properties of a BeginResponse. */ 26627 interface IBeginResponse { 26628 26629 /** BeginResponse transaction_id */ 26630 transaction_id?: (number|Long|null); 26631 26632 /** BeginResponse tablet_alias */ 26633 tablet_alias?: (topodata.ITabletAlias|null); 26634 26635 /** BeginResponse session_state_changes */ 26636 session_state_changes?: (string|null); 26637 } 26638 26639 /** Represents a BeginResponse. */ 26640 class BeginResponse implements IBeginResponse { 26641 26642 /** 26643 * Constructs a new BeginResponse. 26644 * @param [properties] Properties to set 26645 */ 26646 constructor(properties?: query.IBeginResponse); 26647 26648 /** BeginResponse transaction_id. */ 26649 public transaction_id: (number|Long); 26650 26651 /** BeginResponse tablet_alias. */ 26652 public tablet_alias?: (topodata.ITabletAlias|null); 26653 26654 /** BeginResponse session_state_changes. */ 26655 public session_state_changes: string; 26656 26657 /** 26658 * Creates a new BeginResponse instance using the specified properties. 26659 * @param [properties] Properties to set 26660 * @returns BeginResponse instance 26661 */ 26662 public static create(properties?: query.IBeginResponse): query.BeginResponse; 26663 26664 /** 26665 * Encodes the specified BeginResponse message. Does not implicitly {@link query.BeginResponse.verify|verify} messages. 26666 * @param message BeginResponse message or plain object to encode 26667 * @param [writer] Writer to encode to 26668 * @returns Writer 26669 */ 26670 public static encode(message: query.IBeginResponse, writer?: $protobuf.Writer): $protobuf.Writer; 26671 26672 /** 26673 * Encodes the specified BeginResponse message, length delimited. Does not implicitly {@link query.BeginResponse.verify|verify} messages. 26674 * @param message BeginResponse message or plain object to encode 26675 * @param [writer] Writer to encode to 26676 * @returns Writer 26677 */ 26678 public static encodeDelimited(message: query.IBeginResponse, writer?: $protobuf.Writer): $protobuf.Writer; 26679 26680 /** 26681 * Decodes a BeginResponse message from the specified reader or buffer. 26682 * @param reader Reader or buffer to decode from 26683 * @param [length] Message length if known beforehand 26684 * @returns BeginResponse 26685 * @throws {Error} If the payload is not a reader or valid buffer 26686 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26687 */ 26688 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginResponse; 26689 26690 /** 26691 * Decodes a BeginResponse message from the specified reader or buffer, length delimited. 26692 * @param reader Reader or buffer to decode from 26693 * @returns BeginResponse 26694 * @throws {Error} If the payload is not a reader or valid buffer 26695 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26696 */ 26697 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginResponse; 26698 26699 /** 26700 * Verifies a BeginResponse message. 26701 * @param message Plain object to verify 26702 * @returns `null` if valid, otherwise the reason why it is not 26703 */ 26704 public static verify(message: { [k: string]: any }): (string|null); 26705 26706 /** 26707 * Creates a BeginResponse message from a plain object. Also converts values to their respective internal types. 26708 * @param object Plain object 26709 * @returns BeginResponse 26710 */ 26711 public static fromObject(object: { [k: string]: any }): query.BeginResponse; 26712 26713 /** 26714 * Creates a plain object from a BeginResponse message. Also converts values to other types if specified. 26715 * @param message BeginResponse 26716 * @param [options] Conversion options 26717 * @returns Plain object 26718 */ 26719 public static toObject(message: query.BeginResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 26720 26721 /** 26722 * Converts this BeginResponse to JSON. 26723 * @returns JSON object 26724 */ 26725 public toJSON(): { [k: string]: any }; 26726 } 26727 26728 /** Properties of a CommitRequest. */ 26729 interface ICommitRequest { 26730 26731 /** CommitRequest effective_caller_id */ 26732 effective_caller_id?: (vtrpc.ICallerID|null); 26733 26734 /** CommitRequest immediate_caller_id */ 26735 immediate_caller_id?: (query.IVTGateCallerID|null); 26736 26737 /** CommitRequest target */ 26738 target?: (query.ITarget|null); 26739 26740 /** CommitRequest transaction_id */ 26741 transaction_id?: (number|Long|null); 26742 } 26743 26744 /** Represents a CommitRequest. */ 26745 class CommitRequest implements ICommitRequest { 26746 26747 /** 26748 * Constructs a new CommitRequest. 26749 * @param [properties] Properties to set 26750 */ 26751 constructor(properties?: query.ICommitRequest); 26752 26753 /** CommitRequest effective_caller_id. */ 26754 public effective_caller_id?: (vtrpc.ICallerID|null); 26755 26756 /** CommitRequest immediate_caller_id. */ 26757 public immediate_caller_id?: (query.IVTGateCallerID|null); 26758 26759 /** CommitRequest target. */ 26760 public target?: (query.ITarget|null); 26761 26762 /** CommitRequest transaction_id. */ 26763 public transaction_id: (number|Long); 26764 26765 /** 26766 * Creates a new CommitRequest instance using the specified properties. 26767 * @param [properties] Properties to set 26768 * @returns CommitRequest instance 26769 */ 26770 public static create(properties?: query.ICommitRequest): query.CommitRequest; 26771 26772 /** 26773 * Encodes the specified CommitRequest message. Does not implicitly {@link query.CommitRequest.verify|verify} messages. 26774 * @param message CommitRequest message or plain object to encode 26775 * @param [writer] Writer to encode to 26776 * @returns Writer 26777 */ 26778 public static encode(message: query.ICommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; 26779 26780 /** 26781 * Encodes the specified CommitRequest message, length delimited. Does not implicitly {@link query.CommitRequest.verify|verify} messages. 26782 * @param message CommitRequest message or plain object to encode 26783 * @param [writer] Writer to encode to 26784 * @returns Writer 26785 */ 26786 public static encodeDelimited(message: query.ICommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; 26787 26788 /** 26789 * Decodes a CommitRequest message from the specified reader or buffer. 26790 * @param reader Reader or buffer to decode from 26791 * @param [length] Message length if known beforehand 26792 * @returns CommitRequest 26793 * @throws {Error} If the payload is not a reader or valid buffer 26794 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26795 */ 26796 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitRequest; 26797 26798 /** 26799 * Decodes a CommitRequest message from the specified reader or buffer, length delimited. 26800 * @param reader Reader or buffer to decode from 26801 * @returns CommitRequest 26802 * @throws {Error} If the payload is not a reader or valid buffer 26803 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26804 */ 26805 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitRequest; 26806 26807 /** 26808 * Verifies a CommitRequest message. 26809 * @param message Plain object to verify 26810 * @returns `null` if valid, otherwise the reason why it is not 26811 */ 26812 public static verify(message: { [k: string]: any }): (string|null); 26813 26814 /** 26815 * Creates a CommitRequest message from a plain object. Also converts values to their respective internal types. 26816 * @param object Plain object 26817 * @returns CommitRequest 26818 */ 26819 public static fromObject(object: { [k: string]: any }): query.CommitRequest; 26820 26821 /** 26822 * Creates a plain object from a CommitRequest message. Also converts values to other types if specified. 26823 * @param message CommitRequest 26824 * @param [options] Conversion options 26825 * @returns Plain object 26826 */ 26827 public static toObject(message: query.CommitRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 26828 26829 /** 26830 * Converts this CommitRequest to JSON. 26831 * @returns JSON object 26832 */ 26833 public toJSON(): { [k: string]: any }; 26834 } 26835 26836 /** Properties of a CommitResponse. */ 26837 interface ICommitResponse { 26838 26839 /** CommitResponse reserved_id */ 26840 reserved_id?: (number|Long|null); 26841 } 26842 26843 /** Represents a CommitResponse. */ 26844 class CommitResponse implements ICommitResponse { 26845 26846 /** 26847 * Constructs a new CommitResponse. 26848 * @param [properties] Properties to set 26849 */ 26850 constructor(properties?: query.ICommitResponse); 26851 26852 /** CommitResponse reserved_id. */ 26853 public reserved_id: (number|Long); 26854 26855 /** 26856 * Creates a new CommitResponse instance using the specified properties. 26857 * @param [properties] Properties to set 26858 * @returns CommitResponse instance 26859 */ 26860 public static create(properties?: query.ICommitResponse): query.CommitResponse; 26861 26862 /** 26863 * Encodes the specified CommitResponse message. Does not implicitly {@link query.CommitResponse.verify|verify} messages. 26864 * @param message CommitResponse message or plain object to encode 26865 * @param [writer] Writer to encode to 26866 * @returns Writer 26867 */ 26868 public static encode(message: query.ICommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; 26869 26870 /** 26871 * Encodes the specified CommitResponse message, length delimited. Does not implicitly {@link query.CommitResponse.verify|verify} messages. 26872 * @param message CommitResponse message or plain object to encode 26873 * @param [writer] Writer to encode to 26874 * @returns Writer 26875 */ 26876 public static encodeDelimited(message: query.ICommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; 26877 26878 /** 26879 * Decodes a CommitResponse message from the specified reader or buffer. 26880 * @param reader Reader or buffer to decode from 26881 * @param [length] Message length if known beforehand 26882 * @returns CommitResponse 26883 * @throws {Error} If the payload is not a reader or valid buffer 26884 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26885 */ 26886 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitResponse; 26887 26888 /** 26889 * Decodes a CommitResponse message from the specified reader or buffer, length delimited. 26890 * @param reader Reader or buffer to decode from 26891 * @returns CommitResponse 26892 * @throws {Error} If the payload is not a reader or valid buffer 26893 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26894 */ 26895 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitResponse; 26896 26897 /** 26898 * Verifies a CommitResponse message. 26899 * @param message Plain object to verify 26900 * @returns `null` if valid, otherwise the reason why it is not 26901 */ 26902 public static verify(message: { [k: string]: any }): (string|null); 26903 26904 /** 26905 * Creates a CommitResponse message from a plain object. Also converts values to their respective internal types. 26906 * @param object Plain object 26907 * @returns CommitResponse 26908 */ 26909 public static fromObject(object: { [k: string]: any }): query.CommitResponse; 26910 26911 /** 26912 * Creates a plain object from a CommitResponse message. Also converts values to other types if specified. 26913 * @param message CommitResponse 26914 * @param [options] Conversion options 26915 * @returns Plain object 26916 */ 26917 public static toObject(message: query.CommitResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 26918 26919 /** 26920 * Converts this CommitResponse to JSON. 26921 * @returns JSON object 26922 */ 26923 public toJSON(): { [k: string]: any }; 26924 } 26925 26926 /** Properties of a RollbackRequest. */ 26927 interface IRollbackRequest { 26928 26929 /** RollbackRequest effective_caller_id */ 26930 effective_caller_id?: (vtrpc.ICallerID|null); 26931 26932 /** RollbackRequest immediate_caller_id */ 26933 immediate_caller_id?: (query.IVTGateCallerID|null); 26934 26935 /** RollbackRequest target */ 26936 target?: (query.ITarget|null); 26937 26938 /** RollbackRequest transaction_id */ 26939 transaction_id?: (number|Long|null); 26940 } 26941 26942 /** Represents a RollbackRequest. */ 26943 class RollbackRequest implements IRollbackRequest { 26944 26945 /** 26946 * Constructs a new RollbackRequest. 26947 * @param [properties] Properties to set 26948 */ 26949 constructor(properties?: query.IRollbackRequest); 26950 26951 /** RollbackRequest effective_caller_id. */ 26952 public effective_caller_id?: (vtrpc.ICallerID|null); 26953 26954 /** RollbackRequest immediate_caller_id. */ 26955 public immediate_caller_id?: (query.IVTGateCallerID|null); 26956 26957 /** RollbackRequest target. */ 26958 public target?: (query.ITarget|null); 26959 26960 /** RollbackRequest transaction_id. */ 26961 public transaction_id: (number|Long); 26962 26963 /** 26964 * Creates a new RollbackRequest instance using the specified properties. 26965 * @param [properties] Properties to set 26966 * @returns RollbackRequest instance 26967 */ 26968 public static create(properties?: query.IRollbackRequest): query.RollbackRequest; 26969 26970 /** 26971 * Encodes the specified RollbackRequest message. Does not implicitly {@link query.RollbackRequest.verify|verify} messages. 26972 * @param message RollbackRequest message or plain object to encode 26973 * @param [writer] Writer to encode to 26974 * @returns Writer 26975 */ 26976 public static encode(message: query.IRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; 26977 26978 /** 26979 * Encodes the specified RollbackRequest message, length delimited. Does not implicitly {@link query.RollbackRequest.verify|verify} messages. 26980 * @param message RollbackRequest message or plain object to encode 26981 * @param [writer] Writer to encode to 26982 * @returns Writer 26983 */ 26984 public static encodeDelimited(message: query.IRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; 26985 26986 /** 26987 * Decodes a RollbackRequest message from the specified reader or buffer. 26988 * @param reader Reader or buffer to decode from 26989 * @param [length] Message length if known beforehand 26990 * @returns RollbackRequest 26991 * @throws {Error} If the payload is not a reader or valid buffer 26992 * @throws {$protobuf.util.ProtocolError} If required fields are missing 26993 */ 26994 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackRequest; 26995 26996 /** 26997 * Decodes a RollbackRequest message from the specified reader or buffer, length delimited. 26998 * @param reader Reader or buffer to decode from 26999 * @returns RollbackRequest 27000 * @throws {Error} If the payload is not a reader or valid buffer 27001 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27002 */ 27003 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackRequest; 27004 27005 /** 27006 * Verifies a RollbackRequest message. 27007 * @param message Plain object to verify 27008 * @returns `null` if valid, otherwise the reason why it is not 27009 */ 27010 public static verify(message: { [k: string]: any }): (string|null); 27011 27012 /** 27013 * Creates a RollbackRequest message from a plain object. Also converts values to their respective internal types. 27014 * @param object Plain object 27015 * @returns RollbackRequest 27016 */ 27017 public static fromObject(object: { [k: string]: any }): query.RollbackRequest; 27018 27019 /** 27020 * Creates a plain object from a RollbackRequest message. Also converts values to other types if specified. 27021 * @param message RollbackRequest 27022 * @param [options] Conversion options 27023 * @returns Plain object 27024 */ 27025 public static toObject(message: query.RollbackRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 27026 27027 /** 27028 * Converts this RollbackRequest to JSON. 27029 * @returns JSON object 27030 */ 27031 public toJSON(): { [k: string]: any }; 27032 } 27033 27034 /** Properties of a RollbackResponse. */ 27035 interface IRollbackResponse { 27036 27037 /** RollbackResponse reserved_id */ 27038 reserved_id?: (number|Long|null); 27039 } 27040 27041 /** Represents a RollbackResponse. */ 27042 class RollbackResponse implements IRollbackResponse { 27043 27044 /** 27045 * Constructs a new RollbackResponse. 27046 * @param [properties] Properties to set 27047 */ 27048 constructor(properties?: query.IRollbackResponse); 27049 27050 /** RollbackResponse reserved_id. */ 27051 public reserved_id: (number|Long); 27052 27053 /** 27054 * Creates a new RollbackResponse instance using the specified properties. 27055 * @param [properties] Properties to set 27056 * @returns RollbackResponse instance 27057 */ 27058 public static create(properties?: query.IRollbackResponse): query.RollbackResponse; 27059 27060 /** 27061 * Encodes the specified RollbackResponse message. Does not implicitly {@link query.RollbackResponse.verify|verify} messages. 27062 * @param message RollbackResponse message or plain object to encode 27063 * @param [writer] Writer to encode to 27064 * @returns Writer 27065 */ 27066 public static encode(message: query.IRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; 27067 27068 /** 27069 * Encodes the specified RollbackResponse message, length delimited. Does not implicitly {@link query.RollbackResponse.verify|verify} messages. 27070 * @param message RollbackResponse message or plain object to encode 27071 * @param [writer] Writer to encode to 27072 * @returns Writer 27073 */ 27074 public static encodeDelimited(message: query.IRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; 27075 27076 /** 27077 * Decodes a RollbackResponse message from the specified reader or buffer. 27078 * @param reader Reader or buffer to decode from 27079 * @param [length] Message length if known beforehand 27080 * @returns RollbackResponse 27081 * @throws {Error} If the payload is not a reader or valid buffer 27082 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27083 */ 27084 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackResponse; 27085 27086 /** 27087 * Decodes a RollbackResponse message from the specified reader or buffer, length delimited. 27088 * @param reader Reader or buffer to decode from 27089 * @returns RollbackResponse 27090 * @throws {Error} If the payload is not a reader or valid buffer 27091 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27092 */ 27093 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackResponse; 27094 27095 /** 27096 * Verifies a RollbackResponse message. 27097 * @param message Plain object to verify 27098 * @returns `null` if valid, otherwise the reason why it is not 27099 */ 27100 public static verify(message: { [k: string]: any }): (string|null); 27101 27102 /** 27103 * Creates a RollbackResponse message from a plain object. Also converts values to their respective internal types. 27104 * @param object Plain object 27105 * @returns RollbackResponse 27106 */ 27107 public static fromObject(object: { [k: string]: any }): query.RollbackResponse; 27108 27109 /** 27110 * Creates a plain object from a RollbackResponse message. Also converts values to other types if specified. 27111 * @param message RollbackResponse 27112 * @param [options] Conversion options 27113 * @returns Plain object 27114 */ 27115 public static toObject(message: query.RollbackResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 27116 27117 /** 27118 * Converts this RollbackResponse to JSON. 27119 * @returns JSON object 27120 */ 27121 public toJSON(): { [k: string]: any }; 27122 } 27123 27124 /** Properties of a PrepareRequest. */ 27125 interface IPrepareRequest { 27126 27127 /** PrepareRequest effective_caller_id */ 27128 effective_caller_id?: (vtrpc.ICallerID|null); 27129 27130 /** PrepareRequest immediate_caller_id */ 27131 immediate_caller_id?: (query.IVTGateCallerID|null); 27132 27133 /** PrepareRequest target */ 27134 target?: (query.ITarget|null); 27135 27136 /** PrepareRequest transaction_id */ 27137 transaction_id?: (number|Long|null); 27138 27139 /** PrepareRequest dtid */ 27140 dtid?: (string|null); 27141 } 27142 27143 /** Represents a PrepareRequest. */ 27144 class PrepareRequest implements IPrepareRequest { 27145 27146 /** 27147 * Constructs a new PrepareRequest. 27148 * @param [properties] Properties to set 27149 */ 27150 constructor(properties?: query.IPrepareRequest); 27151 27152 /** PrepareRequest effective_caller_id. */ 27153 public effective_caller_id?: (vtrpc.ICallerID|null); 27154 27155 /** PrepareRequest immediate_caller_id. */ 27156 public immediate_caller_id?: (query.IVTGateCallerID|null); 27157 27158 /** PrepareRequest target. */ 27159 public target?: (query.ITarget|null); 27160 27161 /** PrepareRequest transaction_id. */ 27162 public transaction_id: (number|Long); 27163 27164 /** PrepareRequest dtid. */ 27165 public dtid: string; 27166 27167 /** 27168 * Creates a new PrepareRequest instance using the specified properties. 27169 * @param [properties] Properties to set 27170 * @returns PrepareRequest instance 27171 */ 27172 public static create(properties?: query.IPrepareRequest): query.PrepareRequest; 27173 27174 /** 27175 * Encodes the specified PrepareRequest message. Does not implicitly {@link query.PrepareRequest.verify|verify} messages. 27176 * @param message PrepareRequest message or plain object to encode 27177 * @param [writer] Writer to encode to 27178 * @returns Writer 27179 */ 27180 public static encode(message: query.IPrepareRequest, writer?: $protobuf.Writer): $protobuf.Writer; 27181 27182 /** 27183 * Encodes the specified PrepareRequest message, length delimited. Does not implicitly {@link query.PrepareRequest.verify|verify} messages. 27184 * @param message PrepareRequest message or plain object to encode 27185 * @param [writer] Writer to encode to 27186 * @returns Writer 27187 */ 27188 public static encodeDelimited(message: query.IPrepareRequest, writer?: $protobuf.Writer): $protobuf.Writer; 27189 27190 /** 27191 * Decodes a PrepareRequest message from the specified reader or buffer. 27192 * @param reader Reader or buffer to decode from 27193 * @param [length] Message length if known beforehand 27194 * @returns PrepareRequest 27195 * @throws {Error} If the payload is not a reader or valid buffer 27196 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27197 */ 27198 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.PrepareRequest; 27199 27200 /** 27201 * Decodes a PrepareRequest message from the specified reader or buffer, length delimited. 27202 * @param reader Reader or buffer to decode from 27203 * @returns PrepareRequest 27204 * @throws {Error} If the payload is not a reader or valid buffer 27205 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27206 */ 27207 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.PrepareRequest; 27208 27209 /** 27210 * Verifies a PrepareRequest message. 27211 * @param message Plain object to verify 27212 * @returns `null` if valid, otherwise the reason why it is not 27213 */ 27214 public static verify(message: { [k: string]: any }): (string|null); 27215 27216 /** 27217 * Creates a PrepareRequest message from a plain object. Also converts values to their respective internal types. 27218 * @param object Plain object 27219 * @returns PrepareRequest 27220 */ 27221 public static fromObject(object: { [k: string]: any }): query.PrepareRequest; 27222 27223 /** 27224 * Creates a plain object from a PrepareRequest message. Also converts values to other types if specified. 27225 * @param message PrepareRequest 27226 * @param [options] Conversion options 27227 * @returns Plain object 27228 */ 27229 public static toObject(message: query.PrepareRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 27230 27231 /** 27232 * Converts this PrepareRequest to JSON. 27233 * @returns JSON object 27234 */ 27235 public toJSON(): { [k: string]: any }; 27236 } 27237 27238 /** Properties of a PrepareResponse. */ 27239 interface IPrepareResponse { 27240 } 27241 27242 /** Represents a PrepareResponse. */ 27243 class PrepareResponse implements IPrepareResponse { 27244 27245 /** 27246 * Constructs a new PrepareResponse. 27247 * @param [properties] Properties to set 27248 */ 27249 constructor(properties?: query.IPrepareResponse); 27250 27251 /** 27252 * Creates a new PrepareResponse instance using the specified properties. 27253 * @param [properties] Properties to set 27254 * @returns PrepareResponse instance 27255 */ 27256 public static create(properties?: query.IPrepareResponse): query.PrepareResponse; 27257 27258 /** 27259 * Encodes the specified PrepareResponse message. Does not implicitly {@link query.PrepareResponse.verify|verify} messages. 27260 * @param message PrepareResponse message or plain object to encode 27261 * @param [writer] Writer to encode to 27262 * @returns Writer 27263 */ 27264 public static encode(message: query.IPrepareResponse, writer?: $protobuf.Writer): $protobuf.Writer; 27265 27266 /** 27267 * Encodes the specified PrepareResponse message, length delimited. Does not implicitly {@link query.PrepareResponse.verify|verify} messages. 27268 * @param message PrepareResponse message or plain object to encode 27269 * @param [writer] Writer to encode to 27270 * @returns Writer 27271 */ 27272 public static encodeDelimited(message: query.IPrepareResponse, writer?: $protobuf.Writer): $protobuf.Writer; 27273 27274 /** 27275 * Decodes a PrepareResponse message from the specified reader or buffer. 27276 * @param reader Reader or buffer to decode from 27277 * @param [length] Message length if known beforehand 27278 * @returns PrepareResponse 27279 * @throws {Error} If the payload is not a reader or valid buffer 27280 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27281 */ 27282 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.PrepareResponse; 27283 27284 /** 27285 * Decodes a PrepareResponse message from the specified reader or buffer, length delimited. 27286 * @param reader Reader or buffer to decode from 27287 * @returns PrepareResponse 27288 * @throws {Error} If the payload is not a reader or valid buffer 27289 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27290 */ 27291 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.PrepareResponse; 27292 27293 /** 27294 * Verifies a PrepareResponse message. 27295 * @param message Plain object to verify 27296 * @returns `null` if valid, otherwise the reason why it is not 27297 */ 27298 public static verify(message: { [k: string]: any }): (string|null); 27299 27300 /** 27301 * Creates a PrepareResponse message from a plain object. Also converts values to their respective internal types. 27302 * @param object Plain object 27303 * @returns PrepareResponse 27304 */ 27305 public static fromObject(object: { [k: string]: any }): query.PrepareResponse; 27306 27307 /** 27308 * Creates a plain object from a PrepareResponse message. Also converts values to other types if specified. 27309 * @param message PrepareResponse 27310 * @param [options] Conversion options 27311 * @returns Plain object 27312 */ 27313 public static toObject(message: query.PrepareResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 27314 27315 /** 27316 * Converts this PrepareResponse to JSON. 27317 * @returns JSON object 27318 */ 27319 public toJSON(): { [k: string]: any }; 27320 } 27321 27322 /** Properties of a CommitPreparedRequest. */ 27323 interface ICommitPreparedRequest { 27324 27325 /** CommitPreparedRequest effective_caller_id */ 27326 effective_caller_id?: (vtrpc.ICallerID|null); 27327 27328 /** CommitPreparedRequest immediate_caller_id */ 27329 immediate_caller_id?: (query.IVTGateCallerID|null); 27330 27331 /** CommitPreparedRequest target */ 27332 target?: (query.ITarget|null); 27333 27334 /** CommitPreparedRequest dtid */ 27335 dtid?: (string|null); 27336 } 27337 27338 /** Represents a CommitPreparedRequest. */ 27339 class CommitPreparedRequest implements ICommitPreparedRequest { 27340 27341 /** 27342 * Constructs a new CommitPreparedRequest. 27343 * @param [properties] Properties to set 27344 */ 27345 constructor(properties?: query.ICommitPreparedRequest); 27346 27347 /** CommitPreparedRequest effective_caller_id. */ 27348 public effective_caller_id?: (vtrpc.ICallerID|null); 27349 27350 /** CommitPreparedRequest immediate_caller_id. */ 27351 public immediate_caller_id?: (query.IVTGateCallerID|null); 27352 27353 /** CommitPreparedRequest target. */ 27354 public target?: (query.ITarget|null); 27355 27356 /** CommitPreparedRequest dtid. */ 27357 public dtid: string; 27358 27359 /** 27360 * Creates a new CommitPreparedRequest instance using the specified properties. 27361 * @param [properties] Properties to set 27362 * @returns CommitPreparedRequest instance 27363 */ 27364 public static create(properties?: query.ICommitPreparedRequest): query.CommitPreparedRequest; 27365 27366 /** 27367 * Encodes the specified CommitPreparedRequest message. Does not implicitly {@link query.CommitPreparedRequest.verify|verify} messages. 27368 * @param message CommitPreparedRequest message or plain object to encode 27369 * @param [writer] Writer to encode to 27370 * @returns Writer 27371 */ 27372 public static encode(message: query.ICommitPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 27373 27374 /** 27375 * Encodes the specified CommitPreparedRequest message, length delimited. Does not implicitly {@link query.CommitPreparedRequest.verify|verify} messages. 27376 * @param message CommitPreparedRequest message or plain object to encode 27377 * @param [writer] Writer to encode to 27378 * @returns Writer 27379 */ 27380 public static encodeDelimited(message: query.ICommitPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 27381 27382 /** 27383 * Decodes a CommitPreparedRequest message from the specified reader or buffer. 27384 * @param reader Reader or buffer to decode from 27385 * @param [length] Message length if known beforehand 27386 * @returns CommitPreparedRequest 27387 * @throws {Error} If the payload is not a reader or valid buffer 27388 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27389 */ 27390 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitPreparedRequest; 27391 27392 /** 27393 * Decodes a CommitPreparedRequest message from the specified reader or buffer, length delimited. 27394 * @param reader Reader or buffer to decode from 27395 * @returns CommitPreparedRequest 27396 * @throws {Error} If the payload is not a reader or valid buffer 27397 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27398 */ 27399 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitPreparedRequest; 27400 27401 /** 27402 * Verifies a CommitPreparedRequest message. 27403 * @param message Plain object to verify 27404 * @returns `null` if valid, otherwise the reason why it is not 27405 */ 27406 public static verify(message: { [k: string]: any }): (string|null); 27407 27408 /** 27409 * Creates a CommitPreparedRequest message from a plain object. Also converts values to their respective internal types. 27410 * @param object Plain object 27411 * @returns CommitPreparedRequest 27412 */ 27413 public static fromObject(object: { [k: string]: any }): query.CommitPreparedRequest; 27414 27415 /** 27416 * Creates a plain object from a CommitPreparedRequest message. Also converts values to other types if specified. 27417 * @param message CommitPreparedRequest 27418 * @param [options] Conversion options 27419 * @returns Plain object 27420 */ 27421 public static toObject(message: query.CommitPreparedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 27422 27423 /** 27424 * Converts this CommitPreparedRequest to JSON. 27425 * @returns JSON object 27426 */ 27427 public toJSON(): { [k: string]: any }; 27428 } 27429 27430 /** Properties of a CommitPreparedResponse. */ 27431 interface ICommitPreparedResponse { 27432 } 27433 27434 /** Represents a CommitPreparedResponse. */ 27435 class CommitPreparedResponse implements ICommitPreparedResponse { 27436 27437 /** 27438 * Constructs a new CommitPreparedResponse. 27439 * @param [properties] Properties to set 27440 */ 27441 constructor(properties?: query.ICommitPreparedResponse); 27442 27443 /** 27444 * Creates a new CommitPreparedResponse instance using the specified properties. 27445 * @param [properties] Properties to set 27446 * @returns CommitPreparedResponse instance 27447 */ 27448 public static create(properties?: query.ICommitPreparedResponse): query.CommitPreparedResponse; 27449 27450 /** 27451 * Encodes the specified CommitPreparedResponse message. Does not implicitly {@link query.CommitPreparedResponse.verify|verify} messages. 27452 * @param message CommitPreparedResponse message or plain object to encode 27453 * @param [writer] Writer to encode to 27454 * @returns Writer 27455 */ 27456 public static encode(message: query.ICommitPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 27457 27458 /** 27459 * Encodes the specified CommitPreparedResponse message, length delimited. Does not implicitly {@link query.CommitPreparedResponse.verify|verify} messages. 27460 * @param message CommitPreparedResponse message or plain object to encode 27461 * @param [writer] Writer to encode to 27462 * @returns Writer 27463 */ 27464 public static encodeDelimited(message: query.ICommitPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 27465 27466 /** 27467 * Decodes a CommitPreparedResponse message from the specified reader or buffer. 27468 * @param reader Reader or buffer to decode from 27469 * @param [length] Message length if known beforehand 27470 * @returns CommitPreparedResponse 27471 * @throws {Error} If the payload is not a reader or valid buffer 27472 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27473 */ 27474 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitPreparedResponse; 27475 27476 /** 27477 * Decodes a CommitPreparedResponse message from the specified reader or buffer, length delimited. 27478 * @param reader Reader or buffer to decode from 27479 * @returns CommitPreparedResponse 27480 * @throws {Error} If the payload is not a reader or valid buffer 27481 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27482 */ 27483 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitPreparedResponse; 27484 27485 /** 27486 * Verifies a CommitPreparedResponse message. 27487 * @param message Plain object to verify 27488 * @returns `null` if valid, otherwise the reason why it is not 27489 */ 27490 public static verify(message: { [k: string]: any }): (string|null); 27491 27492 /** 27493 * Creates a CommitPreparedResponse message from a plain object. Also converts values to their respective internal types. 27494 * @param object Plain object 27495 * @returns CommitPreparedResponse 27496 */ 27497 public static fromObject(object: { [k: string]: any }): query.CommitPreparedResponse; 27498 27499 /** 27500 * Creates a plain object from a CommitPreparedResponse message. Also converts values to other types if specified. 27501 * @param message CommitPreparedResponse 27502 * @param [options] Conversion options 27503 * @returns Plain object 27504 */ 27505 public static toObject(message: query.CommitPreparedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 27506 27507 /** 27508 * Converts this CommitPreparedResponse to JSON. 27509 * @returns JSON object 27510 */ 27511 public toJSON(): { [k: string]: any }; 27512 } 27513 27514 /** Properties of a RollbackPreparedRequest. */ 27515 interface IRollbackPreparedRequest { 27516 27517 /** RollbackPreparedRequest effective_caller_id */ 27518 effective_caller_id?: (vtrpc.ICallerID|null); 27519 27520 /** RollbackPreparedRequest immediate_caller_id */ 27521 immediate_caller_id?: (query.IVTGateCallerID|null); 27522 27523 /** RollbackPreparedRequest target */ 27524 target?: (query.ITarget|null); 27525 27526 /** RollbackPreparedRequest transaction_id */ 27527 transaction_id?: (number|Long|null); 27528 27529 /** RollbackPreparedRequest dtid */ 27530 dtid?: (string|null); 27531 } 27532 27533 /** Represents a RollbackPreparedRequest. */ 27534 class RollbackPreparedRequest implements IRollbackPreparedRequest { 27535 27536 /** 27537 * Constructs a new RollbackPreparedRequest. 27538 * @param [properties] Properties to set 27539 */ 27540 constructor(properties?: query.IRollbackPreparedRequest); 27541 27542 /** RollbackPreparedRequest effective_caller_id. */ 27543 public effective_caller_id?: (vtrpc.ICallerID|null); 27544 27545 /** RollbackPreparedRequest immediate_caller_id. */ 27546 public immediate_caller_id?: (query.IVTGateCallerID|null); 27547 27548 /** RollbackPreparedRequest target. */ 27549 public target?: (query.ITarget|null); 27550 27551 /** RollbackPreparedRequest transaction_id. */ 27552 public transaction_id: (number|Long); 27553 27554 /** RollbackPreparedRequest dtid. */ 27555 public dtid: string; 27556 27557 /** 27558 * Creates a new RollbackPreparedRequest instance using the specified properties. 27559 * @param [properties] Properties to set 27560 * @returns RollbackPreparedRequest instance 27561 */ 27562 public static create(properties?: query.IRollbackPreparedRequest): query.RollbackPreparedRequest; 27563 27564 /** 27565 * Encodes the specified RollbackPreparedRequest message. Does not implicitly {@link query.RollbackPreparedRequest.verify|verify} messages. 27566 * @param message RollbackPreparedRequest message or plain object to encode 27567 * @param [writer] Writer to encode to 27568 * @returns Writer 27569 */ 27570 public static encode(message: query.IRollbackPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 27571 27572 /** 27573 * Encodes the specified RollbackPreparedRequest message, length delimited. Does not implicitly {@link query.RollbackPreparedRequest.verify|verify} messages. 27574 * @param message RollbackPreparedRequest message or plain object to encode 27575 * @param [writer] Writer to encode to 27576 * @returns Writer 27577 */ 27578 public static encodeDelimited(message: query.IRollbackPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 27579 27580 /** 27581 * Decodes a RollbackPreparedRequest message from the specified reader or buffer. 27582 * @param reader Reader or buffer to decode from 27583 * @param [length] Message length if known beforehand 27584 * @returns RollbackPreparedRequest 27585 * @throws {Error} If the payload is not a reader or valid buffer 27586 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27587 */ 27588 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackPreparedRequest; 27589 27590 /** 27591 * Decodes a RollbackPreparedRequest message from the specified reader or buffer, length delimited. 27592 * @param reader Reader or buffer to decode from 27593 * @returns RollbackPreparedRequest 27594 * @throws {Error} If the payload is not a reader or valid buffer 27595 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27596 */ 27597 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackPreparedRequest; 27598 27599 /** 27600 * Verifies a RollbackPreparedRequest message. 27601 * @param message Plain object to verify 27602 * @returns `null` if valid, otherwise the reason why it is not 27603 */ 27604 public static verify(message: { [k: string]: any }): (string|null); 27605 27606 /** 27607 * Creates a RollbackPreparedRequest message from a plain object. Also converts values to their respective internal types. 27608 * @param object Plain object 27609 * @returns RollbackPreparedRequest 27610 */ 27611 public static fromObject(object: { [k: string]: any }): query.RollbackPreparedRequest; 27612 27613 /** 27614 * Creates a plain object from a RollbackPreparedRequest message. Also converts values to other types if specified. 27615 * @param message RollbackPreparedRequest 27616 * @param [options] Conversion options 27617 * @returns Plain object 27618 */ 27619 public static toObject(message: query.RollbackPreparedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 27620 27621 /** 27622 * Converts this RollbackPreparedRequest to JSON. 27623 * @returns JSON object 27624 */ 27625 public toJSON(): { [k: string]: any }; 27626 } 27627 27628 /** Properties of a RollbackPreparedResponse. */ 27629 interface IRollbackPreparedResponse { 27630 } 27631 27632 /** Represents a RollbackPreparedResponse. */ 27633 class RollbackPreparedResponse implements IRollbackPreparedResponse { 27634 27635 /** 27636 * Constructs a new RollbackPreparedResponse. 27637 * @param [properties] Properties to set 27638 */ 27639 constructor(properties?: query.IRollbackPreparedResponse); 27640 27641 /** 27642 * Creates a new RollbackPreparedResponse instance using the specified properties. 27643 * @param [properties] Properties to set 27644 * @returns RollbackPreparedResponse instance 27645 */ 27646 public static create(properties?: query.IRollbackPreparedResponse): query.RollbackPreparedResponse; 27647 27648 /** 27649 * Encodes the specified RollbackPreparedResponse message. Does not implicitly {@link query.RollbackPreparedResponse.verify|verify} messages. 27650 * @param message RollbackPreparedResponse message or plain object to encode 27651 * @param [writer] Writer to encode to 27652 * @returns Writer 27653 */ 27654 public static encode(message: query.IRollbackPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 27655 27656 /** 27657 * Encodes the specified RollbackPreparedResponse message, length delimited. Does not implicitly {@link query.RollbackPreparedResponse.verify|verify} messages. 27658 * @param message RollbackPreparedResponse message or plain object to encode 27659 * @param [writer] Writer to encode to 27660 * @returns Writer 27661 */ 27662 public static encodeDelimited(message: query.IRollbackPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 27663 27664 /** 27665 * Decodes a RollbackPreparedResponse message from the specified reader or buffer. 27666 * @param reader Reader or buffer to decode from 27667 * @param [length] Message length if known beforehand 27668 * @returns RollbackPreparedResponse 27669 * @throws {Error} If the payload is not a reader or valid buffer 27670 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27671 */ 27672 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackPreparedResponse; 27673 27674 /** 27675 * Decodes a RollbackPreparedResponse message from the specified reader or buffer, length delimited. 27676 * @param reader Reader or buffer to decode from 27677 * @returns RollbackPreparedResponse 27678 * @throws {Error} If the payload is not a reader or valid buffer 27679 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27680 */ 27681 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackPreparedResponse; 27682 27683 /** 27684 * Verifies a RollbackPreparedResponse message. 27685 * @param message Plain object to verify 27686 * @returns `null` if valid, otherwise the reason why it is not 27687 */ 27688 public static verify(message: { [k: string]: any }): (string|null); 27689 27690 /** 27691 * Creates a RollbackPreparedResponse message from a plain object. Also converts values to their respective internal types. 27692 * @param object Plain object 27693 * @returns RollbackPreparedResponse 27694 */ 27695 public static fromObject(object: { [k: string]: any }): query.RollbackPreparedResponse; 27696 27697 /** 27698 * Creates a plain object from a RollbackPreparedResponse message. Also converts values to other types if specified. 27699 * @param message RollbackPreparedResponse 27700 * @param [options] Conversion options 27701 * @returns Plain object 27702 */ 27703 public static toObject(message: query.RollbackPreparedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 27704 27705 /** 27706 * Converts this RollbackPreparedResponse to JSON. 27707 * @returns JSON object 27708 */ 27709 public toJSON(): { [k: string]: any }; 27710 } 27711 27712 /** Properties of a CreateTransactionRequest. */ 27713 interface ICreateTransactionRequest { 27714 27715 /** CreateTransactionRequest effective_caller_id */ 27716 effective_caller_id?: (vtrpc.ICallerID|null); 27717 27718 /** CreateTransactionRequest immediate_caller_id */ 27719 immediate_caller_id?: (query.IVTGateCallerID|null); 27720 27721 /** CreateTransactionRequest target */ 27722 target?: (query.ITarget|null); 27723 27724 /** CreateTransactionRequest dtid */ 27725 dtid?: (string|null); 27726 27727 /** CreateTransactionRequest participants */ 27728 participants?: (query.ITarget[]|null); 27729 } 27730 27731 /** Represents a CreateTransactionRequest. */ 27732 class CreateTransactionRequest implements ICreateTransactionRequest { 27733 27734 /** 27735 * Constructs a new CreateTransactionRequest. 27736 * @param [properties] Properties to set 27737 */ 27738 constructor(properties?: query.ICreateTransactionRequest); 27739 27740 /** CreateTransactionRequest effective_caller_id. */ 27741 public effective_caller_id?: (vtrpc.ICallerID|null); 27742 27743 /** CreateTransactionRequest immediate_caller_id. */ 27744 public immediate_caller_id?: (query.IVTGateCallerID|null); 27745 27746 /** CreateTransactionRequest target. */ 27747 public target?: (query.ITarget|null); 27748 27749 /** CreateTransactionRequest dtid. */ 27750 public dtid: string; 27751 27752 /** CreateTransactionRequest participants. */ 27753 public participants: query.ITarget[]; 27754 27755 /** 27756 * Creates a new CreateTransactionRequest instance using the specified properties. 27757 * @param [properties] Properties to set 27758 * @returns CreateTransactionRequest instance 27759 */ 27760 public static create(properties?: query.ICreateTransactionRequest): query.CreateTransactionRequest; 27761 27762 /** 27763 * Encodes the specified CreateTransactionRequest message. Does not implicitly {@link query.CreateTransactionRequest.verify|verify} messages. 27764 * @param message CreateTransactionRequest message or plain object to encode 27765 * @param [writer] Writer to encode to 27766 * @returns Writer 27767 */ 27768 public static encode(message: query.ICreateTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 27769 27770 /** 27771 * Encodes the specified CreateTransactionRequest message, length delimited. Does not implicitly {@link query.CreateTransactionRequest.verify|verify} messages. 27772 * @param message CreateTransactionRequest message or plain object to encode 27773 * @param [writer] Writer to encode to 27774 * @returns Writer 27775 */ 27776 public static encodeDelimited(message: query.ICreateTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 27777 27778 /** 27779 * Decodes a CreateTransactionRequest message from the specified reader or buffer. 27780 * @param reader Reader or buffer to decode from 27781 * @param [length] Message length if known beforehand 27782 * @returns CreateTransactionRequest 27783 * @throws {Error} If the payload is not a reader or valid buffer 27784 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27785 */ 27786 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CreateTransactionRequest; 27787 27788 /** 27789 * Decodes a CreateTransactionRequest message from the specified reader or buffer, length delimited. 27790 * @param reader Reader or buffer to decode from 27791 * @returns CreateTransactionRequest 27792 * @throws {Error} If the payload is not a reader or valid buffer 27793 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27794 */ 27795 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CreateTransactionRequest; 27796 27797 /** 27798 * Verifies a CreateTransactionRequest message. 27799 * @param message Plain object to verify 27800 * @returns `null` if valid, otherwise the reason why it is not 27801 */ 27802 public static verify(message: { [k: string]: any }): (string|null); 27803 27804 /** 27805 * Creates a CreateTransactionRequest message from a plain object. Also converts values to their respective internal types. 27806 * @param object Plain object 27807 * @returns CreateTransactionRequest 27808 */ 27809 public static fromObject(object: { [k: string]: any }): query.CreateTransactionRequest; 27810 27811 /** 27812 * Creates a plain object from a CreateTransactionRequest message. Also converts values to other types if specified. 27813 * @param message CreateTransactionRequest 27814 * @param [options] Conversion options 27815 * @returns Plain object 27816 */ 27817 public static toObject(message: query.CreateTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 27818 27819 /** 27820 * Converts this CreateTransactionRequest to JSON. 27821 * @returns JSON object 27822 */ 27823 public toJSON(): { [k: string]: any }; 27824 } 27825 27826 /** Properties of a CreateTransactionResponse. */ 27827 interface ICreateTransactionResponse { 27828 } 27829 27830 /** Represents a CreateTransactionResponse. */ 27831 class CreateTransactionResponse implements ICreateTransactionResponse { 27832 27833 /** 27834 * Constructs a new CreateTransactionResponse. 27835 * @param [properties] Properties to set 27836 */ 27837 constructor(properties?: query.ICreateTransactionResponse); 27838 27839 /** 27840 * Creates a new CreateTransactionResponse instance using the specified properties. 27841 * @param [properties] Properties to set 27842 * @returns CreateTransactionResponse instance 27843 */ 27844 public static create(properties?: query.ICreateTransactionResponse): query.CreateTransactionResponse; 27845 27846 /** 27847 * Encodes the specified CreateTransactionResponse message. Does not implicitly {@link query.CreateTransactionResponse.verify|verify} messages. 27848 * @param message CreateTransactionResponse message or plain object to encode 27849 * @param [writer] Writer to encode to 27850 * @returns Writer 27851 */ 27852 public static encode(message: query.ICreateTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 27853 27854 /** 27855 * Encodes the specified CreateTransactionResponse message, length delimited. Does not implicitly {@link query.CreateTransactionResponse.verify|verify} messages. 27856 * @param message CreateTransactionResponse message or plain object to encode 27857 * @param [writer] Writer to encode to 27858 * @returns Writer 27859 */ 27860 public static encodeDelimited(message: query.ICreateTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 27861 27862 /** 27863 * Decodes a CreateTransactionResponse message from the specified reader or buffer. 27864 * @param reader Reader or buffer to decode from 27865 * @param [length] Message length if known beforehand 27866 * @returns CreateTransactionResponse 27867 * @throws {Error} If the payload is not a reader or valid buffer 27868 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27869 */ 27870 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CreateTransactionResponse; 27871 27872 /** 27873 * Decodes a CreateTransactionResponse message from the specified reader or buffer, length delimited. 27874 * @param reader Reader or buffer to decode from 27875 * @returns CreateTransactionResponse 27876 * @throws {Error} If the payload is not a reader or valid buffer 27877 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27878 */ 27879 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CreateTransactionResponse; 27880 27881 /** 27882 * Verifies a CreateTransactionResponse message. 27883 * @param message Plain object to verify 27884 * @returns `null` if valid, otherwise the reason why it is not 27885 */ 27886 public static verify(message: { [k: string]: any }): (string|null); 27887 27888 /** 27889 * Creates a CreateTransactionResponse message from a plain object. Also converts values to their respective internal types. 27890 * @param object Plain object 27891 * @returns CreateTransactionResponse 27892 */ 27893 public static fromObject(object: { [k: string]: any }): query.CreateTransactionResponse; 27894 27895 /** 27896 * Creates a plain object from a CreateTransactionResponse message. Also converts values to other types if specified. 27897 * @param message CreateTransactionResponse 27898 * @param [options] Conversion options 27899 * @returns Plain object 27900 */ 27901 public static toObject(message: query.CreateTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 27902 27903 /** 27904 * Converts this CreateTransactionResponse to JSON. 27905 * @returns JSON object 27906 */ 27907 public toJSON(): { [k: string]: any }; 27908 } 27909 27910 /** Properties of a StartCommitRequest. */ 27911 interface IStartCommitRequest { 27912 27913 /** StartCommitRequest effective_caller_id */ 27914 effective_caller_id?: (vtrpc.ICallerID|null); 27915 27916 /** StartCommitRequest immediate_caller_id */ 27917 immediate_caller_id?: (query.IVTGateCallerID|null); 27918 27919 /** StartCommitRequest target */ 27920 target?: (query.ITarget|null); 27921 27922 /** StartCommitRequest transaction_id */ 27923 transaction_id?: (number|Long|null); 27924 27925 /** StartCommitRequest dtid */ 27926 dtid?: (string|null); 27927 } 27928 27929 /** Represents a StartCommitRequest. */ 27930 class StartCommitRequest implements IStartCommitRequest { 27931 27932 /** 27933 * Constructs a new StartCommitRequest. 27934 * @param [properties] Properties to set 27935 */ 27936 constructor(properties?: query.IStartCommitRequest); 27937 27938 /** StartCommitRequest effective_caller_id. */ 27939 public effective_caller_id?: (vtrpc.ICallerID|null); 27940 27941 /** StartCommitRequest immediate_caller_id. */ 27942 public immediate_caller_id?: (query.IVTGateCallerID|null); 27943 27944 /** StartCommitRequest target. */ 27945 public target?: (query.ITarget|null); 27946 27947 /** StartCommitRequest transaction_id. */ 27948 public transaction_id: (number|Long); 27949 27950 /** StartCommitRequest dtid. */ 27951 public dtid: string; 27952 27953 /** 27954 * Creates a new StartCommitRequest instance using the specified properties. 27955 * @param [properties] Properties to set 27956 * @returns StartCommitRequest instance 27957 */ 27958 public static create(properties?: query.IStartCommitRequest): query.StartCommitRequest; 27959 27960 /** 27961 * Encodes the specified StartCommitRequest message. Does not implicitly {@link query.StartCommitRequest.verify|verify} messages. 27962 * @param message StartCommitRequest message or plain object to encode 27963 * @param [writer] Writer to encode to 27964 * @returns Writer 27965 */ 27966 public static encode(message: query.IStartCommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; 27967 27968 /** 27969 * Encodes the specified StartCommitRequest message, length delimited. Does not implicitly {@link query.StartCommitRequest.verify|verify} messages. 27970 * @param message StartCommitRequest message or plain object to encode 27971 * @param [writer] Writer to encode to 27972 * @returns Writer 27973 */ 27974 public static encodeDelimited(message: query.IStartCommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; 27975 27976 /** 27977 * Decodes a StartCommitRequest message from the specified reader or buffer. 27978 * @param reader Reader or buffer to decode from 27979 * @param [length] Message length if known beforehand 27980 * @returns StartCommitRequest 27981 * @throws {Error} If the payload is not a reader or valid buffer 27982 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27983 */ 27984 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StartCommitRequest; 27985 27986 /** 27987 * Decodes a StartCommitRequest message from the specified reader or buffer, length delimited. 27988 * @param reader Reader or buffer to decode from 27989 * @returns StartCommitRequest 27990 * @throws {Error} If the payload is not a reader or valid buffer 27991 * @throws {$protobuf.util.ProtocolError} If required fields are missing 27992 */ 27993 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StartCommitRequest; 27994 27995 /** 27996 * Verifies a StartCommitRequest message. 27997 * @param message Plain object to verify 27998 * @returns `null` if valid, otherwise the reason why it is not 27999 */ 28000 public static verify(message: { [k: string]: any }): (string|null); 28001 28002 /** 28003 * Creates a StartCommitRequest message from a plain object. Also converts values to their respective internal types. 28004 * @param object Plain object 28005 * @returns StartCommitRequest 28006 */ 28007 public static fromObject(object: { [k: string]: any }): query.StartCommitRequest; 28008 28009 /** 28010 * Creates a plain object from a StartCommitRequest message. Also converts values to other types if specified. 28011 * @param message StartCommitRequest 28012 * @param [options] Conversion options 28013 * @returns Plain object 28014 */ 28015 public static toObject(message: query.StartCommitRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 28016 28017 /** 28018 * Converts this StartCommitRequest to JSON. 28019 * @returns JSON object 28020 */ 28021 public toJSON(): { [k: string]: any }; 28022 } 28023 28024 /** Properties of a StartCommitResponse. */ 28025 interface IStartCommitResponse { 28026 } 28027 28028 /** Represents a StartCommitResponse. */ 28029 class StartCommitResponse implements IStartCommitResponse { 28030 28031 /** 28032 * Constructs a new StartCommitResponse. 28033 * @param [properties] Properties to set 28034 */ 28035 constructor(properties?: query.IStartCommitResponse); 28036 28037 /** 28038 * Creates a new StartCommitResponse instance using the specified properties. 28039 * @param [properties] Properties to set 28040 * @returns StartCommitResponse instance 28041 */ 28042 public static create(properties?: query.IStartCommitResponse): query.StartCommitResponse; 28043 28044 /** 28045 * Encodes the specified StartCommitResponse message. Does not implicitly {@link query.StartCommitResponse.verify|verify} messages. 28046 * @param message StartCommitResponse message or plain object to encode 28047 * @param [writer] Writer to encode to 28048 * @returns Writer 28049 */ 28050 public static encode(message: query.IStartCommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; 28051 28052 /** 28053 * Encodes the specified StartCommitResponse message, length delimited. Does not implicitly {@link query.StartCommitResponse.verify|verify} messages. 28054 * @param message StartCommitResponse message or plain object to encode 28055 * @param [writer] Writer to encode to 28056 * @returns Writer 28057 */ 28058 public static encodeDelimited(message: query.IStartCommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; 28059 28060 /** 28061 * Decodes a StartCommitResponse message from the specified reader or buffer. 28062 * @param reader Reader or buffer to decode from 28063 * @param [length] Message length if known beforehand 28064 * @returns StartCommitResponse 28065 * @throws {Error} If the payload is not a reader or valid buffer 28066 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28067 */ 28068 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StartCommitResponse; 28069 28070 /** 28071 * Decodes a StartCommitResponse message from the specified reader or buffer, length delimited. 28072 * @param reader Reader or buffer to decode from 28073 * @returns StartCommitResponse 28074 * @throws {Error} If the payload is not a reader or valid buffer 28075 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28076 */ 28077 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StartCommitResponse; 28078 28079 /** 28080 * Verifies a StartCommitResponse message. 28081 * @param message Plain object to verify 28082 * @returns `null` if valid, otherwise the reason why it is not 28083 */ 28084 public static verify(message: { [k: string]: any }): (string|null); 28085 28086 /** 28087 * Creates a StartCommitResponse message from a plain object. Also converts values to their respective internal types. 28088 * @param object Plain object 28089 * @returns StartCommitResponse 28090 */ 28091 public static fromObject(object: { [k: string]: any }): query.StartCommitResponse; 28092 28093 /** 28094 * Creates a plain object from a StartCommitResponse message. Also converts values to other types if specified. 28095 * @param message StartCommitResponse 28096 * @param [options] Conversion options 28097 * @returns Plain object 28098 */ 28099 public static toObject(message: query.StartCommitResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 28100 28101 /** 28102 * Converts this StartCommitResponse to JSON. 28103 * @returns JSON object 28104 */ 28105 public toJSON(): { [k: string]: any }; 28106 } 28107 28108 /** Properties of a SetRollbackRequest. */ 28109 interface ISetRollbackRequest { 28110 28111 /** SetRollbackRequest effective_caller_id */ 28112 effective_caller_id?: (vtrpc.ICallerID|null); 28113 28114 /** SetRollbackRequest immediate_caller_id */ 28115 immediate_caller_id?: (query.IVTGateCallerID|null); 28116 28117 /** SetRollbackRequest target */ 28118 target?: (query.ITarget|null); 28119 28120 /** SetRollbackRequest transaction_id */ 28121 transaction_id?: (number|Long|null); 28122 28123 /** SetRollbackRequest dtid */ 28124 dtid?: (string|null); 28125 } 28126 28127 /** Represents a SetRollbackRequest. */ 28128 class SetRollbackRequest implements ISetRollbackRequest { 28129 28130 /** 28131 * Constructs a new SetRollbackRequest. 28132 * @param [properties] Properties to set 28133 */ 28134 constructor(properties?: query.ISetRollbackRequest); 28135 28136 /** SetRollbackRequest effective_caller_id. */ 28137 public effective_caller_id?: (vtrpc.ICallerID|null); 28138 28139 /** SetRollbackRequest immediate_caller_id. */ 28140 public immediate_caller_id?: (query.IVTGateCallerID|null); 28141 28142 /** SetRollbackRequest target. */ 28143 public target?: (query.ITarget|null); 28144 28145 /** SetRollbackRequest transaction_id. */ 28146 public transaction_id: (number|Long); 28147 28148 /** SetRollbackRequest dtid. */ 28149 public dtid: string; 28150 28151 /** 28152 * Creates a new SetRollbackRequest instance using the specified properties. 28153 * @param [properties] Properties to set 28154 * @returns SetRollbackRequest instance 28155 */ 28156 public static create(properties?: query.ISetRollbackRequest): query.SetRollbackRequest; 28157 28158 /** 28159 * Encodes the specified SetRollbackRequest message. Does not implicitly {@link query.SetRollbackRequest.verify|verify} messages. 28160 * @param message SetRollbackRequest message or plain object to encode 28161 * @param [writer] Writer to encode to 28162 * @returns Writer 28163 */ 28164 public static encode(message: query.ISetRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; 28165 28166 /** 28167 * Encodes the specified SetRollbackRequest message, length delimited. Does not implicitly {@link query.SetRollbackRequest.verify|verify} messages. 28168 * @param message SetRollbackRequest message or plain object to encode 28169 * @param [writer] Writer to encode to 28170 * @returns Writer 28171 */ 28172 public static encodeDelimited(message: query.ISetRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; 28173 28174 /** 28175 * Decodes a SetRollbackRequest message from the specified reader or buffer. 28176 * @param reader Reader or buffer to decode from 28177 * @param [length] Message length if known beforehand 28178 * @returns SetRollbackRequest 28179 * @throws {Error} If the payload is not a reader or valid buffer 28180 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28181 */ 28182 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.SetRollbackRequest; 28183 28184 /** 28185 * Decodes a SetRollbackRequest message from the specified reader or buffer, length delimited. 28186 * @param reader Reader or buffer to decode from 28187 * @returns SetRollbackRequest 28188 * @throws {Error} If the payload is not a reader or valid buffer 28189 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28190 */ 28191 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.SetRollbackRequest; 28192 28193 /** 28194 * Verifies a SetRollbackRequest message. 28195 * @param message Plain object to verify 28196 * @returns `null` if valid, otherwise the reason why it is not 28197 */ 28198 public static verify(message: { [k: string]: any }): (string|null); 28199 28200 /** 28201 * Creates a SetRollbackRequest message from a plain object. Also converts values to their respective internal types. 28202 * @param object Plain object 28203 * @returns SetRollbackRequest 28204 */ 28205 public static fromObject(object: { [k: string]: any }): query.SetRollbackRequest; 28206 28207 /** 28208 * Creates a plain object from a SetRollbackRequest message. Also converts values to other types if specified. 28209 * @param message SetRollbackRequest 28210 * @param [options] Conversion options 28211 * @returns Plain object 28212 */ 28213 public static toObject(message: query.SetRollbackRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 28214 28215 /** 28216 * Converts this SetRollbackRequest to JSON. 28217 * @returns JSON object 28218 */ 28219 public toJSON(): { [k: string]: any }; 28220 } 28221 28222 /** Properties of a SetRollbackResponse. */ 28223 interface ISetRollbackResponse { 28224 } 28225 28226 /** Represents a SetRollbackResponse. */ 28227 class SetRollbackResponse implements ISetRollbackResponse { 28228 28229 /** 28230 * Constructs a new SetRollbackResponse. 28231 * @param [properties] Properties to set 28232 */ 28233 constructor(properties?: query.ISetRollbackResponse); 28234 28235 /** 28236 * Creates a new SetRollbackResponse instance using the specified properties. 28237 * @param [properties] Properties to set 28238 * @returns SetRollbackResponse instance 28239 */ 28240 public static create(properties?: query.ISetRollbackResponse): query.SetRollbackResponse; 28241 28242 /** 28243 * Encodes the specified SetRollbackResponse message. Does not implicitly {@link query.SetRollbackResponse.verify|verify} messages. 28244 * @param message SetRollbackResponse message or plain object to encode 28245 * @param [writer] Writer to encode to 28246 * @returns Writer 28247 */ 28248 public static encode(message: query.ISetRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; 28249 28250 /** 28251 * Encodes the specified SetRollbackResponse message, length delimited. Does not implicitly {@link query.SetRollbackResponse.verify|verify} messages. 28252 * @param message SetRollbackResponse message or plain object to encode 28253 * @param [writer] Writer to encode to 28254 * @returns Writer 28255 */ 28256 public static encodeDelimited(message: query.ISetRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; 28257 28258 /** 28259 * Decodes a SetRollbackResponse message from the specified reader or buffer. 28260 * @param reader Reader or buffer to decode from 28261 * @param [length] Message length if known beforehand 28262 * @returns SetRollbackResponse 28263 * @throws {Error} If the payload is not a reader or valid buffer 28264 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28265 */ 28266 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.SetRollbackResponse; 28267 28268 /** 28269 * Decodes a SetRollbackResponse message from the specified reader or buffer, length delimited. 28270 * @param reader Reader or buffer to decode from 28271 * @returns SetRollbackResponse 28272 * @throws {Error} If the payload is not a reader or valid buffer 28273 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28274 */ 28275 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.SetRollbackResponse; 28276 28277 /** 28278 * Verifies a SetRollbackResponse message. 28279 * @param message Plain object to verify 28280 * @returns `null` if valid, otherwise the reason why it is not 28281 */ 28282 public static verify(message: { [k: string]: any }): (string|null); 28283 28284 /** 28285 * Creates a SetRollbackResponse message from a plain object. Also converts values to their respective internal types. 28286 * @param object Plain object 28287 * @returns SetRollbackResponse 28288 */ 28289 public static fromObject(object: { [k: string]: any }): query.SetRollbackResponse; 28290 28291 /** 28292 * Creates a plain object from a SetRollbackResponse message. Also converts values to other types if specified. 28293 * @param message SetRollbackResponse 28294 * @param [options] Conversion options 28295 * @returns Plain object 28296 */ 28297 public static toObject(message: query.SetRollbackResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 28298 28299 /** 28300 * Converts this SetRollbackResponse to JSON. 28301 * @returns JSON object 28302 */ 28303 public toJSON(): { [k: string]: any }; 28304 } 28305 28306 /** Properties of a ConcludeTransactionRequest. */ 28307 interface IConcludeTransactionRequest { 28308 28309 /** ConcludeTransactionRequest effective_caller_id */ 28310 effective_caller_id?: (vtrpc.ICallerID|null); 28311 28312 /** ConcludeTransactionRequest immediate_caller_id */ 28313 immediate_caller_id?: (query.IVTGateCallerID|null); 28314 28315 /** ConcludeTransactionRequest target */ 28316 target?: (query.ITarget|null); 28317 28318 /** ConcludeTransactionRequest dtid */ 28319 dtid?: (string|null); 28320 } 28321 28322 /** Represents a ConcludeTransactionRequest. */ 28323 class ConcludeTransactionRequest implements IConcludeTransactionRequest { 28324 28325 /** 28326 * Constructs a new ConcludeTransactionRequest. 28327 * @param [properties] Properties to set 28328 */ 28329 constructor(properties?: query.IConcludeTransactionRequest); 28330 28331 /** ConcludeTransactionRequest effective_caller_id. */ 28332 public effective_caller_id?: (vtrpc.ICallerID|null); 28333 28334 /** ConcludeTransactionRequest immediate_caller_id. */ 28335 public immediate_caller_id?: (query.IVTGateCallerID|null); 28336 28337 /** ConcludeTransactionRequest target. */ 28338 public target?: (query.ITarget|null); 28339 28340 /** ConcludeTransactionRequest dtid. */ 28341 public dtid: string; 28342 28343 /** 28344 * Creates a new ConcludeTransactionRequest instance using the specified properties. 28345 * @param [properties] Properties to set 28346 * @returns ConcludeTransactionRequest instance 28347 */ 28348 public static create(properties?: query.IConcludeTransactionRequest): query.ConcludeTransactionRequest; 28349 28350 /** 28351 * Encodes the specified ConcludeTransactionRequest message. Does not implicitly {@link query.ConcludeTransactionRequest.verify|verify} messages. 28352 * @param message ConcludeTransactionRequest message or plain object to encode 28353 * @param [writer] Writer to encode to 28354 * @returns Writer 28355 */ 28356 public static encode(message: query.IConcludeTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 28357 28358 /** 28359 * Encodes the specified ConcludeTransactionRequest message, length delimited. Does not implicitly {@link query.ConcludeTransactionRequest.verify|verify} messages. 28360 * @param message ConcludeTransactionRequest message or plain object to encode 28361 * @param [writer] Writer to encode to 28362 * @returns Writer 28363 */ 28364 public static encodeDelimited(message: query.IConcludeTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 28365 28366 /** 28367 * Decodes a ConcludeTransactionRequest message from the specified reader or buffer. 28368 * @param reader Reader or buffer to decode from 28369 * @param [length] Message length if known beforehand 28370 * @returns ConcludeTransactionRequest 28371 * @throws {Error} If the payload is not a reader or valid buffer 28372 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28373 */ 28374 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ConcludeTransactionRequest; 28375 28376 /** 28377 * Decodes a ConcludeTransactionRequest message from the specified reader or buffer, length delimited. 28378 * @param reader Reader or buffer to decode from 28379 * @returns ConcludeTransactionRequest 28380 * @throws {Error} If the payload is not a reader or valid buffer 28381 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28382 */ 28383 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ConcludeTransactionRequest; 28384 28385 /** 28386 * Verifies a ConcludeTransactionRequest message. 28387 * @param message Plain object to verify 28388 * @returns `null` if valid, otherwise the reason why it is not 28389 */ 28390 public static verify(message: { [k: string]: any }): (string|null); 28391 28392 /** 28393 * Creates a ConcludeTransactionRequest message from a plain object. Also converts values to their respective internal types. 28394 * @param object Plain object 28395 * @returns ConcludeTransactionRequest 28396 */ 28397 public static fromObject(object: { [k: string]: any }): query.ConcludeTransactionRequest; 28398 28399 /** 28400 * Creates a plain object from a ConcludeTransactionRequest message. Also converts values to other types if specified. 28401 * @param message ConcludeTransactionRequest 28402 * @param [options] Conversion options 28403 * @returns Plain object 28404 */ 28405 public static toObject(message: query.ConcludeTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 28406 28407 /** 28408 * Converts this ConcludeTransactionRequest to JSON. 28409 * @returns JSON object 28410 */ 28411 public toJSON(): { [k: string]: any }; 28412 } 28413 28414 /** Properties of a ConcludeTransactionResponse. */ 28415 interface IConcludeTransactionResponse { 28416 } 28417 28418 /** Represents a ConcludeTransactionResponse. */ 28419 class ConcludeTransactionResponse implements IConcludeTransactionResponse { 28420 28421 /** 28422 * Constructs a new ConcludeTransactionResponse. 28423 * @param [properties] Properties to set 28424 */ 28425 constructor(properties?: query.IConcludeTransactionResponse); 28426 28427 /** 28428 * Creates a new ConcludeTransactionResponse instance using the specified properties. 28429 * @param [properties] Properties to set 28430 * @returns ConcludeTransactionResponse instance 28431 */ 28432 public static create(properties?: query.IConcludeTransactionResponse): query.ConcludeTransactionResponse; 28433 28434 /** 28435 * Encodes the specified ConcludeTransactionResponse message. Does not implicitly {@link query.ConcludeTransactionResponse.verify|verify} messages. 28436 * @param message ConcludeTransactionResponse message or plain object to encode 28437 * @param [writer] Writer to encode to 28438 * @returns Writer 28439 */ 28440 public static encode(message: query.IConcludeTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 28441 28442 /** 28443 * Encodes the specified ConcludeTransactionResponse message, length delimited. Does not implicitly {@link query.ConcludeTransactionResponse.verify|verify} messages. 28444 * @param message ConcludeTransactionResponse message or plain object to encode 28445 * @param [writer] Writer to encode to 28446 * @returns Writer 28447 */ 28448 public static encodeDelimited(message: query.IConcludeTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 28449 28450 /** 28451 * Decodes a ConcludeTransactionResponse message from the specified reader or buffer. 28452 * @param reader Reader or buffer to decode from 28453 * @param [length] Message length if known beforehand 28454 * @returns ConcludeTransactionResponse 28455 * @throws {Error} If the payload is not a reader or valid buffer 28456 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28457 */ 28458 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ConcludeTransactionResponse; 28459 28460 /** 28461 * Decodes a ConcludeTransactionResponse message from the specified reader or buffer, length delimited. 28462 * @param reader Reader or buffer to decode from 28463 * @returns ConcludeTransactionResponse 28464 * @throws {Error} If the payload is not a reader or valid buffer 28465 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28466 */ 28467 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ConcludeTransactionResponse; 28468 28469 /** 28470 * Verifies a ConcludeTransactionResponse message. 28471 * @param message Plain object to verify 28472 * @returns `null` if valid, otherwise the reason why it is not 28473 */ 28474 public static verify(message: { [k: string]: any }): (string|null); 28475 28476 /** 28477 * Creates a ConcludeTransactionResponse message from a plain object. Also converts values to their respective internal types. 28478 * @param object Plain object 28479 * @returns ConcludeTransactionResponse 28480 */ 28481 public static fromObject(object: { [k: string]: any }): query.ConcludeTransactionResponse; 28482 28483 /** 28484 * Creates a plain object from a ConcludeTransactionResponse message. Also converts values to other types if specified. 28485 * @param message ConcludeTransactionResponse 28486 * @param [options] Conversion options 28487 * @returns Plain object 28488 */ 28489 public static toObject(message: query.ConcludeTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 28490 28491 /** 28492 * Converts this ConcludeTransactionResponse to JSON. 28493 * @returns JSON object 28494 */ 28495 public toJSON(): { [k: string]: any }; 28496 } 28497 28498 /** Properties of a ReadTransactionRequest. */ 28499 interface IReadTransactionRequest { 28500 28501 /** ReadTransactionRequest effective_caller_id */ 28502 effective_caller_id?: (vtrpc.ICallerID|null); 28503 28504 /** ReadTransactionRequest immediate_caller_id */ 28505 immediate_caller_id?: (query.IVTGateCallerID|null); 28506 28507 /** ReadTransactionRequest target */ 28508 target?: (query.ITarget|null); 28509 28510 /** ReadTransactionRequest dtid */ 28511 dtid?: (string|null); 28512 } 28513 28514 /** Represents a ReadTransactionRequest. */ 28515 class ReadTransactionRequest implements IReadTransactionRequest { 28516 28517 /** 28518 * Constructs a new ReadTransactionRequest. 28519 * @param [properties] Properties to set 28520 */ 28521 constructor(properties?: query.IReadTransactionRequest); 28522 28523 /** ReadTransactionRequest effective_caller_id. */ 28524 public effective_caller_id?: (vtrpc.ICallerID|null); 28525 28526 /** ReadTransactionRequest immediate_caller_id. */ 28527 public immediate_caller_id?: (query.IVTGateCallerID|null); 28528 28529 /** ReadTransactionRequest target. */ 28530 public target?: (query.ITarget|null); 28531 28532 /** ReadTransactionRequest dtid. */ 28533 public dtid: string; 28534 28535 /** 28536 * Creates a new ReadTransactionRequest instance using the specified properties. 28537 * @param [properties] Properties to set 28538 * @returns ReadTransactionRequest instance 28539 */ 28540 public static create(properties?: query.IReadTransactionRequest): query.ReadTransactionRequest; 28541 28542 /** 28543 * Encodes the specified ReadTransactionRequest message. Does not implicitly {@link query.ReadTransactionRequest.verify|verify} messages. 28544 * @param message ReadTransactionRequest message or plain object to encode 28545 * @param [writer] Writer to encode to 28546 * @returns Writer 28547 */ 28548 public static encode(message: query.IReadTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 28549 28550 /** 28551 * Encodes the specified ReadTransactionRequest message, length delimited. Does not implicitly {@link query.ReadTransactionRequest.verify|verify} messages. 28552 * @param message ReadTransactionRequest message or plain object to encode 28553 * @param [writer] Writer to encode to 28554 * @returns Writer 28555 */ 28556 public static encodeDelimited(message: query.IReadTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 28557 28558 /** 28559 * Decodes a ReadTransactionRequest message from the specified reader or buffer. 28560 * @param reader Reader or buffer to decode from 28561 * @param [length] Message length if known beforehand 28562 * @returns ReadTransactionRequest 28563 * @throws {Error} If the payload is not a reader or valid buffer 28564 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28565 */ 28566 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReadTransactionRequest; 28567 28568 /** 28569 * Decodes a ReadTransactionRequest message from the specified reader or buffer, length delimited. 28570 * @param reader Reader or buffer to decode from 28571 * @returns ReadTransactionRequest 28572 * @throws {Error} If the payload is not a reader or valid buffer 28573 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28574 */ 28575 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReadTransactionRequest; 28576 28577 /** 28578 * Verifies a ReadTransactionRequest message. 28579 * @param message Plain object to verify 28580 * @returns `null` if valid, otherwise the reason why it is not 28581 */ 28582 public static verify(message: { [k: string]: any }): (string|null); 28583 28584 /** 28585 * Creates a ReadTransactionRequest message from a plain object. Also converts values to their respective internal types. 28586 * @param object Plain object 28587 * @returns ReadTransactionRequest 28588 */ 28589 public static fromObject(object: { [k: string]: any }): query.ReadTransactionRequest; 28590 28591 /** 28592 * Creates a plain object from a ReadTransactionRequest message. Also converts values to other types if specified. 28593 * @param message ReadTransactionRequest 28594 * @param [options] Conversion options 28595 * @returns Plain object 28596 */ 28597 public static toObject(message: query.ReadTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 28598 28599 /** 28600 * Converts this ReadTransactionRequest to JSON. 28601 * @returns JSON object 28602 */ 28603 public toJSON(): { [k: string]: any }; 28604 } 28605 28606 /** Properties of a ReadTransactionResponse. */ 28607 interface IReadTransactionResponse { 28608 28609 /** ReadTransactionResponse metadata */ 28610 metadata?: (query.ITransactionMetadata|null); 28611 } 28612 28613 /** Represents a ReadTransactionResponse. */ 28614 class ReadTransactionResponse implements IReadTransactionResponse { 28615 28616 /** 28617 * Constructs a new ReadTransactionResponse. 28618 * @param [properties] Properties to set 28619 */ 28620 constructor(properties?: query.IReadTransactionResponse); 28621 28622 /** ReadTransactionResponse metadata. */ 28623 public metadata?: (query.ITransactionMetadata|null); 28624 28625 /** 28626 * Creates a new ReadTransactionResponse instance using the specified properties. 28627 * @param [properties] Properties to set 28628 * @returns ReadTransactionResponse instance 28629 */ 28630 public static create(properties?: query.IReadTransactionResponse): query.ReadTransactionResponse; 28631 28632 /** 28633 * Encodes the specified ReadTransactionResponse message. Does not implicitly {@link query.ReadTransactionResponse.verify|verify} messages. 28634 * @param message ReadTransactionResponse message or plain object to encode 28635 * @param [writer] Writer to encode to 28636 * @returns Writer 28637 */ 28638 public static encode(message: query.IReadTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 28639 28640 /** 28641 * Encodes the specified ReadTransactionResponse message, length delimited. Does not implicitly {@link query.ReadTransactionResponse.verify|verify} messages. 28642 * @param message ReadTransactionResponse message or plain object to encode 28643 * @param [writer] Writer to encode to 28644 * @returns Writer 28645 */ 28646 public static encodeDelimited(message: query.IReadTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 28647 28648 /** 28649 * Decodes a ReadTransactionResponse message from the specified reader or buffer. 28650 * @param reader Reader or buffer to decode from 28651 * @param [length] Message length if known beforehand 28652 * @returns ReadTransactionResponse 28653 * @throws {Error} If the payload is not a reader or valid buffer 28654 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28655 */ 28656 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReadTransactionResponse; 28657 28658 /** 28659 * Decodes a ReadTransactionResponse message from the specified reader or buffer, length delimited. 28660 * @param reader Reader or buffer to decode from 28661 * @returns ReadTransactionResponse 28662 * @throws {Error} If the payload is not a reader or valid buffer 28663 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28664 */ 28665 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReadTransactionResponse; 28666 28667 /** 28668 * Verifies a ReadTransactionResponse message. 28669 * @param message Plain object to verify 28670 * @returns `null` if valid, otherwise the reason why it is not 28671 */ 28672 public static verify(message: { [k: string]: any }): (string|null); 28673 28674 /** 28675 * Creates a ReadTransactionResponse message from a plain object. Also converts values to their respective internal types. 28676 * @param object Plain object 28677 * @returns ReadTransactionResponse 28678 */ 28679 public static fromObject(object: { [k: string]: any }): query.ReadTransactionResponse; 28680 28681 /** 28682 * Creates a plain object from a ReadTransactionResponse message. Also converts values to other types if specified. 28683 * @param message ReadTransactionResponse 28684 * @param [options] Conversion options 28685 * @returns Plain object 28686 */ 28687 public static toObject(message: query.ReadTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 28688 28689 /** 28690 * Converts this ReadTransactionResponse to JSON. 28691 * @returns JSON object 28692 */ 28693 public toJSON(): { [k: string]: any }; 28694 } 28695 28696 /** Properties of a BeginExecuteRequest. */ 28697 interface IBeginExecuteRequest { 28698 28699 /** BeginExecuteRequest effective_caller_id */ 28700 effective_caller_id?: (vtrpc.ICallerID|null); 28701 28702 /** BeginExecuteRequest immediate_caller_id */ 28703 immediate_caller_id?: (query.IVTGateCallerID|null); 28704 28705 /** BeginExecuteRequest target */ 28706 target?: (query.ITarget|null); 28707 28708 /** BeginExecuteRequest query */ 28709 query?: (query.IBoundQuery|null); 28710 28711 /** BeginExecuteRequest options */ 28712 options?: (query.IExecuteOptions|null); 28713 28714 /** BeginExecuteRequest reserved_id */ 28715 reserved_id?: (number|Long|null); 28716 28717 /** BeginExecuteRequest pre_queries */ 28718 pre_queries?: (string[]|null); 28719 } 28720 28721 /** Represents a BeginExecuteRequest. */ 28722 class BeginExecuteRequest implements IBeginExecuteRequest { 28723 28724 /** 28725 * Constructs a new BeginExecuteRequest. 28726 * @param [properties] Properties to set 28727 */ 28728 constructor(properties?: query.IBeginExecuteRequest); 28729 28730 /** BeginExecuteRequest effective_caller_id. */ 28731 public effective_caller_id?: (vtrpc.ICallerID|null); 28732 28733 /** BeginExecuteRequest immediate_caller_id. */ 28734 public immediate_caller_id?: (query.IVTGateCallerID|null); 28735 28736 /** BeginExecuteRequest target. */ 28737 public target?: (query.ITarget|null); 28738 28739 /** BeginExecuteRequest query. */ 28740 public query?: (query.IBoundQuery|null); 28741 28742 /** BeginExecuteRequest options. */ 28743 public options?: (query.IExecuteOptions|null); 28744 28745 /** BeginExecuteRequest reserved_id. */ 28746 public reserved_id: (number|Long); 28747 28748 /** BeginExecuteRequest pre_queries. */ 28749 public pre_queries: string[]; 28750 28751 /** 28752 * Creates a new BeginExecuteRequest instance using the specified properties. 28753 * @param [properties] Properties to set 28754 * @returns BeginExecuteRequest instance 28755 */ 28756 public static create(properties?: query.IBeginExecuteRequest): query.BeginExecuteRequest; 28757 28758 /** 28759 * Encodes the specified BeginExecuteRequest message. Does not implicitly {@link query.BeginExecuteRequest.verify|verify} messages. 28760 * @param message BeginExecuteRequest message or plain object to encode 28761 * @param [writer] Writer to encode to 28762 * @returns Writer 28763 */ 28764 public static encode(message: query.IBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 28765 28766 /** 28767 * Encodes the specified BeginExecuteRequest message, length delimited. Does not implicitly {@link query.BeginExecuteRequest.verify|verify} messages. 28768 * @param message BeginExecuteRequest message or plain object to encode 28769 * @param [writer] Writer to encode to 28770 * @returns Writer 28771 */ 28772 public static encodeDelimited(message: query.IBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 28773 28774 /** 28775 * Decodes a BeginExecuteRequest message from the specified reader or buffer. 28776 * @param reader Reader or buffer to decode from 28777 * @param [length] Message length if known beforehand 28778 * @returns BeginExecuteRequest 28779 * @throws {Error} If the payload is not a reader or valid buffer 28780 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28781 */ 28782 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginExecuteRequest; 28783 28784 /** 28785 * Decodes a BeginExecuteRequest message from the specified reader or buffer, length delimited. 28786 * @param reader Reader or buffer to decode from 28787 * @returns BeginExecuteRequest 28788 * @throws {Error} If the payload is not a reader or valid buffer 28789 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28790 */ 28791 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginExecuteRequest; 28792 28793 /** 28794 * Verifies a BeginExecuteRequest message. 28795 * @param message Plain object to verify 28796 * @returns `null` if valid, otherwise the reason why it is not 28797 */ 28798 public static verify(message: { [k: string]: any }): (string|null); 28799 28800 /** 28801 * Creates a BeginExecuteRequest message from a plain object. Also converts values to their respective internal types. 28802 * @param object Plain object 28803 * @returns BeginExecuteRequest 28804 */ 28805 public static fromObject(object: { [k: string]: any }): query.BeginExecuteRequest; 28806 28807 /** 28808 * Creates a plain object from a BeginExecuteRequest message. Also converts values to other types if specified. 28809 * @param message BeginExecuteRequest 28810 * @param [options] Conversion options 28811 * @returns Plain object 28812 */ 28813 public static toObject(message: query.BeginExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 28814 28815 /** 28816 * Converts this BeginExecuteRequest to JSON. 28817 * @returns JSON object 28818 */ 28819 public toJSON(): { [k: string]: any }; 28820 } 28821 28822 /** Properties of a BeginExecuteResponse. */ 28823 interface IBeginExecuteResponse { 28824 28825 /** BeginExecuteResponse error */ 28826 error?: (vtrpc.IRPCError|null); 28827 28828 /** BeginExecuteResponse result */ 28829 result?: (query.IQueryResult|null); 28830 28831 /** BeginExecuteResponse transaction_id */ 28832 transaction_id?: (number|Long|null); 28833 28834 /** BeginExecuteResponse tablet_alias */ 28835 tablet_alias?: (topodata.ITabletAlias|null); 28836 28837 /** BeginExecuteResponse session_state_changes */ 28838 session_state_changes?: (string|null); 28839 } 28840 28841 /** Represents a BeginExecuteResponse. */ 28842 class BeginExecuteResponse implements IBeginExecuteResponse { 28843 28844 /** 28845 * Constructs a new BeginExecuteResponse. 28846 * @param [properties] Properties to set 28847 */ 28848 constructor(properties?: query.IBeginExecuteResponse); 28849 28850 /** BeginExecuteResponse error. */ 28851 public error?: (vtrpc.IRPCError|null); 28852 28853 /** BeginExecuteResponse result. */ 28854 public result?: (query.IQueryResult|null); 28855 28856 /** BeginExecuteResponse transaction_id. */ 28857 public transaction_id: (number|Long); 28858 28859 /** BeginExecuteResponse tablet_alias. */ 28860 public tablet_alias?: (topodata.ITabletAlias|null); 28861 28862 /** BeginExecuteResponse session_state_changes. */ 28863 public session_state_changes: string; 28864 28865 /** 28866 * Creates a new BeginExecuteResponse instance using the specified properties. 28867 * @param [properties] Properties to set 28868 * @returns BeginExecuteResponse instance 28869 */ 28870 public static create(properties?: query.IBeginExecuteResponse): query.BeginExecuteResponse; 28871 28872 /** 28873 * Encodes the specified BeginExecuteResponse message. Does not implicitly {@link query.BeginExecuteResponse.verify|verify} messages. 28874 * @param message BeginExecuteResponse message or plain object to encode 28875 * @param [writer] Writer to encode to 28876 * @returns Writer 28877 */ 28878 public static encode(message: query.IBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 28879 28880 /** 28881 * Encodes the specified BeginExecuteResponse message, length delimited. Does not implicitly {@link query.BeginExecuteResponse.verify|verify} messages. 28882 * @param message BeginExecuteResponse message or plain object to encode 28883 * @param [writer] Writer to encode to 28884 * @returns Writer 28885 */ 28886 public static encodeDelimited(message: query.IBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 28887 28888 /** 28889 * Decodes a BeginExecuteResponse message from the specified reader or buffer. 28890 * @param reader Reader or buffer to decode from 28891 * @param [length] Message length if known beforehand 28892 * @returns BeginExecuteResponse 28893 * @throws {Error} If the payload is not a reader or valid buffer 28894 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28895 */ 28896 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginExecuteResponse; 28897 28898 /** 28899 * Decodes a BeginExecuteResponse message from the specified reader or buffer, length delimited. 28900 * @param reader Reader or buffer to decode from 28901 * @returns BeginExecuteResponse 28902 * @throws {Error} If the payload is not a reader or valid buffer 28903 * @throws {$protobuf.util.ProtocolError} If required fields are missing 28904 */ 28905 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginExecuteResponse; 28906 28907 /** 28908 * Verifies a BeginExecuteResponse message. 28909 * @param message Plain object to verify 28910 * @returns `null` if valid, otherwise the reason why it is not 28911 */ 28912 public static verify(message: { [k: string]: any }): (string|null); 28913 28914 /** 28915 * Creates a BeginExecuteResponse message from a plain object. Also converts values to their respective internal types. 28916 * @param object Plain object 28917 * @returns BeginExecuteResponse 28918 */ 28919 public static fromObject(object: { [k: string]: any }): query.BeginExecuteResponse; 28920 28921 /** 28922 * Creates a plain object from a BeginExecuteResponse message. Also converts values to other types if specified. 28923 * @param message BeginExecuteResponse 28924 * @param [options] Conversion options 28925 * @returns Plain object 28926 */ 28927 public static toObject(message: query.BeginExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 28928 28929 /** 28930 * Converts this BeginExecuteResponse to JSON. 28931 * @returns JSON object 28932 */ 28933 public toJSON(): { [k: string]: any }; 28934 } 28935 28936 /** Properties of a BeginStreamExecuteRequest. */ 28937 interface IBeginStreamExecuteRequest { 28938 28939 /** BeginStreamExecuteRequest effective_caller_id */ 28940 effective_caller_id?: (vtrpc.ICallerID|null); 28941 28942 /** BeginStreamExecuteRequest immediate_caller_id */ 28943 immediate_caller_id?: (query.IVTGateCallerID|null); 28944 28945 /** BeginStreamExecuteRequest target */ 28946 target?: (query.ITarget|null); 28947 28948 /** BeginStreamExecuteRequest query */ 28949 query?: (query.IBoundQuery|null); 28950 28951 /** BeginStreamExecuteRequest options */ 28952 options?: (query.IExecuteOptions|null); 28953 28954 /** BeginStreamExecuteRequest pre_queries */ 28955 pre_queries?: (string[]|null); 28956 28957 /** BeginStreamExecuteRequest reserved_id */ 28958 reserved_id?: (number|Long|null); 28959 } 28960 28961 /** Represents a BeginStreamExecuteRequest. */ 28962 class BeginStreamExecuteRequest implements IBeginStreamExecuteRequest { 28963 28964 /** 28965 * Constructs a new BeginStreamExecuteRequest. 28966 * @param [properties] Properties to set 28967 */ 28968 constructor(properties?: query.IBeginStreamExecuteRequest); 28969 28970 /** BeginStreamExecuteRequest effective_caller_id. */ 28971 public effective_caller_id?: (vtrpc.ICallerID|null); 28972 28973 /** BeginStreamExecuteRequest immediate_caller_id. */ 28974 public immediate_caller_id?: (query.IVTGateCallerID|null); 28975 28976 /** BeginStreamExecuteRequest target. */ 28977 public target?: (query.ITarget|null); 28978 28979 /** BeginStreamExecuteRequest query. */ 28980 public query?: (query.IBoundQuery|null); 28981 28982 /** BeginStreamExecuteRequest options. */ 28983 public options?: (query.IExecuteOptions|null); 28984 28985 /** BeginStreamExecuteRequest pre_queries. */ 28986 public pre_queries: string[]; 28987 28988 /** BeginStreamExecuteRequest reserved_id. */ 28989 public reserved_id: (number|Long); 28990 28991 /** 28992 * Creates a new BeginStreamExecuteRequest instance using the specified properties. 28993 * @param [properties] Properties to set 28994 * @returns BeginStreamExecuteRequest instance 28995 */ 28996 public static create(properties?: query.IBeginStreamExecuteRequest): query.BeginStreamExecuteRequest; 28997 28998 /** 28999 * Encodes the specified BeginStreamExecuteRequest message. Does not implicitly {@link query.BeginStreamExecuteRequest.verify|verify} messages. 29000 * @param message BeginStreamExecuteRequest message or plain object to encode 29001 * @param [writer] Writer to encode to 29002 * @returns Writer 29003 */ 29004 public static encode(message: query.IBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 29005 29006 /** 29007 * Encodes the specified BeginStreamExecuteRequest message, length delimited. Does not implicitly {@link query.BeginStreamExecuteRequest.verify|verify} messages. 29008 * @param message BeginStreamExecuteRequest message or plain object to encode 29009 * @param [writer] Writer to encode to 29010 * @returns Writer 29011 */ 29012 public static encodeDelimited(message: query.IBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 29013 29014 /** 29015 * Decodes a BeginStreamExecuteRequest message from the specified reader or buffer. 29016 * @param reader Reader or buffer to decode from 29017 * @param [length] Message length if known beforehand 29018 * @returns BeginStreamExecuteRequest 29019 * @throws {Error} If the payload is not a reader or valid buffer 29020 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29021 */ 29022 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginStreamExecuteRequest; 29023 29024 /** 29025 * Decodes a BeginStreamExecuteRequest message from the specified reader or buffer, length delimited. 29026 * @param reader Reader or buffer to decode from 29027 * @returns BeginStreamExecuteRequest 29028 * @throws {Error} If the payload is not a reader or valid buffer 29029 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29030 */ 29031 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginStreamExecuteRequest; 29032 29033 /** 29034 * Verifies a BeginStreamExecuteRequest message. 29035 * @param message Plain object to verify 29036 * @returns `null` if valid, otherwise the reason why it is not 29037 */ 29038 public static verify(message: { [k: string]: any }): (string|null); 29039 29040 /** 29041 * Creates a BeginStreamExecuteRequest message from a plain object. Also converts values to their respective internal types. 29042 * @param object Plain object 29043 * @returns BeginStreamExecuteRequest 29044 */ 29045 public static fromObject(object: { [k: string]: any }): query.BeginStreamExecuteRequest; 29046 29047 /** 29048 * Creates a plain object from a BeginStreamExecuteRequest message. Also converts values to other types if specified. 29049 * @param message BeginStreamExecuteRequest 29050 * @param [options] Conversion options 29051 * @returns Plain object 29052 */ 29053 public static toObject(message: query.BeginStreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 29054 29055 /** 29056 * Converts this BeginStreamExecuteRequest to JSON. 29057 * @returns JSON object 29058 */ 29059 public toJSON(): { [k: string]: any }; 29060 } 29061 29062 /** Properties of a BeginStreamExecuteResponse. */ 29063 interface IBeginStreamExecuteResponse { 29064 29065 /** BeginStreamExecuteResponse error */ 29066 error?: (vtrpc.IRPCError|null); 29067 29068 /** BeginStreamExecuteResponse result */ 29069 result?: (query.IQueryResult|null); 29070 29071 /** BeginStreamExecuteResponse transaction_id */ 29072 transaction_id?: (number|Long|null); 29073 29074 /** BeginStreamExecuteResponse tablet_alias */ 29075 tablet_alias?: (topodata.ITabletAlias|null); 29076 29077 /** BeginStreamExecuteResponse session_state_changes */ 29078 session_state_changes?: (string|null); 29079 } 29080 29081 /** Represents a BeginStreamExecuteResponse. */ 29082 class BeginStreamExecuteResponse implements IBeginStreamExecuteResponse { 29083 29084 /** 29085 * Constructs a new BeginStreamExecuteResponse. 29086 * @param [properties] Properties to set 29087 */ 29088 constructor(properties?: query.IBeginStreamExecuteResponse); 29089 29090 /** BeginStreamExecuteResponse error. */ 29091 public error?: (vtrpc.IRPCError|null); 29092 29093 /** BeginStreamExecuteResponse result. */ 29094 public result?: (query.IQueryResult|null); 29095 29096 /** BeginStreamExecuteResponse transaction_id. */ 29097 public transaction_id: (number|Long); 29098 29099 /** BeginStreamExecuteResponse tablet_alias. */ 29100 public tablet_alias?: (topodata.ITabletAlias|null); 29101 29102 /** BeginStreamExecuteResponse session_state_changes. */ 29103 public session_state_changes: string; 29104 29105 /** 29106 * Creates a new BeginStreamExecuteResponse instance using the specified properties. 29107 * @param [properties] Properties to set 29108 * @returns BeginStreamExecuteResponse instance 29109 */ 29110 public static create(properties?: query.IBeginStreamExecuteResponse): query.BeginStreamExecuteResponse; 29111 29112 /** 29113 * Encodes the specified BeginStreamExecuteResponse message. Does not implicitly {@link query.BeginStreamExecuteResponse.verify|verify} messages. 29114 * @param message BeginStreamExecuteResponse message or plain object to encode 29115 * @param [writer] Writer to encode to 29116 * @returns Writer 29117 */ 29118 public static encode(message: query.IBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 29119 29120 /** 29121 * Encodes the specified BeginStreamExecuteResponse message, length delimited. Does not implicitly {@link query.BeginStreamExecuteResponse.verify|verify} messages. 29122 * @param message BeginStreamExecuteResponse message or plain object to encode 29123 * @param [writer] Writer to encode to 29124 * @returns Writer 29125 */ 29126 public static encodeDelimited(message: query.IBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 29127 29128 /** 29129 * Decodes a BeginStreamExecuteResponse message from the specified reader or buffer. 29130 * @param reader Reader or buffer to decode from 29131 * @param [length] Message length if known beforehand 29132 * @returns BeginStreamExecuteResponse 29133 * @throws {Error} If the payload is not a reader or valid buffer 29134 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29135 */ 29136 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginStreamExecuteResponse; 29137 29138 /** 29139 * Decodes a BeginStreamExecuteResponse message from the specified reader or buffer, length delimited. 29140 * @param reader Reader or buffer to decode from 29141 * @returns BeginStreamExecuteResponse 29142 * @throws {Error} If the payload is not a reader or valid buffer 29143 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29144 */ 29145 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginStreamExecuteResponse; 29146 29147 /** 29148 * Verifies a BeginStreamExecuteResponse message. 29149 * @param message Plain object to verify 29150 * @returns `null` if valid, otherwise the reason why it is not 29151 */ 29152 public static verify(message: { [k: string]: any }): (string|null); 29153 29154 /** 29155 * Creates a BeginStreamExecuteResponse message from a plain object. Also converts values to their respective internal types. 29156 * @param object Plain object 29157 * @returns BeginStreamExecuteResponse 29158 */ 29159 public static fromObject(object: { [k: string]: any }): query.BeginStreamExecuteResponse; 29160 29161 /** 29162 * Creates a plain object from a BeginStreamExecuteResponse message. Also converts values to other types if specified. 29163 * @param message BeginStreamExecuteResponse 29164 * @param [options] Conversion options 29165 * @returns Plain object 29166 */ 29167 public static toObject(message: query.BeginStreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 29168 29169 /** 29170 * Converts this BeginStreamExecuteResponse to JSON. 29171 * @returns JSON object 29172 */ 29173 public toJSON(): { [k: string]: any }; 29174 } 29175 29176 /** Properties of a MessageStreamRequest. */ 29177 interface IMessageStreamRequest { 29178 29179 /** MessageStreamRequest effective_caller_id */ 29180 effective_caller_id?: (vtrpc.ICallerID|null); 29181 29182 /** MessageStreamRequest immediate_caller_id */ 29183 immediate_caller_id?: (query.IVTGateCallerID|null); 29184 29185 /** MessageStreamRequest target */ 29186 target?: (query.ITarget|null); 29187 29188 /** MessageStreamRequest name */ 29189 name?: (string|null); 29190 } 29191 29192 /** Represents a MessageStreamRequest. */ 29193 class MessageStreamRequest implements IMessageStreamRequest { 29194 29195 /** 29196 * Constructs a new MessageStreamRequest. 29197 * @param [properties] Properties to set 29198 */ 29199 constructor(properties?: query.IMessageStreamRequest); 29200 29201 /** MessageStreamRequest effective_caller_id. */ 29202 public effective_caller_id?: (vtrpc.ICallerID|null); 29203 29204 /** MessageStreamRequest immediate_caller_id. */ 29205 public immediate_caller_id?: (query.IVTGateCallerID|null); 29206 29207 /** MessageStreamRequest target. */ 29208 public target?: (query.ITarget|null); 29209 29210 /** MessageStreamRequest name. */ 29211 public name: string; 29212 29213 /** 29214 * Creates a new MessageStreamRequest instance using the specified properties. 29215 * @param [properties] Properties to set 29216 * @returns MessageStreamRequest instance 29217 */ 29218 public static create(properties?: query.IMessageStreamRequest): query.MessageStreamRequest; 29219 29220 /** 29221 * Encodes the specified MessageStreamRequest message. Does not implicitly {@link query.MessageStreamRequest.verify|verify} messages. 29222 * @param message MessageStreamRequest message or plain object to encode 29223 * @param [writer] Writer to encode to 29224 * @returns Writer 29225 */ 29226 public static encode(message: query.IMessageStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer; 29227 29228 /** 29229 * Encodes the specified MessageStreamRequest message, length delimited. Does not implicitly {@link query.MessageStreamRequest.verify|verify} messages. 29230 * @param message MessageStreamRequest message or plain object to encode 29231 * @param [writer] Writer to encode to 29232 * @returns Writer 29233 */ 29234 public static encodeDelimited(message: query.IMessageStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer; 29235 29236 /** 29237 * Decodes a MessageStreamRequest message from the specified reader or buffer. 29238 * @param reader Reader or buffer to decode from 29239 * @param [length] Message length if known beforehand 29240 * @returns MessageStreamRequest 29241 * @throws {Error} If the payload is not a reader or valid buffer 29242 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29243 */ 29244 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageStreamRequest; 29245 29246 /** 29247 * Decodes a MessageStreamRequest message from the specified reader or buffer, length delimited. 29248 * @param reader Reader or buffer to decode from 29249 * @returns MessageStreamRequest 29250 * @throws {Error} If the payload is not a reader or valid buffer 29251 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29252 */ 29253 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageStreamRequest; 29254 29255 /** 29256 * Verifies a MessageStreamRequest message. 29257 * @param message Plain object to verify 29258 * @returns `null` if valid, otherwise the reason why it is not 29259 */ 29260 public static verify(message: { [k: string]: any }): (string|null); 29261 29262 /** 29263 * Creates a MessageStreamRequest message from a plain object. Also converts values to their respective internal types. 29264 * @param object Plain object 29265 * @returns MessageStreamRequest 29266 */ 29267 public static fromObject(object: { [k: string]: any }): query.MessageStreamRequest; 29268 29269 /** 29270 * Creates a plain object from a MessageStreamRequest message. Also converts values to other types if specified. 29271 * @param message MessageStreamRequest 29272 * @param [options] Conversion options 29273 * @returns Plain object 29274 */ 29275 public static toObject(message: query.MessageStreamRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 29276 29277 /** 29278 * Converts this MessageStreamRequest to JSON. 29279 * @returns JSON object 29280 */ 29281 public toJSON(): { [k: string]: any }; 29282 } 29283 29284 /** Properties of a MessageStreamResponse. */ 29285 interface IMessageStreamResponse { 29286 29287 /** MessageStreamResponse result */ 29288 result?: (query.IQueryResult|null); 29289 } 29290 29291 /** Represents a MessageStreamResponse. */ 29292 class MessageStreamResponse implements IMessageStreamResponse { 29293 29294 /** 29295 * Constructs a new MessageStreamResponse. 29296 * @param [properties] Properties to set 29297 */ 29298 constructor(properties?: query.IMessageStreamResponse); 29299 29300 /** MessageStreamResponse result. */ 29301 public result?: (query.IQueryResult|null); 29302 29303 /** 29304 * Creates a new MessageStreamResponse instance using the specified properties. 29305 * @param [properties] Properties to set 29306 * @returns MessageStreamResponse instance 29307 */ 29308 public static create(properties?: query.IMessageStreamResponse): query.MessageStreamResponse; 29309 29310 /** 29311 * Encodes the specified MessageStreamResponse message. Does not implicitly {@link query.MessageStreamResponse.verify|verify} messages. 29312 * @param message MessageStreamResponse message or plain object to encode 29313 * @param [writer] Writer to encode to 29314 * @returns Writer 29315 */ 29316 public static encode(message: query.IMessageStreamResponse, writer?: $protobuf.Writer): $protobuf.Writer; 29317 29318 /** 29319 * Encodes the specified MessageStreamResponse message, length delimited. Does not implicitly {@link query.MessageStreamResponse.verify|verify} messages. 29320 * @param message MessageStreamResponse message or plain object to encode 29321 * @param [writer] Writer to encode to 29322 * @returns Writer 29323 */ 29324 public static encodeDelimited(message: query.IMessageStreamResponse, writer?: $protobuf.Writer): $protobuf.Writer; 29325 29326 /** 29327 * Decodes a MessageStreamResponse message from the specified reader or buffer. 29328 * @param reader Reader or buffer to decode from 29329 * @param [length] Message length if known beforehand 29330 * @returns MessageStreamResponse 29331 * @throws {Error} If the payload is not a reader or valid buffer 29332 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29333 */ 29334 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageStreamResponse; 29335 29336 /** 29337 * Decodes a MessageStreamResponse message from the specified reader or buffer, length delimited. 29338 * @param reader Reader or buffer to decode from 29339 * @returns MessageStreamResponse 29340 * @throws {Error} If the payload is not a reader or valid buffer 29341 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29342 */ 29343 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageStreamResponse; 29344 29345 /** 29346 * Verifies a MessageStreamResponse message. 29347 * @param message Plain object to verify 29348 * @returns `null` if valid, otherwise the reason why it is not 29349 */ 29350 public static verify(message: { [k: string]: any }): (string|null); 29351 29352 /** 29353 * Creates a MessageStreamResponse message from a plain object. Also converts values to their respective internal types. 29354 * @param object Plain object 29355 * @returns MessageStreamResponse 29356 */ 29357 public static fromObject(object: { [k: string]: any }): query.MessageStreamResponse; 29358 29359 /** 29360 * Creates a plain object from a MessageStreamResponse message. Also converts values to other types if specified. 29361 * @param message MessageStreamResponse 29362 * @param [options] Conversion options 29363 * @returns Plain object 29364 */ 29365 public static toObject(message: query.MessageStreamResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 29366 29367 /** 29368 * Converts this MessageStreamResponse to JSON. 29369 * @returns JSON object 29370 */ 29371 public toJSON(): { [k: string]: any }; 29372 } 29373 29374 /** Properties of a MessageAckRequest. */ 29375 interface IMessageAckRequest { 29376 29377 /** MessageAckRequest effective_caller_id */ 29378 effective_caller_id?: (vtrpc.ICallerID|null); 29379 29380 /** MessageAckRequest immediate_caller_id */ 29381 immediate_caller_id?: (query.IVTGateCallerID|null); 29382 29383 /** MessageAckRequest target */ 29384 target?: (query.ITarget|null); 29385 29386 /** MessageAckRequest name */ 29387 name?: (string|null); 29388 29389 /** MessageAckRequest ids */ 29390 ids?: (query.IValue[]|null); 29391 } 29392 29393 /** Represents a MessageAckRequest. */ 29394 class MessageAckRequest implements IMessageAckRequest { 29395 29396 /** 29397 * Constructs a new MessageAckRequest. 29398 * @param [properties] Properties to set 29399 */ 29400 constructor(properties?: query.IMessageAckRequest); 29401 29402 /** MessageAckRequest effective_caller_id. */ 29403 public effective_caller_id?: (vtrpc.ICallerID|null); 29404 29405 /** MessageAckRequest immediate_caller_id. */ 29406 public immediate_caller_id?: (query.IVTGateCallerID|null); 29407 29408 /** MessageAckRequest target. */ 29409 public target?: (query.ITarget|null); 29410 29411 /** MessageAckRequest name. */ 29412 public name: string; 29413 29414 /** MessageAckRequest ids. */ 29415 public ids: query.IValue[]; 29416 29417 /** 29418 * Creates a new MessageAckRequest instance using the specified properties. 29419 * @param [properties] Properties to set 29420 * @returns MessageAckRequest instance 29421 */ 29422 public static create(properties?: query.IMessageAckRequest): query.MessageAckRequest; 29423 29424 /** 29425 * Encodes the specified MessageAckRequest message. Does not implicitly {@link query.MessageAckRequest.verify|verify} messages. 29426 * @param message MessageAckRequest message or plain object to encode 29427 * @param [writer] Writer to encode to 29428 * @returns Writer 29429 */ 29430 public static encode(message: query.IMessageAckRequest, writer?: $protobuf.Writer): $protobuf.Writer; 29431 29432 /** 29433 * Encodes the specified MessageAckRequest message, length delimited. Does not implicitly {@link query.MessageAckRequest.verify|verify} messages. 29434 * @param message MessageAckRequest message or plain object to encode 29435 * @param [writer] Writer to encode to 29436 * @returns Writer 29437 */ 29438 public static encodeDelimited(message: query.IMessageAckRequest, writer?: $protobuf.Writer): $protobuf.Writer; 29439 29440 /** 29441 * Decodes a MessageAckRequest message from the specified reader or buffer. 29442 * @param reader Reader or buffer to decode from 29443 * @param [length] Message length if known beforehand 29444 * @returns MessageAckRequest 29445 * @throws {Error} If the payload is not a reader or valid buffer 29446 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29447 */ 29448 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageAckRequest; 29449 29450 /** 29451 * Decodes a MessageAckRequest message from the specified reader or buffer, length delimited. 29452 * @param reader Reader or buffer to decode from 29453 * @returns MessageAckRequest 29454 * @throws {Error} If the payload is not a reader or valid buffer 29455 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29456 */ 29457 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageAckRequest; 29458 29459 /** 29460 * Verifies a MessageAckRequest message. 29461 * @param message Plain object to verify 29462 * @returns `null` if valid, otherwise the reason why it is not 29463 */ 29464 public static verify(message: { [k: string]: any }): (string|null); 29465 29466 /** 29467 * Creates a MessageAckRequest message from a plain object. Also converts values to their respective internal types. 29468 * @param object Plain object 29469 * @returns MessageAckRequest 29470 */ 29471 public static fromObject(object: { [k: string]: any }): query.MessageAckRequest; 29472 29473 /** 29474 * Creates a plain object from a MessageAckRequest message. Also converts values to other types if specified. 29475 * @param message MessageAckRequest 29476 * @param [options] Conversion options 29477 * @returns Plain object 29478 */ 29479 public static toObject(message: query.MessageAckRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 29480 29481 /** 29482 * Converts this MessageAckRequest to JSON. 29483 * @returns JSON object 29484 */ 29485 public toJSON(): { [k: string]: any }; 29486 } 29487 29488 /** Properties of a MessageAckResponse. */ 29489 interface IMessageAckResponse { 29490 29491 /** MessageAckResponse result */ 29492 result?: (query.IQueryResult|null); 29493 } 29494 29495 /** Represents a MessageAckResponse. */ 29496 class MessageAckResponse implements IMessageAckResponse { 29497 29498 /** 29499 * Constructs a new MessageAckResponse. 29500 * @param [properties] Properties to set 29501 */ 29502 constructor(properties?: query.IMessageAckResponse); 29503 29504 /** MessageAckResponse result. */ 29505 public result?: (query.IQueryResult|null); 29506 29507 /** 29508 * Creates a new MessageAckResponse instance using the specified properties. 29509 * @param [properties] Properties to set 29510 * @returns MessageAckResponse instance 29511 */ 29512 public static create(properties?: query.IMessageAckResponse): query.MessageAckResponse; 29513 29514 /** 29515 * Encodes the specified MessageAckResponse message. Does not implicitly {@link query.MessageAckResponse.verify|verify} messages. 29516 * @param message MessageAckResponse message or plain object to encode 29517 * @param [writer] Writer to encode to 29518 * @returns Writer 29519 */ 29520 public static encode(message: query.IMessageAckResponse, writer?: $protobuf.Writer): $protobuf.Writer; 29521 29522 /** 29523 * Encodes the specified MessageAckResponse message, length delimited. Does not implicitly {@link query.MessageAckResponse.verify|verify} messages. 29524 * @param message MessageAckResponse message or plain object to encode 29525 * @param [writer] Writer to encode to 29526 * @returns Writer 29527 */ 29528 public static encodeDelimited(message: query.IMessageAckResponse, writer?: $protobuf.Writer): $protobuf.Writer; 29529 29530 /** 29531 * Decodes a MessageAckResponse message from the specified reader or buffer. 29532 * @param reader Reader or buffer to decode from 29533 * @param [length] Message length if known beforehand 29534 * @returns MessageAckResponse 29535 * @throws {Error} If the payload is not a reader or valid buffer 29536 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29537 */ 29538 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageAckResponse; 29539 29540 /** 29541 * Decodes a MessageAckResponse message from the specified reader or buffer, length delimited. 29542 * @param reader Reader or buffer to decode from 29543 * @returns MessageAckResponse 29544 * @throws {Error} If the payload is not a reader or valid buffer 29545 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29546 */ 29547 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageAckResponse; 29548 29549 /** 29550 * Verifies a MessageAckResponse message. 29551 * @param message Plain object to verify 29552 * @returns `null` if valid, otherwise the reason why it is not 29553 */ 29554 public static verify(message: { [k: string]: any }): (string|null); 29555 29556 /** 29557 * Creates a MessageAckResponse message from a plain object. Also converts values to their respective internal types. 29558 * @param object Plain object 29559 * @returns MessageAckResponse 29560 */ 29561 public static fromObject(object: { [k: string]: any }): query.MessageAckResponse; 29562 29563 /** 29564 * Creates a plain object from a MessageAckResponse message. Also converts values to other types if specified. 29565 * @param message MessageAckResponse 29566 * @param [options] Conversion options 29567 * @returns Plain object 29568 */ 29569 public static toObject(message: query.MessageAckResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 29570 29571 /** 29572 * Converts this MessageAckResponse to JSON. 29573 * @returns JSON object 29574 */ 29575 public toJSON(): { [k: string]: any }; 29576 } 29577 29578 /** Properties of a ReserveExecuteRequest. */ 29579 interface IReserveExecuteRequest { 29580 29581 /** ReserveExecuteRequest effective_caller_id */ 29582 effective_caller_id?: (vtrpc.ICallerID|null); 29583 29584 /** ReserveExecuteRequest immediate_caller_id */ 29585 immediate_caller_id?: (query.IVTGateCallerID|null); 29586 29587 /** ReserveExecuteRequest target */ 29588 target?: (query.ITarget|null); 29589 29590 /** ReserveExecuteRequest query */ 29591 query?: (query.IBoundQuery|null); 29592 29593 /** ReserveExecuteRequest transaction_id */ 29594 transaction_id?: (number|Long|null); 29595 29596 /** ReserveExecuteRequest options */ 29597 options?: (query.IExecuteOptions|null); 29598 29599 /** ReserveExecuteRequest pre_queries */ 29600 pre_queries?: (string[]|null); 29601 } 29602 29603 /** Represents a ReserveExecuteRequest. */ 29604 class ReserveExecuteRequest implements IReserveExecuteRequest { 29605 29606 /** 29607 * Constructs a new ReserveExecuteRequest. 29608 * @param [properties] Properties to set 29609 */ 29610 constructor(properties?: query.IReserveExecuteRequest); 29611 29612 /** ReserveExecuteRequest effective_caller_id. */ 29613 public effective_caller_id?: (vtrpc.ICallerID|null); 29614 29615 /** ReserveExecuteRequest immediate_caller_id. */ 29616 public immediate_caller_id?: (query.IVTGateCallerID|null); 29617 29618 /** ReserveExecuteRequest target. */ 29619 public target?: (query.ITarget|null); 29620 29621 /** ReserveExecuteRequest query. */ 29622 public query?: (query.IBoundQuery|null); 29623 29624 /** ReserveExecuteRequest transaction_id. */ 29625 public transaction_id: (number|Long); 29626 29627 /** ReserveExecuteRequest options. */ 29628 public options?: (query.IExecuteOptions|null); 29629 29630 /** ReserveExecuteRequest pre_queries. */ 29631 public pre_queries: string[]; 29632 29633 /** 29634 * Creates a new ReserveExecuteRequest instance using the specified properties. 29635 * @param [properties] Properties to set 29636 * @returns ReserveExecuteRequest instance 29637 */ 29638 public static create(properties?: query.IReserveExecuteRequest): query.ReserveExecuteRequest; 29639 29640 /** 29641 * Encodes the specified ReserveExecuteRequest message. Does not implicitly {@link query.ReserveExecuteRequest.verify|verify} messages. 29642 * @param message ReserveExecuteRequest message or plain object to encode 29643 * @param [writer] Writer to encode to 29644 * @returns Writer 29645 */ 29646 public static encode(message: query.IReserveExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 29647 29648 /** 29649 * Encodes the specified ReserveExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveExecuteRequest.verify|verify} messages. 29650 * @param message ReserveExecuteRequest message or plain object to encode 29651 * @param [writer] Writer to encode to 29652 * @returns Writer 29653 */ 29654 public static encodeDelimited(message: query.IReserveExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 29655 29656 /** 29657 * Decodes a ReserveExecuteRequest message from the specified reader or buffer. 29658 * @param reader Reader or buffer to decode from 29659 * @param [length] Message length if known beforehand 29660 * @returns ReserveExecuteRequest 29661 * @throws {Error} If the payload is not a reader or valid buffer 29662 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29663 */ 29664 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveExecuteRequest; 29665 29666 /** 29667 * Decodes a ReserveExecuteRequest message from the specified reader or buffer, length delimited. 29668 * @param reader Reader or buffer to decode from 29669 * @returns ReserveExecuteRequest 29670 * @throws {Error} If the payload is not a reader or valid buffer 29671 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29672 */ 29673 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveExecuteRequest; 29674 29675 /** 29676 * Verifies a ReserveExecuteRequest message. 29677 * @param message Plain object to verify 29678 * @returns `null` if valid, otherwise the reason why it is not 29679 */ 29680 public static verify(message: { [k: string]: any }): (string|null); 29681 29682 /** 29683 * Creates a ReserveExecuteRequest message from a plain object. Also converts values to their respective internal types. 29684 * @param object Plain object 29685 * @returns ReserveExecuteRequest 29686 */ 29687 public static fromObject(object: { [k: string]: any }): query.ReserveExecuteRequest; 29688 29689 /** 29690 * Creates a plain object from a ReserveExecuteRequest message. Also converts values to other types if specified. 29691 * @param message ReserveExecuteRequest 29692 * @param [options] Conversion options 29693 * @returns Plain object 29694 */ 29695 public static toObject(message: query.ReserveExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 29696 29697 /** 29698 * Converts this ReserveExecuteRequest to JSON. 29699 * @returns JSON object 29700 */ 29701 public toJSON(): { [k: string]: any }; 29702 } 29703 29704 /** Properties of a ReserveExecuteResponse. */ 29705 interface IReserveExecuteResponse { 29706 29707 /** ReserveExecuteResponse error */ 29708 error?: (vtrpc.IRPCError|null); 29709 29710 /** ReserveExecuteResponse result */ 29711 result?: (query.IQueryResult|null); 29712 29713 /** ReserveExecuteResponse reserved_id */ 29714 reserved_id?: (number|Long|null); 29715 29716 /** ReserveExecuteResponse tablet_alias */ 29717 tablet_alias?: (topodata.ITabletAlias|null); 29718 } 29719 29720 /** Represents a ReserveExecuteResponse. */ 29721 class ReserveExecuteResponse implements IReserveExecuteResponse { 29722 29723 /** 29724 * Constructs a new ReserveExecuteResponse. 29725 * @param [properties] Properties to set 29726 */ 29727 constructor(properties?: query.IReserveExecuteResponse); 29728 29729 /** ReserveExecuteResponse error. */ 29730 public error?: (vtrpc.IRPCError|null); 29731 29732 /** ReserveExecuteResponse result. */ 29733 public result?: (query.IQueryResult|null); 29734 29735 /** ReserveExecuteResponse reserved_id. */ 29736 public reserved_id: (number|Long); 29737 29738 /** ReserveExecuteResponse tablet_alias. */ 29739 public tablet_alias?: (topodata.ITabletAlias|null); 29740 29741 /** 29742 * Creates a new ReserveExecuteResponse instance using the specified properties. 29743 * @param [properties] Properties to set 29744 * @returns ReserveExecuteResponse instance 29745 */ 29746 public static create(properties?: query.IReserveExecuteResponse): query.ReserveExecuteResponse; 29747 29748 /** 29749 * Encodes the specified ReserveExecuteResponse message. Does not implicitly {@link query.ReserveExecuteResponse.verify|verify} messages. 29750 * @param message ReserveExecuteResponse message or plain object to encode 29751 * @param [writer] Writer to encode to 29752 * @returns Writer 29753 */ 29754 public static encode(message: query.IReserveExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 29755 29756 /** 29757 * Encodes the specified ReserveExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveExecuteResponse.verify|verify} messages. 29758 * @param message ReserveExecuteResponse message or plain object to encode 29759 * @param [writer] Writer to encode to 29760 * @returns Writer 29761 */ 29762 public static encodeDelimited(message: query.IReserveExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 29763 29764 /** 29765 * Decodes a ReserveExecuteResponse message from the specified reader or buffer. 29766 * @param reader Reader or buffer to decode from 29767 * @param [length] Message length if known beforehand 29768 * @returns ReserveExecuteResponse 29769 * @throws {Error} If the payload is not a reader or valid buffer 29770 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29771 */ 29772 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveExecuteResponse; 29773 29774 /** 29775 * Decodes a ReserveExecuteResponse message from the specified reader or buffer, length delimited. 29776 * @param reader Reader or buffer to decode from 29777 * @returns ReserveExecuteResponse 29778 * @throws {Error} If the payload is not a reader or valid buffer 29779 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29780 */ 29781 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveExecuteResponse; 29782 29783 /** 29784 * Verifies a ReserveExecuteResponse message. 29785 * @param message Plain object to verify 29786 * @returns `null` if valid, otherwise the reason why it is not 29787 */ 29788 public static verify(message: { [k: string]: any }): (string|null); 29789 29790 /** 29791 * Creates a ReserveExecuteResponse message from a plain object. Also converts values to their respective internal types. 29792 * @param object Plain object 29793 * @returns ReserveExecuteResponse 29794 */ 29795 public static fromObject(object: { [k: string]: any }): query.ReserveExecuteResponse; 29796 29797 /** 29798 * Creates a plain object from a ReserveExecuteResponse message. Also converts values to other types if specified. 29799 * @param message ReserveExecuteResponse 29800 * @param [options] Conversion options 29801 * @returns Plain object 29802 */ 29803 public static toObject(message: query.ReserveExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 29804 29805 /** 29806 * Converts this ReserveExecuteResponse to JSON. 29807 * @returns JSON object 29808 */ 29809 public toJSON(): { [k: string]: any }; 29810 } 29811 29812 /** Properties of a ReserveStreamExecuteRequest. */ 29813 interface IReserveStreamExecuteRequest { 29814 29815 /** ReserveStreamExecuteRequest effective_caller_id */ 29816 effective_caller_id?: (vtrpc.ICallerID|null); 29817 29818 /** ReserveStreamExecuteRequest immediate_caller_id */ 29819 immediate_caller_id?: (query.IVTGateCallerID|null); 29820 29821 /** ReserveStreamExecuteRequest target */ 29822 target?: (query.ITarget|null); 29823 29824 /** ReserveStreamExecuteRequest query */ 29825 query?: (query.IBoundQuery|null); 29826 29827 /** ReserveStreamExecuteRequest options */ 29828 options?: (query.IExecuteOptions|null); 29829 29830 /** ReserveStreamExecuteRequest transaction_id */ 29831 transaction_id?: (number|Long|null); 29832 29833 /** ReserveStreamExecuteRequest pre_queries */ 29834 pre_queries?: (string[]|null); 29835 } 29836 29837 /** Represents a ReserveStreamExecuteRequest. */ 29838 class ReserveStreamExecuteRequest implements IReserveStreamExecuteRequest { 29839 29840 /** 29841 * Constructs a new ReserveStreamExecuteRequest. 29842 * @param [properties] Properties to set 29843 */ 29844 constructor(properties?: query.IReserveStreamExecuteRequest); 29845 29846 /** ReserveStreamExecuteRequest effective_caller_id. */ 29847 public effective_caller_id?: (vtrpc.ICallerID|null); 29848 29849 /** ReserveStreamExecuteRequest immediate_caller_id. */ 29850 public immediate_caller_id?: (query.IVTGateCallerID|null); 29851 29852 /** ReserveStreamExecuteRequest target. */ 29853 public target?: (query.ITarget|null); 29854 29855 /** ReserveStreamExecuteRequest query. */ 29856 public query?: (query.IBoundQuery|null); 29857 29858 /** ReserveStreamExecuteRequest options. */ 29859 public options?: (query.IExecuteOptions|null); 29860 29861 /** ReserveStreamExecuteRequest transaction_id. */ 29862 public transaction_id: (number|Long); 29863 29864 /** ReserveStreamExecuteRequest pre_queries. */ 29865 public pre_queries: string[]; 29866 29867 /** 29868 * Creates a new ReserveStreamExecuteRequest instance using the specified properties. 29869 * @param [properties] Properties to set 29870 * @returns ReserveStreamExecuteRequest instance 29871 */ 29872 public static create(properties?: query.IReserveStreamExecuteRequest): query.ReserveStreamExecuteRequest; 29873 29874 /** 29875 * Encodes the specified ReserveStreamExecuteRequest message. Does not implicitly {@link query.ReserveStreamExecuteRequest.verify|verify} messages. 29876 * @param message ReserveStreamExecuteRequest message or plain object to encode 29877 * @param [writer] Writer to encode to 29878 * @returns Writer 29879 */ 29880 public static encode(message: query.IReserveStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 29881 29882 /** 29883 * Encodes the specified ReserveStreamExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveStreamExecuteRequest.verify|verify} messages. 29884 * @param message ReserveStreamExecuteRequest message or plain object to encode 29885 * @param [writer] Writer to encode to 29886 * @returns Writer 29887 */ 29888 public static encodeDelimited(message: query.IReserveStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 29889 29890 /** 29891 * Decodes a ReserveStreamExecuteRequest message from the specified reader or buffer. 29892 * @param reader Reader or buffer to decode from 29893 * @param [length] Message length if known beforehand 29894 * @returns ReserveStreamExecuteRequest 29895 * @throws {Error} If the payload is not a reader or valid buffer 29896 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29897 */ 29898 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveStreamExecuteRequest; 29899 29900 /** 29901 * Decodes a ReserveStreamExecuteRequest message from the specified reader or buffer, length delimited. 29902 * @param reader Reader or buffer to decode from 29903 * @returns ReserveStreamExecuteRequest 29904 * @throws {Error} If the payload is not a reader or valid buffer 29905 * @throws {$protobuf.util.ProtocolError} If required fields are missing 29906 */ 29907 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveStreamExecuteRequest; 29908 29909 /** 29910 * Verifies a ReserveStreamExecuteRequest message. 29911 * @param message Plain object to verify 29912 * @returns `null` if valid, otherwise the reason why it is not 29913 */ 29914 public static verify(message: { [k: string]: any }): (string|null); 29915 29916 /** 29917 * Creates a ReserveStreamExecuteRequest message from a plain object. Also converts values to their respective internal types. 29918 * @param object Plain object 29919 * @returns ReserveStreamExecuteRequest 29920 */ 29921 public static fromObject(object: { [k: string]: any }): query.ReserveStreamExecuteRequest; 29922 29923 /** 29924 * Creates a plain object from a ReserveStreamExecuteRequest message. Also converts values to other types if specified. 29925 * @param message ReserveStreamExecuteRequest 29926 * @param [options] Conversion options 29927 * @returns Plain object 29928 */ 29929 public static toObject(message: query.ReserveStreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 29930 29931 /** 29932 * Converts this ReserveStreamExecuteRequest to JSON. 29933 * @returns JSON object 29934 */ 29935 public toJSON(): { [k: string]: any }; 29936 } 29937 29938 /** Properties of a ReserveStreamExecuteResponse. */ 29939 interface IReserveStreamExecuteResponse { 29940 29941 /** ReserveStreamExecuteResponse error */ 29942 error?: (vtrpc.IRPCError|null); 29943 29944 /** ReserveStreamExecuteResponse result */ 29945 result?: (query.IQueryResult|null); 29946 29947 /** ReserveStreamExecuteResponse reserved_id */ 29948 reserved_id?: (number|Long|null); 29949 29950 /** ReserveStreamExecuteResponse tablet_alias */ 29951 tablet_alias?: (topodata.ITabletAlias|null); 29952 } 29953 29954 /** Represents a ReserveStreamExecuteResponse. */ 29955 class ReserveStreamExecuteResponse implements IReserveStreamExecuteResponse { 29956 29957 /** 29958 * Constructs a new ReserveStreamExecuteResponse. 29959 * @param [properties] Properties to set 29960 */ 29961 constructor(properties?: query.IReserveStreamExecuteResponse); 29962 29963 /** ReserveStreamExecuteResponse error. */ 29964 public error?: (vtrpc.IRPCError|null); 29965 29966 /** ReserveStreamExecuteResponse result. */ 29967 public result?: (query.IQueryResult|null); 29968 29969 /** ReserveStreamExecuteResponse reserved_id. */ 29970 public reserved_id: (number|Long); 29971 29972 /** ReserveStreamExecuteResponse tablet_alias. */ 29973 public tablet_alias?: (topodata.ITabletAlias|null); 29974 29975 /** 29976 * Creates a new ReserveStreamExecuteResponse instance using the specified properties. 29977 * @param [properties] Properties to set 29978 * @returns ReserveStreamExecuteResponse instance 29979 */ 29980 public static create(properties?: query.IReserveStreamExecuteResponse): query.ReserveStreamExecuteResponse; 29981 29982 /** 29983 * Encodes the specified ReserveStreamExecuteResponse message. Does not implicitly {@link query.ReserveStreamExecuteResponse.verify|verify} messages. 29984 * @param message ReserveStreamExecuteResponse message or plain object to encode 29985 * @param [writer] Writer to encode to 29986 * @returns Writer 29987 */ 29988 public static encode(message: query.IReserveStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 29989 29990 /** 29991 * Encodes the specified ReserveStreamExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveStreamExecuteResponse.verify|verify} messages. 29992 * @param message ReserveStreamExecuteResponse message or plain object to encode 29993 * @param [writer] Writer to encode to 29994 * @returns Writer 29995 */ 29996 public static encodeDelimited(message: query.IReserveStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 29997 29998 /** 29999 * Decodes a ReserveStreamExecuteResponse message from the specified reader or buffer. 30000 * @param reader Reader or buffer to decode from 30001 * @param [length] Message length if known beforehand 30002 * @returns ReserveStreamExecuteResponse 30003 * @throws {Error} If the payload is not a reader or valid buffer 30004 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30005 */ 30006 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveStreamExecuteResponse; 30007 30008 /** 30009 * Decodes a ReserveStreamExecuteResponse message from the specified reader or buffer, length delimited. 30010 * @param reader Reader or buffer to decode from 30011 * @returns ReserveStreamExecuteResponse 30012 * @throws {Error} If the payload is not a reader or valid buffer 30013 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30014 */ 30015 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveStreamExecuteResponse; 30016 30017 /** 30018 * Verifies a ReserveStreamExecuteResponse message. 30019 * @param message Plain object to verify 30020 * @returns `null` if valid, otherwise the reason why it is not 30021 */ 30022 public static verify(message: { [k: string]: any }): (string|null); 30023 30024 /** 30025 * Creates a ReserveStreamExecuteResponse message from a plain object. Also converts values to their respective internal types. 30026 * @param object Plain object 30027 * @returns ReserveStreamExecuteResponse 30028 */ 30029 public static fromObject(object: { [k: string]: any }): query.ReserveStreamExecuteResponse; 30030 30031 /** 30032 * Creates a plain object from a ReserveStreamExecuteResponse message. Also converts values to other types if specified. 30033 * @param message ReserveStreamExecuteResponse 30034 * @param [options] Conversion options 30035 * @returns Plain object 30036 */ 30037 public static toObject(message: query.ReserveStreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 30038 30039 /** 30040 * Converts this ReserveStreamExecuteResponse to JSON. 30041 * @returns JSON object 30042 */ 30043 public toJSON(): { [k: string]: any }; 30044 } 30045 30046 /** Properties of a ReserveBeginExecuteRequest. */ 30047 interface IReserveBeginExecuteRequest { 30048 30049 /** ReserveBeginExecuteRequest effective_caller_id */ 30050 effective_caller_id?: (vtrpc.ICallerID|null); 30051 30052 /** ReserveBeginExecuteRequest immediate_caller_id */ 30053 immediate_caller_id?: (query.IVTGateCallerID|null); 30054 30055 /** ReserveBeginExecuteRequest target */ 30056 target?: (query.ITarget|null); 30057 30058 /** ReserveBeginExecuteRequest query */ 30059 query?: (query.IBoundQuery|null); 30060 30061 /** ReserveBeginExecuteRequest options */ 30062 options?: (query.IExecuteOptions|null); 30063 30064 /** ReserveBeginExecuteRequest pre_queries */ 30065 pre_queries?: (string[]|null); 30066 30067 /** ReserveBeginExecuteRequest post_begin_queries */ 30068 post_begin_queries?: (string[]|null); 30069 } 30070 30071 /** Represents a ReserveBeginExecuteRequest. */ 30072 class ReserveBeginExecuteRequest implements IReserveBeginExecuteRequest { 30073 30074 /** 30075 * Constructs a new ReserveBeginExecuteRequest. 30076 * @param [properties] Properties to set 30077 */ 30078 constructor(properties?: query.IReserveBeginExecuteRequest); 30079 30080 /** ReserveBeginExecuteRequest effective_caller_id. */ 30081 public effective_caller_id?: (vtrpc.ICallerID|null); 30082 30083 /** ReserveBeginExecuteRequest immediate_caller_id. */ 30084 public immediate_caller_id?: (query.IVTGateCallerID|null); 30085 30086 /** ReserveBeginExecuteRequest target. */ 30087 public target?: (query.ITarget|null); 30088 30089 /** ReserveBeginExecuteRequest query. */ 30090 public query?: (query.IBoundQuery|null); 30091 30092 /** ReserveBeginExecuteRequest options. */ 30093 public options?: (query.IExecuteOptions|null); 30094 30095 /** ReserveBeginExecuteRequest pre_queries. */ 30096 public pre_queries: string[]; 30097 30098 /** ReserveBeginExecuteRequest post_begin_queries. */ 30099 public post_begin_queries: string[]; 30100 30101 /** 30102 * Creates a new ReserveBeginExecuteRequest instance using the specified properties. 30103 * @param [properties] Properties to set 30104 * @returns ReserveBeginExecuteRequest instance 30105 */ 30106 public static create(properties?: query.IReserveBeginExecuteRequest): query.ReserveBeginExecuteRequest; 30107 30108 /** 30109 * Encodes the specified ReserveBeginExecuteRequest message. Does not implicitly {@link query.ReserveBeginExecuteRequest.verify|verify} messages. 30110 * @param message ReserveBeginExecuteRequest message or plain object to encode 30111 * @param [writer] Writer to encode to 30112 * @returns Writer 30113 */ 30114 public static encode(message: query.IReserveBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 30115 30116 /** 30117 * Encodes the specified ReserveBeginExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveBeginExecuteRequest.verify|verify} messages. 30118 * @param message ReserveBeginExecuteRequest message or plain object to encode 30119 * @param [writer] Writer to encode to 30120 * @returns Writer 30121 */ 30122 public static encodeDelimited(message: query.IReserveBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 30123 30124 /** 30125 * Decodes a ReserveBeginExecuteRequest message from the specified reader or buffer. 30126 * @param reader Reader or buffer to decode from 30127 * @param [length] Message length if known beforehand 30128 * @returns ReserveBeginExecuteRequest 30129 * @throws {Error} If the payload is not a reader or valid buffer 30130 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30131 */ 30132 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginExecuteRequest; 30133 30134 /** 30135 * Decodes a ReserveBeginExecuteRequest message from the specified reader or buffer, length delimited. 30136 * @param reader Reader or buffer to decode from 30137 * @returns ReserveBeginExecuteRequest 30138 * @throws {Error} If the payload is not a reader or valid buffer 30139 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30140 */ 30141 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginExecuteRequest; 30142 30143 /** 30144 * Verifies a ReserveBeginExecuteRequest message. 30145 * @param message Plain object to verify 30146 * @returns `null` if valid, otherwise the reason why it is not 30147 */ 30148 public static verify(message: { [k: string]: any }): (string|null); 30149 30150 /** 30151 * Creates a ReserveBeginExecuteRequest message from a plain object. Also converts values to their respective internal types. 30152 * @param object Plain object 30153 * @returns ReserveBeginExecuteRequest 30154 */ 30155 public static fromObject(object: { [k: string]: any }): query.ReserveBeginExecuteRequest; 30156 30157 /** 30158 * Creates a plain object from a ReserveBeginExecuteRequest message. Also converts values to other types if specified. 30159 * @param message ReserveBeginExecuteRequest 30160 * @param [options] Conversion options 30161 * @returns Plain object 30162 */ 30163 public static toObject(message: query.ReserveBeginExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 30164 30165 /** 30166 * Converts this ReserveBeginExecuteRequest to JSON. 30167 * @returns JSON object 30168 */ 30169 public toJSON(): { [k: string]: any }; 30170 } 30171 30172 /** Properties of a ReserveBeginExecuteResponse. */ 30173 interface IReserveBeginExecuteResponse { 30174 30175 /** ReserveBeginExecuteResponse error */ 30176 error?: (vtrpc.IRPCError|null); 30177 30178 /** ReserveBeginExecuteResponse result */ 30179 result?: (query.IQueryResult|null); 30180 30181 /** ReserveBeginExecuteResponse transaction_id */ 30182 transaction_id?: (number|Long|null); 30183 30184 /** ReserveBeginExecuteResponse reserved_id */ 30185 reserved_id?: (number|Long|null); 30186 30187 /** ReserveBeginExecuteResponse tablet_alias */ 30188 tablet_alias?: (topodata.ITabletAlias|null); 30189 30190 /** ReserveBeginExecuteResponse session_state_changes */ 30191 session_state_changes?: (string|null); 30192 } 30193 30194 /** Represents a ReserveBeginExecuteResponse. */ 30195 class ReserveBeginExecuteResponse implements IReserveBeginExecuteResponse { 30196 30197 /** 30198 * Constructs a new ReserveBeginExecuteResponse. 30199 * @param [properties] Properties to set 30200 */ 30201 constructor(properties?: query.IReserveBeginExecuteResponse); 30202 30203 /** ReserveBeginExecuteResponse error. */ 30204 public error?: (vtrpc.IRPCError|null); 30205 30206 /** ReserveBeginExecuteResponse result. */ 30207 public result?: (query.IQueryResult|null); 30208 30209 /** ReserveBeginExecuteResponse transaction_id. */ 30210 public transaction_id: (number|Long); 30211 30212 /** ReserveBeginExecuteResponse reserved_id. */ 30213 public reserved_id: (number|Long); 30214 30215 /** ReserveBeginExecuteResponse tablet_alias. */ 30216 public tablet_alias?: (topodata.ITabletAlias|null); 30217 30218 /** ReserveBeginExecuteResponse session_state_changes. */ 30219 public session_state_changes: string; 30220 30221 /** 30222 * Creates a new ReserveBeginExecuteResponse instance using the specified properties. 30223 * @param [properties] Properties to set 30224 * @returns ReserveBeginExecuteResponse instance 30225 */ 30226 public static create(properties?: query.IReserveBeginExecuteResponse): query.ReserveBeginExecuteResponse; 30227 30228 /** 30229 * Encodes the specified ReserveBeginExecuteResponse message. Does not implicitly {@link query.ReserveBeginExecuteResponse.verify|verify} messages. 30230 * @param message ReserveBeginExecuteResponse message or plain object to encode 30231 * @param [writer] Writer to encode to 30232 * @returns Writer 30233 */ 30234 public static encode(message: query.IReserveBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 30235 30236 /** 30237 * Encodes the specified ReserveBeginExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveBeginExecuteResponse.verify|verify} messages. 30238 * @param message ReserveBeginExecuteResponse message or plain object to encode 30239 * @param [writer] Writer to encode to 30240 * @returns Writer 30241 */ 30242 public static encodeDelimited(message: query.IReserveBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 30243 30244 /** 30245 * Decodes a ReserveBeginExecuteResponse message from the specified reader or buffer. 30246 * @param reader Reader or buffer to decode from 30247 * @param [length] Message length if known beforehand 30248 * @returns ReserveBeginExecuteResponse 30249 * @throws {Error} If the payload is not a reader or valid buffer 30250 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30251 */ 30252 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginExecuteResponse; 30253 30254 /** 30255 * Decodes a ReserveBeginExecuteResponse message from the specified reader or buffer, length delimited. 30256 * @param reader Reader or buffer to decode from 30257 * @returns ReserveBeginExecuteResponse 30258 * @throws {Error} If the payload is not a reader or valid buffer 30259 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30260 */ 30261 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginExecuteResponse; 30262 30263 /** 30264 * Verifies a ReserveBeginExecuteResponse message. 30265 * @param message Plain object to verify 30266 * @returns `null` if valid, otherwise the reason why it is not 30267 */ 30268 public static verify(message: { [k: string]: any }): (string|null); 30269 30270 /** 30271 * Creates a ReserveBeginExecuteResponse message from a plain object. Also converts values to their respective internal types. 30272 * @param object Plain object 30273 * @returns ReserveBeginExecuteResponse 30274 */ 30275 public static fromObject(object: { [k: string]: any }): query.ReserveBeginExecuteResponse; 30276 30277 /** 30278 * Creates a plain object from a ReserveBeginExecuteResponse message. Also converts values to other types if specified. 30279 * @param message ReserveBeginExecuteResponse 30280 * @param [options] Conversion options 30281 * @returns Plain object 30282 */ 30283 public static toObject(message: query.ReserveBeginExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 30284 30285 /** 30286 * Converts this ReserveBeginExecuteResponse to JSON. 30287 * @returns JSON object 30288 */ 30289 public toJSON(): { [k: string]: any }; 30290 } 30291 30292 /** Properties of a ReserveBeginStreamExecuteRequest. */ 30293 interface IReserveBeginStreamExecuteRequest { 30294 30295 /** ReserveBeginStreamExecuteRequest effective_caller_id */ 30296 effective_caller_id?: (vtrpc.ICallerID|null); 30297 30298 /** ReserveBeginStreamExecuteRequest immediate_caller_id */ 30299 immediate_caller_id?: (query.IVTGateCallerID|null); 30300 30301 /** ReserveBeginStreamExecuteRequest target */ 30302 target?: (query.ITarget|null); 30303 30304 /** ReserveBeginStreamExecuteRequest query */ 30305 query?: (query.IBoundQuery|null); 30306 30307 /** ReserveBeginStreamExecuteRequest options */ 30308 options?: (query.IExecuteOptions|null); 30309 30310 /** ReserveBeginStreamExecuteRequest pre_queries */ 30311 pre_queries?: (string[]|null); 30312 30313 /** ReserveBeginStreamExecuteRequest post_begin_queries */ 30314 post_begin_queries?: (string[]|null); 30315 } 30316 30317 /** Represents a ReserveBeginStreamExecuteRequest. */ 30318 class ReserveBeginStreamExecuteRequest implements IReserveBeginStreamExecuteRequest { 30319 30320 /** 30321 * Constructs a new ReserveBeginStreamExecuteRequest. 30322 * @param [properties] Properties to set 30323 */ 30324 constructor(properties?: query.IReserveBeginStreamExecuteRequest); 30325 30326 /** ReserveBeginStreamExecuteRequest effective_caller_id. */ 30327 public effective_caller_id?: (vtrpc.ICallerID|null); 30328 30329 /** ReserveBeginStreamExecuteRequest immediate_caller_id. */ 30330 public immediate_caller_id?: (query.IVTGateCallerID|null); 30331 30332 /** ReserveBeginStreamExecuteRequest target. */ 30333 public target?: (query.ITarget|null); 30334 30335 /** ReserveBeginStreamExecuteRequest query. */ 30336 public query?: (query.IBoundQuery|null); 30337 30338 /** ReserveBeginStreamExecuteRequest options. */ 30339 public options?: (query.IExecuteOptions|null); 30340 30341 /** ReserveBeginStreamExecuteRequest pre_queries. */ 30342 public pre_queries: string[]; 30343 30344 /** ReserveBeginStreamExecuteRequest post_begin_queries. */ 30345 public post_begin_queries: string[]; 30346 30347 /** 30348 * Creates a new ReserveBeginStreamExecuteRequest instance using the specified properties. 30349 * @param [properties] Properties to set 30350 * @returns ReserveBeginStreamExecuteRequest instance 30351 */ 30352 public static create(properties?: query.IReserveBeginStreamExecuteRequest): query.ReserveBeginStreamExecuteRequest; 30353 30354 /** 30355 * Encodes the specified ReserveBeginStreamExecuteRequest message. Does not implicitly {@link query.ReserveBeginStreamExecuteRequest.verify|verify} messages. 30356 * @param message ReserveBeginStreamExecuteRequest message or plain object to encode 30357 * @param [writer] Writer to encode to 30358 * @returns Writer 30359 */ 30360 public static encode(message: query.IReserveBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 30361 30362 /** 30363 * Encodes the specified ReserveBeginStreamExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveBeginStreamExecuteRequest.verify|verify} messages. 30364 * @param message ReserveBeginStreamExecuteRequest message or plain object to encode 30365 * @param [writer] Writer to encode to 30366 * @returns Writer 30367 */ 30368 public static encodeDelimited(message: query.IReserveBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 30369 30370 /** 30371 * Decodes a ReserveBeginStreamExecuteRequest message from the specified reader or buffer. 30372 * @param reader Reader or buffer to decode from 30373 * @param [length] Message length if known beforehand 30374 * @returns ReserveBeginStreamExecuteRequest 30375 * @throws {Error} If the payload is not a reader or valid buffer 30376 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30377 */ 30378 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginStreamExecuteRequest; 30379 30380 /** 30381 * Decodes a ReserveBeginStreamExecuteRequest message from the specified reader or buffer, length delimited. 30382 * @param reader Reader or buffer to decode from 30383 * @returns ReserveBeginStreamExecuteRequest 30384 * @throws {Error} If the payload is not a reader or valid buffer 30385 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30386 */ 30387 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginStreamExecuteRequest; 30388 30389 /** 30390 * Verifies a ReserveBeginStreamExecuteRequest message. 30391 * @param message Plain object to verify 30392 * @returns `null` if valid, otherwise the reason why it is not 30393 */ 30394 public static verify(message: { [k: string]: any }): (string|null); 30395 30396 /** 30397 * Creates a ReserveBeginStreamExecuteRequest message from a plain object. Also converts values to their respective internal types. 30398 * @param object Plain object 30399 * @returns ReserveBeginStreamExecuteRequest 30400 */ 30401 public static fromObject(object: { [k: string]: any }): query.ReserveBeginStreamExecuteRequest; 30402 30403 /** 30404 * Creates a plain object from a ReserveBeginStreamExecuteRequest message. Also converts values to other types if specified. 30405 * @param message ReserveBeginStreamExecuteRequest 30406 * @param [options] Conversion options 30407 * @returns Plain object 30408 */ 30409 public static toObject(message: query.ReserveBeginStreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 30410 30411 /** 30412 * Converts this ReserveBeginStreamExecuteRequest to JSON. 30413 * @returns JSON object 30414 */ 30415 public toJSON(): { [k: string]: any }; 30416 } 30417 30418 /** Properties of a ReserveBeginStreamExecuteResponse. */ 30419 interface IReserveBeginStreamExecuteResponse { 30420 30421 /** ReserveBeginStreamExecuteResponse error */ 30422 error?: (vtrpc.IRPCError|null); 30423 30424 /** ReserveBeginStreamExecuteResponse result */ 30425 result?: (query.IQueryResult|null); 30426 30427 /** ReserveBeginStreamExecuteResponse transaction_id */ 30428 transaction_id?: (number|Long|null); 30429 30430 /** ReserveBeginStreamExecuteResponse reserved_id */ 30431 reserved_id?: (number|Long|null); 30432 30433 /** ReserveBeginStreamExecuteResponse tablet_alias */ 30434 tablet_alias?: (topodata.ITabletAlias|null); 30435 30436 /** ReserveBeginStreamExecuteResponse session_state_changes */ 30437 session_state_changes?: (string|null); 30438 } 30439 30440 /** Represents a ReserveBeginStreamExecuteResponse. */ 30441 class ReserveBeginStreamExecuteResponse implements IReserveBeginStreamExecuteResponse { 30442 30443 /** 30444 * Constructs a new ReserveBeginStreamExecuteResponse. 30445 * @param [properties] Properties to set 30446 */ 30447 constructor(properties?: query.IReserveBeginStreamExecuteResponse); 30448 30449 /** ReserveBeginStreamExecuteResponse error. */ 30450 public error?: (vtrpc.IRPCError|null); 30451 30452 /** ReserveBeginStreamExecuteResponse result. */ 30453 public result?: (query.IQueryResult|null); 30454 30455 /** ReserveBeginStreamExecuteResponse transaction_id. */ 30456 public transaction_id: (number|Long); 30457 30458 /** ReserveBeginStreamExecuteResponse reserved_id. */ 30459 public reserved_id: (number|Long); 30460 30461 /** ReserveBeginStreamExecuteResponse tablet_alias. */ 30462 public tablet_alias?: (topodata.ITabletAlias|null); 30463 30464 /** ReserveBeginStreamExecuteResponse session_state_changes. */ 30465 public session_state_changes: string; 30466 30467 /** 30468 * Creates a new ReserveBeginStreamExecuteResponse instance using the specified properties. 30469 * @param [properties] Properties to set 30470 * @returns ReserveBeginStreamExecuteResponse instance 30471 */ 30472 public static create(properties?: query.IReserveBeginStreamExecuteResponse): query.ReserveBeginStreamExecuteResponse; 30473 30474 /** 30475 * Encodes the specified ReserveBeginStreamExecuteResponse message. Does not implicitly {@link query.ReserveBeginStreamExecuteResponse.verify|verify} messages. 30476 * @param message ReserveBeginStreamExecuteResponse message or plain object to encode 30477 * @param [writer] Writer to encode to 30478 * @returns Writer 30479 */ 30480 public static encode(message: query.IReserveBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 30481 30482 /** 30483 * Encodes the specified ReserveBeginStreamExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveBeginStreamExecuteResponse.verify|verify} messages. 30484 * @param message ReserveBeginStreamExecuteResponse message or plain object to encode 30485 * @param [writer] Writer to encode to 30486 * @returns Writer 30487 */ 30488 public static encodeDelimited(message: query.IReserveBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 30489 30490 /** 30491 * Decodes a ReserveBeginStreamExecuteResponse message from the specified reader or buffer. 30492 * @param reader Reader or buffer to decode from 30493 * @param [length] Message length if known beforehand 30494 * @returns ReserveBeginStreamExecuteResponse 30495 * @throws {Error} If the payload is not a reader or valid buffer 30496 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30497 */ 30498 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginStreamExecuteResponse; 30499 30500 /** 30501 * Decodes a ReserveBeginStreamExecuteResponse message from the specified reader or buffer, length delimited. 30502 * @param reader Reader or buffer to decode from 30503 * @returns ReserveBeginStreamExecuteResponse 30504 * @throws {Error} If the payload is not a reader or valid buffer 30505 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30506 */ 30507 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginStreamExecuteResponse; 30508 30509 /** 30510 * Verifies a ReserveBeginStreamExecuteResponse message. 30511 * @param message Plain object to verify 30512 * @returns `null` if valid, otherwise the reason why it is not 30513 */ 30514 public static verify(message: { [k: string]: any }): (string|null); 30515 30516 /** 30517 * Creates a ReserveBeginStreamExecuteResponse message from a plain object. Also converts values to their respective internal types. 30518 * @param object Plain object 30519 * @returns ReserveBeginStreamExecuteResponse 30520 */ 30521 public static fromObject(object: { [k: string]: any }): query.ReserveBeginStreamExecuteResponse; 30522 30523 /** 30524 * Creates a plain object from a ReserveBeginStreamExecuteResponse message. Also converts values to other types if specified. 30525 * @param message ReserveBeginStreamExecuteResponse 30526 * @param [options] Conversion options 30527 * @returns Plain object 30528 */ 30529 public static toObject(message: query.ReserveBeginStreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 30530 30531 /** 30532 * Converts this ReserveBeginStreamExecuteResponse to JSON. 30533 * @returns JSON object 30534 */ 30535 public toJSON(): { [k: string]: any }; 30536 } 30537 30538 /** Properties of a ReleaseRequest. */ 30539 interface IReleaseRequest { 30540 30541 /** ReleaseRequest effective_caller_id */ 30542 effective_caller_id?: (vtrpc.ICallerID|null); 30543 30544 /** ReleaseRequest immediate_caller_id */ 30545 immediate_caller_id?: (query.IVTGateCallerID|null); 30546 30547 /** ReleaseRequest target */ 30548 target?: (query.ITarget|null); 30549 30550 /** ReleaseRequest transaction_id */ 30551 transaction_id?: (number|Long|null); 30552 30553 /** ReleaseRequest reserved_id */ 30554 reserved_id?: (number|Long|null); 30555 } 30556 30557 /** Represents a ReleaseRequest. */ 30558 class ReleaseRequest implements IReleaseRequest { 30559 30560 /** 30561 * Constructs a new ReleaseRequest. 30562 * @param [properties] Properties to set 30563 */ 30564 constructor(properties?: query.IReleaseRequest); 30565 30566 /** ReleaseRequest effective_caller_id. */ 30567 public effective_caller_id?: (vtrpc.ICallerID|null); 30568 30569 /** ReleaseRequest immediate_caller_id. */ 30570 public immediate_caller_id?: (query.IVTGateCallerID|null); 30571 30572 /** ReleaseRequest target. */ 30573 public target?: (query.ITarget|null); 30574 30575 /** ReleaseRequest transaction_id. */ 30576 public transaction_id: (number|Long); 30577 30578 /** ReleaseRequest reserved_id. */ 30579 public reserved_id: (number|Long); 30580 30581 /** 30582 * Creates a new ReleaseRequest instance using the specified properties. 30583 * @param [properties] Properties to set 30584 * @returns ReleaseRequest instance 30585 */ 30586 public static create(properties?: query.IReleaseRequest): query.ReleaseRequest; 30587 30588 /** 30589 * Encodes the specified ReleaseRequest message. Does not implicitly {@link query.ReleaseRequest.verify|verify} messages. 30590 * @param message ReleaseRequest message or plain object to encode 30591 * @param [writer] Writer to encode to 30592 * @returns Writer 30593 */ 30594 public static encode(message: query.IReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer; 30595 30596 /** 30597 * Encodes the specified ReleaseRequest message, length delimited. Does not implicitly {@link query.ReleaseRequest.verify|verify} messages. 30598 * @param message ReleaseRequest message or plain object to encode 30599 * @param [writer] Writer to encode to 30600 * @returns Writer 30601 */ 30602 public static encodeDelimited(message: query.IReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer; 30603 30604 /** 30605 * Decodes a ReleaseRequest message from the specified reader or buffer. 30606 * @param reader Reader or buffer to decode from 30607 * @param [length] Message length if known beforehand 30608 * @returns ReleaseRequest 30609 * @throws {Error} If the payload is not a reader or valid buffer 30610 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30611 */ 30612 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReleaseRequest; 30613 30614 /** 30615 * Decodes a ReleaseRequest message from the specified reader or buffer, length delimited. 30616 * @param reader Reader or buffer to decode from 30617 * @returns ReleaseRequest 30618 * @throws {Error} If the payload is not a reader or valid buffer 30619 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30620 */ 30621 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReleaseRequest; 30622 30623 /** 30624 * Verifies a ReleaseRequest message. 30625 * @param message Plain object to verify 30626 * @returns `null` if valid, otherwise the reason why it is not 30627 */ 30628 public static verify(message: { [k: string]: any }): (string|null); 30629 30630 /** 30631 * Creates a ReleaseRequest message from a plain object. Also converts values to their respective internal types. 30632 * @param object Plain object 30633 * @returns ReleaseRequest 30634 */ 30635 public static fromObject(object: { [k: string]: any }): query.ReleaseRequest; 30636 30637 /** 30638 * Creates a plain object from a ReleaseRequest message. Also converts values to other types if specified. 30639 * @param message ReleaseRequest 30640 * @param [options] Conversion options 30641 * @returns Plain object 30642 */ 30643 public static toObject(message: query.ReleaseRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 30644 30645 /** 30646 * Converts this ReleaseRequest to JSON. 30647 * @returns JSON object 30648 */ 30649 public toJSON(): { [k: string]: any }; 30650 } 30651 30652 /** Properties of a ReleaseResponse. */ 30653 interface IReleaseResponse { 30654 } 30655 30656 /** Represents a ReleaseResponse. */ 30657 class ReleaseResponse implements IReleaseResponse { 30658 30659 /** 30660 * Constructs a new ReleaseResponse. 30661 * @param [properties] Properties to set 30662 */ 30663 constructor(properties?: query.IReleaseResponse); 30664 30665 /** 30666 * Creates a new ReleaseResponse instance using the specified properties. 30667 * @param [properties] Properties to set 30668 * @returns ReleaseResponse instance 30669 */ 30670 public static create(properties?: query.IReleaseResponse): query.ReleaseResponse; 30671 30672 /** 30673 * Encodes the specified ReleaseResponse message. Does not implicitly {@link query.ReleaseResponse.verify|verify} messages. 30674 * @param message ReleaseResponse message or plain object to encode 30675 * @param [writer] Writer to encode to 30676 * @returns Writer 30677 */ 30678 public static encode(message: query.IReleaseResponse, writer?: $protobuf.Writer): $protobuf.Writer; 30679 30680 /** 30681 * Encodes the specified ReleaseResponse message, length delimited. Does not implicitly {@link query.ReleaseResponse.verify|verify} messages. 30682 * @param message ReleaseResponse message or plain object to encode 30683 * @param [writer] Writer to encode to 30684 * @returns Writer 30685 */ 30686 public static encodeDelimited(message: query.IReleaseResponse, writer?: $protobuf.Writer): $protobuf.Writer; 30687 30688 /** 30689 * Decodes a ReleaseResponse message from the specified reader or buffer. 30690 * @param reader Reader or buffer to decode from 30691 * @param [length] Message length if known beforehand 30692 * @returns ReleaseResponse 30693 * @throws {Error} If the payload is not a reader or valid buffer 30694 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30695 */ 30696 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReleaseResponse; 30697 30698 /** 30699 * Decodes a ReleaseResponse message from the specified reader or buffer, length delimited. 30700 * @param reader Reader or buffer to decode from 30701 * @returns ReleaseResponse 30702 * @throws {Error} If the payload is not a reader or valid buffer 30703 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30704 */ 30705 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReleaseResponse; 30706 30707 /** 30708 * Verifies a ReleaseResponse message. 30709 * @param message Plain object to verify 30710 * @returns `null` if valid, otherwise the reason why it is not 30711 */ 30712 public static verify(message: { [k: string]: any }): (string|null); 30713 30714 /** 30715 * Creates a ReleaseResponse message from a plain object. Also converts values to their respective internal types. 30716 * @param object Plain object 30717 * @returns ReleaseResponse 30718 */ 30719 public static fromObject(object: { [k: string]: any }): query.ReleaseResponse; 30720 30721 /** 30722 * Creates a plain object from a ReleaseResponse message. Also converts values to other types if specified. 30723 * @param message ReleaseResponse 30724 * @param [options] Conversion options 30725 * @returns Plain object 30726 */ 30727 public static toObject(message: query.ReleaseResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 30728 30729 /** 30730 * Converts this ReleaseResponse to JSON. 30731 * @returns JSON object 30732 */ 30733 public toJSON(): { [k: string]: any }; 30734 } 30735 30736 /** Properties of a StreamHealthRequest. */ 30737 interface IStreamHealthRequest { 30738 } 30739 30740 /** Represents a StreamHealthRequest. */ 30741 class StreamHealthRequest implements IStreamHealthRequest { 30742 30743 /** 30744 * Constructs a new StreamHealthRequest. 30745 * @param [properties] Properties to set 30746 */ 30747 constructor(properties?: query.IStreamHealthRequest); 30748 30749 /** 30750 * Creates a new StreamHealthRequest instance using the specified properties. 30751 * @param [properties] Properties to set 30752 * @returns StreamHealthRequest instance 30753 */ 30754 public static create(properties?: query.IStreamHealthRequest): query.StreamHealthRequest; 30755 30756 /** 30757 * Encodes the specified StreamHealthRequest message. Does not implicitly {@link query.StreamHealthRequest.verify|verify} messages. 30758 * @param message StreamHealthRequest message or plain object to encode 30759 * @param [writer] Writer to encode to 30760 * @returns Writer 30761 */ 30762 public static encode(message: query.IStreamHealthRequest, writer?: $protobuf.Writer): $protobuf.Writer; 30763 30764 /** 30765 * Encodes the specified StreamHealthRequest message, length delimited. Does not implicitly {@link query.StreamHealthRequest.verify|verify} messages. 30766 * @param message StreamHealthRequest message or plain object to encode 30767 * @param [writer] Writer to encode to 30768 * @returns Writer 30769 */ 30770 public static encodeDelimited(message: query.IStreamHealthRequest, writer?: $protobuf.Writer): $protobuf.Writer; 30771 30772 /** 30773 * Decodes a StreamHealthRequest message from the specified reader or buffer. 30774 * @param reader Reader or buffer to decode from 30775 * @param [length] Message length if known beforehand 30776 * @returns StreamHealthRequest 30777 * @throws {Error} If the payload is not a reader or valid buffer 30778 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30779 */ 30780 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamHealthRequest; 30781 30782 /** 30783 * Decodes a StreamHealthRequest message from the specified reader or buffer, length delimited. 30784 * @param reader Reader or buffer to decode from 30785 * @returns StreamHealthRequest 30786 * @throws {Error} If the payload is not a reader or valid buffer 30787 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30788 */ 30789 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamHealthRequest; 30790 30791 /** 30792 * Verifies a StreamHealthRequest message. 30793 * @param message Plain object to verify 30794 * @returns `null` if valid, otherwise the reason why it is not 30795 */ 30796 public static verify(message: { [k: string]: any }): (string|null); 30797 30798 /** 30799 * Creates a StreamHealthRequest message from a plain object. Also converts values to their respective internal types. 30800 * @param object Plain object 30801 * @returns StreamHealthRequest 30802 */ 30803 public static fromObject(object: { [k: string]: any }): query.StreamHealthRequest; 30804 30805 /** 30806 * Creates a plain object from a StreamHealthRequest message. Also converts values to other types if specified. 30807 * @param message StreamHealthRequest 30808 * @param [options] Conversion options 30809 * @returns Plain object 30810 */ 30811 public static toObject(message: query.StreamHealthRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 30812 30813 /** 30814 * Converts this StreamHealthRequest to JSON. 30815 * @returns JSON object 30816 */ 30817 public toJSON(): { [k: string]: any }; 30818 } 30819 30820 /** Properties of a RealtimeStats. */ 30821 interface IRealtimeStats { 30822 30823 /** RealtimeStats health_error */ 30824 health_error?: (string|null); 30825 30826 /** RealtimeStats replication_lag_seconds */ 30827 replication_lag_seconds?: (number|null); 30828 30829 /** RealtimeStats binlog_players_count */ 30830 binlog_players_count?: (number|null); 30831 30832 /** RealtimeStats filtered_replication_lag_seconds */ 30833 filtered_replication_lag_seconds?: (number|Long|null); 30834 30835 /** RealtimeStats cpu_usage */ 30836 cpu_usage?: (number|null); 30837 30838 /** RealtimeStats qps */ 30839 qps?: (number|null); 30840 30841 /** RealtimeStats table_schema_changed */ 30842 table_schema_changed?: (string[]|null); 30843 30844 /** RealtimeStats view_schema_changed */ 30845 view_schema_changed?: (string[]|null); 30846 } 30847 30848 /** Represents a RealtimeStats. */ 30849 class RealtimeStats implements IRealtimeStats { 30850 30851 /** 30852 * Constructs a new RealtimeStats. 30853 * @param [properties] Properties to set 30854 */ 30855 constructor(properties?: query.IRealtimeStats); 30856 30857 /** RealtimeStats health_error. */ 30858 public health_error: string; 30859 30860 /** RealtimeStats replication_lag_seconds. */ 30861 public replication_lag_seconds: number; 30862 30863 /** RealtimeStats binlog_players_count. */ 30864 public binlog_players_count: number; 30865 30866 /** RealtimeStats filtered_replication_lag_seconds. */ 30867 public filtered_replication_lag_seconds: (number|Long); 30868 30869 /** RealtimeStats cpu_usage. */ 30870 public cpu_usage: number; 30871 30872 /** RealtimeStats qps. */ 30873 public qps: number; 30874 30875 /** RealtimeStats table_schema_changed. */ 30876 public table_schema_changed: string[]; 30877 30878 /** RealtimeStats view_schema_changed. */ 30879 public view_schema_changed: string[]; 30880 30881 /** 30882 * Creates a new RealtimeStats instance using the specified properties. 30883 * @param [properties] Properties to set 30884 * @returns RealtimeStats instance 30885 */ 30886 public static create(properties?: query.IRealtimeStats): query.RealtimeStats; 30887 30888 /** 30889 * Encodes the specified RealtimeStats message. Does not implicitly {@link query.RealtimeStats.verify|verify} messages. 30890 * @param message RealtimeStats message or plain object to encode 30891 * @param [writer] Writer to encode to 30892 * @returns Writer 30893 */ 30894 public static encode(message: query.IRealtimeStats, writer?: $protobuf.Writer): $protobuf.Writer; 30895 30896 /** 30897 * Encodes the specified RealtimeStats message, length delimited. Does not implicitly {@link query.RealtimeStats.verify|verify} messages. 30898 * @param message RealtimeStats message or plain object to encode 30899 * @param [writer] Writer to encode to 30900 * @returns Writer 30901 */ 30902 public static encodeDelimited(message: query.IRealtimeStats, writer?: $protobuf.Writer): $protobuf.Writer; 30903 30904 /** 30905 * Decodes a RealtimeStats message from the specified reader or buffer. 30906 * @param reader Reader or buffer to decode from 30907 * @param [length] Message length if known beforehand 30908 * @returns RealtimeStats 30909 * @throws {Error} If the payload is not a reader or valid buffer 30910 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30911 */ 30912 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RealtimeStats; 30913 30914 /** 30915 * Decodes a RealtimeStats message from the specified reader or buffer, length delimited. 30916 * @param reader Reader or buffer to decode from 30917 * @returns RealtimeStats 30918 * @throws {Error} If the payload is not a reader or valid buffer 30919 * @throws {$protobuf.util.ProtocolError} If required fields are missing 30920 */ 30921 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RealtimeStats; 30922 30923 /** 30924 * Verifies a RealtimeStats message. 30925 * @param message Plain object to verify 30926 * @returns `null` if valid, otherwise the reason why it is not 30927 */ 30928 public static verify(message: { [k: string]: any }): (string|null); 30929 30930 /** 30931 * Creates a RealtimeStats message from a plain object. Also converts values to their respective internal types. 30932 * @param object Plain object 30933 * @returns RealtimeStats 30934 */ 30935 public static fromObject(object: { [k: string]: any }): query.RealtimeStats; 30936 30937 /** 30938 * Creates a plain object from a RealtimeStats message. Also converts values to other types if specified. 30939 * @param message RealtimeStats 30940 * @param [options] Conversion options 30941 * @returns Plain object 30942 */ 30943 public static toObject(message: query.RealtimeStats, options?: $protobuf.IConversionOptions): { [k: string]: any }; 30944 30945 /** 30946 * Converts this RealtimeStats to JSON. 30947 * @returns JSON object 30948 */ 30949 public toJSON(): { [k: string]: any }; 30950 } 30951 30952 /** Properties of an AggregateStats. */ 30953 interface IAggregateStats { 30954 30955 /** AggregateStats healthy_tablet_count */ 30956 healthy_tablet_count?: (number|null); 30957 30958 /** AggregateStats unhealthy_tablet_count */ 30959 unhealthy_tablet_count?: (number|null); 30960 30961 /** AggregateStats replication_lag_seconds_min */ 30962 replication_lag_seconds_min?: (number|null); 30963 30964 /** AggregateStats replication_lag_seconds_max */ 30965 replication_lag_seconds_max?: (number|null); 30966 } 30967 30968 /** Represents an AggregateStats. */ 30969 class AggregateStats implements IAggregateStats { 30970 30971 /** 30972 * Constructs a new AggregateStats. 30973 * @param [properties] Properties to set 30974 */ 30975 constructor(properties?: query.IAggregateStats); 30976 30977 /** AggregateStats healthy_tablet_count. */ 30978 public healthy_tablet_count: number; 30979 30980 /** AggregateStats unhealthy_tablet_count. */ 30981 public unhealthy_tablet_count: number; 30982 30983 /** AggregateStats replication_lag_seconds_min. */ 30984 public replication_lag_seconds_min: number; 30985 30986 /** AggregateStats replication_lag_seconds_max. */ 30987 public replication_lag_seconds_max: number; 30988 30989 /** 30990 * Creates a new AggregateStats instance using the specified properties. 30991 * @param [properties] Properties to set 30992 * @returns AggregateStats instance 30993 */ 30994 public static create(properties?: query.IAggregateStats): query.AggregateStats; 30995 30996 /** 30997 * Encodes the specified AggregateStats message. Does not implicitly {@link query.AggregateStats.verify|verify} messages. 30998 * @param message AggregateStats message or plain object to encode 30999 * @param [writer] Writer to encode to 31000 * @returns Writer 31001 */ 31002 public static encode(message: query.IAggregateStats, writer?: $protobuf.Writer): $protobuf.Writer; 31003 31004 /** 31005 * Encodes the specified AggregateStats message, length delimited. Does not implicitly {@link query.AggregateStats.verify|verify} messages. 31006 * @param message AggregateStats message or plain object to encode 31007 * @param [writer] Writer to encode to 31008 * @returns Writer 31009 */ 31010 public static encodeDelimited(message: query.IAggregateStats, writer?: $protobuf.Writer): $protobuf.Writer; 31011 31012 /** 31013 * Decodes an AggregateStats message from the specified reader or buffer. 31014 * @param reader Reader or buffer to decode from 31015 * @param [length] Message length if known beforehand 31016 * @returns AggregateStats 31017 * @throws {Error} If the payload is not a reader or valid buffer 31018 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31019 */ 31020 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.AggregateStats; 31021 31022 /** 31023 * Decodes an AggregateStats message from the specified reader or buffer, length delimited. 31024 * @param reader Reader or buffer to decode from 31025 * @returns AggregateStats 31026 * @throws {Error} If the payload is not a reader or valid buffer 31027 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31028 */ 31029 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.AggregateStats; 31030 31031 /** 31032 * Verifies an AggregateStats message. 31033 * @param message Plain object to verify 31034 * @returns `null` if valid, otherwise the reason why it is not 31035 */ 31036 public static verify(message: { [k: string]: any }): (string|null); 31037 31038 /** 31039 * Creates an AggregateStats message from a plain object. Also converts values to their respective internal types. 31040 * @param object Plain object 31041 * @returns AggregateStats 31042 */ 31043 public static fromObject(object: { [k: string]: any }): query.AggregateStats; 31044 31045 /** 31046 * Creates a plain object from an AggregateStats message. Also converts values to other types if specified. 31047 * @param message AggregateStats 31048 * @param [options] Conversion options 31049 * @returns Plain object 31050 */ 31051 public static toObject(message: query.AggregateStats, options?: $protobuf.IConversionOptions): { [k: string]: any }; 31052 31053 /** 31054 * Converts this AggregateStats to JSON. 31055 * @returns JSON object 31056 */ 31057 public toJSON(): { [k: string]: any }; 31058 } 31059 31060 /** Properties of a StreamHealthResponse. */ 31061 interface IStreamHealthResponse { 31062 31063 /** StreamHealthResponse target */ 31064 target?: (query.ITarget|null); 31065 31066 /** StreamHealthResponse serving */ 31067 serving?: (boolean|null); 31068 31069 /** StreamHealthResponse tablet_externally_reparented_timestamp */ 31070 tablet_externally_reparented_timestamp?: (number|Long|null); 31071 31072 /** StreamHealthResponse realtime_stats */ 31073 realtime_stats?: (query.IRealtimeStats|null); 31074 31075 /** StreamHealthResponse tablet_alias */ 31076 tablet_alias?: (topodata.ITabletAlias|null); 31077 } 31078 31079 /** Represents a StreamHealthResponse. */ 31080 class StreamHealthResponse implements IStreamHealthResponse { 31081 31082 /** 31083 * Constructs a new StreamHealthResponse. 31084 * @param [properties] Properties to set 31085 */ 31086 constructor(properties?: query.IStreamHealthResponse); 31087 31088 /** StreamHealthResponse target. */ 31089 public target?: (query.ITarget|null); 31090 31091 /** StreamHealthResponse serving. */ 31092 public serving: boolean; 31093 31094 /** StreamHealthResponse tablet_externally_reparented_timestamp. */ 31095 public tablet_externally_reparented_timestamp: (number|Long); 31096 31097 /** StreamHealthResponse realtime_stats. */ 31098 public realtime_stats?: (query.IRealtimeStats|null); 31099 31100 /** StreamHealthResponse tablet_alias. */ 31101 public tablet_alias?: (topodata.ITabletAlias|null); 31102 31103 /** 31104 * Creates a new StreamHealthResponse instance using the specified properties. 31105 * @param [properties] Properties to set 31106 * @returns StreamHealthResponse instance 31107 */ 31108 public static create(properties?: query.IStreamHealthResponse): query.StreamHealthResponse; 31109 31110 /** 31111 * Encodes the specified StreamHealthResponse message. Does not implicitly {@link query.StreamHealthResponse.verify|verify} messages. 31112 * @param message StreamHealthResponse message or plain object to encode 31113 * @param [writer] Writer to encode to 31114 * @returns Writer 31115 */ 31116 public static encode(message: query.IStreamHealthResponse, writer?: $protobuf.Writer): $protobuf.Writer; 31117 31118 /** 31119 * Encodes the specified StreamHealthResponse message, length delimited. Does not implicitly {@link query.StreamHealthResponse.verify|verify} messages. 31120 * @param message StreamHealthResponse message or plain object to encode 31121 * @param [writer] Writer to encode to 31122 * @returns Writer 31123 */ 31124 public static encodeDelimited(message: query.IStreamHealthResponse, writer?: $protobuf.Writer): $protobuf.Writer; 31125 31126 /** 31127 * Decodes a StreamHealthResponse message from the specified reader or buffer. 31128 * @param reader Reader or buffer to decode from 31129 * @param [length] Message length if known beforehand 31130 * @returns StreamHealthResponse 31131 * @throws {Error} If the payload is not a reader or valid buffer 31132 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31133 */ 31134 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamHealthResponse; 31135 31136 /** 31137 * Decodes a StreamHealthResponse message from the specified reader or buffer, length delimited. 31138 * @param reader Reader or buffer to decode from 31139 * @returns StreamHealthResponse 31140 * @throws {Error} If the payload is not a reader or valid buffer 31141 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31142 */ 31143 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamHealthResponse; 31144 31145 /** 31146 * Verifies a StreamHealthResponse message. 31147 * @param message Plain object to verify 31148 * @returns `null` if valid, otherwise the reason why it is not 31149 */ 31150 public static verify(message: { [k: string]: any }): (string|null); 31151 31152 /** 31153 * Creates a StreamHealthResponse message from a plain object. Also converts values to their respective internal types. 31154 * @param object Plain object 31155 * @returns StreamHealthResponse 31156 */ 31157 public static fromObject(object: { [k: string]: any }): query.StreamHealthResponse; 31158 31159 /** 31160 * Creates a plain object from a StreamHealthResponse message. Also converts values to other types if specified. 31161 * @param message StreamHealthResponse 31162 * @param [options] Conversion options 31163 * @returns Plain object 31164 */ 31165 public static toObject(message: query.StreamHealthResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 31166 31167 /** 31168 * Converts this StreamHealthResponse to JSON. 31169 * @returns JSON object 31170 */ 31171 public toJSON(): { [k: string]: any }; 31172 } 31173 31174 /** TransactionState enum. */ 31175 enum TransactionState { 31176 UNKNOWN = 0, 31177 PREPARE = 1, 31178 COMMIT = 2, 31179 ROLLBACK = 3 31180 } 31181 31182 /** Properties of a TransactionMetadata. */ 31183 interface ITransactionMetadata { 31184 31185 /** TransactionMetadata dtid */ 31186 dtid?: (string|null); 31187 31188 /** TransactionMetadata state */ 31189 state?: (query.TransactionState|null); 31190 31191 /** TransactionMetadata time_created */ 31192 time_created?: (number|Long|null); 31193 31194 /** TransactionMetadata participants */ 31195 participants?: (query.ITarget[]|null); 31196 } 31197 31198 /** Represents a TransactionMetadata. */ 31199 class TransactionMetadata implements ITransactionMetadata { 31200 31201 /** 31202 * Constructs a new TransactionMetadata. 31203 * @param [properties] Properties to set 31204 */ 31205 constructor(properties?: query.ITransactionMetadata); 31206 31207 /** TransactionMetadata dtid. */ 31208 public dtid: string; 31209 31210 /** TransactionMetadata state. */ 31211 public state: query.TransactionState; 31212 31213 /** TransactionMetadata time_created. */ 31214 public time_created: (number|Long); 31215 31216 /** TransactionMetadata participants. */ 31217 public participants: query.ITarget[]; 31218 31219 /** 31220 * Creates a new TransactionMetadata instance using the specified properties. 31221 * @param [properties] Properties to set 31222 * @returns TransactionMetadata instance 31223 */ 31224 public static create(properties?: query.ITransactionMetadata): query.TransactionMetadata; 31225 31226 /** 31227 * Encodes the specified TransactionMetadata message. Does not implicitly {@link query.TransactionMetadata.verify|verify} messages. 31228 * @param message TransactionMetadata message or plain object to encode 31229 * @param [writer] Writer to encode to 31230 * @returns Writer 31231 */ 31232 public static encode(message: query.ITransactionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; 31233 31234 /** 31235 * Encodes the specified TransactionMetadata message, length delimited. Does not implicitly {@link query.TransactionMetadata.verify|verify} messages. 31236 * @param message TransactionMetadata message or plain object to encode 31237 * @param [writer] Writer to encode to 31238 * @returns Writer 31239 */ 31240 public static encodeDelimited(message: query.ITransactionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; 31241 31242 /** 31243 * Decodes a TransactionMetadata message from the specified reader or buffer. 31244 * @param reader Reader or buffer to decode from 31245 * @param [length] Message length if known beforehand 31246 * @returns TransactionMetadata 31247 * @throws {Error} If the payload is not a reader or valid buffer 31248 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31249 */ 31250 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.TransactionMetadata; 31251 31252 /** 31253 * Decodes a TransactionMetadata message from the specified reader or buffer, length delimited. 31254 * @param reader Reader or buffer to decode from 31255 * @returns TransactionMetadata 31256 * @throws {Error} If the payload is not a reader or valid buffer 31257 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31258 */ 31259 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.TransactionMetadata; 31260 31261 /** 31262 * Verifies a TransactionMetadata message. 31263 * @param message Plain object to verify 31264 * @returns `null` if valid, otherwise the reason why it is not 31265 */ 31266 public static verify(message: { [k: string]: any }): (string|null); 31267 31268 /** 31269 * Creates a TransactionMetadata message from a plain object. Also converts values to their respective internal types. 31270 * @param object Plain object 31271 * @returns TransactionMetadata 31272 */ 31273 public static fromObject(object: { [k: string]: any }): query.TransactionMetadata; 31274 31275 /** 31276 * Creates a plain object from a TransactionMetadata message. Also converts values to other types if specified. 31277 * @param message TransactionMetadata 31278 * @param [options] Conversion options 31279 * @returns Plain object 31280 */ 31281 public static toObject(message: query.TransactionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; 31282 31283 /** 31284 * Converts this TransactionMetadata to JSON. 31285 * @returns JSON object 31286 */ 31287 public toJSON(): { [k: string]: any }; 31288 } 31289 31290 /** SchemaTableType enum. */ 31291 enum SchemaTableType { 31292 VIEWS = 0, 31293 TABLES = 1, 31294 ALL = 2 31295 } 31296 31297 /** Properties of a GetSchemaRequest. */ 31298 interface IGetSchemaRequest { 31299 31300 /** GetSchemaRequest target */ 31301 target?: (query.ITarget|null); 31302 31303 /** GetSchemaRequest table_type */ 31304 table_type?: (query.SchemaTableType|null); 31305 31306 /** GetSchemaRequest table_names */ 31307 table_names?: (string[]|null); 31308 } 31309 31310 /** Represents a GetSchemaRequest. */ 31311 class GetSchemaRequest implements IGetSchemaRequest { 31312 31313 /** 31314 * Constructs a new GetSchemaRequest. 31315 * @param [properties] Properties to set 31316 */ 31317 constructor(properties?: query.IGetSchemaRequest); 31318 31319 /** GetSchemaRequest target. */ 31320 public target?: (query.ITarget|null); 31321 31322 /** GetSchemaRequest table_type. */ 31323 public table_type: query.SchemaTableType; 31324 31325 /** GetSchemaRequest table_names. */ 31326 public table_names: string[]; 31327 31328 /** 31329 * Creates a new GetSchemaRequest instance using the specified properties. 31330 * @param [properties] Properties to set 31331 * @returns GetSchemaRequest instance 31332 */ 31333 public static create(properties?: query.IGetSchemaRequest): query.GetSchemaRequest; 31334 31335 /** 31336 * Encodes the specified GetSchemaRequest message. Does not implicitly {@link query.GetSchemaRequest.verify|verify} messages. 31337 * @param message GetSchemaRequest message or plain object to encode 31338 * @param [writer] Writer to encode to 31339 * @returns Writer 31340 */ 31341 public static encode(message: query.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 31342 31343 /** 31344 * Encodes the specified GetSchemaRequest message, length delimited. Does not implicitly {@link query.GetSchemaRequest.verify|verify} messages. 31345 * @param message GetSchemaRequest message or plain object to encode 31346 * @param [writer] Writer to encode to 31347 * @returns Writer 31348 */ 31349 public static encodeDelimited(message: query.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 31350 31351 /** 31352 * Decodes a GetSchemaRequest message from the specified reader or buffer. 31353 * @param reader Reader or buffer to decode from 31354 * @param [length] Message length if known beforehand 31355 * @returns GetSchemaRequest 31356 * @throws {Error} If the payload is not a reader or valid buffer 31357 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31358 */ 31359 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.GetSchemaRequest; 31360 31361 /** 31362 * Decodes a GetSchemaRequest message from the specified reader or buffer, length delimited. 31363 * @param reader Reader or buffer to decode from 31364 * @returns GetSchemaRequest 31365 * @throws {Error} If the payload is not a reader or valid buffer 31366 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31367 */ 31368 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.GetSchemaRequest; 31369 31370 /** 31371 * Verifies a GetSchemaRequest message. 31372 * @param message Plain object to verify 31373 * @returns `null` if valid, otherwise the reason why it is not 31374 */ 31375 public static verify(message: { [k: string]: any }): (string|null); 31376 31377 /** 31378 * Creates a GetSchemaRequest message from a plain object. Also converts values to their respective internal types. 31379 * @param object Plain object 31380 * @returns GetSchemaRequest 31381 */ 31382 public static fromObject(object: { [k: string]: any }): query.GetSchemaRequest; 31383 31384 /** 31385 * Creates a plain object from a GetSchemaRequest message. Also converts values to other types if specified. 31386 * @param message GetSchemaRequest 31387 * @param [options] Conversion options 31388 * @returns Plain object 31389 */ 31390 public static toObject(message: query.GetSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 31391 31392 /** 31393 * Converts this GetSchemaRequest to JSON. 31394 * @returns JSON object 31395 */ 31396 public toJSON(): { [k: string]: any }; 31397 } 31398 31399 /** Properties of a GetSchemaResponse. */ 31400 interface IGetSchemaResponse { 31401 31402 /** GetSchemaResponse table_definition */ 31403 table_definition?: ({ [k: string]: string }|null); 31404 } 31405 31406 /** Represents a GetSchemaResponse. */ 31407 class GetSchemaResponse implements IGetSchemaResponse { 31408 31409 /** 31410 * Constructs a new GetSchemaResponse. 31411 * @param [properties] Properties to set 31412 */ 31413 constructor(properties?: query.IGetSchemaResponse); 31414 31415 /** GetSchemaResponse table_definition. */ 31416 public table_definition: { [k: string]: string }; 31417 31418 /** 31419 * Creates a new GetSchemaResponse instance using the specified properties. 31420 * @param [properties] Properties to set 31421 * @returns GetSchemaResponse instance 31422 */ 31423 public static create(properties?: query.IGetSchemaResponse): query.GetSchemaResponse; 31424 31425 /** 31426 * Encodes the specified GetSchemaResponse message. Does not implicitly {@link query.GetSchemaResponse.verify|verify} messages. 31427 * @param message GetSchemaResponse message or plain object to encode 31428 * @param [writer] Writer to encode to 31429 * @returns Writer 31430 */ 31431 public static encode(message: query.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 31432 31433 /** 31434 * Encodes the specified GetSchemaResponse message, length delimited. Does not implicitly {@link query.GetSchemaResponse.verify|verify} messages. 31435 * @param message GetSchemaResponse message or plain object to encode 31436 * @param [writer] Writer to encode to 31437 * @returns Writer 31438 */ 31439 public static encodeDelimited(message: query.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 31440 31441 /** 31442 * Decodes a GetSchemaResponse message from the specified reader or buffer. 31443 * @param reader Reader or buffer to decode from 31444 * @param [length] Message length if known beforehand 31445 * @returns GetSchemaResponse 31446 * @throws {Error} If the payload is not a reader or valid buffer 31447 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31448 */ 31449 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.GetSchemaResponse; 31450 31451 /** 31452 * Decodes a GetSchemaResponse message from the specified reader or buffer, length delimited. 31453 * @param reader Reader or buffer to decode from 31454 * @returns GetSchemaResponse 31455 * @throws {Error} If the payload is not a reader or valid buffer 31456 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31457 */ 31458 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.GetSchemaResponse; 31459 31460 /** 31461 * Verifies a GetSchemaResponse message. 31462 * @param message Plain object to verify 31463 * @returns `null` if valid, otherwise the reason why it is not 31464 */ 31465 public static verify(message: { [k: string]: any }): (string|null); 31466 31467 /** 31468 * Creates a GetSchemaResponse message from a plain object. Also converts values to their respective internal types. 31469 * @param object Plain object 31470 * @returns GetSchemaResponse 31471 */ 31472 public static fromObject(object: { [k: string]: any }): query.GetSchemaResponse; 31473 31474 /** 31475 * Creates a plain object from a GetSchemaResponse message. Also converts values to other types if specified. 31476 * @param message GetSchemaResponse 31477 * @param [options] Conversion options 31478 * @returns Plain object 31479 */ 31480 public static toObject(message: query.GetSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 31481 31482 /** 31483 * Converts this GetSchemaResponse to JSON. 31484 * @returns JSON object 31485 */ 31486 public toJSON(): { [k: string]: any }; 31487 } 31488 } 31489 31490 /** Namespace vtrpc. */ 31491 export namespace vtrpc { 31492 31493 /** Properties of a CallerID. */ 31494 interface ICallerID { 31495 31496 /** CallerID principal */ 31497 principal?: (string|null); 31498 31499 /** CallerID component */ 31500 component?: (string|null); 31501 31502 /** CallerID subcomponent */ 31503 subcomponent?: (string|null); 31504 31505 /** CallerID groups */ 31506 groups?: (string[]|null); 31507 } 31508 31509 /** Represents a CallerID. */ 31510 class CallerID implements ICallerID { 31511 31512 /** 31513 * Constructs a new CallerID. 31514 * @param [properties] Properties to set 31515 */ 31516 constructor(properties?: vtrpc.ICallerID); 31517 31518 /** CallerID principal. */ 31519 public principal: string; 31520 31521 /** CallerID component. */ 31522 public component: string; 31523 31524 /** CallerID subcomponent. */ 31525 public subcomponent: string; 31526 31527 /** CallerID groups. */ 31528 public groups: string[]; 31529 31530 /** 31531 * Creates a new CallerID instance using the specified properties. 31532 * @param [properties] Properties to set 31533 * @returns CallerID instance 31534 */ 31535 public static create(properties?: vtrpc.ICallerID): vtrpc.CallerID; 31536 31537 /** 31538 * Encodes the specified CallerID message. Does not implicitly {@link vtrpc.CallerID.verify|verify} messages. 31539 * @param message CallerID message or plain object to encode 31540 * @param [writer] Writer to encode to 31541 * @returns Writer 31542 */ 31543 public static encode(message: vtrpc.ICallerID, writer?: $protobuf.Writer): $protobuf.Writer; 31544 31545 /** 31546 * Encodes the specified CallerID message, length delimited. Does not implicitly {@link vtrpc.CallerID.verify|verify} messages. 31547 * @param message CallerID message or plain object to encode 31548 * @param [writer] Writer to encode to 31549 * @returns Writer 31550 */ 31551 public static encodeDelimited(message: vtrpc.ICallerID, writer?: $protobuf.Writer): $protobuf.Writer; 31552 31553 /** 31554 * Decodes a CallerID message from the specified reader or buffer. 31555 * @param reader Reader or buffer to decode from 31556 * @param [length] Message length if known beforehand 31557 * @returns CallerID 31558 * @throws {Error} If the payload is not a reader or valid buffer 31559 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31560 */ 31561 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtrpc.CallerID; 31562 31563 /** 31564 * Decodes a CallerID message from the specified reader or buffer, length delimited. 31565 * @param reader Reader or buffer to decode from 31566 * @returns CallerID 31567 * @throws {Error} If the payload is not a reader or valid buffer 31568 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31569 */ 31570 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtrpc.CallerID; 31571 31572 /** 31573 * Verifies a CallerID message. 31574 * @param message Plain object to verify 31575 * @returns `null` if valid, otherwise the reason why it is not 31576 */ 31577 public static verify(message: { [k: string]: any }): (string|null); 31578 31579 /** 31580 * Creates a CallerID message from a plain object. Also converts values to their respective internal types. 31581 * @param object Plain object 31582 * @returns CallerID 31583 */ 31584 public static fromObject(object: { [k: string]: any }): vtrpc.CallerID; 31585 31586 /** 31587 * Creates a plain object from a CallerID message. Also converts values to other types if specified. 31588 * @param message CallerID 31589 * @param [options] Conversion options 31590 * @returns Plain object 31591 */ 31592 public static toObject(message: vtrpc.CallerID, options?: $protobuf.IConversionOptions): { [k: string]: any }; 31593 31594 /** 31595 * Converts this CallerID to JSON. 31596 * @returns JSON object 31597 */ 31598 public toJSON(): { [k: string]: any }; 31599 } 31600 31601 /** Code enum. */ 31602 enum Code { 31603 OK = 0, 31604 CANCELED = 1, 31605 UNKNOWN = 2, 31606 INVALID_ARGUMENT = 3, 31607 DEADLINE_EXCEEDED = 4, 31608 NOT_FOUND = 5, 31609 ALREADY_EXISTS = 6, 31610 PERMISSION_DENIED = 7, 31611 RESOURCE_EXHAUSTED = 8, 31612 FAILED_PRECONDITION = 9, 31613 ABORTED = 10, 31614 OUT_OF_RANGE = 11, 31615 UNIMPLEMENTED = 12, 31616 INTERNAL = 13, 31617 UNAVAILABLE = 14, 31618 DATA_LOSS = 15, 31619 UNAUTHENTICATED = 16, 31620 CLUSTER_EVENT = 17, 31621 READ_ONLY = 18 31622 } 31623 31624 /** Properties of a RPCError. */ 31625 interface IRPCError { 31626 31627 /** RPCError message */ 31628 message?: (string|null); 31629 31630 /** RPCError code */ 31631 code?: (vtrpc.Code|null); 31632 } 31633 31634 /** Represents a RPCError. */ 31635 class RPCError implements IRPCError { 31636 31637 /** 31638 * Constructs a new RPCError. 31639 * @param [properties] Properties to set 31640 */ 31641 constructor(properties?: vtrpc.IRPCError); 31642 31643 /** RPCError message. */ 31644 public message: string; 31645 31646 /** RPCError code. */ 31647 public code: vtrpc.Code; 31648 31649 /** 31650 * Creates a new RPCError instance using the specified properties. 31651 * @param [properties] Properties to set 31652 * @returns RPCError instance 31653 */ 31654 public static create(properties?: vtrpc.IRPCError): vtrpc.RPCError; 31655 31656 /** 31657 * Encodes the specified RPCError message. Does not implicitly {@link vtrpc.RPCError.verify|verify} messages. 31658 * @param message RPCError message or plain object to encode 31659 * @param [writer] Writer to encode to 31660 * @returns Writer 31661 */ 31662 public static encode(message: vtrpc.IRPCError, writer?: $protobuf.Writer): $protobuf.Writer; 31663 31664 /** 31665 * Encodes the specified RPCError message, length delimited. Does not implicitly {@link vtrpc.RPCError.verify|verify} messages. 31666 * @param message RPCError message or plain object to encode 31667 * @param [writer] Writer to encode to 31668 * @returns Writer 31669 */ 31670 public static encodeDelimited(message: vtrpc.IRPCError, writer?: $protobuf.Writer): $protobuf.Writer; 31671 31672 /** 31673 * Decodes a RPCError message from the specified reader or buffer. 31674 * @param reader Reader or buffer to decode from 31675 * @param [length] Message length if known beforehand 31676 * @returns RPCError 31677 * @throws {Error} If the payload is not a reader or valid buffer 31678 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31679 */ 31680 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtrpc.RPCError; 31681 31682 /** 31683 * Decodes a RPCError message from the specified reader or buffer, length delimited. 31684 * @param reader Reader or buffer to decode from 31685 * @returns RPCError 31686 * @throws {Error} If the payload is not a reader or valid buffer 31687 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31688 */ 31689 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtrpc.RPCError; 31690 31691 /** 31692 * Verifies a RPCError message. 31693 * @param message Plain object to verify 31694 * @returns `null` if valid, otherwise the reason why it is not 31695 */ 31696 public static verify(message: { [k: string]: any }): (string|null); 31697 31698 /** 31699 * Creates a RPCError message from a plain object. Also converts values to their respective internal types. 31700 * @param object Plain object 31701 * @returns RPCError 31702 */ 31703 public static fromObject(object: { [k: string]: any }): vtrpc.RPCError; 31704 31705 /** 31706 * Creates a plain object from a RPCError message. Also converts values to other types if specified. 31707 * @param message RPCError 31708 * @param [options] Conversion options 31709 * @returns Plain object 31710 */ 31711 public static toObject(message: vtrpc.RPCError, options?: $protobuf.IConversionOptions): { [k: string]: any }; 31712 31713 /** 31714 * Converts this RPCError to JSON. 31715 * @returns JSON object 31716 */ 31717 public toJSON(): { [k: string]: any }; 31718 } 31719 } 31720 31721 /** Namespace replicationdata. */ 31722 export namespace replicationdata { 31723 31724 /** Properties of a Status. */ 31725 interface IStatus { 31726 31727 /** Status position */ 31728 position?: (string|null); 31729 31730 /** Status replication_lag_seconds */ 31731 replication_lag_seconds?: (number|null); 31732 31733 /** Status source_host */ 31734 source_host?: (string|null); 31735 31736 /** Status source_port */ 31737 source_port?: (number|null); 31738 31739 /** Status connect_retry */ 31740 connect_retry?: (number|null); 31741 31742 /** Status relay_log_position */ 31743 relay_log_position?: (string|null); 31744 31745 /** Status file_position */ 31746 file_position?: (string|null); 31747 31748 /** Status relay_log_source_binlog_equivalent_position */ 31749 relay_log_source_binlog_equivalent_position?: (string|null); 31750 31751 /** Status source_server_id */ 31752 source_server_id?: (number|null); 31753 31754 /** Status source_uuid */ 31755 source_uuid?: (string|null); 31756 31757 /** Status io_state */ 31758 io_state?: (number|null); 31759 31760 /** Status last_io_error */ 31761 last_io_error?: (string|null); 31762 31763 /** Status sql_state */ 31764 sql_state?: (number|null); 31765 31766 /** Status last_sql_error */ 31767 last_sql_error?: (string|null); 31768 31769 /** Status relay_log_file_position */ 31770 relay_log_file_position?: (string|null); 31771 31772 /** Status source_user */ 31773 source_user?: (string|null); 31774 31775 /** Status sql_delay */ 31776 sql_delay?: (number|null); 31777 31778 /** Status auto_position */ 31779 auto_position?: (boolean|null); 31780 31781 /** Status using_gtid */ 31782 using_gtid?: (boolean|null); 31783 31784 /** Status has_replication_filters */ 31785 has_replication_filters?: (boolean|null); 31786 31787 /** Status ssl_allowed */ 31788 ssl_allowed?: (boolean|null); 31789 31790 /** Status replication_lag_unknown */ 31791 replication_lag_unknown?: (boolean|null); 31792 } 31793 31794 /** Represents a Status. */ 31795 class Status implements IStatus { 31796 31797 /** 31798 * Constructs a new Status. 31799 * @param [properties] Properties to set 31800 */ 31801 constructor(properties?: replicationdata.IStatus); 31802 31803 /** Status position. */ 31804 public position: string; 31805 31806 /** Status replication_lag_seconds. */ 31807 public replication_lag_seconds: number; 31808 31809 /** Status source_host. */ 31810 public source_host: string; 31811 31812 /** Status source_port. */ 31813 public source_port: number; 31814 31815 /** Status connect_retry. */ 31816 public connect_retry: number; 31817 31818 /** Status relay_log_position. */ 31819 public relay_log_position: string; 31820 31821 /** Status file_position. */ 31822 public file_position: string; 31823 31824 /** Status relay_log_source_binlog_equivalent_position. */ 31825 public relay_log_source_binlog_equivalent_position: string; 31826 31827 /** Status source_server_id. */ 31828 public source_server_id: number; 31829 31830 /** Status source_uuid. */ 31831 public source_uuid: string; 31832 31833 /** Status io_state. */ 31834 public io_state: number; 31835 31836 /** Status last_io_error. */ 31837 public last_io_error: string; 31838 31839 /** Status sql_state. */ 31840 public sql_state: number; 31841 31842 /** Status last_sql_error. */ 31843 public last_sql_error: string; 31844 31845 /** Status relay_log_file_position. */ 31846 public relay_log_file_position: string; 31847 31848 /** Status source_user. */ 31849 public source_user: string; 31850 31851 /** Status sql_delay. */ 31852 public sql_delay: number; 31853 31854 /** Status auto_position. */ 31855 public auto_position: boolean; 31856 31857 /** Status using_gtid. */ 31858 public using_gtid: boolean; 31859 31860 /** Status has_replication_filters. */ 31861 public has_replication_filters: boolean; 31862 31863 /** Status ssl_allowed. */ 31864 public ssl_allowed: boolean; 31865 31866 /** Status replication_lag_unknown. */ 31867 public replication_lag_unknown: boolean; 31868 31869 /** 31870 * Creates a new Status instance using the specified properties. 31871 * @param [properties] Properties to set 31872 * @returns Status instance 31873 */ 31874 public static create(properties?: replicationdata.IStatus): replicationdata.Status; 31875 31876 /** 31877 * Encodes the specified Status message. Does not implicitly {@link replicationdata.Status.verify|verify} messages. 31878 * @param message Status message or plain object to encode 31879 * @param [writer] Writer to encode to 31880 * @returns Writer 31881 */ 31882 public static encode(message: replicationdata.IStatus, writer?: $protobuf.Writer): $protobuf.Writer; 31883 31884 /** 31885 * Encodes the specified Status message, length delimited. Does not implicitly {@link replicationdata.Status.verify|verify} messages. 31886 * @param message Status message or plain object to encode 31887 * @param [writer] Writer to encode to 31888 * @returns Writer 31889 */ 31890 public static encodeDelimited(message: replicationdata.IStatus, writer?: $protobuf.Writer): $protobuf.Writer; 31891 31892 /** 31893 * Decodes a Status message from the specified reader or buffer. 31894 * @param reader Reader or buffer to decode from 31895 * @param [length] Message length if known beforehand 31896 * @returns Status 31897 * @throws {Error} If the payload is not a reader or valid buffer 31898 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31899 */ 31900 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.Status; 31901 31902 /** 31903 * Decodes a Status message from the specified reader or buffer, length delimited. 31904 * @param reader Reader or buffer to decode from 31905 * @returns Status 31906 * @throws {Error} If the payload is not a reader or valid buffer 31907 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31908 */ 31909 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.Status; 31910 31911 /** 31912 * Verifies a Status message. 31913 * @param message Plain object to verify 31914 * @returns `null` if valid, otherwise the reason why it is not 31915 */ 31916 public static verify(message: { [k: string]: any }): (string|null); 31917 31918 /** 31919 * Creates a Status message from a plain object. Also converts values to their respective internal types. 31920 * @param object Plain object 31921 * @returns Status 31922 */ 31923 public static fromObject(object: { [k: string]: any }): replicationdata.Status; 31924 31925 /** 31926 * Creates a plain object from a Status message. Also converts values to other types if specified. 31927 * @param message Status 31928 * @param [options] Conversion options 31929 * @returns Plain object 31930 */ 31931 public static toObject(message: replicationdata.Status, options?: $protobuf.IConversionOptions): { [k: string]: any }; 31932 31933 /** 31934 * Converts this Status to JSON. 31935 * @returns JSON object 31936 */ 31937 public toJSON(): { [k: string]: any }; 31938 } 31939 31940 /** Properties of a StopReplicationStatus. */ 31941 interface IStopReplicationStatus { 31942 31943 /** StopReplicationStatus before */ 31944 before?: (replicationdata.IStatus|null); 31945 31946 /** StopReplicationStatus after */ 31947 after?: (replicationdata.IStatus|null); 31948 } 31949 31950 /** Represents a StopReplicationStatus. */ 31951 class StopReplicationStatus implements IStopReplicationStatus { 31952 31953 /** 31954 * Constructs a new StopReplicationStatus. 31955 * @param [properties] Properties to set 31956 */ 31957 constructor(properties?: replicationdata.IStopReplicationStatus); 31958 31959 /** StopReplicationStatus before. */ 31960 public before?: (replicationdata.IStatus|null); 31961 31962 /** StopReplicationStatus after. */ 31963 public after?: (replicationdata.IStatus|null); 31964 31965 /** 31966 * Creates a new StopReplicationStatus instance using the specified properties. 31967 * @param [properties] Properties to set 31968 * @returns StopReplicationStatus instance 31969 */ 31970 public static create(properties?: replicationdata.IStopReplicationStatus): replicationdata.StopReplicationStatus; 31971 31972 /** 31973 * Encodes the specified StopReplicationStatus message. Does not implicitly {@link replicationdata.StopReplicationStatus.verify|verify} messages. 31974 * @param message StopReplicationStatus message or plain object to encode 31975 * @param [writer] Writer to encode to 31976 * @returns Writer 31977 */ 31978 public static encode(message: replicationdata.IStopReplicationStatus, writer?: $protobuf.Writer): $protobuf.Writer; 31979 31980 /** 31981 * Encodes the specified StopReplicationStatus message, length delimited. Does not implicitly {@link replicationdata.StopReplicationStatus.verify|verify} messages. 31982 * @param message StopReplicationStatus message or plain object to encode 31983 * @param [writer] Writer to encode to 31984 * @returns Writer 31985 */ 31986 public static encodeDelimited(message: replicationdata.IStopReplicationStatus, writer?: $protobuf.Writer): $protobuf.Writer; 31987 31988 /** 31989 * Decodes a StopReplicationStatus message from the specified reader or buffer. 31990 * @param reader Reader or buffer to decode from 31991 * @param [length] Message length if known beforehand 31992 * @returns StopReplicationStatus 31993 * @throws {Error} If the payload is not a reader or valid buffer 31994 * @throws {$protobuf.util.ProtocolError} If required fields are missing 31995 */ 31996 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.StopReplicationStatus; 31997 31998 /** 31999 * Decodes a StopReplicationStatus message from the specified reader or buffer, length delimited. 32000 * @param reader Reader or buffer to decode from 32001 * @returns StopReplicationStatus 32002 * @throws {Error} If the payload is not a reader or valid buffer 32003 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32004 */ 32005 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.StopReplicationStatus; 32006 32007 /** 32008 * Verifies a StopReplicationStatus message. 32009 * @param message Plain object to verify 32010 * @returns `null` if valid, otherwise the reason why it is not 32011 */ 32012 public static verify(message: { [k: string]: any }): (string|null); 32013 32014 /** 32015 * Creates a StopReplicationStatus message from a plain object. Also converts values to their respective internal types. 32016 * @param object Plain object 32017 * @returns StopReplicationStatus 32018 */ 32019 public static fromObject(object: { [k: string]: any }): replicationdata.StopReplicationStatus; 32020 32021 /** 32022 * Creates a plain object from a StopReplicationStatus message. Also converts values to other types if specified. 32023 * @param message StopReplicationStatus 32024 * @param [options] Conversion options 32025 * @returns Plain object 32026 */ 32027 public static toObject(message: replicationdata.StopReplicationStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; 32028 32029 /** 32030 * Converts this StopReplicationStatus to JSON. 32031 * @returns JSON object 32032 */ 32033 public toJSON(): { [k: string]: any }; 32034 } 32035 32036 /** StopReplicationMode enum. */ 32037 enum StopReplicationMode { 32038 IOANDSQLTHREAD = 0, 32039 IOTHREADONLY = 1 32040 } 32041 32042 /** Properties of a PrimaryStatus. */ 32043 interface IPrimaryStatus { 32044 32045 /** PrimaryStatus position */ 32046 position?: (string|null); 32047 32048 /** PrimaryStatus file_position */ 32049 file_position?: (string|null); 32050 } 32051 32052 /** Represents a PrimaryStatus. */ 32053 class PrimaryStatus implements IPrimaryStatus { 32054 32055 /** 32056 * Constructs a new PrimaryStatus. 32057 * @param [properties] Properties to set 32058 */ 32059 constructor(properties?: replicationdata.IPrimaryStatus); 32060 32061 /** PrimaryStatus position. */ 32062 public position: string; 32063 32064 /** PrimaryStatus file_position. */ 32065 public file_position: string; 32066 32067 /** 32068 * Creates a new PrimaryStatus instance using the specified properties. 32069 * @param [properties] Properties to set 32070 * @returns PrimaryStatus instance 32071 */ 32072 public static create(properties?: replicationdata.IPrimaryStatus): replicationdata.PrimaryStatus; 32073 32074 /** 32075 * Encodes the specified PrimaryStatus message. Does not implicitly {@link replicationdata.PrimaryStatus.verify|verify} messages. 32076 * @param message PrimaryStatus message or plain object to encode 32077 * @param [writer] Writer to encode to 32078 * @returns Writer 32079 */ 32080 public static encode(message: replicationdata.IPrimaryStatus, writer?: $protobuf.Writer): $protobuf.Writer; 32081 32082 /** 32083 * Encodes the specified PrimaryStatus message, length delimited. Does not implicitly {@link replicationdata.PrimaryStatus.verify|verify} messages. 32084 * @param message PrimaryStatus message or plain object to encode 32085 * @param [writer] Writer to encode to 32086 * @returns Writer 32087 */ 32088 public static encodeDelimited(message: replicationdata.IPrimaryStatus, writer?: $protobuf.Writer): $protobuf.Writer; 32089 32090 /** 32091 * Decodes a PrimaryStatus message from the specified reader or buffer. 32092 * @param reader Reader or buffer to decode from 32093 * @param [length] Message length if known beforehand 32094 * @returns PrimaryStatus 32095 * @throws {Error} If the payload is not a reader or valid buffer 32096 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32097 */ 32098 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.PrimaryStatus; 32099 32100 /** 32101 * Decodes a PrimaryStatus message from the specified reader or buffer, length delimited. 32102 * @param reader Reader or buffer to decode from 32103 * @returns PrimaryStatus 32104 * @throws {Error} If the payload is not a reader or valid buffer 32105 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32106 */ 32107 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.PrimaryStatus; 32108 32109 /** 32110 * Verifies a PrimaryStatus message. 32111 * @param message Plain object to verify 32112 * @returns `null` if valid, otherwise the reason why it is not 32113 */ 32114 public static verify(message: { [k: string]: any }): (string|null); 32115 32116 /** 32117 * Creates a PrimaryStatus message from a plain object. Also converts values to their respective internal types. 32118 * @param object Plain object 32119 * @returns PrimaryStatus 32120 */ 32121 public static fromObject(object: { [k: string]: any }): replicationdata.PrimaryStatus; 32122 32123 /** 32124 * Creates a plain object from a PrimaryStatus message. Also converts values to other types if specified. 32125 * @param message PrimaryStatus 32126 * @param [options] Conversion options 32127 * @returns Plain object 32128 */ 32129 public static toObject(message: replicationdata.PrimaryStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; 32130 32131 /** 32132 * Converts this PrimaryStatus to JSON. 32133 * @returns JSON object 32134 */ 32135 public toJSON(): { [k: string]: any }; 32136 } 32137 32138 /** Properties of a FullStatus. */ 32139 interface IFullStatus { 32140 32141 /** FullStatus server_id */ 32142 server_id?: (number|null); 32143 32144 /** FullStatus server_uuid */ 32145 server_uuid?: (string|null); 32146 32147 /** FullStatus replication_status */ 32148 replication_status?: (replicationdata.IStatus|null); 32149 32150 /** FullStatus primary_status */ 32151 primary_status?: (replicationdata.IPrimaryStatus|null); 32152 32153 /** FullStatus gtid_purged */ 32154 gtid_purged?: (string|null); 32155 32156 /** FullStatus version */ 32157 version?: (string|null); 32158 32159 /** FullStatus version_comment */ 32160 version_comment?: (string|null); 32161 32162 /** FullStatus read_only */ 32163 read_only?: (boolean|null); 32164 32165 /** FullStatus gtid_mode */ 32166 gtid_mode?: (string|null); 32167 32168 /** FullStatus binlog_format */ 32169 binlog_format?: (string|null); 32170 32171 /** FullStatus binlog_row_image */ 32172 binlog_row_image?: (string|null); 32173 32174 /** FullStatus log_bin_enabled */ 32175 log_bin_enabled?: (boolean|null); 32176 32177 /** FullStatus log_replica_updates */ 32178 log_replica_updates?: (boolean|null); 32179 32180 /** FullStatus semi_sync_primary_enabled */ 32181 semi_sync_primary_enabled?: (boolean|null); 32182 32183 /** FullStatus semi_sync_replica_enabled */ 32184 semi_sync_replica_enabled?: (boolean|null); 32185 32186 /** FullStatus semi_sync_primary_status */ 32187 semi_sync_primary_status?: (boolean|null); 32188 32189 /** FullStatus semi_sync_replica_status */ 32190 semi_sync_replica_status?: (boolean|null); 32191 32192 /** FullStatus semi_sync_primary_clients */ 32193 semi_sync_primary_clients?: (number|null); 32194 32195 /** FullStatus semi_sync_primary_timeout */ 32196 semi_sync_primary_timeout?: (number|Long|null); 32197 32198 /** FullStatus semi_sync_wait_for_replica_count */ 32199 semi_sync_wait_for_replica_count?: (number|null); 32200 } 32201 32202 /** Represents a FullStatus. */ 32203 class FullStatus implements IFullStatus { 32204 32205 /** 32206 * Constructs a new FullStatus. 32207 * @param [properties] Properties to set 32208 */ 32209 constructor(properties?: replicationdata.IFullStatus); 32210 32211 /** FullStatus server_id. */ 32212 public server_id: number; 32213 32214 /** FullStatus server_uuid. */ 32215 public server_uuid: string; 32216 32217 /** FullStatus replication_status. */ 32218 public replication_status?: (replicationdata.IStatus|null); 32219 32220 /** FullStatus primary_status. */ 32221 public primary_status?: (replicationdata.IPrimaryStatus|null); 32222 32223 /** FullStatus gtid_purged. */ 32224 public gtid_purged: string; 32225 32226 /** FullStatus version. */ 32227 public version: string; 32228 32229 /** FullStatus version_comment. */ 32230 public version_comment: string; 32231 32232 /** FullStatus read_only. */ 32233 public read_only: boolean; 32234 32235 /** FullStatus gtid_mode. */ 32236 public gtid_mode: string; 32237 32238 /** FullStatus binlog_format. */ 32239 public binlog_format: string; 32240 32241 /** FullStatus binlog_row_image. */ 32242 public binlog_row_image: string; 32243 32244 /** FullStatus log_bin_enabled. */ 32245 public log_bin_enabled: boolean; 32246 32247 /** FullStatus log_replica_updates. */ 32248 public log_replica_updates: boolean; 32249 32250 /** FullStatus semi_sync_primary_enabled. */ 32251 public semi_sync_primary_enabled: boolean; 32252 32253 /** FullStatus semi_sync_replica_enabled. */ 32254 public semi_sync_replica_enabled: boolean; 32255 32256 /** FullStatus semi_sync_primary_status. */ 32257 public semi_sync_primary_status: boolean; 32258 32259 /** FullStatus semi_sync_replica_status. */ 32260 public semi_sync_replica_status: boolean; 32261 32262 /** FullStatus semi_sync_primary_clients. */ 32263 public semi_sync_primary_clients: number; 32264 32265 /** FullStatus semi_sync_primary_timeout. */ 32266 public semi_sync_primary_timeout: (number|Long); 32267 32268 /** FullStatus semi_sync_wait_for_replica_count. */ 32269 public semi_sync_wait_for_replica_count: number; 32270 32271 /** 32272 * Creates a new FullStatus instance using the specified properties. 32273 * @param [properties] Properties to set 32274 * @returns FullStatus instance 32275 */ 32276 public static create(properties?: replicationdata.IFullStatus): replicationdata.FullStatus; 32277 32278 /** 32279 * Encodes the specified FullStatus message. Does not implicitly {@link replicationdata.FullStatus.verify|verify} messages. 32280 * @param message FullStatus message or plain object to encode 32281 * @param [writer] Writer to encode to 32282 * @returns Writer 32283 */ 32284 public static encode(message: replicationdata.IFullStatus, writer?: $protobuf.Writer): $protobuf.Writer; 32285 32286 /** 32287 * Encodes the specified FullStatus message, length delimited. Does not implicitly {@link replicationdata.FullStatus.verify|verify} messages. 32288 * @param message FullStatus message or plain object to encode 32289 * @param [writer] Writer to encode to 32290 * @returns Writer 32291 */ 32292 public static encodeDelimited(message: replicationdata.IFullStatus, writer?: $protobuf.Writer): $protobuf.Writer; 32293 32294 /** 32295 * Decodes a FullStatus message from the specified reader or buffer. 32296 * @param reader Reader or buffer to decode from 32297 * @param [length] Message length if known beforehand 32298 * @returns FullStatus 32299 * @throws {Error} If the payload is not a reader or valid buffer 32300 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32301 */ 32302 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.FullStatus; 32303 32304 /** 32305 * Decodes a FullStatus message from the specified reader or buffer, length delimited. 32306 * @param reader Reader or buffer to decode from 32307 * @returns FullStatus 32308 * @throws {Error} If the payload is not a reader or valid buffer 32309 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32310 */ 32311 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.FullStatus; 32312 32313 /** 32314 * Verifies a FullStatus message. 32315 * @param message Plain object to verify 32316 * @returns `null` if valid, otherwise the reason why it is not 32317 */ 32318 public static verify(message: { [k: string]: any }): (string|null); 32319 32320 /** 32321 * Creates a FullStatus message from a plain object. Also converts values to their respective internal types. 32322 * @param object Plain object 32323 * @returns FullStatus 32324 */ 32325 public static fromObject(object: { [k: string]: any }): replicationdata.FullStatus; 32326 32327 /** 32328 * Creates a plain object from a FullStatus message. Also converts values to other types if specified. 32329 * @param message FullStatus 32330 * @param [options] Conversion options 32331 * @returns Plain object 32332 */ 32333 public static toObject(message: replicationdata.FullStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; 32334 32335 /** 32336 * Converts this FullStatus to JSON. 32337 * @returns JSON object 32338 */ 32339 public toJSON(): { [k: string]: any }; 32340 } 32341 } 32342 32343 /** Namespace vschema. */ 32344 export namespace vschema { 32345 32346 /** Properties of a RoutingRules. */ 32347 interface IRoutingRules { 32348 32349 /** RoutingRules rules */ 32350 rules?: (vschema.IRoutingRule[]|null); 32351 } 32352 32353 /** Represents a RoutingRules. */ 32354 class RoutingRules implements IRoutingRules { 32355 32356 /** 32357 * Constructs a new RoutingRules. 32358 * @param [properties] Properties to set 32359 */ 32360 constructor(properties?: vschema.IRoutingRules); 32361 32362 /** RoutingRules rules. */ 32363 public rules: vschema.IRoutingRule[]; 32364 32365 /** 32366 * Creates a new RoutingRules instance using the specified properties. 32367 * @param [properties] Properties to set 32368 * @returns RoutingRules instance 32369 */ 32370 public static create(properties?: vschema.IRoutingRules): vschema.RoutingRules; 32371 32372 /** 32373 * Encodes the specified RoutingRules message. Does not implicitly {@link vschema.RoutingRules.verify|verify} messages. 32374 * @param message RoutingRules message or plain object to encode 32375 * @param [writer] Writer to encode to 32376 * @returns Writer 32377 */ 32378 public static encode(message: vschema.IRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; 32379 32380 /** 32381 * Encodes the specified RoutingRules message, length delimited. Does not implicitly {@link vschema.RoutingRules.verify|verify} messages. 32382 * @param message RoutingRules message or plain object to encode 32383 * @param [writer] Writer to encode to 32384 * @returns Writer 32385 */ 32386 public static encodeDelimited(message: vschema.IRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; 32387 32388 /** 32389 * Decodes a RoutingRules message from the specified reader or buffer. 32390 * @param reader Reader or buffer to decode from 32391 * @param [length] Message length if known beforehand 32392 * @returns RoutingRules 32393 * @throws {Error} If the payload is not a reader or valid buffer 32394 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32395 */ 32396 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.RoutingRules; 32397 32398 /** 32399 * Decodes a RoutingRules message from the specified reader or buffer, length delimited. 32400 * @param reader Reader or buffer to decode from 32401 * @returns RoutingRules 32402 * @throws {Error} If the payload is not a reader or valid buffer 32403 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32404 */ 32405 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.RoutingRules; 32406 32407 /** 32408 * Verifies a RoutingRules message. 32409 * @param message Plain object to verify 32410 * @returns `null` if valid, otherwise the reason why it is not 32411 */ 32412 public static verify(message: { [k: string]: any }): (string|null); 32413 32414 /** 32415 * Creates a RoutingRules message from a plain object. Also converts values to their respective internal types. 32416 * @param object Plain object 32417 * @returns RoutingRules 32418 */ 32419 public static fromObject(object: { [k: string]: any }): vschema.RoutingRules; 32420 32421 /** 32422 * Creates a plain object from a RoutingRules message. Also converts values to other types if specified. 32423 * @param message RoutingRules 32424 * @param [options] Conversion options 32425 * @returns Plain object 32426 */ 32427 public static toObject(message: vschema.RoutingRules, options?: $protobuf.IConversionOptions): { [k: string]: any }; 32428 32429 /** 32430 * Converts this RoutingRules to JSON. 32431 * @returns JSON object 32432 */ 32433 public toJSON(): { [k: string]: any }; 32434 } 32435 32436 /** Properties of a RoutingRule. */ 32437 interface IRoutingRule { 32438 32439 /** RoutingRule from_table */ 32440 from_table?: (string|null); 32441 32442 /** RoutingRule to_tables */ 32443 to_tables?: (string[]|null); 32444 } 32445 32446 /** Represents a RoutingRule. */ 32447 class RoutingRule implements IRoutingRule { 32448 32449 /** 32450 * Constructs a new RoutingRule. 32451 * @param [properties] Properties to set 32452 */ 32453 constructor(properties?: vschema.IRoutingRule); 32454 32455 /** RoutingRule from_table. */ 32456 public from_table: string; 32457 32458 /** RoutingRule to_tables. */ 32459 public to_tables: string[]; 32460 32461 /** 32462 * Creates a new RoutingRule instance using the specified properties. 32463 * @param [properties] Properties to set 32464 * @returns RoutingRule instance 32465 */ 32466 public static create(properties?: vschema.IRoutingRule): vschema.RoutingRule; 32467 32468 /** 32469 * Encodes the specified RoutingRule message. Does not implicitly {@link vschema.RoutingRule.verify|verify} messages. 32470 * @param message RoutingRule message or plain object to encode 32471 * @param [writer] Writer to encode to 32472 * @returns Writer 32473 */ 32474 public static encode(message: vschema.IRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; 32475 32476 /** 32477 * Encodes the specified RoutingRule message, length delimited. Does not implicitly {@link vschema.RoutingRule.verify|verify} messages. 32478 * @param message RoutingRule message or plain object to encode 32479 * @param [writer] Writer to encode to 32480 * @returns Writer 32481 */ 32482 public static encodeDelimited(message: vschema.IRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; 32483 32484 /** 32485 * Decodes a RoutingRule message from the specified reader or buffer. 32486 * @param reader Reader or buffer to decode from 32487 * @param [length] Message length if known beforehand 32488 * @returns RoutingRule 32489 * @throws {Error} If the payload is not a reader or valid buffer 32490 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32491 */ 32492 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.RoutingRule; 32493 32494 /** 32495 * Decodes a RoutingRule message from the specified reader or buffer, length delimited. 32496 * @param reader Reader or buffer to decode from 32497 * @returns RoutingRule 32498 * @throws {Error} If the payload is not a reader or valid buffer 32499 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32500 */ 32501 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.RoutingRule; 32502 32503 /** 32504 * Verifies a RoutingRule message. 32505 * @param message Plain object to verify 32506 * @returns `null` if valid, otherwise the reason why it is not 32507 */ 32508 public static verify(message: { [k: string]: any }): (string|null); 32509 32510 /** 32511 * Creates a RoutingRule message from a plain object. Also converts values to their respective internal types. 32512 * @param object Plain object 32513 * @returns RoutingRule 32514 */ 32515 public static fromObject(object: { [k: string]: any }): vschema.RoutingRule; 32516 32517 /** 32518 * Creates a plain object from a RoutingRule message. Also converts values to other types if specified. 32519 * @param message RoutingRule 32520 * @param [options] Conversion options 32521 * @returns Plain object 32522 */ 32523 public static toObject(message: vschema.RoutingRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; 32524 32525 /** 32526 * Converts this RoutingRule to JSON. 32527 * @returns JSON object 32528 */ 32529 public toJSON(): { [k: string]: any }; 32530 } 32531 32532 /** Properties of a Keyspace. */ 32533 interface IKeyspace { 32534 32535 /** Keyspace sharded */ 32536 sharded?: (boolean|null); 32537 32538 /** Keyspace vindexes */ 32539 vindexes?: ({ [k: string]: vschema.IVindex }|null); 32540 32541 /** Keyspace tables */ 32542 tables?: ({ [k: string]: vschema.ITable }|null); 32543 32544 /** Keyspace require_explicit_routing */ 32545 require_explicit_routing?: (boolean|null); 32546 } 32547 32548 /** Represents a Keyspace. */ 32549 class Keyspace implements IKeyspace { 32550 32551 /** 32552 * Constructs a new Keyspace. 32553 * @param [properties] Properties to set 32554 */ 32555 constructor(properties?: vschema.IKeyspace); 32556 32557 /** Keyspace sharded. */ 32558 public sharded: boolean; 32559 32560 /** Keyspace vindexes. */ 32561 public vindexes: { [k: string]: vschema.IVindex }; 32562 32563 /** Keyspace tables. */ 32564 public tables: { [k: string]: vschema.ITable }; 32565 32566 /** Keyspace require_explicit_routing. */ 32567 public require_explicit_routing: boolean; 32568 32569 /** 32570 * Creates a new Keyspace instance using the specified properties. 32571 * @param [properties] Properties to set 32572 * @returns Keyspace instance 32573 */ 32574 public static create(properties?: vschema.IKeyspace): vschema.Keyspace; 32575 32576 /** 32577 * Encodes the specified Keyspace message. Does not implicitly {@link vschema.Keyspace.verify|verify} messages. 32578 * @param message Keyspace message or plain object to encode 32579 * @param [writer] Writer to encode to 32580 * @returns Writer 32581 */ 32582 public static encode(message: vschema.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; 32583 32584 /** 32585 * Encodes the specified Keyspace message, length delimited. Does not implicitly {@link vschema.Keyspace.verify|verify} messages. 32586 * @param message Keyspace message or plain object to encode 32587 * @param [writer] Writer to encode to 32588 * @returns Writer 32589 */ 32590 public static encodeDelimited(message: vschema.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; 32591 32592 /** 32593 * Decodes a Keyspace message from the specified reader or buffer. 32594 * @param reader Reader or buffer to decode from 32595 * @param [length] Message length if known beforehand 32596 * @returns Keyspace 32597 * @throws {Error} If the payload is not a reader or valid buffer 32598 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32599 */ 32600 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Keyspace; 32601 32602 /** 32603 * Decodes a Keyspace message from the specified reader or buffer, length delimited. 32604 * @param reader Reader or buffer to decode from 32605 * @returns Keyspace 32606 * @throws {Error} If the payload is not a reader or valid buffer 32607 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32608 */ 32609 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Keyspace; 32610 32611 /** 32612 * Verifies a Keyspace message. 32613 * @param message Plain object to verify 32614 * @returns `null` if valid, otherwise the reason why it is not 32615 */ 32616 public static verify(message: { [k: string]: any }): (string|null); 32617 32618 /** 32619 * Creates a Keyspace message from a plain object. Also converts values to their respective internal types. 32620 * @param object Plain object 32621 * @returns Keyspace 32622 */ 32623 public static fromObject(object: { [k: string]: any }): vschema.Keyspace; 32624 32625 /** 32626 * Creates a plain object from a Keyspace message. Also converts values to other types if specified. 32627 * @param message Keyspace 32628 * @param [options] Conversion options 32629 * @returns Plain object 32630 */ 32631 public static toObject(message: vschema.Keyspace, options?: $protobuf.IConversionOptions): { [k: string]: any }; 32632 32633 /** 32634 * Converts this Keyspace to JSON. 32635 * @returns JSON object 32636 */ 32637 public toJSON(): { [k: string]: any }; 32638 } 32639 32640 /** Properties of a Vindex. */ 32641 interface IVindex { 32642 32643 /** Vindex type */ 32644 type?: (string|null); 32645 32646 /** Vindex params */ 32647 params?: ({ [k: string]: string }|null); 32648 32649 /** Vindex owner */ 32650 owner?: (string|null); 32651 } 32652 32653 /** Represents a Vindex. */ 32654 class Vindex implements IVindex { 32655 32656 /** 32657 * Constructs a new Vindex. 32658 * @param [properties] Properties to set 32659 */ 32660 constructor(properties?: vschema.IVindex); 32661 32662 /** Vindex type. */ 32663 public type: string; 32664 32665 /** Vindex params. */ 32666 public params: { [k: string]: string }; 32667 32668 /** Vindex owner. */ 32669 public owner: string; 32670 32671 /** 32672 * Creates a new Vindex instance using the specified properties. 32673 * @param [properties] Properties to set 32674 * @returns Vindex instance 32675 */ 32676 public static create(properties?: vschema.IVindex): vschema.Vindex; 32677 32678 /** 32679 * Encodes the specified Vindex message. Does not implicitly {@link vschema.Vindex.verify|verify} messages. 32680 * @param message Vindex message or plain object to encode 32681 * @param [writer] Writer to encode to 32682 * @returns Writer 32683 */ 32684 public static encode(message: vschema.IVindex, writer?: $protobuf.Writer): $protobuf.Writer; 32685 32686 /** 32687 * Encodes the specified Vindex message, length delimited. Does not implicitly {@link vschema.Vindex.verify|verify} messages. 32688 * @param message Vindex message or plain object to encode 32689 * @param [writer] Writer to encode to 32690 * @returns Writer 32691 */ 32692 public static encodeDelimited(message: vschema.IVindex, writer?: $protobuf.Writer): $protobuf.Writer; 32693 32694 /** 32695 * Decodes a Vindex message from the specified reader or buffer. 32696 * @param reader Reader or buffer to decode from 32697 * @param [length] Message length if known beforehand 32698 * @returns Vindex 32699 * @throws {Error} If the payload is not a reader or valid buffer 32700 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32701 */ 32702 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Vindex; 32703 32704 /** 32705 * Decodes a Vindex message from the specified reader or buffer, length delimited. 32706 * @param reader Reader or buffer to decode from 32707 * @returns Vindex 32708 * @throws {Error} If the payload is not a reader or valid buffer 32709 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32710 */ 32711 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Vindex; 32712 32713 /** 32714 * Verifies a Vindex message. 32715 * @param message Plain object to verify 32716 * @returns `null` if valid, otherwise the reason why it is not 32717 */ 32718 public static verify(message: { [k: string]: any }): (string|null); 32719 32720 /** 32721 * Creates a Vindex message from a plain object. Also converts values to their respective internal types. 32722 * @param object Plain object 32723 * @returns Vindex 32724 */ 32725 public static fromObject(object: { [k: string]: any }): vschema.Vindex; 32726 32727 /** 32728 * Creates a plain object from a Vindex message. Also converts values to other types if specified. 32729 * @param message Vindex 32730 * @param [options] Conversion options 32731 * @returns Plain object 32732 */ 32733 public static toObject(message: vschema.Vindex, options?: $protobuf.IConversionOptions): { [k: string]: any }; 32734 32735 /** 32736 * Converts this Vindex to JSON. 32737 * @returns JSON object 32738 */ 32739 public toJSON(): { [k: string]: any }; 32740 } 32741 32742 /** Properties of a Table. */ 32743 interface ITable { 32744 32745 /** Table type */ 32746 type?: (string|null); 32747 32748 /** Table column_vindexes */ 32749 column_vindexes?: (vschema.IColumnVindex[]|null); 32750 32751 /** Table auto_increment */ 32752 auto_increment?: (vschema.IAutoIncrement|null); 32753 32754 /** Table columns */ 32755 columns?: (vschema.IColumn[]|null); 32756 32757 /** Table pinned */ 32758 pinned?: (string|null); 32759 32760 /** Table column_list_authoritative */ 32761 column_list_authoritative?: (boolean|null); 32762 32763 /** Table source */ 32764 source?: (string|null); 32765 } 32766 32767 /** Represents a Table. */ 32768 class Table implements ITable { 32769 32770 /** 32771 * Constructs a new Table. 32772 * @param [properties] Properties to set 32773 */ 32774 constructor(properties?: vschema.ITable); 32775 32776 /** Table type. */ 32777 public type: string; 32778 32779 /** Table column_vindexes. */ 32780 public column_vindexes: vschema.IColumnVindex[]; 32781 32782 /** Table auto_increment. */ 32783 public auto_increment?: (vschema.IAutoIncrement|null); 32784 32785 /** Table columns. */ 32786 public columns: vschema.IColumn[]; 32787 32788 /** Table pinned. */ 32789 public pinned: string; 32790 32791 /** Table column_list_authoritative. */ 32792 public column_list_authoritative: boolean; 32793 32794 /** Table source. */ 32795 public source: string; 32796 32797 /** 32798 * Creates a new Table instance using the specified properties. 32799 * @param [properties] Properties to set 32800 * @returns Table instance 32801 */ 32802 public static create(properties?: vschema.ITable): vschema.Table; 32803 32804 /** 32805 * Encodes the specified Table message. Does not implicitly {@link vschema.Table.verify|verify} messages. 32806 * @param message Table message or plain object to encode 32807 * @param [writer] Writer to encode to 32808 * @returns Writer 32809 */ 32810 public static encode(message: vschema.ITable, writer?: $protobuf.Writer): $protobuf.Writer; 32811 32812 /** 32813 * Encodes the specified Table message, length delimited. Does not implicitly {@link vschema.Table.verify|verify} messages. 32814 * @param message Table message or plain object to encode 32815 * @param [writer] Writer to encode to 32816 * @returns Writer 32817 */ 32818 public static encodeDelimited(message: vschema.ITable, writer?: $protobuf.Writer): $protobuf.Writer; 32819 32820 /** 32821 * Decodes a Table message from the specified reader or buffer. 32822 * @param reader Reader or buffer to decode from 32823 * @param [length] Message length if known beforehand 32824 * @returns Table 32825 * @throws {Error} If the payload is not a reader or valid buffer 32826 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32827 */ 32828 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Table; 32829 32830 /** 32831 * Decodes a Table message from the specified reader or buffer, length delimited. 32832 * @param reader Reader or buffer to decode from 32833 * @returns Table 32834 * @throws {Error} If the payload is not a reader or valid buffer 32835 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32836 */ 32837 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Table; 32838 32839 /** 32840 * Verifies a Table message. 32841 * @param message Plain object to verify 32842 * @returns `null` if valid, otherwise the reason why it is not 32843 */ 32844 public static verify(message: { [k: string]: any }): (string|null); 32845 32846 /** 32847 * Creates a Table message from a plain object. Also converts values to their respective internal types. 32848 * @param object Plain object 32849 * @returns Table 32850 */ 32851 public static fromObject(object: { [k: string]: any }): vschema.Table; 32852 32853 /** 32854 * Creates a plain object from a Table message. Also converts values to other types if specified. 32855 * @param message Table 32856 * @param [options] Conversion options 32857 * @returns Plain object 32858 */ 32859 public static toObject(message: vschema.Table, options?: $protobuf.IConversionOptions): { [k: string]: any }; 32860 32861 /** 32862 * Converts this Table to JSON. 32863 * @returns JSON object 32864 */ 32865 public toJSON(): { [k: string]: any }; 32866 } 32867 32868 /** Properties of a ColumnVindex. */ 32869 interface IColumnVindex { 32870 32871 /** ColumnVindex column */ 32872 column?: (string|null); 32873 32874 /** ColumnVindex name */ 32875 name?: (string|null); 32876 32877 /** ColumnVindex columns */ 32878 columns?: (string[]|null); 32879 } 32880 32881 /** Represents a ColumnVindex. */ 32882 class ColumnVindex implements IColumnVindex { 32883 32884 /** 32885 * Constructs a new ColumnVindex. 32886 * @param [properties] Properties to set 32887 */ 32888 constructor(properties?: vschema.IColumnVindex); 32889 32890 /** ColumnVindex column. */ 32891 public column: string; 32892 32893 /** ColumnVindex name. */ 32894 public name: string; 32895 32896 /** ColumnVindex columns. */ 32897 public columns: string[]; 32898 32899 /** 32900 * Creates a new ColumnVindex instance using the specified properties. 32901 * @param [properties] Properties to set 32902 * @returns ColumnVindex instance 32903 */ 32904 public static create(properties?: vschema.IColumnVindex): vschema.ColumnVindex; 32905 32906 /** 32907 * Encodes the specified ColumnVindex message. Does not implicitly {@link vschema.ColumnVindex.verify|verify} messages. 32908 * @param message ColumnVindex message or plain object to encode 32909 * @param [writer] Writer to encode to 32910 * @returns Writer 32911 */ 32912 public static encode(message: vschema.IColumnVindex, writer?: $protobuf.Writer): $protobuf.Writer; 32913 32914 /** 32915 * Encodes the specified ColumnVindex message, length delimited. Does not implicitly {@link vschema.ColumnVindex.verify|verify} messages. 32916 * @param message ColumnVindex message or plain object to encode 32917 * @param [writer] Writer to encode to 32918 * @returns Writer 32919 */ 32920 public static encodeDelimited(message: vschema.IColumnVindex, writer?: $protobuf.Writer): $protobuf.Writer; 32921 32922 /** 32923 * Decodes a ColumnVindex message from the specified reader or buffer. 32924 * @param reader Reader or buffer to decode from 32925 * @param [length] Message length if known beforehand 32926 * @returns ColumnVindex 32927 * @throws {Error} If the payload is not a reader or valid buffer 32928 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32929 */ 32930 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.ColumnVindex; 32931 32932 /** 32933 * Decodes a ColumnVindex message from the specified reader or buffer, length delimited. 32934 * @param reader Reader or buffer to decode from 32935 * @returns ColumnVindex 32936 * @throws {Error} If the payload is not a reader or valid buffer 32937 * @throws {$protobuf.util.ProtocolError} If required fields are missing 32938 */ 32939 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.ColumnVindex; 32940 32941 /** 32942 * Verifies a ColumnVindex message. 32943 * @param message Plain object to verify 32944 * @returns `null` if valid, otherwise the reason why it is not 32945 */ 32946 public static verify(message: { [k: string]: any }): (string|null); 32947 32948 /** 32949 * Creates a ColumnVindex message from a plain object. Also converts values to their respective internal types. 32950 * @param object Plain object 32951 * @returns ColumnVindex 32952 */ 32953 public static fromObject(object: { [k: string]: any }): vschema.ColumnVindex; 32954 32955 /** 32956 * Creates a plain object from a ColumnVindex message. Also converts values to other types if specified. 32957 * @param message ColumnVindex 32958 * @param [options] Conversion options 32959 * @returns Plain object 32960 */ 32961 public static toObject(message: vschema.ColumnVindex, options?: $protobuf.IConversionOptions): { [k: string]: any }; 32962 32963 /** 32964 * Converts this ColumnVindex to JSON. 32965 * @returns JSON object 32966 */ 32967 public toJSON(): { [k: string]: any }; 32968 } 32969 32970 /** Properties of an AutoIncrement. */ 32971 interface IAutoIncrement { 32972 32973 /** AutoIncrement column */ 32974 column?: (string|null); 32975 32976 /** AutoIncrement sequence */ 32977 sequence?: (string|null); 32978 } 32979 32980 /** Represents an AutoIncrement. */ 32981 class AutoIncrement implements IAutoIncrement { 32982 32983 /** 32984 * Constructs a new AutoIncrement. 32985 * @param [properties] Properties to set 32986 */ 32987 constructor(properties?: vschema.IAutoIncrement); 32988 32989 /** AutoIncrement column. */ 32990 public column: string; 32991 32992 /** AutoIncrement sequence. */ 32993 public sequence: string; 32994 32995 /** 32996 * Creates a new AutoIncrement instance using the specified properties. 32997 * @param [properties] Properties to set 32998 * @returns AutoIncrement instance 32999 */ 33000 public static create(properties?: vschema.IAutoIncrement): vschema.AutoIncrement; 33001 33002 /** 33003 * Encodes the specified AutoIncrement message. Does not implicitly {@link vschema.AutoIncrement.verify|verify} messages. 33004 * @param message AutoIncrement message or plain object to encode 33005 * @param [writer] Writer to encode to 33006 * @returns Writer 33007 */ 33008 public static encode(message: vschema.IAutoIncrement, writer?: $protobuf.Writer): $protobuf.Writer; 33009 33010 /** 33011 * Encodes the specified AutoIncrement message, length delimited. Does not implicitly {@link vschema.AutoIncrement.verify|verify} messages. 33012 * @param message AutoIncrement message or plain object to encode 33013 * @param [writer] Writer to encode to 33014 * @returns Writer 33015 */ 33016 public static encodeDelimited(message: vschema.IAutoIncrement, writer?: $protobuf.Writer): $protobuf.Writer; 33017 33018 /** 33019 * Decodes an AutoIncrement message from the specified reader or buffer. 33020 * @param reader Reader or buffer to decode from 33021 * @param [length] Message length if known beforehand 33022 * @returns AutoIncrement 33023 * @throws {Error} If the payload is not a reader or valid buffer 33024 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33025 */ 33026 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.AutoIncrement; 33027 33028 /** 33029 * Decodes an AutoIncrement message from the specified reader or buffer, length delimited. 33030 * @param reader Reader or buffer to decode from 33031 * @returns AutoIncrement 33032 * @throws {Error} If the payload is not a reader or valid buffer 33033 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33034 */ 33035 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.AutoIncrement; 33036 33037 /** 33038 * Verifies an AutoIncrement message. 33039 * @param message Plain object to verify 33040 * @returns `null` if valid, otherwise the reason why it is not 33041 */ 33042 public static verify(message: { [k: string]: any }): (string|null); 33043 33044 /** 33045 * Creates an AutoIncrement message from a plain object. Also converts values to their respective internal types. 33046 * @param object Plain object 33047 * @returns AutoIncrement 33048 */ 33049 public static fromObject(object: { [k: string]: any }): vschema.AutoIncrement; 33050 33051 /** 33052 * Creates a plain object from an AutoIncrement message. Also converts values to other types if specified. 33053 * @param message AutoIncrement 33054 * @param [options] Conversion options 33055 * @returns Plain object 33056 */ 33057 public static toObject(message: vschema.AutoIncrement, options?: $protobuf.IConversionOptions): { [k: string]: any }; 33058 33059 /** 33060 * Converts this AutoIncrement to JSON. 33061 * @returns JSON object 33062 */ 33063 public toJSON(): { [k: string]: any }; 33064 } 33065 33066 /** Properties of a Column. */ 33067 interface IColumn { 33068 33069 /** Column name */ 33070 name?: (string|null); 33071 33072 /** Column type */ 33073 type?: (query.Type|null); 33074 } 33075 33076 /** Represents a Column. */ 33077 class Column implements IColumn { 33078 33079 /** 33080 * Constructs a new Column. 33081 * @param [properties] Properties to set 33082 */ 33083 constructor(properties?: vschema.IColumn); 33084 33085 /** Column name. */ 33086 public name: string; 33087 33088 /** Column type. */ 33089 public type: query.Type; 33090 33091 /** 33092 * Creates a new Column instance using the specified properties. 33093 * @param [properties] Properties to set 33094 * @returns Column instance 33095 */ 33096 public static create(properties?: vschema.IColumn): vschema.Column; 33097 33098 /** 33099 * Encodes the specified Column message. Does not implicitly {@link vschema.Column.verify|verify} messages. 33100 * @param message Column message or plain object to encode 33101 * @param [writer] Writer to encode to 33102 * @returns Writer 33103 */ 33104 public static encode(message: vschema.IColumn, writer?: $protobuf.Writer): $protobuf.Writer; 33105 33106 /** 33107 * Encodes the specified Column message, length delimited. Does not implicitly {@link vschema.Column.verify|verify} messages. 33108 * @param message Column message or plain object to encode 33109 * @param [writer] Writer to encode to 33110 * @returns Writer 33111 */ 33112 public static encodeDelimited(message: vschema.IColumn, writer?: $protobuf.Writer): $protobuf.Writer; 33113 33114 /** 33115 * Decodes a Column message from the specified reader or buffer. 33116 * @param reader Reader or buffer to decode from 33117 * @param [length] Message length if known beforehand 33118 * @returns Column 33119 * @throws {Error} If the payload is not a reader or valid buffer 33120 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33121 */ 33122 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Column; 33123 33124 /** 33125 * Decodes a Column message from the specified reader or buffer, length delimited. 33126 * @param reader Reader or buffer to decode from 33127 * @returns Column 33128 * @throws {Error} If the payload is not a reader or valid buffer 33129 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33130 */ 33131 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Column; 33132 33133 /** 33134 * Verifies a Column message. 33135 * @param message Plain object to verify 33136 * @returns `null` if valid, otherwise the reason why it is not 33137 */ 33138 public static verify(message: { [k: string]: any }): (string|null); 33139 33140 /** 33141 * Creates a Column message from a plain object. Also converts values to their respective internal types. 33142 * @param object Plain object 33143 * @returns Column 33144 */ 33145 public static fromObject(object: { [k: string]: any }): vschema.Column; 33146 33147 /** 33148 * Creates a plain object from a Column message. Also converts values to other types if specified. 33149 * @param message Column 33150 * @param [options] Conversion options 33151 * @returns Plain object 33152 */ 33153 public static toObject(message: vschema.Column, options?: $protobuf.IConversionOptions): { [k: string]: any }; 33154 33155 /** 33156 * Converts this Column to JSON. 33157 * @returns JSON object 33158 */ 33159 public toJSON(): { [k: string]: any }; 33160 } 33161 33162 /** Properties of a SrvVSchema. */ 33163 interface ISrvVSchema { 33164 33165 /** SrvVSchema keyspaces */ 33166 keyspaces?: ({ [k: string]: vschema.IKeyspace }|null); 33167 33168 /** SrvVSchema routing_rules */ 33169 routing_rules?: (vschema.IRoutingRules|null); 33170 33171 /** SrvVSchema shard_routing_rules */ 33172 shard_routing_rules?: (vschema.IShardRoutingRules|null); 33173 } 33174 33175 /** Represents a SrvVSchema. */ 33176 class SrvVSchema implements ISrvVSchema { 33177 33178 /** 33179 * Constructs a new SrvVSchema. 33180 * @param [properties] Properties to set 33181 */ 33182 constructor(properties?: vschema.ISrvVSchema); 33183 33184 /** SrvVSchema keyspaces. */ 33185 public keyspaces: { [k: string]: vschema.IKeyspace }; 33186 33187 /** SrvVSchema routing_rules. */ 33188 public routing_rules?: (vschema.IRoutingRules|null); 33189 33190 /** SrvVSchema shard_routing_rules. */ 33191 public shard_routing_rules?: (vschema.IShardRoutingRules|null); 33192 33193 /** 33194 * Creates a new SrvVSchema instance using the specified properties. 33195 * @param [properties] Properties to set 33196 * @returns SrvVSchema instance 33197 */ 33198 public static create(properties?: vschema.ISrvVSchema): vschema.SrvVSchema; 33199 33200 /** 33201 * Encodes the specified SrvVSchema message. Does not implicitly {@link vschema.SrvVSchema.verify|verify} messages. 33202 * @param message SrvVSchema message or plain object to encode 33203 * @param [writer] Writer to encode to 33204 * @returns Writer 33205 */ 33206 public static encode(message: vschema.ISrvVSchema, writer?: $protobuf.Writer): $protobuf.Writer; 33207 33208 /** 33209 * Encodes the specified SrvVSchema message, length delimited. Does not implicitly {@link vschema.SrvVSchema.verify|verify} messages. 33210 * @param message SrvVSchema message or plain object to encode 33211 * @param [writer] Writer to encode to 33212 * @returns Writer 33213 */ 33214 public static encodeDelimited(message: vschema.ISrvVSchema, writer?: $protobuf.Writer): $protobuf.Writer; 33215 33216 /** 33217 * Decodes a SrvVSchema message from the specified reader or buffer. 33218 * @param reader Reader or buffer to decode from 33219 * @param [length] Message length if known beforehand 33220 * @returns SrvVSchema 33221 * @throws {Error} If the payload is not a reader or valid buffer 33222 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33223 */ 33224 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.SrvVSchema; 33225 33226 /** 33227 * Decodes a SrvVSchema message from the specified reader or buffer, length delimited. 33228 * @param reader Reader or buffer to decode from 33229 * @returns SrvVSchema 33230 * @throws {Error} If the payload is not a reader or valid buffer 33231 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33232 */ 33233 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.SrvVSchema; 33234 33235 /** 33236 * Verifies a SrvVSchema message. 33237 * @param message Plain object to verify 33238 * @returns `null` if valid, otherwise the reason why it is not 33239 */ 33240 public static verify(message: { [k: string]: any }): (string|null); 33241 33242 /** 33243 * Creates a SrvVSchema message from a plain object. Also converts values to their respective internal types. 33244 * @param object Plain object 33245 * @returns SrvVSchema 33246 */ 33247 public static fromObject(object: { [k: string]: any }): vschema.SrvVSchema; 33248 33249 /** 33250 * Creates a plain object from a SrvVSchema message. Also converts values to other types if specified. 33251 * @param message SrvVSchema 33252 * @param [options] Conversion options 33253 * @returns Plain object 33254 */ 33255 public static toObject(message: vschema.SrvVSchema, options?: $protobuf.IConversionOptions): { [k: string]: any }; 33256 33257 /** 33258 * Converts this SrvVSchema to JSON. 33259 * @returns JSON object 33260 */ 33261 public toJSON(): { [k: string]: any }; 33262 } 33263 33264 /** Properties of a ShardRoutingRules. */ 33265 interface IShardRoutingRules { 33266 33267 /** ShardRoutingRules rules */ 33268 rules?: (vschema.IShardRoutingRule[]|null); 33269 } 33270 33271 /** Represents a ShardRoutingRules. */ 33272 class ShardRoutingRules implements IShardRoutingRules { 33273 33274 /** 33275 * Constructs a new ShardRoutingRules. 33276 * @param [properties] Properties to set 33277 */ 33278 constructor(properties?: vschema.IShardRoutingRules); 33279 33280 /** ShardRoutingRules rules. */ 33281 public rules: vschema.IShardRoutingRule[]; 33282 33283 /** 33284 * Creates a new ShardRoutingRules instance using the specified properties. 33285 * @param [properties] Properties to set 33286 * @returns ShardRoutingRules instance 33287 */ 33288 public static create(properties?: vschema.IShardRoutingRules): vschema.ShardRoutingRules; 33289 33290 /** 33291 * Encodes the specified ShardRoutingRules message. Does not implicitly {@link vschema.ShardRoutingRules.verify|verify} messages. 33292 * @param message ShardRoutingRules message or plain object to encode 33293 * @param [writer] Writer to encode to 33294 * @returns Writer 33295 */ 33296 public static encode(message: vschema.IShardRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; 33297 33298 /** 33299 * Encodes the specified ShardRoutingRules message, length delimited. Does not implicitly {@link vschema.ShardRoutingRules.verify|verify} messages. 33300 * @param message ShardRoutingRules message or plain object to encode 33301 * @param [writer] Writer to encode to 33302 * @returns Writer 33303 */ 33304 public static encodeDelimited(message: vschema.IShardRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; 33305 33306 /** 33307 * Decodes a ShardRoutingRules message from the specified reader or buffer. 33308 * @param reader Reader or buffer to decode from 33309 * @param [length] Message length if known beforehand 33310 * @returns ShardRoutingRules 33311 * @throws {Error} If the payload is not a reader or valid buffer 33312 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33313 */ 33314 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.ShardRoutingRules; 33315 33316 /** 33317 * Decodes a ShardRoutingRules message from the specified reader or buffer, length delimited. 33318 * @param reader Reader or buffer to decode from 33319 * @returns ShardRoutingRules 33320 * @throws {Error} If the payload is not a reader or valid buffer 33321 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33322 */ 33323 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.ShardRoutingRules; 33324 33325 /** 33326 * Verifies a ShardRoutingRules message. 33327 * @param message Plain object to verify 33328 * @returns `null` if valid, otherwise the reason why it is not 33329 */ 33330 public static verify(message: { [k: string]: any }): (string|null); 33331 33332 /** 33333 * Creates a ShardRoutingRules message from a plain object. Also converts values to their respective internal types. 33334 * @param object Plain object 33335 * @returns ShardRoutingRules 33336 */ 33337 public static fromObject(object: { [k: string]: any }): vschema.ShardRoutingRules; 33338 33339 /** 33340 * Creates a plain object from a ShardRoutingRules message. Also converts values to other types if specified. 33341 * @param message ShardRoutingRules 33342 * @param [options] Conversion options 33343 * @returns Plain object 33344 */ 33345 public static toObject(message: vschema.ShardRoutingRules, options?: $protobuf.IConversionOptions): { [k: string]: any }; 33346 33347 /** 33348 * Converts this ShardRoutingRules to JSON. 33349 * @returns JSON object 33350 */ 33351 public toJSON(): { [k: string]: any }; 33352 } 33353 33354 /** Properties of a ShardRoutingRule. */ 33355 interface IShardRoutingRule { 33356 33357 /** ShardRoutingRule from_keyspace */ 33358 from_keyspace?: (string|null); 33359 33360 /** ShardRoutingRule to_keyspace */ 33361 to_keyspace?: (string|null); 33362 33363 /** ShardRoutingRule shard */ 33364 shard?: (string|null); 33365 } 33366 33367 /** Represents a ShardRoutingRule. */ 33368 class ShardRoutingRule implements IShardRoutingRule { 33369 33370 /** 33371 * Constructs a new ShardRoutingRule. 33372 * @param [properties] Properties to set 33373 */ 33374 constructor(properties?: vschema.IShardRoutingRule); 33375 33376 /** ShardRoutingRule from_keyspace. */ 33377 public from_keyspace: string; 33378 33379 /** ShardRoutingRule to_keyspace. */ 33380 public to_keyspace: string; 33381 33382 /** ShardRoutingRule shard. */ 33383 public shard: string; 33384 33385 /** 33386 * Creates a new ShardRoutingRule instance using the specified properties. 33387 * @param [properties] Properties to set 33388 * @returns ShardRoutingRule instance 33389 */ 33390 public static create(properties?: vschema.IShardRoutingRule): vschema.ShardRoutingRule; 33391 33392 /** 33393 * Encodes the specified ShardRoutingRule message. Does not implicitly {@link vschema.ShardRoutingRule.verify|verify} messages. 33394 * @param message ShardRoutingRule message or plain object to encode 33395 * @param [writer] Writer to encode to 33396 * @returns Writer 33397 */ 33398 public static encode(message: vschema.IShardRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; 33399 33400 /** 33401 * Encodes the specified ShardRoutingRule message, length delimited. Does not implicitly {@link vschema.ShardRoutingRule.verify|verify} messages. 33402 * @param message ShardRoutingRule message or plain object to encode 33403 * @param [writer] Writer to encode to 33404 * @returns Writer 33405 */ 33406 public static encodeDelimited(message: vschema.IShardRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; 33407 33408 /** 33409 * Decodes a ShardRoutingRule message from the specified reader or buffer. 33410 * @param reader Reader or buffer to decode from 33411 * @param [length] Message length if known beforehand 33412 * @returns ShardRoutingRule 33413 * @throws {Error} If the payload is not a reader or valid buffer 33414 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33415 */ 33416 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.ShardRoutingRule; 33417 33418 /** 33419 * Decodes a ShardRoutingRule message from the specified reader or buffer, length delimited. 33420 * @param reader Reader or buffer to decode from 33421 * @returns ShardRoutingRule 33422 * @throws {Error} If the payload is not a reader or valid buffer 33423 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33424 */ 33425 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.ShardRoutingRule; 33426 33427 /** 33428 * Verifies a ShardRoutingRule message. 33429 * @param message Plain object to verify 33430 * @returns `null` if valid, otherwise the reason why it is not 33431 */ 33432 public static verify(message: { [k: string]: any }): (string|null); 33433 33434 /** 33435 * Creates a ShardRoutingRule message from a plain object. Also converts values to their respective internal types. 33436 * @param object Plain object 33437 * @returns ShardRoutingRule 33438 */ 33439 public static fromObject(object: { [k: string]: any }): vschema.ShardRoutingRule; 33440 33441 /** 33442 * Creates a plain object from a ShardRoutingRule message. Also converts values to other types if specified. 33443 * @param message ShardRoutingRule 33444 * @param [options] Conversion options 33445 * @returns Plain object 33446 */ 33447 public static toObject(message: vschema.ShardRoutingRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; 33448 33449 /** 33450 * Converts this ShardRoutingRule to JSON. 33451 * @returns JSON object 33452 */ 33453 public toJSON(): { [k: string]: any }; 33454 } 33455 } 33456 33457 /** Namespace vtctldata. */ 33458 export namespace vtctldata { 33459 33460 /** Properties of an ExecuteVtctlCommandRequest. */ 33461 interface IExecuteVtctlCommandRequest { 33462 33463 /** ExecuteVtctlCommandRequest args */ 33464 args?: (string[]|null); 33465 33466 /** ExecuteVtctlCommandRequest action_timeout */ 33467 action_timeout?: (number|Long|null); 33468 } 33469 33470 /** Represents an ExecuteVtctlCommandRequest. */ 33471 class ExecuteVtctlCommandRequest implements IExecuteVtctlCommandRequest { 33472 33473 /** 33474 * Constructs a new ExecuteVtctlCommandRequest. 33475 * @param [properties] Properties to set 33476 */ 33477 constructor(properties?: vtctldata.IExecuteVtctlCommandRequest); 33478 33479 /** ExecuteVtctlCommandRequest args. */ 33480 public args: string[]; 33481 33482 /** ExecuteVtctlCommandRequest action_timeout. */ 33483 public action_timeout: (number|Long); 33484 33485 /** 33486 * Creates a new ExecuteVtctlCommandRequest instance using the specified properties. 33487 * @param [properties] Properties to set 33488 * @returns ExecuteVtctlCommandRequest instance 33489 */ 33490 public static create(properties?: vtctldata.IExecuteVtctlCommandRequest): vtctldata.ExecuteVtctlCommandRequest; 33491 33492 /** 33493 * Encodes the specified ExecuteVtctlCommandRequest message. Does not implicitly {@link vtctldata.ExecuteVtctlCommandRequest.verify|verify} messages. 33494 * @param message ExecuteVtctlCommandRequest message or plain object to encode 33495 * @param [writer] Writer to encode to 33496 * @returns Writer 33497 */ 33498 public static encode(message: vtctldata.IExecuteVtctlCommandRequest, writer?: $protobuf.Writer): $protobuf.Writer; 33499 33500 /** 33501 * Encodes the specified ExecuteVtctlCommandRequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteVtctlCommandRequest.verify|verify} messages. 33502 * @param message ExecuteVtctlCommandRequest message or plain object to encode 33503 * @param [writer] Writer to encode to 33504 * @returns Writer 33505 */ 33506 public static encodeDelimited(message: vtctldata.IExecuteVtctlCommandRequest, writer?: $protobuf.Writer): $protobuf.Writer; 33507 33508 /** 33509 * Decodes an ExecuteVtctlCommandRequest message from the specified reader or buffer. 33510 * @param reader Reader or buffer to decode from 33511 * @param [length] Message length if known beforehand 33512 * @returns ExecuteVtctlCommandRequest 33513 * @throws {Error} If the payload is not a reader or valid buffer 33514 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33515 */ 33516 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteVtctlCommandRequest; 33517 33518 /** 33519 * Decodes an ExecuteVtctlCommandRequest message from the specified reader or buffer, length delimited. 33520 * @param reader Reader or buffer to decode from 33521 * @returns ExecuteVtctlCommandRequest 33522 * @throws {Error} If the payload is not a reader or valid buffer 33523 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33524 */ 33525 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteVtctlCommandRequest; 33526 33527 /** 33528 * Verifies an ExecuteVtctlCommandRequest message. 33529 * @param message Plain object to verify 33530 * @returns `null` if valid, otherwise the reason why it is not 33531 */ 33532 public static verify(message: { [k: string]: any }): (string|null); 33533 33534 /** 33535 * Creates an ExecuteVtctlCommandRequest message from a plain object. Also converts values to their respective internal types. 33536 * @param object Plain object 33537 * @returns ExecuteVtctlCommandRequest 33538 */ 33539 public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteVtctlCommandRequest; 33540 33541 /** 33542 * Creates a plain object from an ExecuteVtctlCommandRequest message. Also converts values to other types if specified. 33543 * @param message ExecuteVtctlCommandRequest 33544 * @param [options] Conversion options 33545 * @returns Plain object 33546 */ 33547 public static toObject(message: vtctldata.ExecuteVtctlCommandRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 33548 33549 /** 33550 * Converts this ExecuteVtctlCommandRequest to JSON. 33551 * @returns JSON object 33552 */ 33553 public toJSON(): { [k: string]: any }; 33554 } 33555 33556 /** Properties of an ExecuteVtctlCommandResponse. */ 33557 interface IExecuteVtctlCommandResponse { 33558 33559 /** ExecuteVtctlCommandResponse event */ 33560 event?: (logutil.IEvent|null); 33561 } 33562 33563 /** Represents an ExecuteVtctlCommandResponse. */ 33564 class ExecuteVtctlCommandResponse implements IExecuteVtctlCommandResponse { 33565 33566 /** 33567 * Constructs a new ExecuteVtctlCommandResponse. 33568 * @param [properties] Properties to set 33569 */ 33570 constructor(properties?: vtctldata.IExecuteVtctlCommandResponse); 33571 33572 /** ExecuteVtctlCommandResponse event. */ 33573 public event?: (logutil.IEvent|null); 33574 33575 /** 33576 * Creates a new ExecuteVtctlCommandResponse instance using the specified properties. 33577 * @param [properties] Properties to set 33578 * @returns ExecuteVtctlCommandResponse instance 33579 */ 33580 public static create(properties?: vtctldata.IExecuteVtctlCommandResponse): vtctldata.ExecuteVtctlCommandResponse; 33581 33582 /** 33583 * Encodes the specified ExecuteVtctlCommandResponse message. Does not implicitly {@link vtctldata.ExecuteVtctlCommandResponse.verify|verify} messages. 33584 * @param message ExecuteVtctlCommandResponse message or plain object to encode 33585 * @param [writer] Writer to encode to 33586 * @returns Writer 33587 */ 33588 public static encode(message: vtctldata.IExecuteVtctlCommandResponse, writer?: $protobuf.Writer): $protobuf.Writer; 33589 33590 /** 33591 * Encodes the specified ExecuteVtctlCommandResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteVtctlCommandResponse.verify|verify} messages. 33592 * @param message ExecuteVtctlCommandResponse message or plain object to encode 33593 * @param [writer] Writer to encode to 33594 * @returns Writer 33595 */ 33596 public static encodeDelimited(message: vtctldata.IExecuteVtctlCommandResponse, writer?: $protobuf.Writer): $protobuf.Writer; 33597 33598 /** 33599 * Decodes an ExecuteVtctlCommandResponse message from the specified reader or buffer. 33600 * @param reader Reader or buffer to decode from 33601 * @param [length] Message length if known beforehand 33602 * @returns ExecuteVtctlCommandResponse 33603 * @throws {Error} If the payload is not a reader or valid buffer 33604 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33605 */ 33606 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteVtctlCommandResponse; 33607 33608 /** 33609 * Decodes an ExecuteVtctlCommandResponse message from the specified reader or buffer, length delimited. 33610 * @param reader Reader or buffer to decode from 33611 * @returns ExecuteVtctlCommandResponse 33612 * @throws {Error} If the payload is not a reader or valid buffer 33613 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33614 */ 33615 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteVtctlCommandResponse; 33616 33617 /** 33618 * Verifies an ExecuteVtctlCommandResponse message. 33619 * @param message Plain object to verify 33620 * @returns `null` if valid, otherwise the reason why it is not 33621 */ 33622 public static verify(message: { [k: string]: any }): (string|null); 33623 33624 /** 33625 * Creates an ExecuteVtctlCommandResponse message from a plain object. Also converts values to their respective internal types. 33626 * @param object Plain object 33627 * @returns ExecuteVtctlCommandResponse 33628 */ 33629 public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteVtctlCommandResponse; 33630 33631 /** 33632 * Creates a plain object from an ExecuteVtctlCommandResponse message. Also converts values to other types if specified. 33633 * @param message ExecuteVtctlCommandResponse 33634 * @param [options] Conversion options 33635 * @returns Plain object 33636 */ 33637 public static toObject(message: vtctldata.ExecuteVtctlCommandResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 33638 33639 /** 33640 * Converts this ExecuteVtctlCommandResponse to JSON. 33641 * @returns JSON object 33642 */ 33643 public toJSON(): { [k: string]: any }; 33644 } 33645 33646 /** MaterializationIntent enum. */ 33647 enum MaterializationIntent { 33648 CUSTOM = 0, 33649 MOVETABLES = 1, 33650 CREATELOOKUPINDEX = 2 33651 } 33652 33653 /** Properties of a TableMaterializeSettings. */ 33654 interface ITableMaterializeSettings { 33655 33656 /** TableMaterializeSettings target_table */ 33657 target_table?: (string|null); 33658 33659 /** TableMaterializeSettings source_expression */ 33660 source_expression?: (string|null); 33661 33662 /** TableMaterializeSettings create_ddl */ 33663 create_ddl?: (string|null); 33664 } 33665 33666 /** Represents a TableMaterializeSettings. */ 33667 class TableMaterializeSettings implements ITableMaterializeSettings { 33668 33669 /** 33670 * Constructs a new TableMaterializeSettings. 33671 * @param [properties] Properties to set 33672 */ 33673 constructor(properties?: vtctldata.ITableMaterializeSettings); 33674 33675 /** TableMaterializeSettings target_table. */ 33676 public target_table: string; 33677 33678 /** TableMaterializeSettings source_expression. */ 33679 public source_expression: string; 33680 33681 /** TableMaterializeSettings create_ddl. */ 33682 public create_ddl: string; 33683 33684 /** 33685 * Creates a new TableMaterializeSettings instance using the specified properties. 33686 * @param [properties] Properties to set 33687 * @returns TableMaterializeSettings instance 33688 */ 33689 public static create(properties?: vtctldata.ITableMaterializeSettings): vtctldata.TableMaterializeSettings; 33690 33691 /** 33692 * Encodes the specified TableMaterializeSettings message. Does not implicitly {@link vtctldata.TableMaterializeSettings.verify|verify} messages. 33693 * @param message TableMaterializeSettings message or plain object to encode 33694 * @param [writer] Writer to encode to 33695 * @returns Writer 33696 */ 33697 public static encode(message: vtctldata.ITableMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; 33698 33699 /** 33700 * Encodes the specified TableMaterializeSettings message, length delimited. Does not implicitly {@link vtctldata.TableMaterializeSettings.verify|verify} messages. 33701 * @param message TableMaterializeSettings message or plain object to encode 33702 * @param [writer] Writer to encode to 33703 * @returns Writer 33704 */ 33705 public static encodeDelimited(message: vtctldata.ITableMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; 33706 33707 /** 33708 * Decodes a TableMaterializeSettings message from the specified reader or buffer. 33709 * @param reader Reader or buffer to decode from 33710 * @param [length] Message length if known beforehand 33711 * @returns TableMaterializeSettings 33712 * @throws {Error} If the payload is not a reader or valid buffer 33713 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33714 */ 33715 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TableMaterializeSettings; 33716 33717 /** 33718 * Decodes a TableMaterializeSettings message from the specified reader or buffer, length delimited. 33719 * @param reader Reader or buffer to decode from 33720 * @returns TableMaterializeSettings 33721 * @throws {Error} If the payload is not a reader or valid buffer 33722 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33723 */ 33724 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TableMaterializeSettings; 33725 33726 /** 33727 * Verifies a TableMaterializeSettings message. 33728 * @param message Plain object to verify 33729 * @returns `null` if valid, otherwise the reason why it is not 33730 */ 33731 public static verify(message: { [k: string]: any }): (string|null); 33732 33733 /** 33734 * Creates a TableMaterializeSettings message from a plain object. Also converts values to their respective internal types. 33735 * @param object Plain object 33736 * @returns TableMaterializeSettings 33737 */ 33738 public static fromObject(object: { [k: string]: any }): vtctldata.TableMaterializeSettings; 33739 33740 /** 33741 * Creates a plain object from a TableMaterializeSettings message. Also converts values to other types if specified. 33742 * @param message TableMaterializeSettings 33743 * @param [options] Conversion options 33744 * @returns Plain object 33745 */ 33746 public static toObject(message: vtctldata.TableMaterializeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; 33747 33748 /** 33749 * Converts this TableMaterializeSettings to JSON. 33750 * @returns JSON object 33751 */ 33752 public toJSON(): { [k: string]: any }; 33753 } 33754 33755 /** Properties of a MaterializeSettings. */ 33756 interface IMaterializeSettings { 33757 33758 /** MaterializeSettings workflow */ 33759 workflow?: (string|null); 33760 33761 /** MaterializeSettings source_keyspace */ 33762 source_keyspace?: (string|null); 33763 33764 /** MaterializeSettings target_keyspace */ 33765 target_keyspace?: (string|null); 33766 33767 /** MaterializeSettings stop_after_copy */ 33768 stop_after_copy?: (boolean|null); 33769 33770 /** MaterializeSettings table_settings */ 33771 table_settings?: (vtctldata.ITableMaterializeSettings[]|null); 33772 33773 /** MaterializeSettings cell */ 33774 cell?: (string|null); 33775 33776 /** MaterializeSettings tablet_types */ 33777 tablet_types?: (string|null); 33778 33779 /** MaterializeSettings external_cluster */ 33780 external_cluster?: (string|null); 33781 33782 /** MaterializeSettings materialization_intent */ 33783 materialization_intent?: (vtctldata.MaterializationIntent|null); 33784 33785 /** MaterializeSettings source_time_zone */ 33786 source_time_zone?: (string|null); 33787 33788 /** MaterializeSettings target_time_zone */ 33789 target_time_zone?: (string|null); 33790 33791 /** MaterializeSettings source_shards */ 33792 source_shards?: (string[]|null); 33793 33794 /** MaterializeSettings on_ddl */ 33795 on_ddl?: (string|null); 33796 33797 /** MaterializeSettings defer_secondary_keys */ 33798 defer_secondary_keys?: (boolean|null); 33799 } 33800 33801 /** Represents a MaterializeSettings. */ 33802 class MaterializeSettings implements IMaterializeSettings { 33803 33804 /** 33805 * Constructs a new MaterializeSettings. 33806 * @param [properties] Properties to set 33807 */ 33808 constructor(properties?: vtctldata.IMaterializeSettings); 33809 33810 /** MaterializeSettings workflow. */ 33811 public workflow: string; 33812 33813 /** MaterializeSettings source_keyspace. */ 33814 public source_keyspace: string; 33815 33816 /** MaterializeSettings target_keyspace. */ 33817 public target_keyspace: string; 33818 33819 /** MaterializeSettings stop_after_copy. */ 33820 public stop_after_copy: boolean; 33821 33822 /** MaterializeSettings table_settings. */ 33823 public table_settings: vtctldata.ITableMaterializeSettings[]; 33824 33825 /** MaterializeSettings cell. */ 33826 public cell: string; 33827 33828 /** MaterializeSettings tablet_types. */ 33829 public tablet_types: string; 33830 33831 /** MaterializeSettings external_cluster. */ 33832 public external_cluster: string; 33833 33834 /** MaterializeSettings materialization_intent. */ 33835 public materialization_intent: vtctldata.MaterializationIntent; 33836 33837 /** MaterializeSettings source_time_zone. */ 33838 public source_time_zone: string; 33839 33840 /** MaterializeSettings target_time_zone. */ 33841 public target_time_zone: string; 33842 33843 /** MaterializeSettings source_shards. */ 33844 public source_shards: string[]; 33845 33846 /** MaterializeSettings on_ddl. */ 33847 public on_ddl: string; 33848 33849 /** MaterializeSettings defer_secondary_keys. */ 33850 public defer_secondary_keys: boolean; 33851 33852 /** 33853 * Creates a new MaterializeSettings instance using the specified properties. 33854 * @param [properties] Properties to set 33855 * @returns MaterializeSettings instance 33856 */ 33857 public static create(properties?: vtctldata.IMaterializeSettings): vtctldata.MaterializeSettings; 33858 33859 /** 33860 * Encodes the specified MaterializeSettings message. Does not implicitly {@link vtctldata.MaterializeSettings.verify|verify} messages. 33861 * @param message MaterializeSettings message or plain object to encode 33862 * @param [writer] Writer to encode to 33863 * @returns Writer 33864 */ 33865 public static encode(message: vtctldata.IMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; 33866 33867 /** 33868 * Encodes the specified MaterializeSettings message, length delimited. Does not implicitly {@link vtctldata.MaterializeSettings.verify|verify} messages. 33869 * @param message MaterializeSettings message or plain object to encode 33870 * @param [writer] Writer to encode to 33871 * @returns Writer 33872 */ 33873 public static encodeDelimited(message: vtctldata.IMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; 33874 33875 /** 33876 * Decodes a MaterializeSettings message from the specified reader or buffer. 33877 * @param reader Reader or buffer to decode from 33878 * @param [length] Message length if known beforehand 33879 * @returns MaterializeSettings 33880 * @throws {Error} If the payload is not a reader or valid buffer 33881 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33882 */ 33883 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MaterializeSettings; 33884 33885 /** 33886 * Decodes a MaterializeSettings message from the specified reader or buffer, length delimited. 33887 * @param reader Reader or buffer to decode from 33888 * @returns MaterializeSettings 33889 * @throws {Error} If the payload is not a reader or valid buffer 33890 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33891 */ 33892 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MaterializeSettings; 33893 33894 /** 33895 * Verifies a MaterializeSettings message. 33896 * @param message Plain object to verify 33897 * @returns `null` if valid, otherwise the reason why it is not 33898 */ 33899 public static verify(message: { [k: string]: any }): (string|null); 33900 33901 /** 33902 * Creates a MaterializeSettings message from a plain object. Also converts values to their respective internal types. 33903 * @param object Plain object 33904 * @returns MaterializeSettings 33905 */ 33906 public static fromObject(object: { [k: string]: any }): vtctldata.MaterializeSettings; 33907 33908 /** 33909 * Creates a plain object from a MaterializeSettings message. Also converts values to other types if specified. 33910 * @param message MaterializeSettings 33911 * @param [options] Conversion options 33912 * @returns Plain object 33913 */ 33914 public static toObject(message: vtctldata.MaterializeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; 33915 33916 /** 33917 * Converts this MaterializeSettings to JSON. 33918 * @returns JSON object 33919 */ 33920 public toJSON(): { [k: string]: any }; 33921 } 33922 33923 /** Properties of a Keyspace. */ 33924 interface IKeyspace { 33925 33926 /** Keyspace name */ 33927 name?: (string|null); 33928 33929 /** Keyspace keyspace */ 33930 keyspace?: (topodata.IKeyspace|null); 33931 } 33932 33933 /** Represents a Keyspace. */ 33934 class Keyspace implements IKeyspace { 33935 33936 /** 33937 * Constructs a new Keyspace. 33938 * @param [properties] Properties to set 33939 */ 33940 constructor(properties?: vtctldata.IKeyspace); 33941 33942 /** Keyspace name. */ 33943 public name: string; 33944 33945 /** Keyspace keyspace. */ 33946 public keyspace?: (topodata.IKeyspace|null); 33947 33948 /** 33949 * Creates a new Keyspace instance using the specified properties. 33950 * @param [properties] Properties to set 33951 * @returns Keyspace instance 33952 */ 33953 public static create(properties?: vtctldata.IKeyspace): vtctldata.Keyspace; 33954 33955 /** 33956 * Encodes the specified Keyspace message. Does not implicitly {@link vtctldata.Keyspace.verify|verify} messages. 33957 * @param message Keyspace message or plain object to encode 33958 * @param [writer] Writer to encode to 33959 * @returns Writer 33960 */ 33961 public static encode(message: vtctldata.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; 33962 33963 /** 33964 * Encodes the specified Keyspace message, length delimited. Does not implicitly {@link vtctldata.Keyspace.verify|verify} messages. 33965 * @param message Keyspace message or plain object to encode 33966 * @param [writer] Writer to encode to 33967 * @returns Writer 33968 */ 33969 public static encodeDelimited(message: vtctldata.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; 33970 33971 /** 33972 * Decodes a Keyspace message from the specified reader or buffer. 33973 * @param reader Reader or buffer to decode from 33974 * @param [length] Message length if known beforehand 33975 * @returns Keyspace 33976 * @throws {Error} If the payload is not a reader or valid buffer 33977 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33978 */ 33979 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Keyspace; 33980 33981 /** 33982 * Decodes a Keyspace message from the specified reader or buffer, length delimited. 33983 * @param reader Reader or buffer to decode from 33984 * @returns Keyspace 33985 * @throws {Error} If the payload is not a reader or valid buffer 33986 * @throws {$protobuf.util.ProtocolError} If required fields are missing 33987 */ 33988 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Keyspace; 33989 33990 /** 33991 * Verifies a Keyspace message. 33992 * @param message Plain object to verify 33993 * @returns `null` if valid, otherwise the reason why it is not 33994 */ 33995 public static verify(message: { [k: string]: any }): (string|null); 33996 33997 /** 33998 * Creates a Keyspace message from a plain object. Also converts values to their respective internal types. 33999 * @param object Plain object 34000 * @returns Keyspace 34001 */ 34002 public static fromObject(object: { [k: string]: any }): vtctldata.Keyspace; 34003 34004 /** 34005 * Creates a plain object from a Keyspace message. Also converts values to other types if specified. 34006 * @param message Keyspace 34007 * @param [options] Conversion options 34008 * @returns Plain object 34009 */ 34010 public static toObject(message: vtctldata.Keyspace, options?: $protobuf.IConversionOptions): { [k: string]: any }; 34011 34012 /** 34013 * Converts this Keyspace to JSON. 34014 * @returns JSON object 34015 */ 34016 public toJSON(): { [k: string]: any }; 34017 } 34018 34019 /** Properties of a Shard. */ 34020 interface IShard { 34021 34022 /** Shard keyspace */ 34023 keyspace?: (string|null); 34024 34025 /** Shard name */ 34026 name?: (string|null); 34027 34028 /** Shard shard */ 34029 shard?: (topodata.IShard|null); 34030 } 34031 34032 /** Represents a Shard. */ 34033 class Shard implements IShard { 34034 34035 /** 34036 * Constructs a new Shard. 34037 * @param [properties] Properties to set 34038 */ 34039 constructor(properties?: vtctldata.IShard); 34040 34041 /** Shard keyspace. */ 34042 public keyspace: string; 34043 34044 /** Shard name. */ 34045 public name: string; 34046 34047 /** Shard shard. */ 34048 public shard?: (topodata.IShard|null); 34049 34050 /** 34051 * Creates a new Shard instance using the specified properties. 34052 * @param [properties] Properties to set 34053 * @returns Shard instance 34054 */ 34055 public static create(properties?: vtctldata.IShard): vtctldata.Shard; 34056 34057 /** 34058 * Encodes the specified Shard message. Does not implicitly {@link vtctldata.Shard.verify|verify} messages. 34059 * @param message Shard message or plain object to encode 34060 * @param [writer] Writer to encode to 34061 * @returns Writer 34062 */ 34063 public static encode(message: vtctldata.IShard, writer?: $protobuf.Writer): $protobuf.Writer; 34064 34065 /** 34066 * Encodes the specified Shard message, length delimited. Does not implicitly {@link vtctldata.Shard.verify|verify} messages. 34067 * @param message Shard message or plain object to encode 34068 * @param [writer] Writer to encode to 34069 * @returns Writer 34070 */ 34071 public static encodeDelimited(message: vtctldata.IShard, writer?: $protobuf.Writer): $protobuf.Writer; 34072 34073 /** 34074 * Decodes a Shard message from the specified reader or buffer. 34075 * @param reader Reader or buffer to decode from 34076 * @param [length] Message length if known beforehand 34077 * @returns Shard 34078 * @throws {Error} If the payload is not a reader or valid buffer 34079 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34080 */ 34081 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Shard; 34082 34083 /** 34084 * Decodes a Shard message from the specified reader or buffer, length delimited. 34085 * @param reader Reader or buffer to decode from 34086 * @returns Shard 34087 * @throws {Error} If the payload is not a reader or valid buffer 34088 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34089 */ 34090 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Shard; 34091 34092 /** 34093 * Verifies a Shard message. 34094 * @param message Plain object to verify 34095 * @returns `null` if valid, otherwise the reason why it is not 34096 */ 34097 public static verify(message: { [k: string]: any }): (string|null); 34098 34099 /** 34100 * Creates a Shard message from a plain object. Also converts values to their respective internal types. 34101 * @param object Plain object 34102 * @returns Shard 34103 */ 34104 public static fromObject(object: { [k: string]: any }): vtctldata.Shard; 34105 34106 /** 34107 * Creates a plain object from a Shard message. Also converts values to other types if specified. 34108 * @param message Shard 34109 * @param [options] Conversion options 34110 * @returns Plain object 34111 */ 34112 public static toObject(message: vtctldata.Shard, options?: $protobuf.IConversionOptions): { [k: string]: any }; 34113 34114 /** 34115 * Converts this Shard to JSON. 34116 * @returns JSON object 34117 */ 34118 public toJSON(): { [k: string]: any }; 34119 } 34120 34121 /** Properties of a Workflow. */ 34122 interface IWorkflow { 34123 34124 /** Workflow name */ 34125 name?: (string|null); 34126 34127 /** Workflow source */ 34128 source?: (vtctldata.Workflow.IReplicationLocation|null); 34129 34130 /** Workflow target */ 34131 target?: (vtctldata.Workflow.IReplicationLocation|null); 34132 34133 /** Workflow max_v_replication_lag */ 34134 max_v_replication_lag?: (number|Long|null); 34135 34136 /** Workflow shard_streams */ 34137 shard_streams?: ({ [k: string]: vtctldata.Workflow.IShardStream }|null); 34138 34139 /** Workflow workflow_type */ 34140 workflow_type?: (string|null); 34141 34142 /** Workflow workflow_sub_type */ 34143 workflow_sub_type?: (string|null); 34144 } 34145 34146 /** Represents a Workflow. */ 34147 class Workflow implements IWorkflow { 34148 34149 /** 34150 * Constructs a new Workflow. 34151 * @param [properties] Properties to set 34152 */ 34153 constructor(properties?: vtctldata.IWorkflow); 34154 34155 /** Workflow name. */ 34156 public name: string; 34157 34158 /** Workflow source. */ 34159 public source?: (vtctldata.Workflow.IReplicationLocation|null); 34160 34161 /** Workflow target. */ 34162 public target?: (vtctldata.Workflow.IReplicationLocation|null); 34163 34164 /** Workflow max_v_replication_lag. */ 34165 public max_v_replication_lag: (number|Long); 34166 34167 /** Workflow shard_streams. */ 34168 public shard_streams: { [k: string]: vtctldata.Workflow.IShardStream }; 34169 34170 /** Workflow workflow_type. */ 34171 public workflow_type: string; 34172 34173 /** Workflow workflow_sub_type. */ 34174 public workflow_sub_type: string; 34175 34176 /** 34177 * Creates a new Workflow instance using the specified properties. 34178 * @param [properties] Properties to set 34179 * @returns Workflow instance 34180 */ 34181 public static create(properties?: vtctldata.IWorkflow): vtctldata.Workflow; 34182 34183 /** 34184 * Encodes the specified Workflow message. Does not implicitly {@link vtctldata.Workflow.verify|verify} messages. 34185 * @param message Workflow message or plain object to encode 34186 * @param [writer] Writer to encode to 34187 * @returns Writer 34188 */ 34189 public static encode(message: vtctldata.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; 34190 34191 /** 34192 * Encodes the specified Workflow message, length delimited. Does not implicitly {@link vtctldata.Workflow.verify|verify} messages. 34193 * @param message Workflow message or plain object to encode 34194 * @param [writer] Writer to encode to 34195 * @returns Writer 34196 */ 34197 public static encodeDelimited(message: vtctldata.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; 34198 34199 /** 34200 * Decodes a Workflow message from the specified reader or buffer. 34201 * @param reader Reader or buffer to decode from 34202 * @param [length] Message length if known beforehand 34203 * @returns Workflow 34204 * @throws {Error} If the payload is not a reader or valid buffer 34205 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34206 */ 34207 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow; 34208 34209 /** 34210 * Decodes a Workflow message from the specified reader or buffer, length delimited. 34211 * @param reader Reader or buffer to decode from 34212 * @returns Workflow 34213 * @throws {Error} If the payload is not a reader or valid buffer 34214 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34215 */ 34216 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow; 34217 34218 /** 34219 * Verifies a Workflow message. 34220 * @param message Plain object to verify 34221 * @returns `null` if valid, otherwise the reason why it is not 34222 */ 34223 public static verify(message: { [k: string]: any }): (string|null); 34224 34225 /** 34226 * Creates a Workflow message from a plain object. Also converts values to their respective internal types. 34227 * @param object Plain object 34228 * @returns Workflow 34229 */ 34230 public static fromObject(object: { [k: string]: any }): vtctldata.Workflow; 34231 34232 /** 34233 * Creates a plain object from a Workflow message. Also converts values to other types if specified. 34234 * @param message Workflow 34235 * @param [options] Conversion options 34236 * @returns Plain object 34237 */ 34238 public static toObject(message: vtctldata.Workflow, options?: $protobuf.IConversionOptions): { [k: string]: any }; 34239 34240 /** 34241 * Converts this Workflow to JSON. 34242 * @returns JSON object 34243 */ 34244 public toJSON(): { [k: string]: any }; 34245 } 34246 34247 namespace Workflow { 34248 34249 /** Properties of a ReplicationLocation. */ 34250 interface IReplicationLocation { 34251 34252 /** ReplicationLocation keyspace */ 34253 keyspace?: (string|null); 34254 34255 /** ReplicationLocation shards */ 34256 shards?: (string[]|null); 34257 } 34258 34259 /** Represents a ReplicationLocation. */ 34260 class ReplicationLocation implements IReplicationLocation { 34261 34262 /** 34263 * Constructs a new ReplicationLocation. 34264 * @param [properties] Properties to set 34265 */ 34266 constructor(properties?: vtctldata.Workflow.IReplicationLocation); 34267 34268 /** ReplicationLocation keyspace. */ 34269 public keyspace: string; 34270 34271 /** ReplicationLocation shards. */ 34272 public shards: string[]; 34273 34274 /** 34275 * Creates a new ReplicationLocation instance using the specified properties. 34276 * @param [properties] Properties to set 34277 * @returns ReplicationLocation instance 34278 */ 34279 public static create(properties?: vtctldata.Workflow.IReplicationLocation): vtctldata.Workflow.ReplicationLocation; 34280 34281 /** 34282 * Encodes the specified ReplicationLocation message. Does not implicitly {@link vtctldata.Workflow.ReplicationLocation.verify|verify} messages. 34283 * @param message ReplicationLocation message or plain object to encode 34284 * @param [writer] Writer to encode to 34285 * @returns Writer 34286 */ 34287 public static encode(message: vtctldata.Workflow.IReplicationLocation, writer?: $protobuf.Writer): $protobuf.Writer; 34288 34289 /** 34290 * Encodes the specified ReplicationLocation message, length delimited. Does not implicitly {@link vtctldata.Workflow.ReplicationLocation.verify|verify} messages. 34291 * @param message ReplicationLocation message or plain object to encode 34292 * @param [writer] Writer to encode to 34293 * @returns Writer 34294 */ 34295 public static encodeDelimited(message: vtctldata.Workflow.IReplicationLocation, writer?: $protobuf.Writer): $protobuf.Writer; 34296 34297 /** 34298 * Decodes a ReplicationLocation message from the specified reader or buffer. 34299 * @param reader Reader or buffer to decode from 34300 * @param [length] Message length if known beforehand 34301 * @returns ReplicationLocation 34302 * @throws {Error} If the payload is not a reader or valid buffer 34303 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34304 */ 34305 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.ReplicationLocation; 34306 34307 /** 34308 * Decodes a ReplicationLocation message from the specified reader or buffer, length delimited. 34309 * @param reader Reader or buffer to decode from 34310 * @returns ReplicationLocation 34311 * @throws {Error} If the payload is not a reader or valid buffer 34312 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34313 */ 34314 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.ReplicationLocation; 34315 34316 /** 34317 * Verifies a ReplicationLocation message. 34318 * @param message Plain object to verify 34319 * @returns `null` if valid, otherwise the reason why it is not 34320 */ 34321 public static verify(message: { [k: string]: any }): (string|null); 34322 34323 /** 34324 * Creates a ReplicationLocation message from a plain object. Also converts values to their respective internal types. 34325 * @param object Plain object 34326 * @returns ReplicationLocation 34327 */ 34328 public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.ReplicationLocation; 34329 34330 /** 34331 * Creates a plain object from a ReplicationLocation message. Also converts values to other types if specified. 34332 * @param message ReplicationLocation 34333 * @param [options] Conversion options 34334 * @returns Plain object 34335 */ 34336 public static toObject(message: vtctldata.Workflow.ReplicationLocation, options?: $protobuf.IConversionOptions): { [k: string]: any }; 34337 34338 /** 34339 * Converts this ReplicationLocation to JSON. 34340 * @returns JSON object 34341 */ 34342 public toJSON(): { [k: string]: any }; 34343 } 34344 34345 /** Properties of a ShardStream. */ 34346 interface IShardStream { 34347 34348 /** ShardStream streams */ 34349 streams?: (vtctldata.Workflow.IStream[]|null); 34350 34351 /** ShardStream tablet_controls */ 34352 tablet_controls?: (topodata.Shard.ITabletControl[]|null); 34353 34354 /** ShardStream is_primary_serving */ 34355 is_primary_serving?: (boolean|null); 34356 } 34357 34358 /** Represents a ShardStream. */ 34359 class ShardStream implements IShardStream { 34360 34361 /** 34362 * Constructs a new ShardStream. 34363 * @param [properties] Properties to set 34364 */ 34365 constructor(properties?: vtctldata.Workflow.IShardStream); 34366 34367 /** ShardStream streams. */ 34368 public streams: vtctldata.Workflow.IStream[]; 34369 34370 /** ShardStream tablet_controls. */ 34371 public tablet_controls: topodata.Shard.ITabletControl[]; 34372 34373 /** ShardStream is_primary_serving. */ 34374 public is_primary_serving: boolean; 34375 34376 /** 34377 * Creates a new ShardStream instance using the specified properties. 34378 * @param [properties] Properties to set 34379 * @returns ShardStream instance 34380 */ 34381 public static create(properties?: vtctldata.Workflow.IShardStream): vtctldata.Workflow.ShardStream; 34382 34383 /** 34384 * Encodes the specified ShardStream message. Does not implicitly {@link vtctldata.Workflow.ShardStream.verify|verify} messages. 34385 * @param message ShardStream message or plain object to encode 34386 * @param [writer] Writer to encode to 34387 * @returns Writer 34388 */ 34389 public static encode(message: vtctldata.Workflow.IShardStream, writer?: $protobuf.Writer): $protobuf.Writer; 34390 34391 /** 34392 * Encodes the specified ShardStream message, length delimited. Does not implicitly {@link vtctldata.Workflow.ShardStream.verify|verify} messages. 34393 * @param message ShardStream message or plain object to encode 34394 * @param [writer] Writer to encode to 34395 * @returns Writer 34396 */ 34397 public static encodeDelimited(message: vtctldata.Workflow.IShardStream, writer?: $protobuf.Writer): $protobuf.Writer; 34398 34399 /** 34400 * Decodes a ShardStream message from the specified reader or buffer. 34401 * @param reader Reader or buffer to decode from 34402 * @param [length] Message length if known beforehand 34403 * @returns ShardStream 34404 * @throws {Error} If the payload is not a reader or valid buffer 34405 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34406 */ 34407 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.ShardStream; 34408 34409 /** 34410 * Decodes a ShardStream message from the specified reader or buffer, length delimited. 34411 * @param reader Reader or buffer to decode from 34412 * @returns ShardStream 34413 * @throws {Error} If the payload is not a reader or valid buffer 34414 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34415 */ 34416 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.ShardStream; 34417 34418 /** 34419 * Verifies a ShardStream message. 34420 * @param message Plain object to verify 34421 * @returns `null` if valid, otherwise the reason why it is not 34422 */ 34423 public static verify(message: { [k: string]: any }): (string|null); 34424 34425 /** 34426 * Creates a ShardStream message from a plain object. Also converts values to their respective internal types. 34427 * @param object Plain object 34428 * @returns ShardStream 34429 */ 34430 public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.ShardStream; 34431 34432 /** 34433 * Creates a plain object from a ShardStream message. Also converts values to other types if specified. 34434 * @param message ShardStream 34435 * @param [options] Conversion options 34436 * @returns Plain object 34437 */ 34438 public static toObject(message: vtctldata.Workflow.ShardStream, options?: $protobuf.IConversionOptions): { [k: string]: any }; 34439 34440 /** 34441 * Converts this ShardStream to JSON. 34442 * @returns JSON object 34443 */ 34444 public toJSON(): { [k: string]: any }; 34445 } 34446 34447 /** Properties of a Stream. */ 34448 interface IStream { 34449 34450 /** Stream id */ 34451 id?: (number|Long|null); 34452 34453 /** Stream shard */ 34454 shard?: (string|null); 34455 34456 /** Stream tablet */ 34457 tablet?: (topodata.ITabletAlias|null); 34458 34459 /** Stream binlog_source */ 34460 binlog_source?: (binlogdata.IBinlogSource|null); 34461 34462 /** Stream position */ 34463 position?: (string|null); 34464 34465 /** Stream stop_position */ 34466 stop_position?: (string|null); 34467 34468 /** Stream state */ 34469 state?: (string|null); 34470 34471 /** Stream db_name */ 34472 db_name?: (string|null); 34473 34474 /** Stream transaction_timestamp */ 34475 transaction_timestamp?: (vttime.ITime|null); 34476 34477 /** Stream time_updated */ 34478 time_updated?: (vttime.ITime|null); 34479 34480 /** Stream message */ 34481 message?: (string|null); 34482 34483 /** Stream copy_states */ 34484 copy_states?: (vtctldata.Workflow.Stream.ICopyState[]|null); 34485 34486 /** Stream logs */ 34487 logs?: (vtctldata.Workflow.Stream.ILog[]|null); 34488 34489 /** Stream log_fetch_error */ 34490 log_fetch_error?: (string|null); 34491 34492 /** Stream tags */ 34493 tags?: (string[]|null); 34494 } 34495 34496 /** Represents a Stream. */ 34497 class Stream implements IStream { 34498 34499 /** 34500 * Constructs a new Stream. 34501 * @param [properties] Properties to set 34502 */ 34503 constructor(properties?: vtctldata.Workflow.IStream); 34504 34505 /** Stream id. */ 34506 public id: (number|Long); 34507 34508 /** Stream shard. */ 34509 public shard: string; 34510 34511 /** Stream tablet. */ 34512 public tablet?: (topodata.ITabletAlias|null); 34513 34514 /** Stream binlog_source. */ 34515 public binlog_source?: (binlogdata.IBinlogSource|null); 34516 34517 /** Stream position. */ 34518 public position: string; 34519 34520 /** Stream stop_position. */ 34521 public stop_position: string; 34522 34523 /** Stream state. */ 34524 public state: string; 34525 34526 /** Stream db_name. */ 34527 public db_name: string; 34528 34529 /** Stream transaction_timestamp. */ 34530 public transaction_timestamp?: (vttime.ITime|null); 34531 34532 /** Stream time_updated. */ 34533 public time_updated?: (vttime.ITime|null); 34534 34535 /** Stream message. */ 34536 public message: string; 34537 34538 /** Stream copy_states. */ 34539 public copy_states: vtctldata.Workflow.Stream.ICopyState[]; 34540 34541 /** Stream logs. */ 34542 public logs: vtctldata.Workflow.Stream.ILog[]; 34543 34544 /** Stream log_fetch_error. */ 34545 public log_fetch_error: string; 34546 34547 /** Stream tags. */ 34548 public tags: string[]; 34549 34550 /** 34551 * Creates a new Stream instance using the specified properties. 34552 * @param [properties] Properties to set 34553 * @returns Stream instance 34554 */ 34555 public static create(properties?: vtctldata.Workflow.IStream): vtctldata.Workflow.Stream; 34556 34557 /** 34558 * Encodes the specified Stream message. Does not implicitly {@link vtctldata.Workflow.Stream.verify|verify} messages. 34559 * @param message Stream message or plain object to encode 34560 * @param [writer] Writer to encode to 34561 * @returns Writer 34562 */ 34563 public static encode(message: vtctldata.Workflow.IStream, writer?: $protobuf.Writer): $protobuf.Writer; 34564 34565 /** 34566 * Encodes the specified Stream message, length delimited. Does not implicitly {@link vtctldata.Workflow.Stream.verify|verify} messages. 34567 * @param message Stream message or plain object to encode 34568 * @param [writer] Writer to encode to 34569 * @returns Writer 34570 */ 34571 public static encodeDelimited(message: vtctldata.Workflow.IStream, writer?: $protobuf.Writer): $protobuf.Writer; 34572 34573 /** 34574 * Decodes a Stream message from the specified reader or buffer. 34575 * @param reader Reader or buffer to decode from 34576 * @param [length] Message length if known beforehand 34577 * @returns Stream 34578 * @throws {Error} If the payload is not a reader or valid buffer 34579 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34580 */ 34581 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.Stream; 34582 34583 /** 34584 * Decodes a Stream message from the specified reader or buffer, length delimited. 34585 * @param reader Reader or buffer to decode from 34586 * @returns Stream 34587 * @throws {Error} If the payload is not a reader or valid buffer 34588 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34589 */ 34590 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.Stream; 34591 34592 /** 34593 * Verifies a Stream message. 34594 * @param message Plain object to verify 34595 * @returns `null` if valid, otherwise the reason why it is not 34596 */ 34597 public static verify(message: { [k: string]: any }): (string|null); 34598 34599 /** 34600 * Creates a Stream message from a plain object. Also converts values to their respective internal types. 34601 * @param object Plain object 34602 * @returns Stream 34603 */ 34604 public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.Stream; 34605 34606 /** 34607 * Creates a plain object from a Stream message. Also converts values to other types if specified. 34608 * @param message Stream 34609 * @param [options] Conversion options 34610 * @returns Plain object 34611 */ 34612 public static toObject(message: vtctldata.Workflow.Stream, options?: $protobuf.IConversionOptions): { [k: string]: any }; 34613 34614 /** 34615 * Converts this Stream to JSON. 34616 * @returns JSON object 34617 */ 34618 public toJSON(): { [k: string]: any }; 34619 } 34620 34621 namespace Stream { 34622 34623 /** Properties of a CopyState. */ 34624 interface ICopyState { 34625 34626 /** CopyState table */ 34627 table?: (string|null); 34628 34629 /** CopyState last_pk */ 34630 last_pk?: (string|null); 34631 } 34632 34633 /** Represents a CopyState. */ 34634 class CopyState implements ICopyState { 34635 34636 /** 34637 * Constructs a new CopyState. 34638 * @param [properties] Properties to set 34639 */ 34640 constructor(properties?: vtctldata.Workflow.Stream.ICopyState); 34641 34642 /** CopyState table. */ 34643 public table: string; 34644 34645 /** CopyState last_pk. */ 34646 public last_pk: string; 34647 34648 /** 34649 * Creates a new CopyState instance using the specified properties. 34650 * @param [properties] Properties to set 34651 * @returns CopyState instance 34652 */ 34653 public static create(properties?: vtctldata.Workflow.Stream.ICopyState): vtctldata.Workflow.Stream.CopyState; 34654 34655 /** 34656 * Encodes the specified CopyState message. Does not implicitly {@link vtctldata.Workflow.Stream.CopyState.verify|verify} messages. 34657 * @param message CopyState message or plain object to encode 34658 * @param [writer] Writer to encode to 34659 * @returns Writer 34660 */ 34661 public static encode(message: vtctldata.Workflow.Stream.ICopyState, writer?: $protobuf.Writer): $protobuf.Writer; 34662 34663 /** 34664 * Encodes the specified CopyState message, length delimited. Does not implicitly {@link vtctldata.Workflow.Stream.CopyState.verify|verify} messages. 34665 * @param message CopyState message or plain object to encode 34666 * @param [writer] Writer to encode to 34667 * @returns Writer 34668 */ 34669 public static encodeDelimited(message: vtctldata.Workflow.Stream.ICopyState, writer?: $protobuf.Writer): $protobuf.Writer; 34670 34671 /** 34672 * Decodes a CopyState message from the specified reader or buffer. 34673 * @param reader Reader or buffer to decode from 34674 * @param [length] Message length if known beforehand 34675 * @returns CopyState 34676 * @throws {Error} If the payload is not a reader or valid buffer 34677 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34678 */ 34679 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.Stream.CopyState; 34680 34681 /** 34682 * Decodes a CopyState message from the specified reader or buffer, length delimited. 34683 * @param reader Reader or buffer to decode from 34684 * @returns CopyState 34685 * @throws {Error} If the payload is not a reader or valid buffer 34686 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34687 */ 34688 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.Stream.CopyState; 34689 34690 /** 34691 * Verifies a CopyState message. 34692 * @param message Plain object to verify 34693 * @returns `null` if valid, otherwise the reason why it is not 34694 */ 34695 public static verify(message: { [k: string]: any }): (string|null); 34696 34697 /** 34698 * Creates a CopyState message from a plain object. Also converts values to their respective internal types. 34699 * @param object Plain object 34700 * @returns CopyState 34701 */ 34702 public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.Stream.CopyState; 34703 34704 /** 34705 * Creates a plain object from a CopyState message. Also converts values to other types if specified. 34706 * @param message CopyState 34707 * @param [options] Conversion options 34708 * @returns Plain object 34709 */ 34710 public static toObject(message: vtctldata.Workflow.Stream.CopyState, options?: $protobuf.IConversionOptions): { [k: string]: any }; 34711 34712 /** 34713 * Converts this CopyState to JSON. 34714 * @returns JSON object 34715 */ 34716 public toJSON(): { [k: string]: any }; 34717 } 34718 34719 /** Properties of a Log. */ 34720 interface ILog { 34721 34722 /** Log id */ 34723 id?: (number|Long|null); 34724 34725 /** Log stream_id */ 34726 stream_id?: (number|Long|null); 34727 34728 /** Log type */ 34729 type?: (string|null); 34730 34731 /** Log state */ 34732 state?: (string|null); 34733 34734 /** Log created_at */ 34735 created_at?: (vttime.ITime|null); 34736 34737 /** Log updated_at */ 34738 updated_at?: (vttime.ITime|null); 34739 34740 /** Log message */ 34741 message?: (string|null); 34742 34743 /** Log count */ 34744 count?: (number|Long|null); 34745 } 34746 34747 /** Represents a Log. */ 34748 class Log implements ILog { 34749 34750 /** 34751 * Constructs a new Log. 34752 * @param [properties] Properties to set 34753 */ 34754 constructor(properties?: vtctldata.Workflow.Stream.ILog); 34755 34756 /** Log id. */ 34757 public id: (number|Long); 34758 34759 /** Log stream_id. */ 34760 public stream_id: (number|Long); 34761 34762 /** Log type. */ 34763 public type: string; 34764 34765 /** Log state. */ 34766 public state: string; 34767 34768 /** Log created_at. */ 34769 public created_at?: (vttime.ITime|null); 34770 34771 /** Log updated_at. */ 34772 public updated_at?: (vttime.ITime|null); 34773 34774 /** Log message. */ 34775 public message: string; 34776 34777 /** Log count. */ 34778 public count: (number|Long); 34779 34780 /** 34781 * Creates a new Log instance using the specified properties. 34782 * @param [properties] Properties to set 34783 * @returns Log instance 34784 */ 34785 public static create(properties?: vtctldata.Workflow.Stream.ILog): vtctldata.Workflow.Stream.Log; 34786 34787 /** 34788 * Encodes the specified Log message. Does not implicitly {@link vtctldata.Workflow.Stream.Log.verify|verify} messages. 34789 * @param message Log message or plain object to encode 34790 * @param [writer] Writer to encode to 34791 * @returns Writer 34792 */ 34793 public static encode(message: vtctldata.Workflow.Stream.ILog, writer?: $protobuf.Writer): $protobuf.Writer; 34794 34795 /** 34796 * Encodes the specified Log message, length delimited. Does not implicitly {@link vtctldata.Workflow.Stream.Log.verify|verify} messages. 34797 * @param message Log message or plain object to encode 34798 * @param [writer] Writer to encode to 34799 * @returns Writer 34800 */ 34801 public static encodeDelimited(message: vtctldata.Workflow.Stream.ILog, writer?: $protobuf.Writer): $protobuf.Writer; 34802 34803 /** 34804 * Decodes a Log message from the specified reader or buffer. 34805 * @param reader Reader or buffer to decode from 34806 * @param [length] Message length if known beforehand 34807 * @returns Log 34808 * @throws {Error} If the payload is not a reader or valid buffer 34809 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34810 */ 34811 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.Stream.Log; 34812 34813 /** 34814 * Decodes a Log message from the specified reader or buffer, length delimited. 34815 * @param reader Reader or buffer to decode from 34816 * @returns Log 34817 * @throws {Error} If the payload is not a reader or valid buffer 34818 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34819 */ 34820 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.Stream.Log; 34821 34822 /** 34823 * Verifies a Log message. 34824 * @param message Plain object to verify 34825 * @returns `null` if valid, otherwise the reason why it is not 34826 */ 34827 public static verify(message: { [k: string]: any }): (string|null); 34828 34829 /** 34830 * Creates a Log message from a plain object. Also converts values to their respective internal types. 34831 * @param object Plain object 34832 * @returns Log 34833 */ 34834 public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.Stream.Log; 34835 34836 /** 34837 * Creates a plain object from a Log message. Also converts values to other types if specified. 34838 * @param message Log 34839 * @param [options] Conversion options 34840 * @returns Plain object 34841 */ 34842 public static toObject(message: vtctldata.Workflow.Stream.Log, options?: $protobuf.IConversionOptions): { [k: string]: any }; 34843 34844 /** 34845 * Converts this Log to JSON. 34846 * @returns JSON object 34847 */ 34848 public toJSON(): { [k: string]: any }; 34849 } 34850 } 34851 } 34852 34853 /** Properties of an AddCellInfoRequest. */ 34854 interface IAddCellInfoRequest { 34855 34856 /** AddCellInfoRequest name */ 34857 name?: (string|null); 34858 34859 /** AddCellInfoRequest cell_info */ 34860 cell_info?: (topodata.ICellInfo|null); 34861 } 34862 34863 /** Represents an AddCellInfoRequest. */ 34864 class AddCellInfoRequest implements IAddCellInfoRequest { 34865 34866 /** 34867 * Constructs a new AddCellInfoRequest. 34868 * @param [properties] Properties to set 34869 */ 34870 constructor(properties?: vtctldata.IAddCellInfoRequest); 34871 34872 /** AddCellInfoRequest name. */ 34873 public name: string; 34874 34875 /** AddCellInfoRequest cell_info. */ 34876 public cell_info?: (topodata.ICellInfo|null); 34877 34878 /** 34879 * Creates a new AddCellInfoRequest instance using the specified properties. 34880 * @param [properties] Properties to set 34881 * @returns AddCellInfoRequest instance 34882 */ 34883 public static create(properties?: vtctldata.IAddCellInfoRequest): vtctldata.AddCellInfoRequest; 34884 34885 /** 34886 * Encodes the specified AddCellInfoRequest message. Does not implicitly {@link vtctldata.AddCellInfoRequest.verify|verify} messages. 34887 * @param message AddCellInfoRequest message or plain object to encode 34888 * @param [writer] Writer to encode to 34889 * @returns Writer 34890 */ 34891 public static encode(message: vtctldata.IAddCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; 34892 34893 /** 34894 * Encodes the specified AddCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.AddCellInfoRequest.verify|verify} messages. 34895 * @param message AddCellInfoRequest message or plain object to encode 34896 * @param [writer] Writer to encode to 34897 * @returns Writer 34898 */ 34899 public static encodeDelimited(message: vtctldata.IAddCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; 34900 34901 /** 34902 * Decodes an AddCellInfoRequest message from the specified reader or buffer. 34903 * @param reader Reader or buffer to decode from 34904 * @param [length] Message length if known beforehand 34905 * @returns AddCellInfoRequest 34906 * @throws {Error} If the payload is not a reader or valid buffer 34907 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34908 */ 34909 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellInfoRequest; 34910 34911 /** 34912 * Decodes an AddCellInfoRequest message from the specified reader or buffer, length delimited. 34913 * @param reader Reader or buffer to decode from 34914 * @returns AddCellInfoRequest 34915 * @throws {Error} If the payload is not a reader or valid buffer 34916 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34917 */ 34918 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellInfoRequest; 34919 34920 /** 34921 * Verifies an AddCellInfoRequest message. 34922 * @param message Plain object to verify 34923 * @returns `null` if valid, otherwise the reason why it is not 34924 */ 34925 public static verify(message: { [k: string]: any }): (string|null); 34926 34927 /** 34928 * Creates an AddCellInfoRequest message from a plain object. Also converts values to their respective internal types. 34929 * @param object Plain object 34930 * @returns AddCellInfoRequest 34931 */ 34932 public static fromObject(object: { [k: string]: any }): vtctldata.AddCellInfoRequest; 34933 34934 /** 34935 * Creates a plain object from an AddCellInfoRequest message. Also converts values to other types if specified. 34936 * @param message AddCellInfoRequest 34937 * @param [options] Conversion options 34938 * @returns Plain object 34939 */ 34940 public static toObject(message: vtctldata.AddCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 34941 34942 /** 34943 * Converts this AddCellInfoRequest to JSON. 34944 * @returns JSON object 34945 */ 34946 public toJSON(): { [k: string]: any }; 34947 } 34948 34949 /** Properties of an AddCellInfoResponse. */ 34950 interface IAddCellInfoResponse { 34951 } 34952 34953 /** Represents an AddCellInfoResponse. */ 34954 class AddCellInfoResponse implements IAddCellInfoResponse { 34955 34956 /** 34957 * Constructs a new AddCellInfoResponse. 34958 * @param [properties] Properties to set 34959 */ 34960 constructor(properties?: vtctldata.IAddCellInfoResponse); 34961 34962 /** 34963 * Creates a new AddCellInfoResponse instance using the specified properties. 34964 * @param [properties] Properties to set 34965 * @returns AddCellInfoResponse instance 34966 */ 34967 public static create(properties?: vtctldata.IAddCellInfoResponse): vtctldata.AddCellInfoResponse; 34968 34969 /** 34970 * Encodes the specified AddCellInfoResponse message. Does not implicitly {@link vtctldata.AddCellInfoResponse.verify|verify} messages. 34971 * @param message AddCellInfoResponse message or plain object to encode 34972 * @param [writer] Writer to encode to 34973 * @returns Writer 34974 */ 34975 public static encode(message: vtctldata.IAddCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; 34976 34977 /** 34978 * Encodes the specified AddCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.AddCellInfoResponse.verify|verify} messages. 34979 * @param message AddCellInfoResponse message or plain object to encode 34980 * @param [writer] Writer to encode to 34981 * @returns Writer 34982 */ 34983 public static encodeDelimited(message: vtctldata.IAddCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; 34984 34985 /** 34986 * Decodes an AddCellInfoResponse message from the specified reader or buffer. 34987 * @param reader Reader or buffer to decode from 34988 * @param [length] Message length if known beforehand 34989 * @returns AddCellInfoResponse 34990 * @throws {Error} If the payload is not a reader or valid buffer 34991 * @throws {$protobuf.util.ProtocolError} If required fields are missing 34992 */ 34993 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellInfoResponse; 34994 34995 /** 34996 * Decodes an AddCellInfoResponse message from the specified reader or buffer, length delimited. 34997 * @param reader Reader or buffer to decode from 34998 * @returns AddCellInfoResponse 34999 * @throws {Error} If the payload is not a reader or valid buffer 35000 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35001 */ 35002 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellInfoResponse; 35003 35004 /** 35005 * Verifies an AddCellInfoResponse message. 35006 * @param message Plain object to verify 35007 * @returns `null` if valid, otherwise the reason why it is not 35008 */ 35009 public static verify(message: { [k: string]: any }): (string|null); 35010 35011 /** 35012 * Creates an AddCellInfoResponse message from a plain object. Also converts values to their respective internal types. 35013 * @param object Plain object 35014 * @returns AddCellInfoResponse 35015 */ 35016 public static fromObject(object: { [k: string]: any }): vtctldata.AddCellInfoResponse; 35017 35018 /** 35019 * Creates a plain object from an AddCellInfoResponse message. Also converts values to other types if specified. 35020 * @param message AddCellInfoResponse 35021 * @param [options] Conversion options 35022 * @returns Plain object 35023 */ 35024 public static toObject(message: vtctldata.AddCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 35025 35026 /** 35027 * Converts this AddCellInfoResponse to JSON. 35028 * @returns JSON object 35029 */ 35030 public toJSON(): { [k: string]: any }; 35031 } 35032 35033 /** Properties of an AddCellsAliasRequest. */ 35034 interface IAddCellsAliasRequest { 35035 35036 /** AddCellsAliasRequest name */ 35037 name?: (string|null); 35038 35039 /** AddCellsAliasRequest cells */ 35040 cells?: (string[]|null); 35041 } 35042 35043 /** Represents an AddCellsAliasRequest. */ 35044 class AddCellsAliasRequest implements IAddCellsAliasRequest { 35045 35046 /** 35047 * Constructs a new AddCellsAliasRequest. 35048 * @param [properties] Properties to set 35049 */ 35050 constructor(properties?: vtctldata.IAddCellsAliasRequest); 35051 35052 /** AddCellsAliasRequest name. */ 35053 public name: string; 35054 35055 /** AddCellsAliasRequest cells. */ 35056 public cells: string[]; 35057 35058 /** 35059 * Creates a new AddCellsAliasRequest instance using the specified properties. 35060 * @param [properties] Properties to set 35061 * @returns AddCellsAliasRequest instance 35062 */ 35063 public static create(properties?: vtctldata.IAddCellsAliasRequest): vtctldata.AddCellsAliasRequest; 35064 35065 /** 35066 * Encodes the specified AddCellsAliasRequest message. Does not implicitly {@link vtctldata.AddCellsAliasRequest.verify|verify} messages. 35067 * @param message AddCellsAliasRequest message or plain object to encode 35068 * @param [writer] Writer to encode to 35069 * @returns Writer 35070 */ 35071 public static encode(message: vtctldata.IAddCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 35072 35073 /** 35074 * Encodes the specified AddCellsAliasRequest message, length delimited. Does not implicitly {@link vtctldata.AddCellsAliasRequest.verify|verify} messages. 35075 * @param message AddCellsAliasRequest message or plain object to encode 35076 * @param [writer] Writer to encode to 35077 * @returns Writer 35078 */ 35079 public static encodeDelimited(message: vtctldata.IAddCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 35080 35081 /** 35082 * Decodes an AddCellsAliasRequest message from the specified reader or buffer. 35083 * @param reader Reader or buffer to decode from 35084 * @param [length] Message length if known beforehand 35085 * @returns AddCellsAliasRequest 35086 * @throws {Error} If the payload is not a reader or valid buffer 35087 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35088 */ 35089 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellsAliasRequest; 35090 35091 /** 35092 * Decodes an AddCellsAliasRequest message from the specified reader or buffer, length delimited. 35093 * @param reader Reader or buffer to decode from 35094 * @returns AddCellsAliasRequest 35095 * @throws {Error} If the payload is not a reader or valid buffer 35096 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35097 */ 35098 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellsAliasRequest; 35099 35100 /** 35101 * Verifies an AddCellsAliasRequest message. 35102 * @param message Plain object to verify 35103 * @returns `null` if valid, otherwise the reason why it is not 35104 */ 35105 public static verify(message: { [k: string]: any }): (string|null); 35106 35107 /** 35108 * Creates an AddCellsAliasRequest message from a plain object. Also converts values to their respective internal types. 35109 * @param object Plain object 35110 * @returns AddCellsAliasRequest 35111 */ 35112 public static fromObject(object: { [k: string]: any }): vtctldata.AddCellsAliasRequest; 35113 35114 /** 35115 * Creates a plain object from an AddCellsAliasRequest message. Also converts values to other types if specified. 35116 * @param message AddCellsAliasRequest 35117 * @param [options] Conversion options 35118 * @returns Plain object 35119 */ 35120 public static toObject(message: vtctldata.AddCellsAliasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 35121 35122 /** 35123 * Converts this AddCellsAliasRequest to JSON. 35124 * @returns JSON object 35125 */ 35126 public toJSON(): { [k: string]: any }; 35127 } 35128 35129 /** Properties of an AddCellsAliasResponse. */ 35130 interface IAddCellsAliasResponse { 35131 } 35132 35133 /** Represents an AddCellsAliasResponse. */ 35134 class AddCellsAliasResponse implements IAddCellsAliasResponse { 35135 35136 /** 35137 * Constructs a new AddCellsAliasResponse. 35138 * @param [properties] Properties to set 35139 */ 35140 constructor(properties?: vtctldata.IAddCellsAliasResponse); 35141 35142 /** 35143 * Creates a new AddCellsAliasResponse instance using the specified properties. 35144 * @param [properties] Properties to set 35145 * @returns AddCellsAliasResponse instance 35146 */ 35147 public static create(properties?: vtctldata.IAddCellsAliasResponse): vtctldata.AddCellsAliasResponse; 35148 35149 /** 35150 * Encodes the specified AddCellsAliasResponse message. Does not implicitly {@link vtctldata.AddCellsAliasResponse.verify|verify} messages. 35151 * @param message AddCellsAliasResponse message or plain object to encode 35152 * @param [writer] Writer to encode to 35153 * @returns Writer 35154 */ 35155 public static encode(message: vtctldata.IAddCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 35156 35157 /** 35158 * Encodes the specified AddCellsAliasResponse message, length delimited. Does not implicitly {@link vtctldata.AddCellsAliasResponse.verify|verify} messages. 35159 * @param message AddCellsAliasResponse message or plain object to encode 35160 * @param [writer] Writer to encode to 35161 * @returns Writer 35162 */ 35163 public static encodeDelimited(message: vtctldata.IAddCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 35164 35165 /** 35166 * Decodes an AddCellsAliasResponse message from the specified reader or buffer. 35167 * @param reader Reader or buffer to decode from 35168 * @param [length] Message length if known beforehand 35169 * @returns AddCellsAliasResponse 35170 * @throws {Error} If the payload is not a reader or valid buffer 35171 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35172 */ 35173 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellsAliasResponse; 35174 35175 /** 35176 * Decodes an AddCellsAliasResponse message from the specified reader or buffer, length delimited. 35177 * @param reader Reader or buffer to decode from 35178 * @returns AddCellsAliasResponse 35179 * @throws {Error} If the payload is not a reader or valid buffer 35180 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35181 */ 35182 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellsAliasResponse; 35183 35184 /** 35185 * Verifies an AddCellsAliasResponse message. 35186 * @param message Plain object to verify 35187 * @returns `null` if valid, otherwise the reason why it is not 35188 */ 35189 public static verify(message: { [k: string]: any }): (string|null); 35190 35191 /** 35192 * Creates an AddCellsAliasResponse message from a plain object. Also converts values to their respective internal types. 35193 * @param object Plain object 35194 * @returns AddCellsAliasResponse 35195 */ 35196 public static fromObject(object: { [k: string]: any }): vtctldata.AddCellsAliasResponse; 35197 35198 /** 35199 * Creates a plain object from an AddCellsAliasResponse message. Also converts values to other types if specified. 35200 * @param message AddCellsAliasResponse 35201 * @param [options] Conversion options 35202 * @returns Plain object 35203 */ 35204 public static toObject(message: vtctldata.AddCellsAliasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 35205 35206 /** 35207 * Converts this AddCellsAliasResponse to JSON. 35208 * @returns JSON object 35209 */ 35210 public toJSON(): { [k: string]: any }; 35211 } 35212 35213 /** Properties of an ApplyRoutingRulesRequest. */ 35214 interface IApplyRoutingRulesRequest { 35215 35216 /** ApplyRoutingRulesRequest routing_rules */ 35217 routing_rules?: (vschema.IRoutingRules|null); 35218 35219 /** ApplyRoutingRulesRequest skip_rebuild */ 35220 skip_rebuild?: (boolean|null); 35221 35222 /** ApplyRoutingRulesRequest rebuild_cells */ 35223 rebuild_cells?: (string[]|null); 35224 } 35225 35226 /** Represents an ApplyRoutingRulesRequest. */ 35227 class ApplyRoutingRulesRequest implements IApplyRoutingRulesRequest { 35228 35229 /** 35230 * Constructs a new ApplyRoutingRulesRequest. 35231 * @param [properties] Properties to set 35232 */ 35233 constructor(properties?: vtctldata.IApplyRoutingRulesRequest); 35234 35235 /** ApplyRoutingRulesRequest routing_rules. */ 35236 public routing_rules?: (vschema.IRoutingRules|null); 35237 35238 /** ApplyRoutingRulesRequest skip_rebuild. */ 35239 public skip_rebuild: boolean; 35240 35241 /** ApplyRoutingRulesRequest rebuild_cells. */ 35242 public rebuild_cells: string[]; 35243 35244 /** 35245 * Creates a new ApplyRoutingRulesRequest instance using the specified properties. 35246 * @param [properties] Properties to set 35247 * @returns ApplyRoutingRulesRequest instance 35248 */ 35249 public static create(properties?: vtctldata.IApplyRoutingRulesRequest): vtctldata.ApplyRoutingRulesRequest; 35250 35251 /** 35252 * Encodes the specified ApplyRoutingRulesRequest message. Does not implicitly {@link vtctldata.ApplyRoutingRulesRequest.verify|verify} messages. 35253 * @param message ApplyRoutingRulesRequest message or plain object to encode 35254 * @param [writer] Writer to encode to 35255 * @returns Writer 35256 */ 35257 public static encode(message: vtctldata.IApplyRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 35258 35259 /** 35260 * Encodes the specified ApplyRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.ApplyRoutingRulesRequest.verify|verify} messages. 35261 * @param message ApplyRoutingRulesRequest message or plain object to encode 35262 * @param [writer] Writer to encode to 35263 * @returns Writer 35264 */ 35265 public static encodeDelimited(message: vtctldata.IApplyRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 35266 35267 /** 35268 * Decodes an ApplyRoutingRulesRequest message from the specified reader or buffer. 35269 * @param reader Reader or buffer to decode from 35270 * @param [length] Message length if known beforehand 35271 * @returns ApplyRoutingRulesRequest 35272 * @throws {Error} If the payload is not a reader or valid buffer 35273 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35274 */ 35275 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyRoutingRulesRequest; 35276 35277 /** 35278 * Decodes an ApplyRoutingRulesRequest message from the specified reader or buffer, length delimited. 35279 * @param reader Reader or buffer to decode from 35280 * @returns ApplyRoutingRulesRequest 35281 * @throws {Error} If the payload is not a reader or valid buffer 35282 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35283 */ 35284 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyRoutingRulesRequest; 35285 35286 /** 35287 * Verifies an ApplyRoutingRulesRequest message. 35288 * @param message Plain object to verify 35289 * @returns `null` if valid, otherwise the reason why it is not 35290 */ 35291 public static verify(message: { [k: string]: any }): (string|null); 35292 35293 /** 35294 * Creates an ApplyRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. 35295 * @param object Plain object 35296 * @returns ApplyRoutingRulesRequest 35297 */ 35298 public static fromObject(object: { [k: string]: any }): vtctldata.ApplyRoutingRulesRequest; 35299 35300 /** 35301 * Creates a plain object from an ApplyRoutingRulesRequest message. Also converts values to other types if specified. 35302 * @param message ApplyRoutingRulesRequest 35303 * @param [options] Conversion options 35304 * @returns Plain object 35305 */ 35306 public static toObject(message: vtctldata.ApplyRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 35307 35308 /** 35309 * Converts this ApplyRoutingRulesRequest to JSON. 35310 * @returns JSON object 35311 */ 35312 public toJSON(): { [k: string]: any }; 35313 } 35314 35315 /** Properties of an ApplyRoutingRulesResponse. */ 35316 interface IApplyRoutingRulesResponse { 35317 } 35318 35319 /** Represents an ApplyRoutingRulesResponse. */ 35320 class ApplyRoutingRulesResponse implements IApplyRoutingRulesResponse { 35321 35322 /** 35323 * Constructs a new ApplyRoutingRulesResponse. 35324 * @param [properties] Properties to set 35325 */ 35326 constructor(properties?: vtctldata.IApplyRoutingRulesResponse); 35327 35328 /** 35329 * Creates a new ApplyRoutingRulesResponse instance using the specified properties. 35330 * @param [properties] Properties to set 35331 * @returns ApplyRoutingRulesResponse instance 35332 */ 35333 public static create(properties?: vtctldata.IApplyRoutingRulesResponse): vtctldata.ApplyRoutingRulesResponse; 35334 35335 /** 35336 * Encodes the specified ApplyRoutingRulesResponse message. Does not implicitly {@link vtctldata.ApplyRoutingRulesResponse.verify|verify} messages. 35337 * @param message ApplyRoutingRulesResponse message or plain object to encode 35338 * @param [writer] Writer to encode to 35339 * @returns Writer 35340 */ 35341 public static encode(message: vtctldata.IApplyRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 35342 35343 /** 35344 * Encodes the specified ApplyRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.ApplyRoutingRulesResponse.verify|verify} messages. 35345 * @param message ApplyRoutingRulesResponse message or plain object to encode 35346 * @param [writer] Writer to encode to 35347 * @returns Writer 35348 */ 35349 public static encodeDelimited(message: vtctldata.IApplyRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 35350 35351 /** 35352 * Decodes an ApplyRoutingRulesResponse message from the specified reader or buffer. 35353 * @param reader Reader or buffer to decode from 35354 * @param [length] Message length if known beforehand 35355 * @returns ApplyRoutingRulesResponse 35356 * @throws {Error} If the payload is not a reader or valid buffer 35357 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35358 */ 35359 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyRoutingRulesResponse; 35360 35361 /** 35362 * Decodes an ApplyRoutingRulesResponse message from the specified reader or buffer, length delimited. 35363 * @param reader Reader or buffer to decode from 35364 * @returns ApplyRoutingRulesResponse 35365 * @throws {Error} If the payload is not a reader or valid buffer 35366 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35367 */ 35368 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyRoutingRulesResponse; 35369 35370 /** 35371 * Verifies an ApplyRoutingRulesResponse message. 35372 * @param message Plain object to verify 35373 * @returns `null` if valid, otherwise the reason why it is not 35374 */ 35375 public static verify(message: { [k: string]: any }): (string|null); 35376 35377 /** 35378 * Creates an ApplyRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. 35379 * @param object Plain object 35380 * @returns ApplyRoutingRulesResponse 35381 */ 35382 public static fromObject(object: { [k: string]: any }): vtctldata.ApplyRoutingRulesResponse; 35383 35384 /** 35385 * Creates a plain object from an ApplyRoutingRulesResponse message. Also converts values to other types if specified. 35386 * @param message ApplyRoutingRulesResponse 35387 * @param [options] Conversion options 35388 * @returns Plain object 35389 */ 35390 public static toObject(message: vtctldata.ApplyRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 35391 35392 /** 35393 * Converts this ApplyRoutingRulesResponse to JSON. 35394 * @returns JSON object 35395 */ 35396 public toJSON(): { [k: string]: any }; 35397 } 35398 35399 /** Properties of an ApplyShardRoutingRulesRequest. */ 35400 interface IApplyShardRoutingRulesRequest { 35401 35402 /** ApplyShardRoutingRulesRequest shard_routing_rules */ 35403 shard_routing_rules?: (vschema.IShardRoutingRules|null); 35404 35405 /** ApplyShardRoutingRulesRequest skip_rebuild */ 35406 skip_rebuild?: (boolean|null); 35407 35408 /** ApplyShardRoutingRulesRequest rebuild_cells */ 35409 rebuild_cells?: (string[]|null); 35410 } 35411 35412 /** Represents an ApplyShardRoutingRulesRequest. */ 35413 class ApplyShardRoutingRulesRequest implements IApplyShardRoutingRulesRequest { 35414 35415 /** 35416 * Constructs a new ApplyShardRoutingRulesRequest. 35417 * @param [properties] Properties to set 35418 */ 35419 constructor(properties?: vtctldata.IApplyShardRoutingRulesRequest); 35420 35421 /** ApplyShardRoutingRulesRequest shard_routing_rules. */ 35422 public shard_routing_rules?: (vschema.IShardRoutingRules|null); 35423 35424 /** ApplyShardRoutingRulesRequest skip_rebuild. */ 35425 public skip_rebuild: boolean; 35426 35427 /** ApplyShardRoutingRulesRequest rebuild_cells. */ 35428 public rebuild_cells: string[]; 35429 35430 /** 35431 * Creates a new ApplyShardRoutingRulesRequest instance using the specified properties. 35432 * @param [properties] Properties to set 35433 * @returns ApplyShardRoutingRulesRequest instance 35434 */ 35435 public static create(properties?: vtctldata.IApplyShardRoutingRulesRequest): vtctldata.ApplyShardRoutingRulesRequest; 35436 35437 /** 35438 * Encodes the specified ApplyShardRoutingRulesRequest message. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesRequest.verify|verify} messages. 35439 * @param message ApplyShardRoutingRulesRequest message or plain object to encode 35440 * @param [writer] Writer to encode to 35441 * @returns Writer 35442 */ 35443 public static encode(message: vtctldata.IApplyShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 35444 35445 /** 35446 * Encodes the specified ApplyShardRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesRequest.verify|verify} messages. 35447 * @param message ApplyShardRoutingRulesRequest message or plain object to encode 35448 * @param [writer] Writer to encode to 35449 * @returns Writer 35450 */ 35451 public static encodeDelimited(message: vtctldata.IApplyShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 35452 35453 /** 35454 * Decodes an ApplyShardRoutingRulesRequest message from the specified reader or buffer. 35455 * @param reader Reader or buffer to decode from 35456 * @param [length] Message length if known beforehand 35457 * @returns ApplyShardRoutingRulesRequest 35458 * @throws {Error} If the payload is not a reader or valid buffer 35459 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35460 */ 35461 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyShardRoutingRulesRequest; 35462 35463 /** 35464 * Decodes an ApplyShardRoutingRulesRequest message from the specified reader or buffer, length delimited. 35465 * @param reader Reader or buffer to decode from 35466 * @returns ApplyShardRoutingRulesRequest 35467 * @throws {Error} If the payload is not a reader or valid buffer 35468 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35469 */ 35470 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyShardRoutingRulesRequest; 35471 35472 /** 35473 * Verifies an ApplyShardRoutingRulesRequest message. 35474 * @param message Plain object to verify 35475 * @returns `null` if valid, otherwise the reason why it is not 35476 */ 35477 public static verify(message: { [k: string]: any }): (string|null); 35478 35479 /** 35480 * Creates an ApplyShardRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. 35481 * @param object Plain object 35482 * @returns ApplyShardRoutingRulesRequest 35483 */ 35484 public static fromObject(object: { [k: string]: any }): vtctldata.ApplyShardRoutingRulesRequest; 35485 35486 /** 35487 * Creates a plain object from an ApplyShardRoutingRulesRequest message. Also converts values to other types if specified. 35488 * @param message ApplyShardRoutingRulesRequest 35489 * @param [options] Conversion options 35490 * @returns Plain object 35491 */ 35492 public static toObject(message: vtctldata.ApplyShardRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 35493 35494 /** 35495 * Converts this ApplyShardRoutingRulesRequest to JSON. 35496 * @returns JSON object 35497 */ 35498 public toJSON(): { [k: string]: any }; 35499 } 35500 35501 /** Properties of an ApplyShardRoutingRulesResponse. */ 35502 interface IApplyShardRoutingRulesResponse { 35503 } 35504 35505 /** Represents an ApplyShardRoutingRulesResponse. */ 35506 class ApplyShardRoutingRulesResponse implements IApplyShardRoutingRulesResponse { 35507 35508 /** 35509 * Constructs a new ApplyShardRoutingRulesResponse. 35510 * @param [properties] Properties to set 35511 */ 35512 constructor(properties?: vtctldata.IApplyShardRoutingRulesResponse); 35513 35514 /** 35515 * Creates a new ApplyShardRoutingRulesResponse instance using the specified properties. 35516 * @param [properties] Properties to set 35517 * @returns ApplyShardRoutingRulesResponse instance 35518 */ 35519 public static create(properties?: vtctldata.IApplyShardRoutingRulesResponse): vtctldata.ApplyShardRoutingRulesResponse; 35520 35521 /** 35522 * Encodes the specified ApplyShardRoutingRulesResponse message. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesResponse.verify|verify} messages. 35523 * @param message ApplyShardRoutingRulesResponse message or plain object to encode 35524 * @param [writer] Writer to encode to 35525 * @returns Writer 35526 */ 35527 public static encode(message: vtctldata.IApplyShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 35528 35529 /** 35530 * Encodes the specified ApplyShardRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesResponse.verify|verify} messages. 35531 * @param message ApplyShardRoutingRulesResponse message or plain object to encode 35532 * @param [writer] Writer to encode to 35533 * @returns Writer 35534 */ 35535 public static encodeDelimited(message: vtctldata.IApplyShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 35536 35537 /** 35538 * Decodes an ApplyShardRoutingRulesResponse message from the specified reader or buffer. 35539 * @param reader Reader or buffer to decode from 35540 * @param [length] Message length if known beforehand 35541 * @returns ApplyShardRoutingRulesResponse 35542 * @throws {Error} If the payload is not a reader or valid buffer 35543 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35544 */ 35545 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyShardRoutingRulesResponse; 35546 35547 /** 35548 * Decodes an ApplyShardRoutingRulesResponse message from the specified reader or buffer, length delimited. 35549 * @param reader Reader or buffer to decode from 35550 * @returns ApplyShardRoutingRulesResponse 35551 * @throws {Error} If the payload is not a reader or valid buffer 35552 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35553 */ 35554 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyShardRoutingRulesResponse; 35555 35556 /** 35557 * Verifies an ApplyShardRoutingRulesResponse message. 35558 * @param message Plain object to verify 35559 * @returns `null` if valid, otherwise the reason why it is not 35560 */ 35561 public static verify(message: { [k: string]: any }): (string|null); 35562 35563 /** 35564 * Creates an ApplyShardRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. 35565 * @param object Plain object 35566 * @returns ApplyShardRoutingRulesResponse 35567 */ 35568 public static fromObject(object: { [k: string]: any }): vtctldata.ApplyShardRoutingRulesResponse; 35569 35570 /** 35571 * Creates a plain object from an ApplyShardRoutingRulesResponse message. Also converts values to other types if specified. 35572 * @param message ApplyShardRoutingRulesResponse 35573 * @param [options] Conversion options 35574 * @returns Plain object 35575 */ 35576 public static toObject(message: vtctldata.ApplyShardRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 35577 35578 /** 35579 * Converts this ApplyShardRoutingRulesResponse to JSON. 35580 * @returns JSON object 35581 */ 35582 public toJSON(): { [k: string]: any }; 35583 } 35584 35585 /** Properties of an ApplySchemaRequest. */ 35586 interface IApplySchemaRequest { 35587 35588 /** ApplySchemaRequest keyspace */ 35589 keyspace?: (string|null); 35590 35591 /** ApplySchemaRequest allow_long_unavailability */ 35592 allow_long_unavailability?: (boolean|null); 35593 35594 /** ApplySchemaRequest sql */ 35595 sql?: (string[]|null); 35596 35597 /** ApplySchemaRequest ddl_strategy */ 35598 ddl_strategy?: (string|null); 35599 35600 /** ApplySchemaRequest uuid_list */ 35601 uuid_list?: (string[]|null); 35602 35603 /** ApplySchemaRequest migration_context */ 35604 migration_context?: (string|null); 35605 35606 /** ApplySchemaRequest wait_replicas_timeout */ 35607 wait_replicas_timeout?: (vttime.IDuration|null); 35608 35609 /** ApplySchemaRequest skip_preflight */ 35610 skip_preflight?: (boolean|null); 35611 35612 /** ApplySchemaRequest caller_id */ 35613 caller_id?: (vtrpc.ICallerID|null); 35614 } 35615 35616 /** Represents an ApplySchemaRequest. */ 35617 class ApplySchemaRequest implements IApplySchemaRequest { 35618 35619 /** 35620 * Constructs a new ApplySchemaRequest. 35621 * @param [properties] Properties to set 35622 */ 35623 constructor(properties?: vtctldata.IApplySchemaRequest); 35624 35625 /** ApplySchemaRequest keyspace. */ 35626 public keyspace: string; 35627 35628 /** ApplySchemaRequest allow_long_unavailability. */ 35629 public allow_long_unavailability: boolean; 35630 35631 /** ApplySchemaRequest sql. */ 35632 public sql: string[]; 35633 35634 /** ApplySchemaRequest ddl_strategy. */ 35635 public ddl_strategy: string; 35636 35637 /** ApplySchemaRequest uuid_list. */ 35638 public uuid_list: string[]; 35639 35640 /** ApplySchemaRequest migration_context. */ 35641 public migration_context: string; 35642 35643 /** ApplySchemaRequest wait_replicas_timeout. */ 35644 public wait_replicas_timeout?: (vttime.IDuration|null); 35645 35646 /** ApplySchemaRequest skip_preflight. */ 35647 public skip_preflight: boolean; 35648 35649 /** ApplySchemaRequest caller_id. */ 35650 public caller_id?: (vtrpc.ICallerID|null); 35651 35652 /** 35653 * Creates a new ApplySchemaRequest instance using the specified properties. 35654 * @param [properties] Properties to set 35655 * @returns ApplySchemaRequest instance 35656 */ 35657 public static create(properties?: vtctldata.IApplySchemaRequest): vtctldata.ApplySchemaRequest; 35658 35659 /** 35660 * Encodes the specified ApplySchemaRequest message. Does not implicitly {@link vtctldata.ApplySchemaRequest.verify|verify} messages. 35661 * @param message ApplySchemaRequest message or plain object to encode 35662 * @param [writer] Writer to encode to 35663 * @returns Writer 35664 */ 35665 public static encode(message: vtctldata.IApplySchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 35666 35667 /** 35668 * Encodes the specified ApplySchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ApplySchemaRequest.verify|verify} messages. 35669 * @param message ApplySchemaRequest message or plain object to encode 35670 * @param [writer] Writer to encode to 35671 * @returns Writer 35672 */ 35673 public static encodeDelimited(message: vtctldata.IApplySchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 35674 35675 /** 35676 * Decodes an ApplySchemaRequest message from the specified reader or buffer. 35677 * @param reader Reader or buffer to decode from 35678 * @param [length] Message length if known beforehand 35679 * @returns ApplySchemaRequest 35680 * @throws {Error} If the payload is not a reader or valid buffer 35681 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35682 */ 35683 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplySchemaRequest; 35684 35685 /** 35686 * Decodes an ApplySchemaRequest message from the specified reader or buffer, length delimited. 35687 * @param reader Reader or buffer to decode from 35688 * @returns ApplySchemaRequest 35689 * @throws {Error} If the payload is not a reader or valid buffer 35690 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35691 */ 35692 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplySchemaRequest; 35693 35694 /** 35695 * Verifies an ApplySchemaRequest message. 35696 * @param message Plain object to verify 35697 * @returns `null` if valid, otherwise the reason why it is not 35698 */ 35699 public static verify(message: { [k: string]: any }): (string|null); 35700 35701 /** 35702 * Creates an ApplySchemaRequest message from a plain object. Also converts values to their respective internal types. 35703 * @param object Plain object 35704 * @returns ApplySchemaRequest 35705 */ 35706 public static fromObject(object: { [k: string]: any }): vtctldata.ApplySchemaRequest; 35707 35708 /** 35709 * Creates a plain object from an ApplySchemaRequest message. Also converts values to other types if specified. 35710 * @param message ApplySchemaRequest 35711 * @param [options] Conversion options 35712 * @returns Plain object 35713 */ 35714 public static toObject(message: vtctldata.ApplySchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 35715 35716 /** 35717 * Converts this ApplySchemaRequest to JSON. 35718 * @returns JSON object 35719 */ 35720 public toJSON(): { [k: string]: any }; 35721 } 35722 35723 /** Properties of an ApplySchemaResponse. */ 35724 interface IApplySchemaResponse { 35725 35726 /** ApplySchemaResponse uuid_list */ 35727 uuid_list?: (string[]|null); 35728 } 35729 35730 /** Represents an ApplySchemaResponse. */ 35731 class ApplySchemaResponse implements IApplySchemaResponse { 35732 35733 /** 35734 * Constructs a new ApplySchemaResponse. 35735 * @param [properties] Properties to set 35736 */ 35737 constructor(properties?: vtctldata.IApplySchemaResponse); 35738 35739 /** ApplySchemaResponse uuid_list. */ 35740 public uuid_list: string[]; 35741 35742 /** 35743 * Creates a new ApplySchemaResponse instance using the specified properties. 35744 * @param [properties] Properties to set 35745 * @returns ApplySchemaResponse instance 35746 */ 35747 public static create(properties?: vtctldata.IApplySchemaResponse): vtctldata.ApplySchemaResponse; 35748 35749 /** 35750 * Encodes the specified ApplySchemaResponse message. Does not implicitly {@link vtctldata.ApplySchemaResponse.verify|verify} messages. 35751 * @param message ApplySchemaResponse message or plain object to encode 35752 * @param [writer] Writer to encode to 35753 * @returns Writer 35754 */ 35755 public static encode(message: vtctldata.IApplySchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 35756 35757 /** 35758 * Encodes the specified ApplySchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ApplySchemaResponse.verify|verify} messages. 35759 * @param message ApplySchemaResponse message or plain object to encode 35760 * @param [writer] Writer to encode to 35761 * @returns Writer 35762 */ 35763 public static encodeDelimited(message: vtctldata.IApplySchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 35764 35765 /** 35766 * Decodes an ApplySchemaResponse message from the specified reader or buffer. 35767 * @param reader Reader or buffer to decode from 35768 * @param [length] Message length if known beforehand 35769 * @returns ApplySchemaResponse 35770 * @throws {Error} If the payload is not a reader or valid buffer 35771 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35772 */ 35773 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplySchemaResponse; 35774 35775 /** 35776 * Decodes an ApplySchemaResponse message from the specified reader or buffer, length delimited. 35777 * @param reader Reader or buffer to decode from 35778 * @returns ApplySchemaResponse 35779 * @throws {Error} If the payload is not a reader or valid buffer 35780 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35781 */ 35782 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplySchemaResponse; 35783 35784 /** 35785 * Verifies an ApplySchemaResponse message. 35786 * @param message Plain object to verify 35787 * @returns `null` if valid, otherwise the reason why it is not 35788 */ 35789 public static verify(message: { [k: string]: any }): (string|null); 35790 35791 /** 35792 * Creates an ApplySchemaResponse message from a plain object. Also converts values to their respective internal types. 35793 * @param object Plain object 35794 * @returns ApplySchemaResponse 35795 */ 35796 public static fromObject(object: { [k: string]: any }): vtctldata.ApplySchemaResponse; 35797 35798 /** 35799 * Creates a plain object from an ApplySchemaResponse message. Also converts values to other types if specified. 35800 * @param message ApplySchemaResponse 35801 * @param [options] Conversion options 35802 * @returns Plain object 35803 */ 35804 public static toObject(message: vtctldata.ApplySchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 35805 35806 /** 35807 * Converts this ApplySchemaResponse to JSON. 35808 * @returns JSON object 35809 */ 35810 public toJSON(): { [k: string]: any }; 35811 } 35812 35813 /** Properties of an ApplyVSchemaRequest. */ 35814 interface IApplyVSchemaRequest { 35815 35816 /** ApplyVSchemaRequest keyspace */ 35817 keyspace?: (string|null); 35818 35819 /** ApplyVSchemaRequest skip_rebuild */ 35820 skip_rebuild?: (boolean|null); 35821 35822 /** ApplyVSchemaRequest dry_run */ 35823 dry_run?: (boolean|null); 35824 35825 /** ApplyVSchemaRequest cells */ 35826 cells?: (string[]|null); 35827 35828 /** ApplyVSchemaRequest v_schema */ 35829 v_schema?: (vschema.IKeyspace|null); 35830 35831 /** ApplyVSchemaRequest sql */ 35832 sql?: (string|null); 35833 } 35834 35835 /** Represents an ApplyVSchemaRequest. */ 35836 class ApplyVSchemaRequest implements IApplyVSchemaRequest { 35837 35838 /** 35839 * Constructs a new ApplyVSchemaRequest. 35840 * @param [properties] Properties to set 35841 */ 35842 constructor(properties?: vtctldata.IApplyVSchemaRequest); 35843 35844 /** ApplyVSchemaRequest keyspace. */ 35845 public keyspace: string; 35846 35847 /** ApplyVSchemaRequest skip_rebuild. */ 35848 public skip_rebuild: boolean; 35849 35850 /** ApplyVSchemaRequest dry_run. */ 35851 public dry_run: boolean; 35852 35853 /** ApplyVSchemaRequest cells. */ 35854 public cells: string[]; 35855 35856 /** ApplyVSchemaRequest v_schema. */ 35857 public v_schema?: (vschema.IKeyspace|null); 35858 35859 /** ApplyVSchemaRequest sql. */ 35860 public sql: string; 35861 35862 /** 35863 * Creates a new ApplyVSchemaRequest instance using the specified properties. 35864 * @param [properties] Properties to set 35865 * @returns ApplyVSchemaRequest instance 35866 */ 35867 public static create(properties?: vtctldata.IApplyVSchemaRequest): vtctldata.ApplyVSchemaRequest; 35868 35869 /** 35870 * Encodes the specified ApplyVSchemaRequest message. Does not implicitly {@link vtctldata.ApplyVSchemaRequest.verify|verify} messages. 35871 * @param message ApplyVSchemaRequest message or plain object to encode 35872 * @param [writer] Writer to encode to 35873 * @returns Writer 35874 */ 35875 public static encode(message: vtctldata.IApplyVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 35876 35877 /** 35878 * Encodes the specified ApplyVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ApplyVSchemaRequest.verify|verify} messages. 35879 * @param message ApplyVSchemaRequest message or plain object to encode 35880 * @param [writer] Writer to encode to 35881 * @returns Writer 35882 */ 35883 public static encodeDelimited(message: vtctldata.IApplyVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 35884 35885 /** 35886 * Decodes an ApplyVSchemaRequest message from the specified reader or buffer. 35887 * @param reader Reader or buffer to decode from 35888 * @param [length] Message length if known beforehand 35889 * @returns ApplyVSchemaRequest 35890 * @throws {Error} If the payload is not a reader or valid buffer 35891 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35892 */ 35893 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyVSchemaRequest; 35894 35895 /** 35896 * Decodes an ApplyVSchemaRequest message from the specified reader or buffer, length delimited. 35897 * @param reader Reader or buffer to decode from 35898 * @returns ApplyVSchemaRequest 35899 * @throws {Error} If the payload is not a reader or valid buffer 35900 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35901 */ 35902 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyVSchemaRequest; 35903 35904 /** 35905 * Verifies an ApplyVSchemaRequest message. 35906 * @param message Plain object to verify 35907 * @returns `null` if valid, otherwise the reason why it is not 35908 */ 35909 public static verify(message: { [k: string]: any }): (string|null); 35910 35911 /** 35912 * Creates an ApplyVSchemaRequest message from a plain object. Also converts values to their respective internal types. 35913 * @param object Plain object 35914 * @returns ApplyVSchemaRequest 35915 */ 35916 public static fromObject(object: { [k: string]: any }): vtctldata.ApplyVSchemaRequest; 35917 35918 /** 35919 * Creates a plain object from an ApplyVSchemaRequest message. Also converts values to other types if specified. 35920 * @param message ApplyVSchemaRequest 35921 * @param [options] Conversion options 35922 * @returns Plain object 35923 */ 35924 public static toObject(message: vtctldata.ApplyVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 35925 35926 /** 35927 * Converts this ApplyVSchemaRequest to JSON. 35928 * @returns JSON object 35929 */ 35930 public toJSON(): { [k: string]: any }; 35931 } 35932 35933 /** Properties of an ApplyVSchemaResponse. */ 35934 interface IApplyVSchemaResponse { 35935 35936 /** ApplyVSchemaResponse v_schema */ 35937 v_schema?: (vschema.IKeyspace|null); 35938 } 35939 35940 /** Represents an ApplyVSchemaResponse. */ 35941 class ApplyVSchemaResponse implements IApplyVSchemaResponse { 35942 35943 /** 35944 * Constructs a new ApplyVSchemaResponse. 35945 * @param [properties] Properties to set 35946 */ 35947 constructor(properties?: vtctldata.IApplyVSchemaResponse); 35948 35949 /** ApplyVSchemaResponse v_schema. */ 35950 public v_schema?: (vschema.IKeyspace|null); 35951 35952 /** 35953 * Creates a new ApplyVSchemaResponse instance using the specified properties. 35954 * @param [properties] Properties to set 35955 * @returns ApplyVSchemaResponse instance 35956 */ 35957 public static create(properties?: vtctldata.IApplyVSchemaResponse): vtctldata.ApplyVSchemaResponse; 35958 35959 /** 35960 * Encodes the specified ApplyVSchemaResponse message. Does not implicitly {@link vtctldata.ApplyVSchemaResponse.verify|verify} messages. 35961 * @param message ApplyVSchemaResponse message or plain object to encode 35962 * @param [writer] Writer to encode to 35963 * @returns Writer 35964 */ 35965 public static encode(message: vtctldata.IApplyVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 35966 35967 /** 35968 * Encodes the specified ApplyVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ApplyVSchemaResponse.verify|verify} messages. 35969 * @param message ApplyVSchemaResponse message or plain object to encode 35970 * @param [writer] Writer to encode to 35971 * @returns Writer 35972 */ 35973 public static encodeDelimited(message: vtctldata.IApplyVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 35974 35975 /** 35976 * Decodes an ApplyVSchemaResponse message from the specified reader or buffer. 35977 * @param reader Reader or buffer to decode from 35978 * @param [length] Message length if known beforehand 35979 * @returns ApplyVSchemaResponse 35980 * @throws {Error} If the payload is not a reader or valid buffer 35981 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35982 */ 35983 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyVSchemaResponse; 35984 35985 /** 35986 * Decodes an ApplyVSchemaResponse message from the specified reader or buffer, length delimited. 35987 * @param reader Reader or buffer to decode from 35988 * @returns ApplyVSchemaResponse 35989 * @throws {Error} If the payload is not a reader or valid buffer 35990 * @throws {$protobuf.util.ProtocolError} If required fields are missing 35991 */ 35992 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyVSchemaResponse; 35993 35994 /** 35995 * Verifies an ApplyVSchemaResponse message. 35996 * @param message Plain object to verify 35997 * @returns `null` if valid, otherwise the reason why it is not 35998 */ 35999 public static verify(message: { [k: string]: any }): (string|null); 36000 36001 /** 36002 * Creates an ApplyVSchemaResponse message from a plain object. Also converts values to their respective internal types. 36003 * @param object Plain object 36004 * @returns ApplyVSchemaResponse 36005 */ 36006 public static fromObject(object: { [k: string]: any }): vtctldata.ApplyVSchemaResponse; 36007 36008 /** 36009 * Creates a plain object from an ApplyVSchemaResponse message. Also converts values to other types if specified. 36010 * @param message ApplyVSchemaResponse 36011 * @param [options] Conversion options 36012 * @returns Plain object 36013 */ 36014 public static toObject(message: vtctldata.ApplyVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 36015 36016 /** 36017 * Converts this ApplyVSchemaResponse to JSON. 36018 * @returns JSON object 36019 */ 36020 public toJSON(): { [k: string]: any }; 36021 } 36022 36023 /** Properties of a BackupRequest. */ 36024 interface IBackupRequest { 36025 36026 /** BackupRequest tablet_alias */ 36027 tablet_alias?: (topodata.ITabletAlias|null); 36028 36029 /** BackupRequest allow_primary */ 36030 allow_primary?: (boolean|null); 36031 36032 /** BackupRequest concurrency */ 36033 concurrency?: (number|Long|null); 36034 36035 /** BackupRequest incremental_from_pos */ 36036 incremental_from_pos?: (string|null); 36037 } 36038 36039 /** Represents a BackupRequest. */ 36040 class BackupRequest implements IBackupRequest { 36041 36042 /** 36043 * Constructs a new BackupRequest. 36044 * @param [properties] Properties to set 36045 */ 36046 constructor(properties?: vtctldata.IBackupRequest); 36047 36048 /** BackupRequest tablet_alias. */ 36049 public tablet_alias?: (topodata.ITabletAlias|null); 36050 36051 /** BackupRequest allow_primary. */ 36052 public allow_primary: boolean; 36053 36054 /** BackupRequest concurrency. */ 36055 public concurrency: (number|Long); 36056 36057 /** BackupRequest incremental_from_pos. */ 36058 public incremental_from_pos: string; 36059 36060 /** 36061 * Creates a new BackupRequest instance using the specified properties. 36062 * @param [properties] Properties to set 36063 * @returns BackupRequest instance 36064 */ 36065 public static create(properties?: vtctldata.IBackupRequest): vtctldata.BackupRequest; 36066 36067 /** 36068 * Encodes the specified BackupRequest message. Does not implicitly {@link vtctldata.BackupRequest.verify|verify} messages. 36069 * @param message BackupRequest message or plain object to encode 36070 * @param [writer] Writer to encode to 36071 * @returns Writer 36072 */ 36073 public static encode(message: vtctldata.IBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; 36074 36075 /** 36076 * Encodes the specified BackupRequest message, length delimited. Does not implicitly {@link vtctldata.BackupRequest.verify|verify} messages. 36077 * @param message BackupRequest message or plain object to encode 36078 * @param [writer] Writer to encode to 36079 * @returns Writer 36080 */ 36081 public static encodeDelimited(message: vtctldata.IBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; 36082 36083 /** 36084 * Decodes a BackupRequest message from the specified reader or buffer. 36085 * @param reader Reader or buffer to decode from 36086 * @param [length] Message length if known beforehand 36087 * @returns BackupRequest 36088 * @throws {Error} If the payload is not a reader or valid buffer 36089 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36090 */ 36091 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.BackupRequest; 36092 36093 /** 36094 * Decodes a BackupRequest message from the specified reader or buffer, length delimited. 36095 * @param reader Reader or buffer to decode from 36096 * @returns BackupRequest 36097 * @throws {Error} If the payload is not a reader or valid buffer 36098 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36099 */ 36100 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.BackupRequest; 36101 36102 /** 36103 * Verifies a BackupRequest message. 36104 * @param message Plain object to verify 36105 * @returns `null` if valid, otherwise the reason why it is not 36106 */ 36107 public static verify(message: { [k: string]: any }): (string|null); 36108 36109 /** 36110 * Creates a BackupRequest message from a plain object. Also converts values to their respective internal types. 36111 * @param object Plain object 36112 * @returns BackupRequest 36113 */ 36114 public static fromObject(object: { [k: string]: any }): vtctldata.BackupRequest; 36115 36116 /** 36117 * Creates a plain object from a BackupRequest message. Also converts values to other types if specified. 36118 * @param message BackupRequest 36119 * @param [options] Conversion options 36120 * @returns Plain object 36121 */ 36122 public static toObject(message: vtctldata.BackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 36123 36124 /** 36125 * Converts this BackupRequest to JSON. 36126 * @returns JSON object 36127 */ 36128 public toJSON(): { [k: string]: any }; 36129 } 36130 36131 /** Properties of a BackupResponse. */ 36132 interface IBackupResponse { 36133 36134 /** BackupResponse tablet_alias */ 36135 tablet_alias?: (topodata.ITabletAlias|null); 36136 36137 /** BackupResponse keyspace */ 36138 keyspace?: (string|null); 36139 36140 /** BackupResponse shard */ 36141 shard?: (string|null); 36142 36143 /** BackupResponse event */ 36144 event?: (logutil.IEvent|null); 36145 } 36146 36147 /** Represents a BackupResponse. */ 36148 class BackupResponse implements IBackupResponse { 36149 36150 /** 36151 * Constructs a new BackupResponse. 36152 * @param [properties] Properties to set 36153 */ 36154 constructor(properties?: vtctldata.IBackupResponse); 36155 36156 /** BackupResponse tablet_alias. */ 36157 public tablet_alias?: (topodata.ITabletAlias|null); 36158 36159 /** BackupResponse keyspace. */ 36160 public keyspace: string; 36161 36162 /** BackupResponse shard. */ 36163 public shard: string; 36164 36165 /** BackupResponse event. */ 36166 public event?: (logutil.IEvent|null); 36167 36168 /** 36169 * Creates a new BackupResponse instance using the specified properties. 36170 * @param [properties] Properties to set 36171 * @returns BackupResponse instance 36172 */ 36173 public static create(properties?: vtctldata.IBackupResponse): vtctldata.BackupResponse; 36174 36175 /** 36176 * Encodes the specified BackupResponse message. Does not implicitly {@link vtctldata.BackupResponse.verify|verify} messages. 36177 * @param message BackupResponse message or plain object to encode 36178 * @param [writer] Writer to encode to 36179 * @returns Writer 36180 */ 36181 public static encode(message: vtctldata.IBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; 36182 36183 /** 36184 * Encodes the specified BackupResponse message, length delimited. Does not implicitly {@link vtctldata.BackupResponse.verify|verify} messages. 36185 * @param message BackupResponse message or plain object to encode 36186 * @param [writer] Writer to encode to 36187 * @returns Writer 36188 */ 36189 public static encodeDelimited(message: vtctldata.IBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; 36190 36191 /** 36192 * Decodes a BackupResponse message from the specified reader or buffer. 36193 * @param reader Reader or buffer to decode from 36194 * @param [length] Message length if known beforehand 36195 * @returns BackupResponse 36196 * @throws {Error} If the payload is not a reader or valid buffer 36197 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36198 */ 36199 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.BackupResponse; 36200 36201 /** 36202 * Decodes a BackupResponse message from the specified reader or buffer, length delimited. 36203 * @param reader Reader or buffer to decode from 36204 * @returns BackupResponse 36205 * @throws {Error} If the payload is not a reader or valid buffer 36206 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36207 */ 36208 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.BackupResponse; 36209 36210 /** 36211 * Verifies a BackupResponse message. 36212 * @param message Plain object to verify 36213 * @returns `null` if valid, otherwise the reason why it is not 36214 */ 36215 public static verify(message: { [k: string]: any }): (string|null); 36216 36217 /** 36218 * Creates a BackupResponse message from a plain object. Also converts values to their respective internal types. 36219 * @param object Plain object 36220 * @returns BackupResponse 36221 */ 36222 public static fromObject(object: { [k: string]: any }): vtctldata.BackupResponse; 36223 36224 /** 36225 * Creates a plain object from a BackupResponse message. Also converts values to other types if specified. 36226 * @param message BackupResponse 36227 * @param [options] Conversion options 36228 * @returns Plain object 36229 */ 36230 public static toObject(message: vtctldata.BackupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 36231 36232 /** 36233 * Converts this BackupResponse to JSON. 36234 * @returns JSON object 36235 */ 36236 public toJSON(): { [k: string]: any }; 36237 } 36238 36239 /** Properties of a BackupShardRequest. */ 36240 interface IBackupShardRequest { 36241 36242 /** BackupShardRequest keyspace */ 36243 keyspace?: (string|null); 36244 36245 /** BackupShardRequest shard */ 36246 shard?: (string|null); 36247 36248 /** BackupShardRequest allow_primary */ 36249 allow_primary?: (boolean|null); 36250 36251 /** BackupShardRequest concurrency */ 36252 concurrency?: (number|Long|null); 36253 } 36254 36255 /** Represents a BackupShardRequest. */ 36256 class BackupShardRequest implements IBackupShardRequest { 36257 36258 /** 36259 * Constructs a new BackupShardRequest. 36260 * @param [properties] Properties to set 36261 */ 36262 constructor(properties?: vtctldata.IBackupShardRequest); 36263 36264 /** BackupShardRequest keyspace. */ 36265 public keyspace: string; 36266 36267 /** BackupShardRequest shard. */ 36268 public shard: string; 36269 36270 /** BackupShardRequest allow_primary. */ 36271 public allow_primary: boolean; 36272 36273 /** BackupShardRequest concurrency. */ 36274 public concurrency: (number|Long); 36275 36276 /** 36277 * Creates a new BackupShardRequest instance using the specified properties. 36278 * @param [properties] Properties to set 36279 * @returns BackupShardRequest instance 36280 */ 36281 public static create(properties?: vtctldata.IBackupShardRequest): vtctldata.BackupShardRequest; 36282 36283 /** 36284 * Encodes the specified BackupShardRequest message. Does not implicitly {@link vtctldata.BackupShardRequest.verify|verify} messages. 36285 * @param message BackupShardRequest message or plain object to encode 36286 * @param [writer] Writer to encode to 36287 * @returns Writer 36288 */ 36289 public static encode(message: vtctldata.IBackupShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 36290 36291 /** 36292 * Encodes the specified BackupShardRequest message, length delimited. Does not implicitly {@link vtctldata.BackupShardRequest.verify|verify} messages. 36293 * @param message BackupShardRequest message or plain object to encode 36294 * @param [writer] Writer to encode to 36295 * @returns Writer 36296 */ 36297 public static encodeDelimited(message: vtctldata.IBackupShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 36298 36299 /** 36300 * Decodes a BackupShardRequest message from the specified reader or buffer. 36301 * @param reader Reader or buffer to decode from 36302 * @param [length] Message length if known beforehand 36303 * @returns BackupShardRequest 36304 * @throws {Error} If the payload is not a reader or valid buffer 36305 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36306 */ 36307 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.BackupShardRequest; 36308 36309 /** 36310 * Decodes a BackupShardRequest message from the specified reader or buffer, length delimited. 36311 * @param reader Reader or buffer to decode from 36312 * @returns BackupShardRequest 36313 * @throws {Error} If the payload is not a reader or valid buffer 36314 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36315 */ 36316 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.BackupShardRequest; 36317 36318 /** 36319 * Verifies a BackupShardRequest message. 36320 * @param message Plain object to verify 36321 * @returns `null` if valid, otherwise the reason why it is not 36322 */ 36323 public static verify(message: { [k: string]: any }): (string|null); 36324 36325 /** 36326 * Creates a BackupShardRequest message from a plain object. Also converts values to their respective internal types. 36327 * @param object Plain object 36328 * @returns BackupShardRequest 36329 */ 36330 public static fromObject(object: { [k: string]: any }): vtctldata.BackupShardRequest; 36331 36332 /** 36333 * Creates a plain object from a BackupShardRequest message. Also converts values to other types if specified. 36334 * @param message BackupShardRequest 36335 * @param [options] Conversion options 36336 * @returns Plain object 36337 */ 36338 public static toObject(message: vtctldata.BackupShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 36339 36340 /** 36341 * Converts this BackupShardRequest to JSON. 36342 * @returns JSON object 36343 */ 36344 public toJSON(): { [k: string]: any }; 36345 } 36346 36347 /** Properties of a ChangeTabletTypeRequest. */ 36348 interface IChangeTabletTypeRequest { 36349 36350 /** ChangeTabletTypeRequest tablet_alias */ 36351 tablet_alias?: (topodata.ITabletAlias|null); 36352 36353 /** ChangeTabletTypeRequest db_type */ 36354 db_type?: (topodata.TabletType|null); 36355 36356 /** ChangeTabletTypeRequest dry_run */ 36357 dry_run?: (boolean|null); 36358 } 36359 36360 /** Represents a ChangeTabletTypeRequest. */ 36361 class ChangeTabletTypeRequest implements IChangeTabletTypeRequest { 36362 36363 /** 36364 * Constructs a new ChangeTabletTypeRequest. 36365 * @param [properties] Properties to set 36366 */ 36367 constructor(properties?: vtctldata.IChangeTabletTypeRequest); 36368 36369 /** ChangeTabletTypeRequest tablet_alias. */ 36370 public tablet_alias?: (topodata.ITabletAlias|null); 36371 36372 /** ChangeTabletTypeRequest db_type. */ 36373 public db_type: topodata.TabletType; 36374 36375 /** ChangeTabletTypeRequest dry_run. */ 36376 public dry_run: boolean; 36377 36378 /** 36379 * Creates a new ChangeTabletTypeRequest instance using the specified properties. 36380 * @param [properties] Properties to set 36381 * @returns ChangeTabletTypeRequest instance 36382 */ 36383 public static create(properties?: vtctldata.IChangeTabletTypeRequest): vtctldata.ChangeTabletTypeRequest; 36384 36385 /** 36386 * Encodes the specified ChangeTabletTypeRequest message. Does not implicitly {@link vtctldata.ChangeTabletTypeRequest.verify|verify} messages. 36387 * @param message ChangeTabletTypeRequest message or plain object to encode 36388 * @param [writer] Writer to encode to 36389 * @returns Writer 36390 */ 36391 public static encode(message: vtctldata.IChangeTabletTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer; 36392 36393 /** 36394 * Encodes the specified ChangeTabletTypeRequest message, length delimited. Does not implicitly {@link vtctldata.ChangeTabletTypeRequest.verify|verify} messages. 36395 * @param message ChangeTabletTypeRequest message or plain object to encode 36396 * @param [writer] Writer to encode to 36397 * @returns Writer 36398 */ 36399 public static encodeDelimited(message: vtctldata.IChangeTabletTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer; 36400 36401 /** 36402 * Decodes a ChangeTabletTypeRequest message from the specified reader or buffer. 36403 * @param reader Reader or buffer to decode from 36404 * @param [length] Message length if known beforehand 36405 * @returns ChangeTabletTypeRequest 36406 * @throws {Error} If the payload is not a reader or valid buffer 36407 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36408 */ 36409 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ChangeTabletTypeRequest; 36410 36411 /** 36412 * Decodes a ChangeTabletTypeRequest message from the specified reader or buffer, length delimited. 36413 * @param reader Reader or buffer to decode from 36414 * @returns ChangeTabletTypeRequest 36415 * @throws {Error} If the payload is not a reader or valid buffer 36416 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36417 */ 36418 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ChangeTabletTypeRequest; 36419 36420 /** 36421 * Verifies a ChangeTabletTypeRequest message. 36422 * @param message Plain object to verify 36423 * @returns `null` if valid, otherwise the reason why it is not 36424 */ 36425 public static verify(message: { [k: string]: any }): (string|null); 36426 36427 /** 36428 * Creates a ChangeTabletTypeRequest message from a plain object. Also converts values to their respective internal types. 36429 * @param object Plain object 36430 * @returns ChangeTabletTypeRequest 36431 */ 36432 public static fromObject(object: { [k: string]: any }): vtctldata.ChangeTabletTypeRequest; 36433 36434 /** 36435 * Creates a plain object from a ChangeTabletTypeRequest message. Also converts values to other types if specified. 36436 * @param message ChangeTabletTypeRequest 36437 * @param [options] Conversion options 36438 * @returns Plain object 36439 */ 36440 public static toObject(message: vtctldata.ChangeTabletTypeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 36441 36442 /** 36443 * Converts this ChangeTabletTypeRequest to JSON. 36444 * @returns JSON object 36445 */ 36446 public toJSON(): { [k: string]: any }; 36447 } 36448 36449 /** Properties of a ChangeTabletTypeResponse. */ 36450 interface IChangeTabletTypeResponse { 36451 36452 /** ChangeTabletTypeResponse before_tablet */ 36453 before_tablet?: (topodata.ITablet|null); 36454 36455 /** ChangeTabletTypeResponse after_tablet */ 36456 after_tablet?: (topodata.ITablet|null); 36457 36458 /** ChangeTabletTypeResponse was_dry_run */ 36459 was_dry_run?: (boolean|null); 36460 } 36461 36462 /** Represents a ChangeTabletTypeResponse. */ 36463 class ChangeTabletTypeResponse implements IChangeTabletTypeResponse { 36464 36465 /** 36466 * Constructs a new ChangeTabletTypeResponse. 36467 * @param [properties] Properties to set 36468 */ 36469 constructor(properties?: vtctldata.IChangeTabletTypeResponse); 36470 36471 /** ChangeTabletTypeResponse before_tablet. */ 36472 public before_tablet?: (topodata.ITablet|null); 36473 36474 /** ChangeTabletTypeResponse after_tablet. */ 36475 public after_tablet?: (topodata.ITablet|null); 36476 36477 /** ChangeTabletTypeResponse was_dry_run. */ 36478 public was_dry_run: boolean; 36479 36480 /** 36481 * Creates a new ChangeTabletTypeResponse instance using the specified properties. 36482 * @param [properties] Properties to set 36483 * @returns ChangeTabletTypeResponse instance 36484 */ 36485 public static create(properties?: vtctldata.IChangeTabletTypeResponse): vtctldata.ChangeTabletTypeResponse; 36486 36487 /** 36488 * Encodes the specified ChangeTabletTypeResponse message. Does not implicitly {@link vtctldata.ChangeTabletTypeResponse.verify|verify} messages. 36489 * @param message ChangeTabletTypeResponse message or plain object to encode 36490 * @param [writer] Writer to encode to 36491 * @returns Writer 36492 */ 36493 public static encode(message: vtctldata.IChangeTabletTypeResponse, writer?: $protobuf.Writer): $protobuf.Writer; 36494 36495 /** 36496 * Encodes the specified ChangeTabletTypeResponse message, length delimited. Does not implicitly {@link vtctldata.ChangeTabletTypeResponse.verify|verify} messages. 36497 * @param message ChangeTabletTypeResponse message or plain object to encode 36498 * @param [writer] Writer to encode to 36499 * @returns Writer 36500 */ 36501 public static encodeDelimited(message: vtctldata.IChangeTabletTypeResponse, writer?: $protobuf.Writer): $protobuf.Writer; 36502 36503 /** 36504 * Decodes a ChangeTabletTypeResponse message from the specified reader or buffer. 36505 * @param reader Reader or buffer to decode from 36506 * @param [length] Message length if known beforehand 36507 * @returns ChangeTabletTypeResponse 36508 * @throws {Error} If the payload is not a reader or valid buffer 36509 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36510 */ 36511 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ChangeTabletTypeResponse; 36512 36513 /** 36514 * Decodes a ChangeTabletTypeResponse message from the specified reader or buffer, length delimited. 36515 * @param reader Reader or buffer to decode from 36516 * @returns ChangeTabletTypeResponse 36517 * @throws {Error} If the payload is not a reader or valid buffer 36518 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36519 */ 36520 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ChangeTabletTypeResponse; 36521 36522 /** 36523 * Verifies a ChangeTabletTypeResponse message. 36524 * @param message Plain object to verify 36525 * @returns `null` if valid, otherwise the reason why it is not 36526 */ 36527 public static verify(message: { [k: string]: any }): (string|null); 36528 36529 /** 36530 * Creates a ChangeTabletTypeResponse message from a plain object. Also converts values to their respective internal types. 36531 * @param object Plain object 36532 * @returns ChangeTabletTypeResponse 36533 */ 36534 public static fromObject(object: { [k: string]: any }): vtctldata.ChangeTabletTypeResponse; 36535 36536 /** 36537 * Creates a plain object from a ChangeTabletTypeResponse message. Also converts values to other types if specified. 36538 * @param message ChangeTabletTypeResponse 36539 * @param [options] Conversion options 36540 * @returns Plain object 36541 */ 36542 public static toObject(message: vtctldata.ChangeTabletTypeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 36543 36544 /** 36545 * Converts this ChangeTabletTypeResponse to JSON. 36546 * @returns JSON object 36547 */ 36548 public toJSON(): { [k: string]: any }; 36549 } 36550 36551 /** Properties of a CreateKeyspaceRequest. */ 36552 interface ICreateKeyspaceRequest { 36553 36554 /** CreateKeyspaceRequest name */ 36555 name?: (string|null); 36556 36557 /** CreateKeyspaceRequest force */ 36558 force?: (boolean|null); 36559 36560 /** CreateKeyspaceRequest allow_empty_v_schema */ 36561 allow_empty_v_schema?: (boolean|null); 36562 36563 /** CreateKeyspaceRequest served_froms */ 36564 served_froms?: (topodata.Keyspace.IServedFrom[]|null); 36565 36566 /** CreateKeyspaceRequest type */ 36567 type?: (topodata.KeyspaceType|null); 36568 36569 /** CreateKeyspaceRequest base_keyspace */ 36570 base_keyspace?: (string|null); 36571 36572 /** CreateKeyspaceRequest snapshot_time */ 36573 snapshot_time?: (vttime.ITime|null); 36574 36575 /** CreateKeyspaceRequest durability_policy */ 36576 durability_policy?: (string|null); 36577 } 36578 36579 /** Represents a CreateKeyspaceRequest. */ 36580 class CreateKeyspaceRequest implements ICreateKeyspaceRequest { 36581 36582 /** 36583 * Constructs a new CreateKeyspaceRequest. 36584 * @param [properties] Properties to set 36585 */ 36586 constructor(properties?: vtctldata.ICreateKeyspaceRequest); 36587 36588 /** CreateKeyspaceRequest name. */ 36589 public name: string; 36590 36591 /** CreateKeyspaceRequest force. */ 36592 public force: boolean; 36593 36594 /** CreateKeyspaceRequest allow_empty_v_schema. */ 36595 public allow_empty_v_schema: boolean; 36596 36597 /** CreateKeyspaceRequest served_froms. */ 36598 public served_froms: topodata.Keyspace.IServedFrom[]; 36599 36600 /** CreateKeyspaceRequest type. */ 36601 public type: topodata.KeyspaceType; 36602 36603 /** CreateKeyspaceRequest base_keyspace. */ 36604 public base_keyspace: string; 36605 36606 /** CreateKeyspaceRequest snapshot_time. */ 36607 public snapshot_time?: (vttime.ITime|null); 36608 36609 /** CreateKeyspaceRequest durability_policy. */ 36610 public durability_policy: string; 36611 36612 /** 36613 * Creates a new CreateKeyspaceRequest instance using the specified properties. 36614 * @param [properties] Properties to set 36615 * @returns CreateKeyspaceRequest instance 36616 */ 36617 public static create(properties?: vtctldata.ICreateKeyspaceRequest): vtctldata.CreateKeyspaceRequest; 36618 36619 /** 36620 * Encodes the specified CreateKeyspaceRequest message. Does not implicitly {@link vtctldata.CreateKeyspaceRequest.verify|verify} messages. 36621 * @param message CreateKeyspaceRequest message or plain object to encode 36622 * @param [writer] Writer to encode to 36623 * @returns Writer 36624 */ 36625 public static encode(message: vtctldata.ICreateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 36626 36627 /** 36628 * Encodes the specified CreateKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.CreateKeyspaceRequest.verify|verify} messages. 36629 * @param message CreateKeyspaceRequest message or plain object to encode 36630 * @param [writer] Writer to encode to 36631 * @returns Writer 36632 */ 36633 public static encodeDelimited(message: vtctldata.ICreateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 36634 36635 /** 36636 * Decodes a CreateKeyspaceRequest message from the specified reader or buffer. 36637 * @param reader Reader or buffer to decode from 36638 * @param [length] Message length if known beforehand 36639 * @returns CreateKeyspaceRequest 36640 * @throws {Error} If the payload is not a reader or valid buffer 36641 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36642 */ 36643 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateKeyspaceRequest; 36644 36645 /** 36646 * Decodes a CreateKeyspaceRequest message from the specified reader or buffer, length delimited. 36647 * @param reader Reader or buffer to decode from 36648 * @returns CreateKeyspaceRequest 36649 * @throws {Error} If the payload is not a reader or valid buffer 36650 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36651 */ 36652 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateKeyspaceRequest; 36653 36654 /** 36655 * Verifies a CreateKeyspaceRequest message. 36656 * @param message Plain object to verify 36657 * @returns `null` if valid, otherwise the reason why it is not 36658 */ 36659 public static verify(message: { [k: string]: any }): (string|null); 36660 36661 /** 36662 * Creates a CreateKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 36663 * @param object Plain object 36664 * @returns CreateKeyspaceRequest 36665 */ 36666 public static fromObject(object: { [k: string]: any }): vtctldata.CreateKeyspaceRequest; 36667 36668 /** 36669 * Creates a plain object from a CreateKeyspaceRequest message. Also converts values to other types if specified. 36670 * @param message CreateKeyspaceRequest 36671 * @param [options] Conversion options 36672 * @returns Plain object 36673 */ 36674 public static toObject(message: vtctldata.CreateKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 36675 36676 /** 36677 * Converts this CreateKeyspaceRequest to JSON. 36678 * @returns JSON object 36679 */ 36680 public toJSON(): { [k: string]: any }; 36681 } 36682 36683 /** Properties of a CreateKeyspaceResponse. */ 36684 interface ICreateKeyspaceResponse { 36685 36686 /** CreateKeyspaceResponse keyspace */ 36687 keyspace?: (vtctldata.IKeyspace|null); 36688 } 36689 36690 /** Represents a CreateKeyspaceResponse. */ 36691 class CreateKeyspaceResponse implements ICreateKeyspaceResponse { 36692 36693 /** 36694 * Constructs a new CreateKeyspaceResponse. 36695 * @param [properties] Properties to set 36696 */ 36697 constructor(properties?: vtctldata.ICreateKeyspaceResponse); 36698 36699 /** CreateKeyspaceResponse keyspace. */ 36700 public keyspace?: (vtctldata.IKeyspace|null); 36701 36702 /** 36703 * Creates a new CreateKeyspaceResponse instance using the specified properties. 36704 * @param [properties] Properties to set 36705 * @returns CreateKeyspaceResponse instance 36706 */ 36707 public static create(properties?: vtctldata.ICreateKeyspaceResponse): vtctldata.CreateKeyspaceResponse; 36708 36709 /** 36710 * Encodes the specified CreateKeyspaceResponse message. Does not implicitly {@link vtctldata.CreateKeyspaceResponse.verify|verify} messages. 36711 * @param message CreateKeyspaceResponse message or plain object to encode 36712 * @param [writer] Writer to encode to 36713 * @returns Writer 36714 */ 36715 public static encode(message: vtctldata.ICreateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 36716 36717 /** 36718 * Encodes the specified CreateKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.CreateKeyspaceResponse.verify|verify} messages. 36719 * @param message CreateKeyspaceResponse message or plain object to encode 36720 * @param [writer] Writer to encode to 36721 * @returns Writer 36722 */ 36723 public static encodeDelimited(message: vtctldata.ICreateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 36724 36725 /** 36726 * Decodes a CreateKeyspaceResponse message from the specified reader or buffer. 36727 * @param reader Reader or buffer to decode from 36728 * @param [length] Message length if known beforehand 36729 * @returns CreateKeyspaceResponse 36730 * @throws {Error} If the payload is not a reader or valid buffer 36731 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36732 */ 36733 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateKeyspaceResponse; 36734 36735 /** 36736 * Decodes a CreateKeyspaceResponse message from the specified reader or buffer, length delimited. 36737 * @param reader Reader or buffer to decode from 36738 * @returns CreateKeyspaceResponse 36739 * @throws {Error} If the payload is not a reader or valid buffer 36740 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36741 */ 36742 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateKeyspaceResponse; 36743 36744 /** 36745 * Verifies a CreateKeyspaceResponse message. 36746 * @param message Plain object to verify 36747 * @returns `null` if valid, otherwise the reason why it is not 36748 */ 36749 public static verify(message: { [k: string]: any }): (string|null); 36750 36751 /** 36752 * Creates a CreateKeyspaceResponse message from a plain object. Also converts values to their respective internal types. 36753 * @param object Plain object 36754 * @returns CreateKeyspaceResponse 36755 */ 36756 public static fromObject(object: { [k: string]: any }): vtctldata.CreateKeyspaceResponse; 36757 36758 /** 36759 * Creates a plain object from a CreateKeyspaceResponse message. Also converts values to other types if specified. 36760 * @param message CreateKeyspaceResponse 36761 * @param [options] Conversion options 36762 * @returns Plain object 36763 */ 36764 public static toObject(message: vtctldata.CreateKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 36765 36766 /** 36767 * Converts this CreateKeyspaceResponse to JSON. 36768 * @returns JSON object 36769 */ 36770 public toJSON(): { [k: string]: any }; 36771 } 36772 36773 /** Properties of a CreateShardRequest. */ 36774 interface ICreateShardRequest { 36775 36776 /** CreateShardRequest keyspace */ 36777 keyspace?: (string|null); 36778 36779 /** CreateShardRequest shard_name */ 36780 shard_name?: (string|null); 36781 36782 /** CreateShardRequest force */ 36783 force?: (boolean|null); 36784 36785 /** CreateShardRequest include_parent */ 36786 include_parent?: (boolean|null); 36787 } 36788 36789 /** Represents a CreateShardRequest. */ 36790 class CreateShardRequest implements ICreateShardRequest { 36791 36792 /** 36793 * Constructs a new CreateShardRequest. 36794 * @param [properties] Properties to set 36795 */ 36796 constructor(properties?: vtctldata.ICreateShardRequest); 36797 36798 /** CreateShardRequest keyspace. */ 36799 public keyspace: string; 36800 36801 /** CreateShardRequest shard_name. */ 36802 public shard_name: string; 36803 36804 /** CreateShardRequest force. */ 36805 public force: boolean; 36806 36807 /** CreateShardRequest include_parent. */ 36808 public include_parent: boolean; 36809 36810 /** 36811 * Creates a new CreateShardRequest instance using the specified properties. 36812 * @param [properties] Properties to set 36813 * @returns CreateShardRequest instance 36814 */ 36815 public static create(properties?: vtctldata.ICreateShardRequest): vtctldata.CreateShardRequest; 36816 36817 /** 36818 * Encodes the specified CreateShardRequest message. Does not implicitly {@link vtctldata.CreateShardRequest.verify|verify} messages. 36819 * @param message CreateShardRequest message or plain object to encode 36820 * @param [writer] Writer to encode to 36821 * @returns Writer 36822 */ 36823 public static encode(message: vtctldata.ICreateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 36824 36825 /** 36826 * Encodes the specified CreateShardRequest message, length delimited. Does not implicitly {@link vtctldata.CreateShardRequest.verify|verify} messages. 36827 * @param message CreateShardRequest message or plain object to encode 36828 * @param [writer] Writer to encode to 36829 * @returns Writer 36830 */ 36831 public static encodeDelimited(message: vtctldata.ICreateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 36832 36833 /** 36834 * Decodes a CreateShardRequest message from the specified reader or buffer. 36835 * @param reader Reader or buffer to decode from 36836 * @param [length] Message length if known beforehand 36837 * @returns CreateShardRequest 36838 * @throws {Error} If the payload is not a reader or valid buffer 36839 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36840 */ 36841 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateShardRequest; 36842 36843 /** 36844 * Decodes a CreateShardRequest message from the specified reader or buffer, length delimited. 36845 * @param reader Reader or buffer to decode from 36846 * @returns CreateShardRequest 36847 * @throws {Error} If the payload is not a reader or valid buffer 36848 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36849 */ 36850 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateShardRequest; 36851 36852 /** 36853 * Verifies a CreateShardRequest message. 36854 * @param message Plain object to verify 36855 * @returns `null` if valid, otherwise the reason why it is not 36856 */ 36857 public static verify(message: { [k: string]: any }): (string|null); 36858 36859 /** 36860 * Creates a CreateShardRequest message from a plain object. Also converts values to their respective internal types. 36861 * @param object Plain object 36862 * @returns CreateShardRequest 36863 */ 36864 public static fromObject(object: { [k: string]: any }): vtctldata.CreateShardRequest; 36865 36866 /** 36867 * Creates a plain object from a CreateShardRequest message. Also converts values to other types if specified. 36868 * @param message CreateShardRequest 36869 * @param [options] Conversion options 36870 * @returns Plain object 36871 */ 36872 public static toObject(message: vtctldata.CreateShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 36873 36874 /** 36875 * Converts this CreateShardRequest to JSON. 36876 * @returns JSON object 36877 */ 36878 public toJSON(): { [k: string]: any }; 36879 } 36880 36881 /** Properties of a CreateShardResponse. */ 36882 interface ICreateShardResponse { 36883 36884 /** CreateShardResponse keyspace */ 36885 keyspace?: (vtctldata.IKeyspace|null); 36886 36887 /** CreateShardResponse shard */ 36888 shard?: (vtctldata.IShard|null); 36889 36890 /** CreateShardResponse shard_already_exists */ 36891 shard_already_exists?: (boolean|null); 36892 } 36893 36894 /** Represents a CreateShardResponse. */ 36895 class CreateShardResponse implements ICreateShardResponse { 36896 36897 /** 36898 * Constructs a new CreateShardResponse. 36899 * @param [properties] Properties to set 36900 */ 36901 constructor(properties?: vtctldata.ICreateShardResponse); 36902 36903 /** CreateShardResponse keyspace. */ 36904 public keyspace?: (vtctldata.IKeyspace|null); 36905 36906 /** CreateShardResponse shard. */ 36907 public shard?: (vtctldata.IShard|null); 36908 36909 /** CreateShardResponse shard_already_exists. */ 36910 public shard_already_exists: boolean; 36911 36912 /** 36913 * Creates a new CreateShardResponse instance using the specified properties. 36914 * @param [properties] Properties to set 36915 * @returns CreateShardResponse instance 36916 */ 36917 public static create(properties?: vtctldata.ICreateShardResponse): vtctldata.CreateShardResponse; 36918 36919 /** 36920 * Encodes the specified CreateShardResponse message. Does not implicitly {@link vtctldata.CreateShardResponse.verify|verify} messages. 36921 * @param message CreateShardResponse message or plain object to encode 36922 * @param [writer] Writer to encode to 36923 * @returns Writer 36924 */ 36925 public static encode(message: vtctldata.ICreateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 36926 36927 /** 36928 * Encodes the specified CreateShardResponse message, length delimited. Does not implicitly {@link vtctldata.CreateShardResponse.verify|verify} messages. 36929 * @param message CreateShardResponse message or plain object to encode 36930 * @param [writer] Writer to encode to 36931 * @returns Writer 36932 */ 36933 public static encodeDelimited(message: vtctldata.ICreateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 36934 36935 /** 36936 * Decodes a CreateShardResponse message from the specified reader or buffer. 36937 * @param reader Reader or buffer to decode from 36938 * @param [length] Message length if known beforehand 36939 * @returns CreateShardResponse 36940 * @throws {Error} If the payload is not a reader or valid buffer 36941 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36942 */ 36943 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateShardResponse; 36944 36945 /** 36946 * Decodes a CreateShardResponse message from the specified reader or buffer, length delimited. 36947 * @param reader Reader or buffer to decode from 36948 * @returns CreateShardResponse 36949 * @throws {Error} If the payload is not a reader or valid buffer 36950 * @throws {$protobuf.util.ProtocolError} If required fields are missing 36951 */ 36952 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateShardResponse; 36953 36954 /** 36955 * Verifies a CreateShardResponse message. 36956 * @param message Plain object to verify 36957 * @returns `null` if valid, otherwise the reason why it is not 36958 */ 36959 public static verify(message: { [k: string]: any }): (string|null); 36960 36961 /** 36962 * Creates a CreateShardResponse message from a plain object. Also converts values to their respective internal types. 36963 * @param object Plain object 36964 * @returns CreateShardResponse 36965 */ 36966 public static fromObject(object: { [k: string]: any }): vtctldata.CreateShardResponse; 36967 36968 /** 36969 * Creates a plain object from a CreateShardResponse message. Also converts values to other types if specified. 36970 * @param message CreateShardResponse 36971 * @param [options] Conversion options 36972 * @returns Plain object 36973 */ 36974 public static toObject(message: vtctldata.CreateShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 36975 36976 /** 36977 * Converts this CreateShardResponse to JSON. 36978 * @returns JSON object 36979 */ 36980 public toJSON(): { [k: string]: any }; 36981 } 36982 36983 /** Properties of a DeleteCellInfoRequest. */ 36984 interface IDeleteCellInfoRequest { 36985 36986 /** DeleteCellInfoRequest name */ 36987 name?: (string|null); 36988 36989 /** DeleteCellInfoRequest force */ 36990 force?: (boolean|null); 36991 } 36992 36993 /** Represents a DeleteCellInfoRequest. */ 36994 class DeleteCellInfoRequest implements IDeleteCellInfoRequest { 36995 36996 /** 36997 * Constructs a new DeleteCellInfoRequest. 36998 * @param [properties] Properties to set 36999 */ 37000 constructor(properties?: vtctldata.IDeleteCellInfoRequest); 37001 37002 /** DeleteCellInfoRequest name. */ 37003 public name: string; 37004 37005 /** DeleteCellInfoRequest force. */ 37006 public force: boolean; 37007 37008 /** 37009 * Creates a new DeleteCellInfoRequest instance using the specified properties. 37010 * @param [properties] Properties to set 37011 * @returns DeleteCellInfoRequest instance 37012 */ 37013 public static create(properties?: vtctldata.IDeleteCellInfoRequest): vtctldata.DeleteCellInfoRequest; 37014 37015 /** 37016 * Encodes the specified DeleteCellInfoRequest message. Does not implicitly {@link vtctldata.DeleteCellInfoRequest.verify|verify} messages. 37017 * @param message DeleteCellInfoRequest message or plain object to encode 37018 * @param [writer] Writer to encode to 37019 * @returns Writer 37020 */ 37021 public static encode(message: vtctldata.IDeleteCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37022 37023 /** 37024 * Encodes the specified DeleteCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteCellInfoRequest.verify|verify} messages. 37025 * @param message DeleteCellInfoRequest message or plain object to encode 37026 * @param [writer] Writer to encode to 37027 * @returns Writer 37028 */ 37029 public static encodeDelimited(message: vtctldata.IDeleteCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37030 37031 /** 37032 * Decodes a DeleteCellInfoRequest message from the specified reader or buffer. 37033 * @param reader Reader or buffer to decode from 37034 * @param [length] Message length if known beforehand 37035 * @returns DeleteCellInfoRequest 37036 * @throws {Error} If the payload is not a reader or valid buffer 37037 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37038 */ 37039 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellInfoRequest; 37040 37041 /** 37042 * Decodes a DeleteCellInfoRequest message from the specified reader or buffer, length delimited. 37043 * @param reader Reader or buffer to decode from 37044 * @returns DeleteCellInfoRequest 37045 * @throws {Error} If the payload is not a reader or valid buffer 37046 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37047 */ 37048 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellInfoRequest; 37049 37050 /** 37051 * Verifies a DeleteCellInfoRequest message. 37052 * @param message Plain object to verify 37053 * @returns `null` if valid, otherwise the reason why it is not 37054 */ 37055 public static verify(message: { [k: string]: any }): (string|null); 37056 37057 /** 37058 * Creates a DeleteCellInfoRequest message from a plain object. Also converts values to their respective internal types. 37059 * @param object Plain object 37060 * @returns DeleteCellInfoRequest 37061 */ 37062 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellInfoRequest; 37063 37064 /** 37065 * Creates a plain object from a DeleteCellInfoRequest message. Also converts values to other types if specified. 37066 * @param message DeleteCellInfoRequest 37067 * @param [options] Conversion options 37068 * @returns Plain object 37069 */ 37070 public static toObject(message: vtctldata.DeleteCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 37071 37072 /** 37073 * Converts this DeleteCellInfoRequest to JSON. 37074 * @returns JSON object 37075 */ 37076 public toJSON(): { [k: string]: any }; 37077 } 37078 37079 /** Properties of a DeleteCellInfoResponse. */ 37080 interface IDeleteCellInfoResponse { 37081 } 37082 37083 /** Represents a DeleteCellInfoResponse. */ 37084 class DeleteCellInfoResponse implements IDeleteCellInfoResponse { 37085 37086 /** 37087 * Constructs a new DeleteCellInfoResponse. 37088 * @param [properties] Properties to set 37089 */ 37090 constructor(properties?: vtctldata.IDeleteCellInfoResponse); 37091 37092 /** 37093 * Creates a new DeleteCellInfoResponse instance using the specified properties. 37094 * @param [properties] Properties to set 37095 * @returns DeleteCellInfoResponse instance 37096 */ 37097 public static create(properties?: vtctldata.IDeleteCellInfoResponse): vtctldata.DeleteCellInfoResponse; 37098 37099 /** 37100 * Encodes the specified DeleteCellInfoResponse message. Does not implicitly {@link vtctldata.DeleteCellInfoResponse.verify|verify} messages. 37101 * @param message DeleteCellInfoResponse message or plain object to encode 37102 * @param [writer] Writer to encode to 37103 * @returns Writer 37104 */ 37105 public static encode(message: vtctldata.IDeleteCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; 37106 37107 /** 37108 * Encodes the specified DeleteCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteCellInfoResponse.verify|verify} messages. 37109 * @param message DeleteCellInfoResponse message or plain object to encode 37110 * @param [writer] Writer to encode to 37111 * @returns Writer 37112 */ 37113 public static encodeDelimited(message: vtctldata.IDeleteCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; 37114 37115 /** 37116 * Decodes a DeleteCellInfoResponse message from the specified reader or buffer. 37117 * @param reader Reader or buffer to decode from 37118 * @param [length] Message length if known beforehand 37119 * @returns DeleteCellInfoResponse 37120 * @throws {Error} If the payload is not a reader or valid buffer 37121 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37122 */ 37123 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellInfoResponse; 37124 37125 /** 37126 * Decodes a DeleteCellInfoResponse message from the specified reader or buffer, length delimited. 37127 * @param reader Reader or buffer to decode from 37128 * @returns DeleteCellInfoResponse 37129 * @throws {Error} If the payload is not a reader or valid buffer 37130 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37131 */ 37132 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellInfoResponse; 37133 37134 /** 37135 * Verifies a DeleteCellInfoResponse message. 37136 * @param message Plain object to verify 37137 * @returns `null` if valid, otherwise the reason why it is not 37138 */ 37139 public static verify(message: { [k: string]: any }): (string|null); 37140 37141 /** 37142 * Creates a DeleteCellInfoResponse message from a plain object. Also converts values to their respective internal types. 37143 * @param object Plain object 37144 * @returns DeleteCellInfoResponse 37145 */ 37146 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellInfoResponse; 37147 37148 /** 37149 * Creates a plain object from a DeleteCellInfoResponse message. Also converts values to other types if specified. 37150 * @param message DeleteCellInfoResponse 37151 * @param [options] Conversion options 37152 * @returns Plain object 37153 */ 37154 public static toObject(message: vtctldata.DeleteCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 37155 37156 /** 37157 * Converts this DeleteCellInfoResponse to JSON. 37158 * @returns JSON object 37159 */ 37160 public toJSON(): { [k: string]: any }; 37161 } 37162 37163 /** Properties of a DeleteCellsAliasRequest. */ 37164 interface IDeleteCellsAliasRequest { 37165 37166 /** DeleteCellsAliasRequest name */ 37167 name?: (string|null); 37168 } 37169 37170 /** Represents a DeleteCellsAliasRequest. */ 37171 class DeleteCellsAliasRequest implements IDeleteCellsAliasRequest { 37172 37173 /** 37174 * Constructs a new DeleteCellsAliasRequest. 37175 * @param [properties] Properties to set 37176 */ 37177 constructor(properties?: vtctldata.IDeleteCellsAliasRequest); 37178 37179 /** DeleteCellsAliasRequest name. */ 37180 public name: string; 37181 37182 /** 37183 * Creates a new DeleteCellsAliasRequest instance using the specified properties. 37184 * @param [properties] Properties to set 37185 * @returns DeleteCellsAliasRequest instance 37186 */ 37187 public static create(properties?: vtctldata.IDeleteCellsAliasRequest): vtctldata.DeleteCellsAliasRequest; 37188 37189 /** 37190 * Encodes the specified DeleteCellsAliasRequest message. Does not implicitly {@link vtctldata.DeleteCellsAliasRequest.verify|verify} messages. 37191 * @param message DeleteCellsAliasRequest message or plain object to encode 37192 * @param [writer] Writer to encode to 37193 * @returns Writer 37194 */ 37195 public static encode(message: vtctldata.IDeleteCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37196 37197 /** 37198 * Encodes the specified DeleteCellsAliasRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteCellsAliasRequest.verify|verify} messages. 37199 * @param message DeleteCellsAliasRequest message or plain object to encode 37200 * @param [writer] Writer to encode to 37201 * @returns Writer 37202 */ 37203 public static encodeDelimited(message: vtctldata.IDeleteCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37204 37205 /** 37206 * Decodes a DeleteCellsAliasRequest message from the specified reader or buffer. 37207 * @param reader Reader or buffer to decode from 37208 * @param [length] Message length if known beforehand 37209 * @returns DeleteCellsAliasRequest 37210 * @throws {Error} If the payload is not a reader or valid buffer 37211 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37212 */ 37213 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellsAliasRequest; 37214 37215 /** 37216 * Decodes a DeleteCellsAliasRequest message from the specified reader or buffer, length delimited. 37217 * @param reader Reader or buffer to decode from 37218 * @returns DeleteCellsAliasRequest 37219 * @throws {Error} If the payload is not a reader or valid buffer 37220 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37221 */ 37222 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellsAliasRequest; 37223 37224 /** 37225 * Verifies a DeleteCellsAliasRequest message. 37226 * @param message Plain object to verify 37227 * @returns `null` if valid, otherwise the reason why it is not 37228 */ 37229 public static verify(message: { [k: string]: any }): (string|null); 37230 37231 /** 37232 * Creates a DeleteCellsAliasRequest message from a plain object. Also converts values to their respective internal types. 37233 * @param object Plain object 37234 * @returns DeleteCellsAliasRequest 37235 */ 37236 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellsAliasRequest; 37237 37238 /** 37239 * Creates a plain object from a DeleteCellsAliasRequest message. Also converts values to other types if specified. 37240 * @param message DeleteCellsAliasRequest 37241 * @param [options] Conversion options 37242 * @returns Plain object 37243 */ 37244 public static toObject(message: vtctldata.DeleteCellsAliasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 37245 37246 /** 37247 * Converts this DeleteCellsAliasRequest to JSON. 37248 * @returns JSON object 37249 */ 37250 public toJSON(): { [k: string]: any }; 37251 } 37252 37253 /** Properties of a DeleteCellsAliasResponse. */ 37254 interface IDeleteCellsAliasResponse { 37255 } 37256 37257 /** Represents a DeleteCellsAliasResponse. */ 37258 class DeleteCellsAliasResponse implements IDeleteCellsAliasResponse { 37259 37260 /** 37261 * Constructs a new DeleteCellsAliasResponse. 37262 * @param [properties] Properties to set 37263 */ 37264 constructor(properties?: vtctldata.IDeleteCellsAliasResponse); 37265 37266 /** 37267 * Creates a new DeleteCellsAliasResponse instance using the specified properties. 37268 * @param [properties] Properties to set 37269 * @returns DeleteCellsAliasResponse instance 37270 */ 37271 public static create(properties?: vtctldata.IDeleteCellsAliasResponse): vtctldata.DeleteCellsAliasResponse; 37272 37273 /** 37274 * Encodes the specified DeleteCellsAliasResponse message. Does not implicitly {@link vtctldata.DeleteCellsAliasResponse.verify|verify} messages. 37275 * @param message DeleteCellsAliasResponse message or plain object to encode 37276 * @param [writer] Writer to encode to 37277 * @returns Writer 37278 */ 37279 public static encode(message: vtctldata.IDeleteCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 37280 37281 /** 37282 * Encodes the specified DeleteCellsAliasResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteCellsAliasResponse.verify|verify} messages. 37283 * @param message DeleteCellsAliasResponse message or plain object to encode 37284 * @param [writer] Writer to encode to 37285 * @returns Writer 37286 */ 37287 public static encodeDelimited(message: vtctldata.IDeleteCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 37288 37289 /** 37290 * Decodes a DeleteCellsAliasResponse message from the specified reader or buffer. 37291 * @param reader Reader or buffer to decode from 37292 * @param [length] Message length if known beforehand 37293 * @returns DeleteCellsAliasResponse 37294 * @throws {Error} If the payload is not a reader or valid buffer 37295 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37296 */ 37297 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellsAliasResponse; 37298 37299 /** 37300 * Decodes a DeleteCellsAliasResponse message from the specified reader or buffer, length delimited. 37301 * @param reader Reader or buffer to decode from 37302 * @returns DeleteCellsAliasResponse 37303 * @throws {Error} If the payload is not a reader or valid buffer 37304 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37305 */ 37306 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellsAliasResponse; 37307 37308 /** 37309 * Verifies a DeleteCellsAliasResponse message. 37310 * @param message Plain object to verify 37311 * @returns `null` if valid, otherwise the reason why it is not 37312 */ 37313 public static verify(message: { [k: string]: any }): (string|null); 37314 37315 /** 37316 * Creates a DeleteCellsAliasResponse message from a plain object. Also converts values to their respective internal types. 37317 * @param object Plain object 37318 * @returns DeleteCellsAliasResponse 37319 */ 37320 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellsAliasResponse; 37321 37322 /** 37323 * Creates a plain object from a DeleteCellsAliasResponse message. Also converts values to other types if specified. 37324 * @param message DeleteCellsAliasResponse 37325 * @param [options] Conversion options 37326 * @returns Plain object 37327 */ 37328 public static toObject(message: vtctldata.DeleteCellsAliasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 37329 37330 /** 37331 * Converts this DeleteCellsAliasResponse to JSON. 37332 * @returns JSON object 37333 */ 37334 public toJSON(): { [k: string]: any }; 37335 } 37336 37337 /** Properties of a DeleteKeyspaceRequest. */ 37338 interface IDeleteKeyspaceRequest { 37339 37340 /** DeleteKeyspaceRequest keyspace */ 37341 keyspace?: (string|null); 37342 37343 /** DeleteKeyspaceRequest recursive */ 37344 recursive?: (boolean|null); 37345 37346 /** DeleteKeyspaceRequest force */ 37347 force?: (boolean|null); 37348 } 37349 37350 /** Represents a DeleteKeyspaceRequest. */ 37351 class DeleteKeyspaceRequest implements IDeleteKeyspaceRequest { 37352 37353 /** 37354 * Constructs a new DeleteKeyspaceRequest. 37355 * @param [properties] Properties to set 37356 */ 37357 constructor(properties?: vtctldata.IDeleteKeyspaceRequest); 37358 37359 /** DeleteKeyspaceRequest keyspace. */ 37360 public keyspace: string; 37361 37362 /** DeleteKeyspaceRequest recursive. */ 37363 public recursive: boolean; 37364 37365 /** DeleteKeyspaceRequest force. */ 37366 public force: boolean; 37367 37368 /** 37369 * Creates a new DeleteKeyspaceRequest instance using the specified properties. 37370 * @param [properties] Properties to set 37371 * @returns DeleteKeyspaceRequest instance 37372 */ 37373 public static create(properties?: vtctldata.IDeleteKeyspaceRequest): vtctldata.DeleteKeyspaceRequest; 37374 37375 /** 37376 * Encodes the specified DeleteKeyspaceRequest message. Does not implicitly {@link vtctldata.DeleteKeyspaceRequest.verify|verify} messages. 37377 * @param message DeleteKeyspaceRequest message or plain object to encode 37378 * @param [writer] Writer to encode to 37379 * @returns Writer 37380 */ 37381 public static encode(message: vtctldata.IDeleteKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37382 37383 /** 37384 * Encodes the specified DeleteKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteKeyspaceRequest.verify|verify} messages. 37385 * @param message DeleteKeyspaceRequest message or plain object to encode 37386 * @param [writer] Writer to encode to 37387 * @returns Writer 37388 */ 37389 public static encodeDelimited(message: vtctldata.IDeleteKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37390 37391 /** 37392 * Decodes a DeleteKeyspaceRequest message from the specified reader or buffer. 37393 * @param reader Reader or buffer to decode from 37394 * @param [length] Message length if known beforehand 37395 * @returns DeleteKeyspaceRequest 37396 * @throws {Error} If the payload is not a reader or valid buffer 37397 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37398 */ 37399 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteKeyspaceRequest; 37400 37401 /** 37402 * Decodes a DeleteKeyspaceRequest message from the specified reader or buffer, length delimited. 37403 * @param reader Reader or buffer to decode from 37404 * @returns DeleteKeyspaceRequest 37405 * @throws {Error} If the payload is not a reader or valid buffer 37406 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37407 */ 37408 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteKeyspaceRequest; 37409 37410 /** 37411 * Verifies a DeleteKeyspaceRequest message. 37412 * @param message Plain object to verify 37413 * @returns `null` if valid, otherwise the reason why it is not 37414 */ 37415 public static verify(message: { [k: string]: any }): (string|null); 37416 37417 /** 37418 * Creates a DeleteKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 37419 * @param object Plain object 37420 * @returns DeleteKeyspaceRequest 37421 */ 37422 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteKeyspaceRequest; 37423 37424 /** 37425 * Creates a plain object from a DeleteKeyspaceRequest message. Also converts values to other types if specified. 37426 * @param message DeleteKeyspaceRequest 37427 * @param [options] Conversion options 37428 * @returns Plain object 37429 */ 37430 public static toObject(message: vtctldata.DeleteKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 37431 37432 /** 37433 * Converts this DeleteKeyspaceRequest to JSON. 37434 * @returns JSON object 37435 */ 37436 public toJSON(): { [k: string]: any }; 37437 } 37438 37439 /** Properties of a DeleteKeyspaceResponse. */ 37440 interface IDeleteKeyspaceResponse { 37441 } 37442 37443 /** Represents a DeleteKeyspaceResponse. */ 37444 class DeleteKeyspaceResponse implements IDeleteKeyspaceResponse { 37445 37446 /** 37447 * Constructs a new DeleteKeyspaceResponse. 37448 * @param [properties] Properties to set 37449 */ 37450 constructor(properties?: vtctldata.IDeleteKeyspaceResponse); 37451 37452 /** 37453 * Creates a new DeleteKeyspaceResponse instance using the specified properties. 37454 * @param [properties] Properties to set 37455 * @returns DeleteKeyspaceResponse instance 37456 */ 37457 public static create(properties?: vtctldata.IDeleteKeyspaceResponse): vtctldata.DeleteKeyspaceResponse; 37458 37459 /** 37460 * Encodes the specified DeleteKeyspaceResponse message. Does not implicitly {@link vtctldata.DeleteKeyspaceResponse.verify|verify} messages. 37461 * @param message DeleteKeyspaceResponse message or plain object to encode 37462 * @param [writer] Writer to encode to 37463 * @returns Writer 37464 */ 37465 public static encode(message: vtctldata.IDeleteKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 37466 37467 /** 37468 * Encodes the specified DeleteKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteKeyspaceResponse.verify|verify} messages. 37469 * @param message DeleteKeyspaceResponse message or plain object to encode 37470 * @param [writer] Writer to encode to 37471 * @returns Writer 37472 */ 37473 public static encodeDelimited(message: vtctldata.IDeleteKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 37474 37475 /** 37476 * Decodes a DeleteKeyspaceResponse message from the specified reader or buffer. 37477 * @param reader Reader or buffer to decode from 37478 * @param [length] Message length if known beforehand 37479 * @returns DeleteKeyspaceResponse 37480 * @throws {Error} If the payload is not a reader or valid buffer 37481 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37482 */ 37483 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteKeyspaceResponse; 37484 37485 /** 37486 * Decodes a DeleteKeyspaceResponse message from the specified reader or buffer, length delimited. 37487 * @param reader Reader or buffer to decode from 37488 * @returns DeleteKeyspaceResponse 37489 * @throws {Error} If the payload is not a reader or valid buffer 37490 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37491 */ 37492 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteKeyspaceResponse; 37493 37494 /** 37495 * Verifies a DeleteKeyspaceResponse message. 37496 * @param message Plain object to verify 37497 * @returns `null` if valid, otherwise the reason why it is not 37498 */ 37499 public static verify(message: { [k: string]: any }): (string|null); 37500 37501 /** 37502 * Creates a DeleteKeyspaceResponse message from a plain object. Also converts values to their respective internal types. 37503 * @param object Plain object 37504 * @returns DeleteKeyspaceResponse 37505 */ 37506 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteKeyspaceResponse; 37507 37508 /** 37509 * Creates a plain object from a DeleteKeyspaceResponse message. Also converts values to other types if specified. 37510 * @param message DeleteKeyspaceResponse 37511 * @param [options] Conversion options 37512 * @returns Plain object 37513 */ 37514 public static toObject(message: vtctldata.DeleteKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 37515 37516 /** 37517 * Converts this DeleteKeyspaceResponse to JSON. 37518 * @returns JSON object 37519 */ 37520 public toJSON(): { [k: string]: any }; 37521 } 37522 37523 /** Properties of a DeleteShardsRequest. */ 37524 interface IDeleteShardsRequest { 37525 37526 /** DeleteShardsRequest shards */ 37527 shards?: (vtctldata.IShard[]|null); 37528 37529 /** DeleteShardsRequest recursive */ 37530 recursive?: (boolean|null); 37531 37532 /** DeleteShardsRequest even_if_serving */ 37533 even_if_serving?: (boolean|null); 37534 37535 /** DeleteShardsRequest force */ 37536 force?: (boolean|null); 37537 } 37538 37539 /** Represents a DeleteShardsRequest. */ 37540 class DeleteShardsRequest implements IDeleteShardsRequest { 37541 37542 /** 37543 * Constructs a new DeleteShardsRequest. 37544 * @param [properties] Properties to set 37545 */ 37546 constructor(properties?: vtctldata.IDeleteShardsRequest); 37547 37548 /** DeleteShardsRequest shards. */ 37549 public shards: vtctldata.IShard[]; 37550 37551 /** DeleteShardsRequest recursive. */ 37552 public recursive: boolean; 37553 37554 /** DeleteShardsRequest even_if_serving. */ 37555 public even_if_serving: boolean; 37556 37557 /** DeleteShardsRequest force. */ 37558 public force: boolean; 37559 37560 /** 37561 * Creates a new DeleteShardsRequest instance using the specified properties. 37562 * @param [properties] Properties to set 37563 * @returns DeleteShardsRequest instance 37564 */ 37565 public static create(properties?: vtctldata.IDeleteShardsRequest): vtctldata.DeleteShardsRequest; 37566 37567 /** 37568 * Encodes the specified DeleteShardsRequest message. Does not implicitly {@link vtctldata.DeleteShardsRequest.verify|verify} messages. 37569 * @param message DeleteShardsRequest message or plain object to encode 37570 * @param [writer] Writer to encode to 37571 * @returns Writer 37572 */ 37573 public static encode(message: vtctldata.IDeleteShardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37574 37575 /** 37576 * Encodes the specified DeleteShardsRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteShardsRequest.verify|verify} messages. 37577 * @param message DeleteShardsRequest message or plain object to encode 37578 * @param [writer] Writer to encode to 37579 * @returns Writer 37580 */ 37581 public static encodeDelimited(message: vtctldata.IDeleteShardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37582 37583 /** 37584 * Decodes a DeleteShardsRequest message from the specified reader or buffer. 37585 * @param reader Reader or buffer to decode from 37586 * @param [length] Message length if known beforehand 37587 * @returns DeleteShardsRequest 37588 * @throws {Error} If the payload is not a reader or valid buffer 37589 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37590 */ 37591 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteShardsRequest; 37592 37593 /** 37594 * Decodes a DeleteShardsRequest message from the specified reader or buffer, length delimited. 37595 * @param reader Reader or buffer to decode from 37596 * @returns DeleteShardsRequest 37597 * @throws {Error} If the payload is not a reader or valid buffer 37598 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37599 */ 37600 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteShardsRequest; 37601 37602 /** 37603 * Verifies a DeleteShardsRequest message. 37604 * @param message Plain object to verify 37605 * @returns `null` if valid, otherwise the reason why it is not 37606 */ 37607 public static verify(message: { [k: string]: any }): (string|null); 37608 37609 /** 37610 * Creates a DeleteShardsRequest message from a plain object. Also converts values to their respective internal types. 37611 * @param object Plain object 37612 * @returns DeleteShardsRequest 37613 */ 37614 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteShardsRequest; 37615 37616 /** 37617 * Creates a plain object from a DeleteShardsRequest message. Also converts values to other types if specified. 37618 * @param message DeleteShardsRequest 37619 * @param [options] Conversion options 37620 * @returns Plain object 37621 */ 37622 public static toObject(message: vtctldata.DeleteShardsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 37623 37624 /** 37625 * Converts this DeleteShardsRequest to JSON. 37626 * @returns JSON object 37627 */ 37628 public toJSON(): { [k: string]: any }; 37629 } 37630 37631 /** Properties of a DeleteShardsResponse. */ 37632 interface IDeleteShardsResponse { 37633 } 37634 37635 /** Represents a DeleteShardsResponse. */ 37636 class DeleteShardsResponse implements IDeleteShardsResponse { 37637 37638 /** 37639 * Constructs a new DeleteShardsResponse. 37640 * @param [properties] Properties to set 37641 */ 37642 constructor(properties?: vtctldata.IDeleteShardsResponse); 37643 37644 /** 37645 * Creates a new DeleteShardsResponse instance using the specified properties. 37646 * @param [properties] Properties to set 37647 * @returns DeleteShardsResponse instance 37648 */ 37649 public static create(properties?: vtctldata.IDeleteShardsResponse): vtctldata.DeleteShardsResponse; 37650 37651 /** 37652 * Encodes the specified DeleteShardsResponse message. Does not implicitly {@link vtctldata.DeleteShardsResponse.verify|verify} messages. 37653 * @param message DeleteShardsResponse message or plain object to encode 37654 * @param [writer] Writer to encode to 37655 * @returns Writer 37656 */ 37657 public static encode(message: vtctldata.IDeleteShardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 37658 37659 /** 37660 * Encodes the specified DeleteShardsResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteShardsResponse.verify|verify} messages. 37661 * @param message DeleteShardsResponse message or plain object to encode 37662 * @param [writer] Writer to encode to 37663 * @returns Writer 37664 */ 37665 public static encodeDelimited(message: vtctldata.IDeleteShardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 37666 37667 /** 37668 * Decodes a DeleteShardsResponse message from the specified reader or buffer. 37669 * @param reader Reader or buffer to decode from 37670 * @param [length] Message length if known beforehand 37671 * @returns DeleteShardsResponse 37672 * @throws {Error} If the payload is not a reader or valid buffer 37673 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37674 */ 37675 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteShardsResponse; 37676 37677 /** 37678 * Decodes a DeleteShardsResponse message from the specified reader or buffer, length delimited. 37679 * @param reader Reader or buffer to decode from 37680 * @returns DeleteShardsResponse 37681 * @throws {Error} If the payload is not a reader or valid buffer 37682 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37683 */ 37684 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteShardsResponse; 37685 37686 /** 37687 * Verifies a DeleteShardsResponse message. 37688 * @param message Plain object to verify 37689 * @returns `null` if valid, otherwise the reason why it is not 37690 */ 37691 public static verify(message: { [k: string]: any }): (string|null); 37692 37693 /** 37694 * Creates a DeleteShardsResponse message from a plain object. Also converts values to their respective internal types. 37695 * @param object Plain object 37696 * @returns DeleteShardsResponse 37697 */ 37698 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteShardsResponse; 37699 37700 /** 37701 * Creates a plain object from a DeleteShardsResponse message. Also converts values to other types if specified. 37702 * @param message DeleteShardsResponse 37703 * @param [options] Conversion options 37704 * @returns Plain object 37705 */ 37706 public static toObject(message: vtctldata.DeleteShardsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 37707 37708 /** 37709 * Converts this DeleteShardsResponse to JSON. 37710 * @returns JSON object 37711 */ 37712 public toJSON(): { [k: string]: any }; 37713 } 37714 37715 /** Properties of a DeleteSrvVSchemaRequest. */ 37716 interface IDeleteSrvVSchemaRequest { 37717 37718 /** DeleteSrvVSchemaRequest cell */ 37719 cell?: (string|null); 37720 } 37721 37722 /** Represents a DeleteSrvVSchemaRequest. */ 37723 class DeleteSrvVSchemaRequest implements IDeleteSrvVSchemaRequest { 37724 37725 /** 37726 * Constructs a new DeleteSrvVSchemaRequest. 37727 * @param [properties] Properties to set 37728 */ 37729 constructor(properties?: vtctldata.IDeleteSrvVSchemaRequest); 37730 37731 /** DeleteSrvVSchemaRequest cell. */ 37732 public cell: string; 37733 37734 /** 37735 * Creates a new DeleteSrvVSchemaRequest instance using the specified properties. 37736 * @param [properties] Properties to set 37737 * @returns DeleteSrvVSchemaRequest instance 37738 */ 37739 public static create(properties?: vtctldata.IDeleteSrvVSchemaRequest): vtctldata.DeleteSrvVSchemaRequest; 37740 37741 /** 37742 * Encodes the specified DeleteSrvVSchemaRequest message. Does not implicitly {@link vtctldata.DeleteSrvVSchemaRequest.verify|verify} messages. 37743 * @param message DeleteSrvVSchemaRequest message or plain object to encode 37744 * @param [writer] Writer to encode to 37745 * @returns Writer 37746 */ 37747 public static encode(message: vtctldata.IDeleteSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37748 37749 /** 37750 * Encodes the specified DeleteSrvVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteSrvVSchemaRequest.verify|verify} messages. 37751 * @param message DeleteSrvVSchemaRequest message or plain object to encode 37752 * @param [writer] Writer to encode to 37753 * @returns Writer 37754 */ 37755 public static encodeDelimited(message: vtctldata.IDeleteSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37756 37757 /** 37758 * Decodes a DeleteSrvVSchemaRequest message from the specified reader or buffer. 37759 * @param reader Reader or buffer to decode from 37760 * @param [length] Message length if known beforehand 37761 * @returns DeleteSrvVSchemaRequest 37762 * @throws {Error} If the payload is not a reader or valid buffer 37763 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37764 */ 37765 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteSrvVSchemaRequest; 37766 37767 /** 37768 * Decodes a DeleteSrvVSchemaRequest message from the specified reader or buffer, length delimited. 37769 * @param reader Reader or buffer to decode from 37770 * @returns DeleteSrvVSchemaRequest 37771 * @throws {Error} If the payload is not a reader or valid buffer 37772 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37773 */ 37774 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteSrvVSchemaRequest; 37775 37776 /** 37777 * Verifies a DeleteSrvVSchemaRequest message. 37778 * @param message Plain object to verify 37779 * @returns `null` if valid, otherwise the reason why it is not 37780 */ 37781 public static verify(message: { [k: string]: any }): (string|null); 37782 37783 /** 37784 * Creates a DeleteSrvVSchemaRequest message from a plain object. Also converts values to their respective internal types. 37785 * @param object Plain object 37786 * @returns DeleteSrvVSchemaRequest 37787 */ 37788 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteSrvVSchemaRequest; 37789 37790 /** 37791 * Creates a plain object from a DeleteSrvVSchemaRequest message. Also converts values to other types if specified. 37792 * @param message DeleteSrvVSchemaRequest 37793 * @param [options] Conversion options 37794 * @returns Plain object 37795 */ 37796 public static toObject(message: vtctldata.DeleteSrvVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 37797 37798 /** 37799 * Converts this DeleteSrvVSchemaRequest to JSON. 37800 * @returns JSON object 37801 */ 37802 public toJSON(): { [k: string]: any }; 37803 } 37804 37805 /** Properties of a DeleteSrvVSchemaResponse. */ 37806 interface IDeleteSrvVSchemaResponse { 37807 } 37808 37809 /** Represents a DeleteSrvVSchemaResponse. */ 37810 class DeleteSrvVSchemaResponse implements IDeleteSrvVSchemaResponse { 37811 37812 /** 37813 * Constructs a new DeleteSrvVSchemaResponse. 37814 * @param [properties] Properties to set 37815 */ 37816 constructor(properties?: vtctldata.IDeleteSrvVSchemaResponse); 37817 37818 /** 37819 * Creates a new DeleteSrvVSchemaResponse instance using the specified properties. 37820 * @param [properties] Properties to set 37821 * @returns DeleteSrvVSchemaResponse instance 37822 */ 37823 public static create(properties?: vtctldata.IDeleteSrvVSchemaResponse): vtctldata.DeleteSrvVSchemaResponse; 37824 37825 /** 37826 * Encodes the specified DeleteSrvVSchemaResponse message. Does not implicitly {@link vtctldata.DeleteSrvVSchemaResponse.verify|verify} messages. 37827 * @param message DeleteSrvVSchemaResponse message or plain object to encode 37828 * @param [writer] Writer to encode to 37829 * @returns Writer 37830 */ 37831 public static encode(message: vtctldata.IDeleteSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 37832 37833 /** 37834 * Encodes the specified DeleteSrvVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteSrvVSchemaResponse.verify|verify} messages. 37835 * @param message DeleteSrvVSchemaResponse message or plain object to encode 37836 * @param [writer] Writer to encode to 37837 * @returns Writer 37838 */ 37839 public static encodeDelimited(message: vtctldata.IDeleteSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 37840 37841 /** 37842 * Decodes a DeleteSrvVSchemaResponse message from the specified reader or buffer. 37843 * @param reader Reader or buffer to decode from 37844 * @param [length] Message length if known beforehand 37845 * @returns DeleteSrvVSchemaResponse 37846 * @throws {Error} If the payload is not a reader or valid buffer 37847 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37848 */ 37849 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteSrvVSchemaResponse; 37850 37851 /** 37852 * Decodes a DeleteSrvVSchemaResponse message from the specified reader or buffer, length delimited. 37853 * @param reader Reader or buffer to decode from 37854 * @returns DeleteSrvVSchemaResponse 37855 * @throws {Error} If the payload is not a reader or valid buffer 37856 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37857 */ 37858 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteSrvVSchemaResponse; 37859 37860 /** 37861 * Verifies a DeleteSrvVSchemaResponse message. 37862 * @param message Plain object to verify 37863 * @returns `null` if valid, otherwise the reason why it is not 37864 */ 37865 public static verify(message: { [k: string]: any }): (string|null); 37866 37867 /** 37868 * Creates a DeleteSrvVSchemaResponse message from a plain object. Also converts values to their respective internal types. 37869 * @param object Plain object 37870 * @returns DeleteSrvVSchemaResponse 37871 */ 37872 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteSrvVSchemaResponse; 37873 37874 /** 37875 * Creates a plain object from a DeleteSrvVSchemaResponse message. Also converts values to other types if specified. 37876 * @param message DeleteSrvVSchemaResponse 37877 * @param [options] Conversion options 37878 * @returns Plain object 37879 */ 37880 public static toObject(message: vtctldata.DeleteSrvVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 37881 37882 /** 37883 * Converts this DeleteSrvVSchemaResponse to JSON. 37884 * @returns JSON object 37885 */ 37886 public toJSON(): { [k: string]: any }; 37887 } 37888 37889 /** Properties of a DeleteTabletsRequest. */ 37890 interface IDeleteTabletsRequest { 37891 37892 /** DeleteTabletsRequest tablet_aliases */ 37893 tablet_aliases?: (topodata.ITabletAlias[]|null); 37894 37895 /** DeleteTabletsRequest allow_primary */ 37896 allow_primary?: (boolean|null); 37897 } 37898 37899 /** Represents a DeleteTabletsRequest. */ 37900 class DeleteTabletsRequest implements IDeleteTabletsRequest { 37901 37902 /** 37903 * Constructs a new DeleteTabletsRequest. 37904 * @param [properties] Properties to set 37905 */ 37906 constructor(properties?: vtctldata.IDeleteTabletsRequest); 37907 37908 /** DeleteTabletsRequest tablet_aliases. */ 37909 public tablet_aliases: topodata.ITabletAlias[]; 37910 37911 /** DeleteTabletsRequest allow_primary. */ 37912 public allow_primary: boolean; 37913 37914 /** 37915 * Creates a new DeleteTabletsRequest instance using the specified properties. 37916 * @param [properties] Properties to set 37917 * @returns DeleteTabletsRequest instance 37918 */ 37919 public static create(properties?: vtctldata.IDeleteTabletsRequest): vtctldata.DeleteTabletsRequest; 37920 37921 /** 37922 * Encodes the specified DeleteTabletsRequest message. Does not implicitly {@link vtctldata.DeleteTabletsRequest.verify|verify} messages. 37923 * @param message DeleteTabletsRequest message or plain object to encode 37924 * @param [writer] Writer to encode to 37925 * @returns Writer 37926 */ 37927 public static encode(message: vtctldata.IDeleteTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37928 37929 /** 37930 * Encodes the specified DeleteTabletsRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteTabletsRequest.verify|verify} messages. 37931 * @param message DeleteTabletsRequest message or plain object to encode 37932 * @param [writer] Writer to encode to 37933 * @returns Writer 37934 */ 37935 public static encodeDelimited(message: vtctldata.IDeleteTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 37936 37937 /** 37938 * Decodes a DeleteTabletsRequest message from the specified reader or buffer. 37939 * @param reader Reader or buffer to decode from 37940 * @param [length] Message length if known beforehand 37941 * @returns DeleteTabletsRequest 37942 * @throws {Error} If the payload is not a reader or valid buffer 37943 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37944 */ 37945 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteTabletsRequest; 37946 37947 /** 37948 * Decodes a DeleteTabletsRequest message from the specified reader or buffer, length delimited. 37949 * @param reader Reader or buffer to decode from 37950 * @returns DeleteTabletsRequest 37951 * @throws {Error} If the payload is not a reader or valid buffer 37952 * @throws {$protobuf.util.ProtocolError} If required fields are missing 37953 */ 37954 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteTabletsRequest; 37955 37956 /** 37957 * Verifies a DeleteTabletsRequest message. 37958 * @param message Plain object to verify 37959 * @returns `null` if valid, otherwise the reason why it is not 37960 */ 37961 public static verify(message: { [k: string]: any }): (string|null); 37962 37963 /** 37964 * Creates a DeleteTabletsRequest message from a plain object. Also converts values to their respective internal types. 37965 * @param object Plain object 37966 * @returns DeleteTabletsRequest 37967 */ 37968 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteTabletsRequest; 37969 37970 /** 37971 * Creates a plain object from a DeleteTabletsRequest message. Also converts values to other types if specified. 37972 * @param message DeleteTabletsRequest 37973 * @param [options] Conversion options 37974 * @returns Plain object 37975 */ 37976 public static toObject(message: vtctldata.DeleteTabletsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 37977 37978 /** 37979 * Converts this DeleteTabletsRequest to JSON. 37980 * @returns JSON object 37981 */ 37982 public toJSON(): { [k: string]: any }; 37983 } 37984 37985 /** Properties of a DeleteTabletsResponse. */ 37986 interface IDeleteTabletsResponse { 37987 } 37988 37989 /** Represents a DeleteTabletsResponse. */ 37990 class DeleteTabletsResponse implements IDeleteTabletsResponse { 37991 37992 /** 37993 * Constructs a new DeleteTabletsResponse. 37994 * @param [properties] Properties to set 37995 */ 37996 constructor(properties?: vtctldata.IDeleteTabletsResponse); 37997 37998 /** 37999 * Creates a new DeleteTabletsResponse instance using the specified properties. 38000 * @param [properties] Properties to set 38001 * @returns DeleteTabletsResponse instance 38002 */ 38003 public static create(properties?: vtctldata.IDeleteTabletsResponse): vtctldata.DeleteTabletsResponse; 38004 38005 /** 38006 * Encodes the specified DeleteTabletsResponse message. Does not implicitly {@link vtctldata.DeleteTabletsResponse.verify|verify} messages. 38007 * @param message DeleteTabletsResponse message or plain object to encode 38008 * @param [writer] Writer to encode to 38009 * @returns Writer 38010 */ 38011 public static encode(message: vtctldata.IDeleteTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 38012 38013 /** 38014 * Encodes the specified DeleteTabletsResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteTabletsResponse.verify|verify} messages. 38015 * @param message DeleteTabletsResponse message or plain object to encode 38016 * @param [writer] Writer to encode to 38017 * @returns Writer 38018 */ 38019 public static encodeDelimited(message: vtctldata.IDeleteTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 38020 38021 /** 38022 * Decodes a DeleteTabletsResponse message from the specified reader or buffer. 38023 * @param reader Reader or buffer to decode from 38024 * @param [length] Message length if known beforehand 38025 * @returns DeleteTabletsResponse 38026 * @throws {Error} If the payload is not a reader or valid buffer 38027 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38028 */ 38029 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteTabletsResponse; 38030 38031 /** 38032 * Decodes a DeleteTabletsResponse message from the specified reader or buffer, length delimited. 38033 * @param reader Reader or buffer to decode from 38034 * @returns DeleteTabletsResponse 38035 * @throws {Error} If the payload is not a reader or valid buffer 38036 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38037 */ 38038 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteTabletsResponse; 38039 38040 /** 38041 * Verifies a DeleteTabletsResponse message. 38042 * @param message Plain object to verify 38043 * @returns `null` if valid, otherwise the reason why it is not 38044 */ 38045 public static verify(message: { [k: string]: any }): (string|null); 38046 38047 /** 38048 * Creates a DeleteTabletsResponse message from a plain object. Also converts values to their respective internal types. 38049 * @param object Plain object 38050 * @returns DeleteTabletsResponse 38051 */ 38052 public static fromObject(object: { [k: string]: any }): vtctldata.DeleteTabletsResponse; 38053 38054 /** 38055 * Creates a plain object from a DeleteTabletsResponse message. Also converts values to other types if specified. 38056 * @param message DeleteTabletsResponse 38057 * @param [options] Conversion options 38058 * @returns Plain object 38059 */ 38060 public static toObject(message: vtctldata.DeleteTabletsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 38061 38062 /** 38063 * Converts this DeleteTabletsResponse to JSON. 38064 * @returns JSON object 38065 */ 38066 public toJSON(): { [k: string]: any }; 38067 } 38068 38069 /** Properties of an EmergencyReparentShardRequest. */ 38070 interface IEmergencyReparentShardRequest { 38071 38072 /** EmergencyReparentShardRequest keyspace */ 38073 keyspace?: (string|null); 38074 38075 /** EmergencyReparentShardRequest shard */ 38076 shard?: (string|null); 38077 38078 /** EmergencyReparentShardRequest new_primary */ 38079 new_primary?: (topodata.ITabletAlias|null); 38080 38081 /** EmergencyReparentShardRequest ignore_replicas */ 38082 ignore_replicas?: (topodata.ITabletAlias[]|null); 38083 38084 /** EmergencyReparentShardRequest wait_replicas_timeout */ 38085 wait_replicas_timeout?: (vttime.IDuration|null); 38086 38087 /** EmergencyReparentShardRequest prevent_cross_cell_promotion */ 38088 prevent_cross_cell_promotion?: (boolean|null); 38089 } 38090 38091 /** Represents an EmergencyReparentShardRequest. */ 38092 class EmergencyReparentShardRequest implements IEmergencyReparentShardRequest { 38093 38094 /** 38095 * Constructs a new EmergencyReparentShardRequest. 38096 * @param [properties] Properties to set 38097 */ 38098 constructor(properties?: vtctldata.IEmergencyReparentShardRequest); 38099 38100 /** EmergencyReparentShardRequest keyspace. */ 38101 public keyspace: string; 38102 38103 /** EmergencyReparentShardRequest shard. */ 38104 public shard: string; 38105 38106 /** EmergencyReparentShardRequest new_primary. */ 38107 public new_primary?: (topodata.ITabletAlias|null); 38108 38109 /** EmergencyReparentShardRequest ignore_replicas. */ 38110 public ignore_replicas: topodata.ITabletAlias[]; 38111 38112 /** EmergencyReparentShardRequest wait_replicas_timeout. */ 38113 public wait_replicas_timeout?: (vttime.IDuration|null); 38114 38115 /** EmergencyReparentShardRequest prevent_cross_cell_promotion. */ 38116 public prevent_cross_cell_promotion: boolean; 38117 38118 /** 38119 * Creates a new EmergencyReparentShardRequest instance using the specified properties. 38120 * @param [properties] Properties to set 38121 * @returns EmergencyReparentShardRequest instance 38122 */ 38123 public static create(properties?: vtctldata.IEmergencyReparentShardRequest): vtctldata.EmergencyReparentShardRequest; 38124 38125 /** 38126 * Encodes the specified EmergencyReparentShardRequest message. Does not implicitly {@link vtctldata.EmergencyReparentShardRequest.verify|verify} messages. 38127 * @param message EmergencyReparentShardRequest message or plain object to encode 38128 * @param [writer] Writer to encode to 38129 * @returns Writer 38130 */ 38131 public static encode(message: vtctldata.IEmergencyReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 38132 38133 /** 38134 * Encodes the specified EmergencyReparentShardRequest message, length delimited. Does not implicitly {@link vtctldata.EmergencyReparentShardRequest.verify|verify} messages. 38135 * @param message EmergencyReparentShardRequest message or plain object to encode 38136 * @param [writer] Writer to encode to 38137 * @returns Writer 38138 */ 38139 public static encodeDelimited(message: vtctldata.IEmergencyReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 38140 38141 /** 38142 * Decodes an EmergencyReparentShardRequest message from the specified reader or buffer. 38143 * @param reader Reader or buffer to decode from 38144 * @param [length] Message length if known beforehand 38145 * @returns EmergencyReparentShardRequest 38146 * @throws {Error} If the payload is not a reader or valid buffer 38147 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38148 */ 38149 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.EmergencyReparentShardRequest; 38150 38151 /** 38152 * Decodes an EmergencyReparentShardRequest message from the specified reader or buffer, length delimited. 38153 * @param reader Reader or buffer to decode from 38154 * @returns EmergencyReparentShardRequest 38155 * @throws {Error} If the payload is not a reader or valid buffer 38156 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38157 */ 38158 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.EmergencyReparentShardRequest; 38159 38160 /** 38161 * Verifies an EmergencyReparentShardRequest message. 38162 * @param message Plain object to verify 38163 * @returns `null` if valid, otherwise the reason why it is not 38164 */ 38165 public static verify(message: { [k: string]: any }): (string|null); 38166 38167 /** 38168 * Creates an EmergencyReparentShardRequest message from a plain object. Also converts values to their respective internal types. 38169 * @param object Plain object 38170 * @returns EmergencyReparentShardRequest 38171 */ 38172 public static fromObject(object: { [k: string]: any }): vtctldata.EmergencyReparentShardRequest; 38173 38174 /** 38175 * Creates a plain object from an EmergencyReparentShardRequest message. Also converts values to other types if specified. 38176 * @param message EmergencyReparentShardRequest 38177 * @param [options] Conversion options 38178 * @returns Plain object 38179 */ 38180 public static toObject(message: vtctldata.EmergencyReparentShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 38181 38182 /** 38183 * Converts this EmergencyReparentShardRequest to JSON. 38184 * @returns JSON object 38185 */ 38186 public toJSON(): { [k: string]: any }; 38187 } 38188 38189 /** Properties of an EmergencyReparentShardResponse. */ 38190 interface IEmergencyReparentShardResponse { 38191 38192 /** EmergencyReparentShardResponse keyspace */ 38193 keyspace?: (string|null); 38194 38195 /** EmergencyReparentShardResponse shard */ 38196 shard?: (string|null); 38197 38198 /** EmergencyReparentShardResponse promoted_primary */ 38199 promoted_primary?: (topodata.ITabletAlias|null); 38200 38201 /** EmergencyReparentShardResponse events */ 38202 events?: (logutil.IEvent[]|null); 38203 } 38204 38205 /** Represents an EmergencyReparentShardResponse. */ 38206 class EmergencyReparentShardResponse implements IEmergencyReparentShardResponse { 38207 38208 /** 38209 * Constructs a new EmergencyReparentShardResponse. 38210 * @param [properties] Properties to set 38211 */ 38212 constructor(properties?: vtctldata.IEmergencyReparentShardResponse); 38213 38214 /** EmergencyReparentShardResponse keyspace. */ 38215 public keyspace: string; 38216 38217 /** EmergencyReparentShardResponse shard. */ 38218 public shard: string; 38219 38220 /** EmergencyReparentShardResponse promoted_primary. */ 38221 public promoted_primary?: (topodata.ITabletAlias|null); 38222 38223 /** EmergencyReparentShardResponse events. */ 38224 public events: logutil.IEvent[]; 38225 38226 /** 38227 * Creates a new EmergencyReparentShardResponse instance using the specified properties. 38228 * @param [properties] Properties to set 38229 * @returns EmergencyReparentShardResponse instance 38230 */ 38231 public static create(properties?: vtctldata.IEmergencyReparentShardResponse): vtctldata.EmergencyReparentShardResponse; 38232 38233 /** 38234 * Encodes the specified EmergencyReparentShardResponse message. Does not implicitly {@link vtctldata.EmergencyReparentShardResponse.verify|verify} messages. 38235 * @param message EmergencyReparentShardResponse message or plain object to encode 38236 * @param [writer] Writer to encode to 38237 * @returns Writer 38238 */ 38239 public static encode(message: vtctldata.IEmergencyReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 38240 38241 /** 38242 * Encodes the specified EmergencyReparentShardResponse message, length delimited. Does not implicitly {@link vtctldata.EmergencyReparentShardResponse.verify|verify} messages. 38243 * @param message EmergencyReparentShardResponse message or plain object to encode 38244 * @param [writer] Writer to encode to 38245 * @returns Writer 38246 */ 38247 public static encodeDelimited(message: vtctldata.IEmergencyReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 38248 38249 /** 38250 * Decodes an EmergencyReparentShardResponse message from the specified reader or buffer. 38251 * @param reader Reader or buffer to decode from 38252 * @param [length] Message length if known beforehand 38253 * @returns EmergencyReparentShardResponse 38254 * @throws {Error} If the payload is not a reader or valid buffer 38255 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38256 */ 38257 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.EmergencyReparentShardResponse; 38258 38259 /** 38260 * Decodes an EmergencyReparentShardResponse message from the specified reader or buffer, length delimited. 38261 * @param reader Reader or buffer to decode from 38262 * @returns EmergencyReparentShardResponse 38263 * @throws {Error} If the payload is not a reader or valid buffer 38264 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38265 */ 38266 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.EmergencyReparentShardResponse; 38267 38268 /** 38269 * Verifies an EmergencyReparentShardResponse message. 38270 * @param message Plain object to verify 38271 * @returns `null` if valid, otherwise the reason why it is not 38272 */ 38273 public static verify(message: { [k: string]: any }): (string|null); 38274 38275 /** 38276 * Creates an EmergencyReparentShardResponse message from a plain object. Also converts values to their respective internal types. 38277 * @param object Plain object 38278 * @returns EmergencyReparentShardResponse 38279 */ 38280 public static fromObject(object: { [k: string]: any }): vtctldata.EmergencyReparentShardResponse; 38281 38282 /** 38283 * Creates a plain object from an EmergencyReparentShardResponse message. Also converts values to other types if specified. 38284 * @param message EmergencyReparentShardResponse 38285 * @param [options] Conversion options 38286 * @returns Plain object 38287 */ 38288 public static toObject(message: vtctldata.EmergencyReparentShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 38289 38290 /** 38291 * Converts this EmergencyReparentShardResponse to JSON. 38292 * @returns JSON object 38293 */ 38294 public toJSON(): { [k: string]: any }; 38295 } 38296 38297 /** Properties of an ExecuteFetchAsAppRequest. */ 38298 interface IExecuteFetchAsAppRequest { 38299 38300 /** ExecuteFetchAsAppRequest tablet_alias */ 38301 tablet_alias?: (topodata.ITabletAlias|null); 38302 38303 /** ExecuteFetchAsAppRequest query */ 38304 query?: (string|null); 38305 38306 /** ExecuteFetchAsAppRequest max_rows */ 38307 max_rows?: (number|Long|null); 38308 38309 /** ExecuteFetchAsAppRequest use_pool */ 38310 use_pool?: (boolean|null); 38311 } 38312 38313 /** Represents an ExecuteFetchAsAppRequest. */ 38314 class ExecuteFetchAsAppRequest implements IExecuteFetchAsAppRequest { 38315 38316 /** 38317 * Constructs a new ExecuteFetchAsAppRequest. 38318 * @param [properties] Properties to set 38319 */ 38320 constructor(properties?: vtctldata.IExecuteFetchAsAppRequest); 38321 38322 /** ExecuteFetchAsAppRequest tablet_alias. */ 38323 public tablet_alias?: (topodata.ITabletAlias|null); 38324 38325 /** ExecuteFetchAsAppRequest query. */ 38326 public query: string; 38327 38328 /** ExecuteFetchAsAppRequest max_rows. */ 38329 public max_rows: (number|Long); 38330 38331 /** ExecuteFetchAsAppRequest use_pool. */ 38332 public use_pool: boolean; 38333 38334 /** 38335 * Creates a new ExecuteFetchAsAppRequest instance using the specified properties. 38336 * @param [properties] Properties to set 38337 * @returns ExecuteFetchAsAppRequest instance 38338 */ 38339 public static create(properties?: vtctldata.IExecuteFetchAsAppRequest): vtctldata.ExecuteFetchAsAppRequest; 38340 38341 /** 38342 * Encodes the specified ExecuteFetchAsAppRequest message. Does not implicitly {@link vtctldata.ExecuteFetchAsAppRequest.verify|verify} messages. 38343 * @param message ExecuteFetchAsAppRequest message or plain object to encode 38344 * @param [writer] Writer to encode to 38345 * @returns Writer 38346 */ 38347 public static encode(message: vtctldata.IExecuteFetchAsAppRequest, writer?: $protobuf.Writer): $protobuf.Writer; 38348 38349 /** 38350 * Encodes the specified ExecuteFetchAsAppRequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsAppRequest.verify|verify} messages. 38351 * @param message ExecuteFetchAsAppRequest message or plain object to encode 38352 * @param [writer] Writer to encode to 38353 * @returns Writer 38354 */ 38355 public static encodeDelimited(message: vtctldata.IExecuteFetchAsAppRequest, writer?: $protobuf.Writer): $protobuf.Writer; 38356 38357 /** 38358 * Decodes an ExecuteFetchAsAppRequest message from the specified reader or buffer. 38359 * @param reader Reader or buffer to decode from 38360 * @param [length] Message length if known beforehand 38361 * @returns ExecuteFetchAsAppRequest 38362 * @throws {Error} If the payload is not a reader or valid buffer 38363 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38364 */ 38365 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsAppRequest; 38366 38367 /** 38368 * Decodes an ExecuteFetchAsAppRequest message from the specified reader or buffer, length delimited. 38369 * @param reader Reader or buffer to decode from 38370 * @returns ExecuteFetchAsAppRequest 38371 * @throws {Error} If the payload is not a reader or valid buffer 38372 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38373 */ 38374 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsAppRequest; 38375 38376 /** 38377 * Verifies an ExecuteFetchAsAppRequest message. 38378 * @param message Plain object to verify 38379 * @returns `null` if valid, otherwise the reason why it is not 38380 */ 38381 public static verify(message: { [k: string]: any }): (string|null); 38382 38383 /** 38384 * Creates an ExecuteFetchAsAppRequest message from a plain object. Also converts values to their respective internal types. 38385 * @param object Plain object 38386 * @returns ExecuteFetchAsAppRequest 38387 */ 38388 public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsAppRequest; 38389 38390 /** 38391 * Creates a plain object from an ExecuteFetchAsAppRequest message. Also converts values to other types if specified. 38392 * @param message ExecuteFetchAsAppRequest 38393 * @param [options] Conversion options 38394 * @returns Plain object 38395 */ 38396 public static toObject(message: vtctldata.ExecuteFetchAsAppRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 38397 38398 /** 38399 * Converts this ExecuteFetchAsAppRequest to JSON. 38400 * @returns JSON object 38401 */ 38402 public toJSON(): { [k: string]: any }; 38403 } 38404 38405 /** Properties of an ExecuteFetchAsAppResponse. */ 38406 interface IExecuteFetchAsAppResponse { 38407 38408 /** ExecuteFetchAsAppResponse result */ 38409 result?: (query.IQueryResult|null); 38410 } 38411 38412 /** Represents an ExecuteFetchAsAppResponse. */ 38413 class ExecuteFetchAsAppResponse implements IExecuteFetchAsAppResponse { 38414 38415 /** 38416 * Constructs a new ExecuteFetchAsAppResponse. 38417 * @param [properties] Properties to set 38418 */ 38419 constructor(properties?: vtctldata.IExecuteFetchAsAppResponse); 38420 38421 /** ExecuteFetchAsAppResponse result. */ 38422 public result?: (query.IQueryResult|null); 38423 38424 /** 38425 * Creates a new ExecuteFetchAsAppResponse instance using the specified properties. 38426 * @param [properties] Properties to set 38427 * @returns ExecuteFetchAsAppResponse instance 38428 */ 38429 public static create(properties?: vtctldata.IExecuteFetchAsAppResponse): vtctldata.ExecuteFetchAsAppResponse; 38430 38431 /** 38432 * Encodes the specified ExecuteFetchAsAppResponse message. Does not implicitly {@link vtctldata.ExecuteFetchAsAppResponse.verify|verify} messages. 38433 * @param message ExecuteFetchAsAppResponse message or plain object to encode 38434 * @param [writer] Writer to encode to 38435 * @returns Writer 38436 */ 38437 public static encode(message: vtctldata.IExecuteFetchAsAppResponse, writer?: $protobuf.Writer): $protobuf.Writer; 38438 38439 /** 38440 * Encodes the specified ExecuteFetchAsAppResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsAppResponse.verify|verify} messages. 38441 * @param message ExecuteFetchAsAppResponse message or plain object to encode 38442 * @param [writer] Writer to encode to 38443 * @returns Writer 38444 */ 38445 public static encodeDelimited(message: vtctldata.IExecuteFetchAsAppResponse, writer?: $protobuf.Writer): $protobuf.Writer; 38446 38447 /** 38448 * Decodes an ExecuteFetchAsAppResponse message from the specified reader or buffer. 38449 * @param reader Reader or buffer to decode from 38450 * @param [length] Message length if known beforehand 38451 * @returns ExecuteFetchAsAppResponse 38452 * @throws {Error} If the payload is not a reader or valid buffer 38453 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38454 */ 38455 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsAppResponse; 38456 38457 /** 38458 * Decodes an ExecuteFetchAsAppResponse message from the specified reader or buffer, length delimited. 38459 * @param reader Reader or buffer to decode from 38460 * @returns ExecuteFetchAsAppResponse 38461 * @throws {Error} If the payload is not a reader or valid buffer 38462 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38463 */ 38464 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsAppResponse; 38465 38466 /** 38467 * Verifies an ExecuteFetchAsAppResponse message. 38468 * @param message Plain object to verify 38469 * @returns `null` if valid, otherwise the reason why it is not 38470 */ 38471 public static verify(message: { [k: string]: any }): (string|null); 38472 38473 /** 38474 * Creates an ExecuteFetchAsAppResponse message from a plain object. Also converts values to their respective internal types. 38475 * @param object Plain object 38476 * @returns ExecuteFetchAsAppResponse 38477 */ 38478 public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsAppResponse; 38479 38480 /** 38481 * Creates a plain object from an ExecuteFetchAsAppResponse message. Also converts values to other types if specified. 38482 * @param message ExecuteFetchAsAppResponse 38483 * @param [options] Conversion options 38484 * @returns Plain object 38485 */ 38486 public static toObject(message: vtctldata.ExecuteFetchAsAppResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 38487 38488 /** 38489 * Converts this ExecuteFetchAsAppResponse to JSON. 38490 * @returns JSON object 38491 */ 38492 public toJSON(): { [k: string]: any }; 38493 } 38494 38495 /** Properties of an ExecuteFetchAsDBARequest. */ 38496 interface IExecuteFetchAsDBARequest { 38497 38498 /** ExecuteFetchAsDBARequest tablet_alias */ 38499 tablet_alias?: (topodata.ITabletAlias|null); 38500 38501 /** ExecuteFetchAsDBARequest query */ 38502 query?: (string|null); 38503 38504 /** ExecuteFetchAsDBARequest max_rows */ 38505 max_rows?: (number|Long|null); 38506 38507 /** ExecuteFetchAsDBARequest disable_binlogs */ 38508 disable_binlogs?: (boolean|null); 38509 38510 /** ExecuteFetchAsDBARequest reload_schema */ 38511 reload_schema?: (boolean|null); 38512 } 38513 38514 /** Represents an ExecuteFetchAsDBARequest. */ 38515 class ExecuteFetchAsDBARequest implements IExecuteFetchAsDBARequest { 38516 38517 /** 38518 * Constructs a new ExecuteFetchAsDBARequest. 38519 * @param [properties] Properties to set 38520 */ 38521 constructor(properties?: vtctldata.IExecuteFetchAsDBARequest); 38522 38523 /** ExecuteFetchAsDBARequest tablet_alias. */ 38524 public tablet_alias?: (topodata.ITabletAlias|null); 38525 38526 /** ExecuteFetchAsDBARequest query. */ 38527 public query: string; 38528 38529 /** ExecuteFetchAsDBARequest max_rows. */ 38530 public max_rows: (number|Long); 38531 38532 /** ExecuteFetchAsDBARequest disable_binlogs. */ 38533 public disable_binlogs: boolean; 38534 38535 /** ExecuteFetchAsDBARequest reload_schema. */ 38536 public reload_schema: boolean; 38537 38538 /** 38539 * Creates a new ExecuteFetchAsDBARequest instance using the specified properties. 38540 * @param [properties] Properties to set 38541 * @returns ExecuteFetchAsDBARequest instance 38542 */ 38543 public static create(properties?: vtctldata.IExecuteFetchAsDBARequest): vtctldata.ExecuteFetchAsDBARequest; 38544 38545 /** 38546 * Encodes the specified ExecuteFetchAsDBARequest message. Does not implicitly {@link vtctldata.ExecuteFetchAsDBARequest.verify|verify} messages. 38547 * @param message ExecuteFetchAsDBARequest message or plain object to encode 38548 * @param [writer] Writer to encode to 38549 * @returns Writer 38550 */ 38551 public static encode(message: vtctldata.IExecuteFetchAsDBARequest, writer?: $protobuf.Writer): $protobuf.Writer; 38552 38553 /** 38554 * Encodes the specified ExecuteFetchAsDBARequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsDBARequest.verify|verify} messages. 38555 * @param message ExecuteFetchAsDBARequest message or plain object to encode 38556 * @param [writer] Writer to encode to 38557 * @returns Writer 38558 */ 38559 public static encodeDelimited(message: vtctldata.IExecuteFetchAsDBARequest, writer?: $protobuf.Writer): $protobuf.Writer; 38560 38561 /** 38562 * Decodes an ExecuteFetchAsDBARequest message from the specified reader or buffer. 38563 * @param reader Reader or buffer to decode from 38564 * @param [length] Message length if known beforehand 38565 * @returns ExecuteFetchAsDBARequest 38566 * @throws {Error} If the payload is not a reader or valid buffer 38567 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38568 */ 38569 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsDBARequest; 38570 38571 /** 38572 * Decodes an ExecuteFetchAsDBARequest message from the specified reader or buffer, length delimited. 38573 * @param reader Reader or buffer to decode from 38574 * @returns ExecuteFetchAsDBARequest 38575 * @throws {Error} If the payload is not a reader or valid buffer 38576 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38577 */ 38578 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsDBARequest; 38579 38580 /** 38581 * Verifies an ExecuteFetchAsDBARequest message. 38582 * @param message Plain object to verify 38583 * @returns `null` if valid, otherwise the reason why it is not 38584 */ 38585 public static verify(message: { [k: string]: any }): (string|null); 38586 38587 /** 38588 * Creates an ExecuteFetchAsDBARequest message from a plain object. Also converts values to their respective internal types. 38589 * @param object Plain object 38590 * @returns ExecuteFetchAsDBARequest 38591 */ 38592 public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsDBARequest; 38593 38594 /** 38595 * Creates a plain object from an ExecuteFetchAsDBARequest message. Also converts values to other types if specified. 38596 * @param message ExecuteFetchAsDBARequest 38597 * @param [options] Conversion options 38598 * @returns Plain object 38599 */ 38600 public static toObject(message: vtctldata.ExecuteFetchAsDBARequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 38601 38602 /** 38603 * Converts this ExecuteFetchAsDBARequest to JSON. 38604 * @returns JSON object 38605 */ 38606 public toJSON(): { [k: string]: any }; 38607 } 38608 38609 /** Properties of an ExecuteFetchAsDBAResponse. */ 38610 interface IExecuteFetchAsDBAResponse { 38611 38612 /** ExecuteFetchAsDBAResponse result */ 38613 result?: (query.IQueryResult|null); 38614 } 38615 38616 /** Represents an ExecuteFetchAsDBAResponse. */ 38617 class ExecuteFetchAsDBAResponse implements IExecuteFetchAsDBAResponse { 38618 38619 /** 38620 * Constructs a new ExecuteFetchAsDBAResponse. 38621 * @param [properties] Properties to set 38622 */ 38623 constructor(properties?: vtctldata.IExecuteFetchAsDBAResponse); 38624 38625 /** ExecuteFetchAsDBAResponse result. */ 38626 public result?: (query.IQueryResult|null); 38627 38628 /** 38629 * Creates a new ExecuteFetchAsDBAResponse instance using the specified properties. 38630 * @param [properties] Properties to set 38631 * @returns ExecuteFetchAsDBAResponse instance 38632 */ 38633 public static create(properties?: vtctldata.IExecuteFetchAsDBAResponse): vtctldata.ExecuteFetchAsDBAResponse; 38634 38635 /** 38636 * Encodes the specified ExecuteFetchAsDBAResponse message. Does not implicitly {@link vtctldata.ExecuteFetchAsDBAResponse.verify|verify} messages. 38637 * @param message ExecuteFetchAsDBAResponse message or plain object to encode 38638 * @param [writer] Writer to encode to 38639 * @returns Writer 38640 */ 38641 public static encode(message: vtctldata.IExecuteFetchAsDBAResponse, writer?: $protobuf.Writer): $protobuf.Writer; 38642 38643 /** 38644 * Encodes the specified ExecuteFetchAsDBAResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsDBAResponse.verify|verify} messages. 38645 * @param message ExecuteFetchAsDBAResponse message or plain object to encode 38646 * @param [writer] Writer to encode to 38647 * @returns Writer 38648 */ 38649 public static encodeDelimited(message: vtctldata.IExecuteFetchAsDBAResponse, writer?: $protobuf.Writer): $protobuf.Writer; 38650 38651 /** 38652 * Decodes an ExecuteFetchAsDBAResponse message from the specified reader or buffer. 38653 * @param reader Reader or buffer to decode from 38654 * @param [length] Message length if known beforehand 38655 * @returns ExecuteFetchAsDBAResponse 38656 * @throws {Error} If the payload is not a reader or valid buffer 38657 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38658 */ 38659 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsDBAResponse; 38660 38661 /** 38662 * Decodes an ExecuteFetchAsDBAResponse message from the specified reader or buffer, length delimited. 38663 * @param reader Reader or buffer to decode from 38664 * @returns ExecuteFetchAsDBAResponse 38665 * @throws {Error} If the payload is not a reader or valid buffer 38666 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38667 */ 38668 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsDBAResponse; 38669 38670 /** 38671 * Verifies an ExecuteFetchAsDBAResponse message. 38672 * @param message Plain object to verify 38673 * @returns `null` if valid, otherwise the reason why it is not 38674 */ 38675 public static verify(message: { [k: string]: any }): (string|null); 38676 38677 /** 38678 * Creates an ExecuteFetchAsDBAResponse message from a plain object. Also converts values to their respective internal types. 38679 * @param object Plain object 38680 * @returns ExecuteFetchAsDBAResponse 38681 */ 38682 public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsDBAResponse; 38683 38684 /** 38685 * Creates a plain object from an ExecuteFetchAsDBAResponse message. Also converts values to other types if specified. 38686 * @param message ExecuteFetchAsDBAResponse 38687 * @param [options] Conversion options 38688 * @returns Plain object 38689 */ 38690 public static toObject(message: vtctldata.ExecuteFetchAsDBAResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 38691 38692 /** 38693 * Converts this ExecuteFetchAsDBAResponse to JSON. 38694 * @returns JSON object 38695 */ 38696 public toJSON(): { [k: string]: any }; 38697 } 38698 38699 /** Properties of an ExecuteHookRequest. */ 38700 interface IExecuteHookRequest { 38701 38702 /** ExecuteHookRequest tablet_alias */ 38703 tablet_alias?: (topodata.ITabletAlias|null); 38704 38705 /** ExecuteHookRequest tablet_hook_request */ 38706 tablet_hook_request?: (tabletmanagerdata.IExecuteHookRequest|null); 38707 } 38708 38709 /** Represents an ExecuteHookRequest. */ 38710 class ExecuteHookRequest implements IExecuteHookRequest { 38711 38712 /** 38713 * Constructs a new ExecuteHookRequest. 38714 * @param [properties] Properties to set 38715 */ 38716 constructor(properties?: vtctldata.IExecuteHookRequest); 38717 38718 /** ExecuteHookRequest tablet_alias. */ 38719 public tablet_alias?: (topodata.ITabletAlias|null); 38720 38721 /** ExecuteHookRequest tablet_hook_request. */ 38722 public tablet_hook_request?: (tabletmanagerdata.IExecuteHookRequest|null); 38723 38724 /** 38725 * Creates a new ExecuteHookRequest instance using the specified properties. 38726 * @param [properties] Properties to set 38727 * @returns ExecuteHookRequest instance 38728 */ 38729 public static create(properties?: vtctldata.IExecuteHookRequest): vtctldata.ExecuteHookRequest; 38730 38731 /** 38732 * Encodes the specified ExecuteHookRequest message. Does not implicitly {@link vtctldata.ExecuteHookRequest.verify|verify} messages. 38733 * @param message ExecuteHookRequest message or plain object to encode 38734 * @param [writer] Writer to encode to 38735 * @returns Writer 38736 */ 38737 public static encode(message: vtctldata.IExecuteHookRequest, writer?: $protobuf.Writer): $protobuf.Writer; 38738 38739 /** 38740 * Encodes the specified ExecuteHookRequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteHookRequest.verify|verify} messages. 38741 * @param message ExecuteHookRequest message or plain object to encode 38742 * @param [writer] Writer to encode to 38743 * @returns Writer 38744 */ 38745 public static encodeDelimited(message: vtctldata.IExecuteHookRequest, writer?: $protobuf.Writer): $protobuf.Writer; 38746 38747 /** 38748 * Decodes an ExecuteHookRequest message from the specified reader or buffer. 38749 * @param reader Reader or buffer to decode from 38750 * @param [length] Message length if known beforehand 38751 * @returns ExecuteHookRequest 38752 * @throws {Error} If the payload is not a reader or valid buffer 38753 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38754 */ 38755 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteHookRequest; 38756 38757 /** 38758 * Decodes an ExecuteHookRequest message from the specified reader or buffer, length delimited. 38759 * @param reader Reader or buffer to decode from 38760 * @returns ExecuteHookRequest 38761 * @throws {Error} If the payload is not a reader or valid buffer 38762 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38763 */ 38764 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteHookRequest; 38765 38766 /** 38767 * Verifies an ExecuteHookRequest message. 38768 * @param message Plain object to verify 38769 * @returns `null` if valid, otherwise the reason why it is not 38770 */ 38771 public static verify(message: { [k: string]: any }): (string|null); 38772 38773 /** 38774 * Creates an ExecuteHookRequest message from a plain object. Also converts values to their respective internal types. 38775 * @param object Plain object 38776 * @returns ExecuteHookRequest 38777 */ 38778 public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteHookRequest; 38779 38780 /** 38781 * Creates a plain object from an ExecuteHookRequest message. Also converts values to other types if specified. 38782 * @param message ExecuteHookRequest 38783 * @param [options] Conversion options 38784 * @returns Plain object 38785 */ 38786 public static toObject(message: vtctldata.ExecuteHookRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 38787 38788 /** 38789 * Converts this ExecuteHookRequest to JSON. 38790 * @returns JSON object 38791 */ 38792 public toJSON(): { [k: string]: any }; 38793 } 38794 38795 /** Properties of an ExecuteHookResponse. */ 38796 interface IExecuteHookResponse { 38797 38798 /** ExecuteHookResponse hook_result */ 38799 hook_result?: (tabletmanagerdata.IExecuteHookResponse|null); 38800 } 38801 38802 /** Represents an ExecuteHookResponse. */ 38803 class ExecuteHookResponse implements IExecuteHookResponse { 38804 38805 /** 38806 * Constructs a new ExecuteHookResponse. 38807 * @param [properties] Properties to set 38808 */ 38809 constructor(properties?: vtctldata.IExecuteHookResponse); 38810 38811 /** ExecuteHookResponse hook_result. */ 38812 public hook_result?: (tabletmanagerdata.IExecuteHookResponse|null); 38813 38814 /** 38815 * Creates a new ExecuteHookResponse instance using the specified properties. 38816 * @param [properties] Properties to set 38817 * @returns ExecuteHookResponse instance 38818 */ 38819 public static create(properties?: vtctldata.IExecuteHookResponse): vtctldata.ExecuteHookResponse; 38820 38821 /** 38822 * Encodes the specified ExecuteHookResponse message. Does not implicitly {@link vtctldata.ExecuteHookResponse.verify|verify} messages. 38823 * @param message ExecuteHookResponse message or plain object to encode 38824 * @param [writer] Writer to encode to 38825 * @returns Writer 38826 */ 38827 public static encode(message: vtctldata.IExecuteHookResponse, writer?: $protobuf.Writer): $protobuf.Writer; 38828 38829 /** 38830 * Encodes the specified ExecuteHookResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteHookResponse.verify|verify} messages. 38831 * @param message ExecuteHookResponse message or plain object to encode 38832 * @param [writer] Writer to encode to 38833 * @returns Writer 38834 */ 38835 public static encodeDelimited(message: vtctldata.IExecuteHookResponse, writer?: $protobuf.Writer): $protobuf.Writer; 38836 38837 /** 38838 * Decodes an ExecuteHookResponse message from the specified reader or buffer. 38839 * @param reader Reader or buffer to decode from 38840 * @param [length] Message length if known beforehand 38841 * @returns ExecuteHookResponse 38842 * @throws {Error} If the payload is not a reader or valid buffer 38843 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38844 */ 38845 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteHookResponse; 38846 38847 /** 38848 * Decodes an ExecuteHookResponse message from the specified reader or buffer, length delimited. 38849 * @param reader Reader or buffer to decode from 38850 * @returns ExecuteHookResponse 38851 * @throws {Error} If the payload is not a reader or valid buffer 38852 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38853 */ 38854 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteHookResponse; 38855 38856 /** 38857 * Verifies an ExecuteHookResponse message. 38858 * @param message Plain object to verify 38859 * @returns `null` if valid, otherwise the reason why it is not 38860 */ 38861 public static verify(message: { [k: string]: any }): (string|null); 38862 38863 /** 38864 * Creates an ExecuteHookResponse message from a plain object. Also converts values to their respective internal types. 38865 * @param object Plain object 38866 * @returns ExecuteHookResponse 38867 */ 38868 public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteHookResponse; 38869 38870 /** 38871 * Creates a plain object from an ExecuteHookResponse message. Also converts values to other types if specified. 38872 * @param message ExecuteHookResponse 38873 * @param [options] Conversion options 38874 * @returns Plain object 38875 */ 38876 public static toObject(message: vtctldata.ExecuteHookResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 38877 38878 /** 38879 * Converts this ExecuteHookResponse to JSON. 38880 * @returns JSON object 38881 */ 38882 public toJSON(): { [k: string]: any }; 38883 } 38884 38885 /** Properties of a FindAllShardsInKeyspaceRequest. */ 38886 interface IFindAllShardsInKeyspaceRequest { 38887 38888 /** FindAllShardsInKeyspaceRequest keyspace */ 38889 keyspace?: (string|null); 38890 } 38891 38892 /** Represents a FindAllShardsInKeyspaceRequest. */ 38893 class FindAllShardsInKeyspaceRequest implements IFindAllShardsInKeyspaceRequest { 38894 38895 /** 38896 * Constructs a new FindAllShardsInKeyspaceRequest. 38897 * @param [properties] Properties to set 38898 */ 38899 constructor(properties?: vtctldata.IFindAllShardsInKeyspaceRequest); 38900 38901 /** FindAllShardsInKeyspaceRequest keyspace. */ 38902 public keyspace: string; 38903 38904 /** 38905 * Creates a new FindAllShardsInKeyspaceRequest instance using the specified properties. 38906 * @param [properties] Properties to set 38907 * @returns FindAllShardsInKeyspaceRequest instance 38908 */ 38909 public static create(properties?: vtctldata.IFindAllShardsInKeyspaceRequest): vtctldata.FindAllShardsInKeyspaceRequest; 38910 38911 /** 38912 * Encodes the specified FindAllShardsInKeyspaceRequest message. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceRequest.verify|verify} messages. 38913 * @param message FindAllShardsInKeyspaceRequest message or plain object to encode 38914 * @param [writer] Writer to encode to 38915 * @returns Writer 38916 */ 38917 public static encode(message: vtctldata.IFindAllShardsInKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 38918 38919 /** 38920 * Encodes the specified FindAllShardsInKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceRequest.verify|verify} messages. 38921 * @param message FindAllShardsInKeyspaceRequest message or plain object to encode 38922 * @param [writer] Writer to encode to 38923 * @returns Writer 38924 */ 38925 public static encodeDelimited(message: vtctldata.IFindAllShardsInKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 38926 38927 /** 38928 * Decodes a FindAllShardsInKeyspaceRequest message from the specified reader or buffer. 38929 * @param reader Reader or buffer to decode from 38930 * @param [length] Message length if known beforehand 38931 * @returns FindAllShardsInKeyspaceRequest 38932 * @throws {Error} If the payload is not a reader or valid buffer 38933 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38934 */ 38935 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.FindAllShardsInKeyspaceRequest; 38936 38937 /** 38938 * Decodes a FindAllShardsInKeyspaceRequest message from the specified reader or buffer, length delimited. 38939 * @param reader Reader or buffer to decode from 38940 * @returns FindAllShardsInKeyspaceRequest 38941 * @throws {Error} If the payload is not a reader or valid buffer 38942 * @throws {$protobuf.util.ProtocolError} If required fields are missing 38943 */ 38944 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.FindAllShardsInKeyspaceRequest; 38945 38946 /** 38947 * Verifies a FindAllShardsInKeyspaceRequest message. 38948 * @param message Plain object to verify 38949 * @returns `null` if valid, otherwise the reason why it is not 38950 */ 38951 public static verify(message: { [k: string]: any }): (string|null); 38952 38953 /** 38954 * Creates a FindAllShardsInKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 38955 * @param object Plain object 38956 * @returns FindAllShardsInKeyspaceRequest 38957 */ 38958 public static fromObject(object: { [k: string]: any }): vtctldata.FindAllShardsInKeyspaceRequest; 38959 38960 /** 38961 * Creates a plain object from a FindAllShardsInKeyspaceRequest message. Also converts values to other types if specified. 38962 * @param message FindAllShardsInKeyspaceRequest 38963 * @param [options] Conversion options 38964 * @returns Plain object 38965 */ 38966 public static toObject(message: vtctldata.FindAllShardsInKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 38967 38968 /** 38969 * Converts this FindAllShardsInKeyspaceRequest to JSON. 38970 * @returns JSON object 38971 */ 38972 public toJSON(): { [k: string]: any }; 38973 } 38974 38975 /** Properties of a FindAllShardsInKeyspaceResponse. */ 38976 interface IFindAllShardsInKeyspaceResponse { 38977 38978 /** FindAllShardsInKeyspaceResponse shards */ 38979 shards?: ({ [k: string]: vtctldata.IShard }|null); 38980 } 38981 38982 /** Represents a FindAllShardsInKeyspaceResponse. */ 38983 class FindAllShardsInKeyspaceResponse implements IFindAllShardsInKeyspaceResponse { 38984 38985 /** 38986 * Constructs a new FindAllShardsInKeyspaceResponse. 38987 * @param [properties] Properties to set 38988 */ 38989 constructor(properties?: vtctldata.IFindAllShardsInKeyspaceResponse); 38990 38991 /** FindAllShardsInKeyspaceResponse shards. */ 38992 public shards: { [k: string]: vtctldata.IShard }; 38993 38994 /** 38995 * Creates a new FindAllShardsInKeyspaceResponse instance using the specified properties. 38996 * @param [properties] Properties to set 38997 * @returns FindAllShardsInKeyspaceResponse instance 38998 */ 38999 public static create(properties?: vtctldata.IFindAllShardsInKeyspaceResponse): vtctldata.FindAllShardsInKeyspaceResponse; 39000 39001 /** 39002 * Encodes the specified FindAllShardsInKeyspaceResponse message. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceResponse.verify|verify} messages. 39003 * @param message FindAllShardsInKeyspaceResponse message or plain object to encode 39004 * @param [writer] Writer to encode to 39005 * @returns Writer 39006 */ 39007 public static encode(message: vtctldata.IFindAllShardsInKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39008 39009 /** 39010 * Encodes the specified FindAllShardsInKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceResponse.verify|verify} messages. 39011 * @param message FindAllShardsInKeyspaceResponse message or plain object to encode 39012 * @param [writer] Writer to encode to 39013 * @returns Writer 39014 */ 39015 public static encodeDelimited(message: vtctldata.IFindAllShardsInKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39016 39017 /** 39018 * Decodes a FindAllShardsInKeyspaceResponse message from the specified reader or buffer. 39019 * @param reader Reader or buffer to decode from 39020 * @param [length] Message length if known beforehand 39021 * @returns FindAllShardsInKeyspaceResponse 39022 * @throws {Error} If the payload is not a reader or valid buffer 39023 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39024 */ 39025 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.FindAllShardsInKeyspaceResponse; 39026 39027 /** 39028 * Decodes a FindAllShardsInKeyspaceResponse message from the specified reader or buffer, length delimited. 39029 * @param reader Reader or buffer to decode from 39030 * @returns FindAllShardsInKeyspaceResponse 39031 * @throws {Error} If the payload is not a reader or valid buffer 39032 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39033 */ 39034 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.FindAllShardsInKeyspaceResponse; 39035 39036 /** 39037 * Verifies a FindAllShardsInKeyspaceResponse message. 39038 * @param message Plain object to verify 39039 * @returns `null` if valid, otherwise the reason why it is not 39040 */ 39041 public static verify(message: { [k: string]: any }): (string|null); 39042 39043 /** 39044 * Creates a FindAllShardsInKeyspaceResponse message from a plain object. Also converts values to their respective internal types. 39045 * @param object Plain object 39046 * @returns FindAllShardsInKeyspaceResponse 39047 */ 39048 public static fromObject(object: { [k: string]: any }): vtctldata.FindAllShardsInKeyspaceResponse; 39049 39050 /** 39051 * Creates a plain object from a FindAllShardsInKeyspaceResponse message. Also converts values to other types if specified. 39052 * @param message FindAllShardsInKeyspaceResponse 39053 * @param [options] Conversion options 39054 * @returns Plain object 39055 */ 39056 public static toObject(message: vtctldata.FindAllShardsInKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 39057 39058 /** 39059 * Converts this FindAllShardsInKeyspaceResponse to JSON. 39060 * @returns JSON object 39061 */ 39062 public toJSON(): { [k: string]: any }; 39063 } 39064 39065 /** Properties of a GetBackupsRequest. */ 39066 interface IGetBackupsRequest { 39067 39068 /** GetBackupsRequest keyspace */ 39069 keyspace?: (string|null); 39070 39071 /** GetBackupsRequest shard */ 39072 shard?: (string|null); 39073 39074 /** GetBackupsRequest limit */ 39075 limit?: (number|null); 39076 39077 /** GetBackupsRequest detailed */ 39078 detailed?: (boolean|null); 39079 39080 /** GetBackupsRequest detailed_limit */ 39081 detailed_limit?: (number|null); 39082 } 39083 39084 /** Represents a GetBackupsRequest. */ 39085 class GetBackupsRequest implements IGetBackupsRequest { 39086 39087 /** 39088 * Constructs a new GetBackupsRequest. 39089 * @param [properties] Properties to set 39090 */ 39091 constructor(properties?: vtctldata.IGetBackupsRequest); 39092 39093 /** GetBackupsRequest keyspace. */ 39094 public keyspace: string; 39095 39096 /** GetBackupsRequest shard. */ 39097 public shard: string; 39098 39099 /** GetBackupsRequest limit. */ 39100 public limit: number; 39101 39102 /** GetBackupsRequest detailed. */ 39103 public detailed: boolean; 39104 39105 /** GetBackupsRequest detailed_limit. */ 39106 public detailed_limit: number; 39107 39108 /** 39109 * Creates a new GetBackupsRequest instance using the specified properties. 39110 * @param [properties] Properties to set 39111 * @returns GetBackupsRequest instance 39112 */ 39113 public static create(properties?: vtctldata.IGetBackupsRequest): vtctldata.GetBackupsRequest; 39114 39115 /** 39116 * Encodes the specified GetBackupsRequest message. Does not implicitly {@link vtctldata.GetBackupsRequest.verify|verify} messages. 39117 * @param message GetBackupsRequest message or plain object to encode 39118 * @param [writer] Writer to encode to 39119 * @returns Writer 39120 */ 39121 public static encode(message: vtctldata.IGetBackupsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 39122 39123 /** 39124 * Encodes the specified GetBackupsRequest message, length delimited. Does not implicitly {@link vtctldata.GetBackupsRequest.verify|verify} messages. 39125 * @param message GetBackupsRequest message or plain object to encode 39126 * @param [writer] Writer to encode to 39127 * @returns Writer 39128 */ 39129 public static encodeDelimited(message: vtctldata.IGetBackupsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 39130 39131 /** 39132 * Decodes a GetBackupsRequest message from the specified reader or buffer. 39133 * @param reader Reader or buffer to decode from 39134 * @param [length] Message length if known beforehand 39135 * @returns GetBackupsRequest 39136 * @throws {Error} If the payload is not a reader or valid buffer 39137 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39138 */ 39139 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetBackupsRequest; 39140 39141 /** 39142 * Decodes a GetBackupsRequest message from the specified reader or buffer, length delimited. 39143 * @param reader Reader or buffer to decode from 39144 * @returns GetBackupsRequest 39145 * @throws {Error} If the payload is not a reader or valid buffer 39146 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39147 */ 39148 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetBackupsRequest; 39149 39150 /** 39151 * Verifies a GetBackupsRequest message. 39152 * @param message Plain object to verify 39153 * @returns `null` if valid, otherwise the reason why it is not 39154 */ 39155 public static verify(message: { [k: string]: any }): (string|null); 39156 39157 /** 39158 * Creates a GetBackupsRequest message from a plain object. Also converts values to their respective internal types. 39159 * @param object Plain object 39160 * @returns GetBackupsRequest 39161 */ 39162 public static fromObject(object: { [k: string]: any }): vtctldata.GetBackupsRequest; 39163 39164 /** 39165 * Creates a plain object from a GetBackupsRequest message. Also converts values to other types if specified. 39166 * @param message GetBackupsRequest 39167 * @param [options] Conversion options 39168 * @returns Plain object 39169 */ 39170 public static toObject(message: vtctldata.GetBackupsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 39171 39172 /** 39173 * Converts this GetBackupsRequest to JSON. 39174 * @returns JSON object 39175 */ 39176 public toJSON(): { [k: string]: any }; 39177 } 39178 39179 /** Properties of a GetBackupsResponse. */ 39180 interface IGetBackupsResponse { 39181 39182 /** GetBackupsResponse backups */ 39183 backups?: (mysqlctl.IBackupInfo[]|null); 39184 } 39185 39186 /** Represents a GetBackupsResponse. */ 39187 class GetBackupsResponse implements IGetBackupsResponse { 39188 39189 /** 39190 * Constructs a new GetBackupsResponse. 39191 * @param [properties] Properties to set 39192 */ 39193 constructor(properties?: vtctldata.IGetBackupsResponse); 39194 39195 /** GetBackupsResponse backups. */ 39196 public backups: mysqlctl.IBackupInfo[]; 39197 39198 /** 39199 * Creates a new GetBackupsResponse instance using the specified properties. 39200 * @param [properties] Properties to set 39201 * @returns GetBackupsResponse instance 39202 */ 39203 public static create(properties?: vtctldata.IGetBackupsResponse): vtctldata.GetBackupsResponse; 39204 39205 /** 39206 * Encodes the specified GetBackupsResponse message. Does not implicitly {@link vtctldata.GetBackupsResponse.verify|verify} messages. 39207 * @param message GetBackupsResponse message or plain object to encode 39208 * @param [writer] Writer to encode to 39209 * @returns Writer 39210 */ 39211 public static encode(message: vtctldata.IGetBackupsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39212 39213 /** 39214 * Encodes the specified GetBackupsResponse message, length delimited. Does not implicitly {@link vtctldata.GetBackupsResponse.verify|verify} messages. 39215 * @param message GetBackupsResponse message or plain object to encode 39216 * @param [writer] Writer to encode to 39217 * @returns Writer 39218 */ 39219 public static encodeDelimited(message: vtctldata.IGetBackupsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39220 39221 /** 39222 * Decodes a GetBackupsResponse message from the specified reader or buffer. 39223 * @param reader Reader or buffer to decode from 39224 * @param [length] Message length if known beforehand 39225 * @returns GetBackupsResponse 39226 * @throws {Error} If the payload is not a reader or valid buffer 39227 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39228 */ 39229 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetBackupsResponse; 39230 39231 /** 39232 * Decodes a GetBackupsResponse message from the specified reader or buffer, length delimited. 39233 * @param reader Reader or buffer to decode from 39234 * @returns GetBackupsResponse 39235 * @throws {Error} If the payload is not a reader or valid buffer 39236 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39237 */ 39238 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetBackupsResponse; 39239 39240 /** 39241 * Verifies a GetBackupsResponse message. 39242 * @param message Plain object to verify 39243 * @returns `null` if valid, otherwise the reason why it is not 39244 */ 39245 public static verify(message: { [k: string]: any }): (string|null); 39246 39247 /** 39248 * Creates a GetBackupsResponse message from a plain object. Also converts values to their respective internal types. 39249 * @param object Plain object 39250 * @returns GetBackupsResponse 39251 */ 39252 public static fromObject(object: { [k: string]: any }): vtctldata.GetBackupsResponse; 39253 39254 /** 39255 * Creates a plain object from a GetBackupsResponse message. Also converts values to other types if specified. 39256 * @param message GetBackupsResponse 39257 * @param [options] Conversion options 39258 * @returns Plain object 39259 */ 39260 public static toObject(message: vtctldata.GetBackupsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 39261 39262 /** 39263 * Converts this GetBackupsResponse to JSON. 39264 * @returns JSON object 39265 */ 39266 public toJSON(): { [k: string]: any }; 39267 } 39268 39269 /** Properties of a GetCellInfoRequest. */ 39270 interface IGetCellInfoRequest { 39271 39272 /** GetCellInfoRequest cell */ 39273 cell?: (string|null); 39274 } 39275 39276 /** Represents a GetCellInfoRequest. */ 39277 class GetCellInfoRequest implements IGetCellInfoRequest { 39278 39279 /** 39280 * Constructs a new GetCellInfoRequest. 39281 * @param [properties] Properties to set 39282 */ 39283 constructor(properties?: vtctldata.IGetCellInfoRequest); 39284 39285 /** GetCellInfoRequest cell. */ 39286 public cell: string; 39287 39288 /** 39289 * Creates a new GetCellInfoRequest instance using the specified properties. 39290 * @param [properties] Properties to set 39291 * @returns GetCellInfoRequest instance 39292 */ 39293 public static create(properties?: vtctldata.IGetCellInfoRequest): vtctldata.GetCellInfoRequest; 39294 39295 /** 39296 * Encodes the specified GetCellInfoRequest message. Does not implicitly {@link vtctldata.GetCellInfoRequest.verify|verify} messages. 39297 * @param message GetCellInfoRequest message or plain object to encode 39298 * @param [writer] Writer to encode to 39299 * @returns Writer 39300 */ 39301 public static encode(message: vtctldata.IGetCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; 39302 39303 /** 39304 * Encodes the specified GetCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoRequest.verify|verify} messages. 39305 * @param message GetCellInfoRequest message or plain object to encode 39306 * @param [writer] Writer to encode to 39307 * @returns Writer 39308 */ 39309 public static encodeDelimited(message: vtctldata.IGetCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; 39310 39311 /** 39312 * Decodes a GetCellInfoRequest message from the specified reader or buffer. 39313 * @param reader Reader or buffer to decode from 39314 * @param [length] Message length if known beforehand 39315 * @returns GetCellInfoRequest 39316 * @throws {Error} If the payload is not a reader or valid buffer 39317 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39318 */ 39319 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoRequest; 39320 39321 /** 39322 * Decodes a GetCellInfoRequest message from the specified reader or buffer, length delimited. 39323 * @param reader Reader or buffer to decode from 39324 * @returns GetCellInfoRequest 39325 * @throws {Error} If the payload is not a reader or valid buffer 39326 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39327 */ 39328 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoRequest; 39329 39330 /** 39331 * Verifies a GetCellInfoRequest message. 39332 * @param message Plain object to verify 39333 * @returns `null` if valid, otherwise the reason why it is not 39334 */ 39335 public static verify(message: { [k: string]: any }): (string|null); 39336 39337 /** 39338 * Creates a GetCellInfoRequest message from a plain object. Also converts values to their respective internal types. 39339 * @param object Plain object 39340 * @returns GetCellInfoRequest 39341 */ 39342 public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoRequest; 39343 39344 /** 39345 * Creates a plain object from a GetCellInfoRequest message. Also converts values to other types if specified. 39346 * @param message GetCellInfoRequest 39347 * @param [options] Conversion options 39348 * @returns Plain object 39349 */ 39350 public static toObject(message: vtctldata.GetCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 39351 39352 /** 39353 * Converts this GetCellInfoRequest to JSON. 39354 * @returns JSON object 39355 */ 39356 public toJSON(): { [k: string]: any }; 39357 } 39358 39359 /** Properties of a GetCellInfoResponse. */ 39360 interface IGetCellInfoResponse { 39361 39362 /** GetCellInfoResponse cell_info */ 39363 cell_info?: (topodata.ICellInfo|null); 39364 } 39365 39366 /** Represents a GetCellInfoResponse. */ 39367 class GetCellInfoResponse implements IGetCellInfoResponse { 39368 39369 /** 39370 * Constructs a new GetCellInfoResponse. 39371 * @param [properties] Properties to set 39372 */ 39373 constructor(properties?: vtctldata.IGetCellInfoResponse); 39374 39375 /** GetCellInfoResponse cell_info. */ 39376 public cell_info?: (topodata.ICellInfo|null); 39377 39378 /** 39379 * Creates a new GetCellInfoResponse instance using the specified properties. 39380 * @param [properties] Properties to set 39381 * @returns GetCellInfoResponse instance 39382 */ 39383 public static create(properties?: vtctldata.IGetCellInfoResponse): vtctldata.GetCellInfoResponse; 39384 39385 /** 39386 * Encodes the specified GetCellInfoResponse message. Does not implicitly {@link vtctldata.GetCellInfoResponse.verify|verify} messages. 39387 * @param message GetCellInfoResponse message or plain object to encode 39388 * @param [writer] Writer to encode to 39389 * @returns Writer 39390 */ 39391 public static encode(message: vtctldata.IGetCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39392 39393 /** 39394 * Encodes the specified GetCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoResponse.verify|verify} messages. 39395 * @param message GetCellInfoResponse message or plain object to encode 39396 * @param [writer] Writer to encode to 39397 * @returns Writer 39398 */ 39399 public static encodeDelimited(message: vtctldata.IGetCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39400 39401 /** 39402 * Decodes a GetCellInfoResponse message from the specified reader or buffer. 39403 * @param reader Reader or buffer to decode from 39404 * @param [length] Message length if known beforehand 39405 * @returns GetCellInfoResponse 39406 * @throws {Error} If the payload is not a reader or valid buffer 39407 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39408 */ 39409 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoResponse; 39410 39411 /** 39412 * Decodes a GetCellInfoResponse message from the specified reader or buffer, length delimited. 39413 * @param reader Reader or buffer to decode from 39414 * @returns GetCellInfoResponse 39415 * @throws {Error} If the payload is not a reader or valid buffer 39416 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39417 */ 39418 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoResponse; 39419 39420 /** 39421 * Verifies a GetCellInfoResponse message. 39422 * @param message Plain object to verify 39423 * @returns `null` if valid, otherwise the reason why it is not 39424 */ 39425 public static verify(message: { [k: string]: any }): (string|null); 39426 39427 /** 39428 * Creates a GetCellInfoResponse message from a plain object. Also converts values to their respective internal types. 39429 * @param object Plain object 39430 * @returns GetCellInfoResponse 39431 */ 39432 public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoResponse; 39433 39434 /** 39435 * Creates a plain object from a GetCellInfoResponse message. Also converts values to other types if specified. 39436 * @param message GetCellInfoResponse 39437 * @param [options] Conversion options 39438 * @returns Plain object 39439 */ 39440 public static toObject(message: vtctldata.GetCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 39441 39442 /** 39443 * Converts this GetCellInfoResponse to JSON. 39444 * @returns JSON object 39445 */ 39446 public toJSON(): { [k: string]: any }; 39447 } 39448 39449 /** Properties of a GetCellInfoNamesRequest. */ 39450 interface IGetCellInfoNamesRequest { 39451 } 39452 39453 /** Represents a GetCellInfoNamesRequest. */ 39454 class GetCellInfoNamesRequest implements IGetCellInfoNamesRequest { 39455 39456 /** 39457 * Constructs a new GetCellInfoNamesRequest. 39458 * @param [properties] Properties to set 39459 */ 39460 constructor(properties?: vtctldata.IGetCellInfoNamesRequest); 39461 39462 /** 39463 * Creates a new GetCellInfoNamesRequest instance using the specified properties. 39464 * @param [properties] Properties to set 39465 * @returns GetCellInfoNamesRequest instance 39466 */ 39467 public static create(properties?: vtctldata.IGetCellInfoNamesRequest): vtctldata.GetCellInfoNamesRequest; 39468 39469 /** 39470 * Encodes the specified GetCellInfoNamesRequest message. Does not implicitly {@link vtctldata.GetCellInfoNamesRequest.verify|verify} messages. 39471 * @param message GetCellInfoNamesRequest message or plain object to encode 39472 * @param [writer] Writer to encode to 39473 * @returns Writer 39474 */ 39475 public static encode(message: vtctldata.IGetCellInfoNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 39476 39477 /** 39478 * Encodes the specified GetCellInfoNamesRequest message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoNamesRequest.verify|verify} messages. 39479 * @param message GetCellInfoNamesRequest message or plain object to encode 39480 * @param [writer] Writer to encode to 39481 * @returns Writer 39482 */ 39483 public static encodeDelimited(message: vtctldata.IGetCellInfoNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 39484 39485 /** 39486 * Decodes a GetCellInfoNamesRequest message from the specified reader or buffer. 39487 * @param reader Reader or buffer to decode from 39488 * @param [length] Message length if known beforehand 39489 * @returns GetCellInfoNamesRequest 39490 * @throws {Error} If the payload is not a reader or valid buffer 39491 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39492 */ 39493 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoNamesRequest; 39494 39495 /** 39496 * Decodes a GetCellInfoNamesRequest message from the specified reader or buffer, length delimited. 39497 * @param reader Reader or buffer to decode from 39498 * @returns GetCellInfoNamesRequest 39499 * @throws {Error} If the payload is not a reader or valid buffer 39500 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39501 */ 39502 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoNamesRequest; 39503 39504 /** 39505 * Verifies a GetCellInfoNamesRequest message. 39506 * @param message Plain object to verify 39507 * @returns `null` if valid, otherwise the reason why it is not 39508 */ 39509 public static verify(message: { [k: string]: any }): (string|null); 39510 39511 /** 39512 * Creates a GetCellInfoNamesRequest message from a plain object. Also converts values to their respective internal types. 39513 * @param object Plain object 39514 * @returns GetCellInfoNamesRequest 39515 */ 39516 public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoNamesRequest; 39517 39518 /** 39519 * Creates a plain object from a GetCellInfoNamesRequest message. Also converts values to other types if specified. 39520 * @param message GetCellInfoNamesRequest 39521 * @param [options] Conversion options 39522 * @returns Plain object 39523 */ 39524 public static toObject(message: vtctldata.GetCellInfoNamesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 39525 39526 /** 39527 * Converts this GetCellInfoNamesRequest to JSON. 39528 * @returns JSON object 39529 */ 39530 public toJSON(): { [k: string]: any }; 39531 } 39532 39533 /** Properties of a GetCellInfoNamesResponse. */ 39534 interface IGetCellInfoNamesResponse { 39535 39536 /** GetCellInfoNamesResponse names */ 39537 names?: (string[]|null); 39538 } 39539 39540 /** Represents a GetCellInfoNamesResponse. */ 39541 class GetCellInfoNamesResponse implements IGetCellInfoNamesResponse { 39542 39543 /** 39544 * Constructs a new GetCellInfoNamesResponse. 39545 * @param [properties] Properties to set 39546 */ 39547 constructor(properties?: vtctldata.IGetCellInfoNamesResponse); 39548 39549 /** GetCellInfoNamesResponse names. */ 39550 public names: string[]; 39551 39552 /** 39553 * Creates a new GetCellInfoNamesResponse instance using the specified properties. 39554 * @param [properties] Properties to set 39555 * @returns GetCellInfoNamesResponse instance 39556 */ 39557 public static create(properties?: vtctldata.IGetCellInfoNamesResponse): vtctldata.GetCellInfoNamesResponse; 39558 39559 /** 39560 * Encodes the specified GetCellInfoNamesResponse message. Does not implicitly {@link vtctldata.GetCellInfoNamesResponse.verify|verify} messages. 39561 * @param message GetCellInfoNamesResponse message or plain object to encode 39562 * @param [writer] Writer to encode to 39563 * @returns Writer 39564 */ 39565 public static encode(message: vtctldata.IGetCellInfoNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39566 39567 /** 39568 * Encodes the specified GetCellInfoNamesResponse message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoNamesResponse.verify|verify} messages. 39569 * @param message GetCellInfoNamesResponse message or plain object to encode 39570 * @param [writer] Writer to encode to 39571 * @returns Writer 39572 */ 39573 public static encodeDelimited(message: vtctldata.IGetCellInfoNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39574 39575 /** 39576 * Decodes a GetCellInfoNamesResponse message from the specified reader or buffer. 39577 * @param reader Reader or buffer to decode from 39578 * @param [length] Message length if known beforehand 39579 * @returns GetCellInfoNamesResponse 39580 * @throws {Error} If the payload is not a reader or valid buffer 39581 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39582 */ 39583 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoNamesResponse; 39584 39585 /** 39586 * Decodes a GetCellInfoNamesResponse message from the specified reader or buffer, length delimited. 39587 * @param reader Reader or buffer to decode from 39588 * @returns GetCellInfoNamesResponse 39589 * @throws {Error} If the payload is not a reader or valid buffer 39590 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39591 */ 39592 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoNamesResponse; 39593 39594 /** 39595 * Verifies a GetCellInfoNamesResponse message. 39596 * @param message Plain object to verify 39597 * @returns `null` if valid, otherwise the reason why it is not 39598 */ 39599 public static verify(message: { [k: string]: any }): (string|null); 39600 39601 /** 39602 * Creates a GetCellInfoNamesResponse message from a plain object. Also converts values to their respective internal types. 39603 * @param object Plain object 39604 * @returns GetCellInfoNamesResponse 39605 */ 39606 public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoNamesResponse; 39607 39608 /** 39609 * Creates a plain object from a GetCellInfoNamesResponse message. Also converts values to other types if specified. 39610 * @param message GetCellInfoNamesResponse 39611 * @param [options] Conversion options 39612 * @returns Plain object 39613 */ 39614 public static toObject(message: vtctldata.GetCellInfoNamesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 39615 39616 /** 39617 * Converts this GetCellInfoNamesResponse to JSON. 39618 * @returns JSON object 39619 */ 39620 public toJSON(): { [k: string]: any }; 39621 } 39622 39623 /** Properties of a GetCellsAliasesRequest. */ 39624 interface IGetCellsAliasesRequest { 39625 } 39626 39627 /** Represents a GetCellsAliasesRequest. */ 39628 class GetCellsAliasesRequest implements IGetCellsAliasesRequest { 39629 39630 /** 39631 * Constructs a new GetCellsAliasesRequest. 39632 * @param [properties] Properties to set 39633 */ 39634 constructor(properties?: vtctldata.IGetCellsAliasesRequest); 39635 39636 /** 39637 * Creates a new GetCellsAliasesRequest instance using the specified properties. 39638 * @param [properties] Properties to set 39639 * @returns GetCellsAliasesRequest instance 39640 */ 39641 public static create(properties?: vtctldata.IGetCellsAliasesRequest): vtctldata.GetCellsAliasesRequest; 39642 39643 /** 39644 * Encodes the specified GetCellsAliasesRequest message. Does not implicitly {@link vtctldata.GetCellsAliasesRequest.verify|verify} messages. 39645 * @param message GetCellsAliasesRequest message or plain object to encode 39646 * @param [writer] Writer to encode to 39647 * @returns Writer 39648 */ 39649 public static encode(message: vtctldata.IGetCellsAliasesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 39650 39651 /** 39652 * Encodes the specified GetCellsAliasesRequest message, length delimited. Does not implicitly {@link vtctldata.GetCellsAliasesRequest.verify|verify} messages. 39653 * @param message GetCellsAliasesRequest message or plain object to encode 39654 * @param [writer] Writer to encode to 39655 * @returns Writer 39656 */ 39657 public static encodeDelimited(message: vtctldata.IGetCellsAliasesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 39658 39659 /** 39660 * Decodes a GetCellsAliasesRequest message from the specified reader or buffer. 39661 * @param reader Reader or buffer to decode from 39662 * @param [length] Message length if known beforehand 39663 * @returns GetCellsAliasesRequest 39664 * @throws {Error} If the payload is not a reader or valid buffer 39665 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39666 */ 39667 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellsAliasesRequest; 39668 39669 /** 39670 * Decodes a GetCellsAliasesRequest message from the specified reader or buffer, length delimited. 39671 * @param reader Reader or buffer to decode from 39672 * @returns GetCellsAliasesRequest 39673 * @throws {Error} If the payload is not a reader or valid buffer 39674 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39675 */ 39676 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellsAliasesRequest; 39677 39678 /** 39679 * Verifies a GetCellsAliasesRequest message. 39680 * @param message Plain object to verify 39681 * @returns `null` if valid, otherwise the reason why it is not 39682 */ 39683 public static verify(message: { [k: string]: any }): (string|null); 39684 39685 /** 39686 * Creates a GetCellsAliasesRequest message from a plain object. Also converts values to their respective internal types. 39687 * @param object Plain object 39688 * @returns GetCellsAliasesRequest 39689 */ 39690 public static fromObject(object: { [k: string]: any }): vtctldata.GetCellsAliasesRequest; 39691 39692 /** 39693 * Creates a plain object from a GetCellsAliasesRequest message. Also converts values to other types if specified. 39694 * @param message GetCellsAliasesRequest 39695 * @param [options] Conversion options 39696 * @returns Plain object 39697 */ 39698 public static toObject(message: vtctldata.GetCellsAliasesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 39699 39700 /** 39701 * Converts this GetCellsAliasesRequest to JSON. 39702 * @returns JSON object 39703 */ 39704 public toJSON(): { [k: string]: any }; 39705 } 39706 39707 /** Properties of a GetCellsAliasesResponse. */ 39708 interface IGetCellsAliasesResponse { 39709 39710 /** GetCellsAliasesResponse aliases */ 39711 aliases?: ({ [k: string]: topodata.ICellsAlias }|null); 39712 } 39713 39714 /** Represents a GetCellsAliasesResponse. */ 39715 class GetCellsAliasesResponse implements IGetCellsAliasesResponse { 39716 39717 /** 39718 * Constructs a new GetCellsAliasesResponse. 39719 * @param [properties] Properties to set 39720 */ 39721 constructor(properties?: vtctldata.IGetCellsAliasesResponse); 39722 39723 /** GetCellsAliasesResponse aliases. */ 39724 public aliases: { [k: string]: topodata.ICellsAlias }; 39725 39726 /** 39727 * Creates a new GetCellsAliasesResponse instance using the specified properties. 39728 * @param [properties] Properties to set 39729 * @returns GetCellsAliasesResponse instance 39730 */ 39731 public static create(properties?: vtctldata.IGetCellsAliasesResponse): vtctldata.GetCellsAliasesResponse; 39732 39733 /** 39734 * Encodes the specified GetCellsAliasesResponse message. Does not implicitly {@link vtctldata.GetCellsAliasesResponse.verify|verify} messages. 39735 * @param message GetCellsAliasesResponse message or plain object to encode 39736 * @param [writer] Writer to encode to 39737 * @returns Writer 39738 */ 39739 public static encode(message: vtctldata.IGetCellsAliasesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39740 39741 /** 39742 * Encodes the specified GetCellsAliasesResponse message, length delimited. Does not implicitly {@link vtctldata.GetCellsAliasesResponse.verify|verify} messages. 39743 * @param message GetCellsAliasesResponse message or plain object to encode 39744 * @param [writer] Writer to encode to 39745 * @returns Writer 39746 */ 39747 public static encodeDelimited(message: vtctldata.IGetCellsAliasesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39748 39749 /** 39750 * Decodes a GetCellsAliasesResponse message from the specified reader or buffer. 39751 * @param reader Reader or buffer to decode from 39752 * @param [length] Message length if known beforehand 39753 * @returns GetCellsAliasesResponse 39754 * @throws {Error} If the payload is not a reader or valid buffer 39755 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39756 */ 39757 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellsAliasesResponse; 39758 39759 /** 39760 * Decodes a GetCellsAliasesResponse message from the specified reader or buffer, length delimited. 39761 * @param reader Reader or buffer to decode from 39762 * @returns GetCellsAliasesResponse 39763 * @throws {Error} If the payload is not a reader or valid buffer 39764 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39765 */ 39766 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellsAliasesResponse; 39767 39768 /** 39769 * Verifies a GetCellsAliasesResponse message. 39770 * @param message Plain object to verify 39771 * @returns `null` if valid, otherwise the reason why it is not 39772 */ 39773 public static verify(message: { [k: string]: any }): (string|null); 39774 39775 /** 39776 * Creates a GetCellsAliasesResponse message from a plain object. Also converts values to their respective internal types. 39777 * @param object Plain object 39778 * @returns GetCellsAliasesResponse 39779 */ 39780 public static fromObject(object: { [k: string]: any }): vtctldata.GetCellsAliasesResponse; 39781 39782 /** 39783 * Creates a plain object from a GetCellsAliasesResponse message. Also converts values to other types if specified. 39784 * @param message GetCellsAliasesResponse 39785 * @param [options] Conversion options 39786 * @returns Plain object 39787 */ 39788 public static toObject(message: vtctldata.GetCellsAliasesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 39789 39790 /** 39791 * Converts this GetCellsAliasesResponse to JSON. 39792 * @returns JSON object 39793 */ 39794 public toJSON(): { [k: string]: any }; 39795 } 39796 39797 /** Properties of a GetFullStatusRequest. */ 39798 interface IGetFullStatusRequest { 39799 39800 /** GetFullStatusRequest tablet_alias */ 39801 tablet_alias?: (topodata.ITabletAlias|null); 39802 } 39803 39804 /** Represents a GetFullStatusRequest. */ 39805 class GetFullStatusRequest implements IGetFullStatusRequest { 39806 39807 /** 39808 * Constructs a new GetFullStatusRequest. 39809 * @param [properties] Properties to set 39810 */ 39811 constructor(properties?: vtctldata.IGetFullStatusRequest); 39812 39813 /** GetFullStatusRequest tablet_alias. */ 39814 public tablet_alias?: (topodata.ITabletAlias|null); 39815 39816 /** 39817 * Creates a new GetFullStatusRequest instance using the specified properties. 39818 * @param [properties] Properties to set 39819 * @returns GetFullStatusRequest instance 39820 */ 39821 public static create(properties?: vtctldata.IGetFullStatusRequest): vtctldata.GetFullStatusRequest; 39822 39823 /** 39824 * Encodes the specified GetFullStatusRequest message. Does not implicitly {@link vtctldata.GetFullStatusRequest.verify|verify} messages. 39825 * @param message GetFullStatusRequest message or plain object to encode 39826 * @param [writer] Writer to encode to 39827 * @returns Writer 39828 */ 39829 public static encode(message: vtctldata.IGetFullStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 39830 39831 /** 39832 * Encodes the specified GetFullStatusRequest message, length delimited. Does not implicitly {@link vtctldata.GetFullStatusRequest.verify|verify} messages. 39833 * @param message GetFullStatusRequest message or plain object to encode 39834 * @param [writer] Writer to encode to 39835 * @returns Writer 39836 */ 39837 public static encodeDelimited(message: vtctldata.IGetFullStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; 39838 39839 /** 39840 * Decodes a GetFullStatusRequest message from the specified reader or buffer. 39841 * @param reader Reader or buffer to decode from 39842 * @param [length] Message length if known beforehand 39843 * @returns GetFullStatusRequest 39844 * @throws {Error} If the payload is not a reader or valid buffer 39845 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39846 */ 39847 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetFullStatusRequest; 39848 39849 /** 39850 * Decodes a GetFullStatusRequest message from the specified reader or buffer, length delimited. 39851 * @param reader Reader or buffer to decode from 39852 * @returns GetFullStatusRequest 39853 * @throws {Error} If the payload is not a reader or valid buffer 39854 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39855 */ 39856 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetFullStatusRequest; 39857 39858 /** 39859 * Verifies a GetFullStatusRequest message. 39860 * @param message Plain object to verify 39861 * @returns `null` if valid, otherwise the reason why it is not 39862 */ 39863 public static verify(message: { [k: string]: any }): (string|null); 39864 39865 /** 39866 * Creates a GetFullStatusRequest message from a plain object. Also converts values to their respective internal types. 39867 * @param object Plain object 39868 * @returns GetFullStatusRequest 39869 */ 39870 public static fromObject(object: { [k: string]: any }): vtctldata.GetFullStatusRequest; 39871 39872 /** 39873 * Creates a plain object from a GetFullStatusRequest message. Also converts values to other types if specified. 39874 * @param message GetFullStatusRequest 39875 * @param [options] Conversion options 39876 * @returns Plain object 39877 */ 39878 public static toObject(message: vtctldata.GetFullStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 39879 39880 /** 39881 * Converts this GetFullStatusRequest to JSON. 39882 * @returns JSON object 39883 */ 39884 public toJSON(): { [k: string]: any }; 39885 } 39886 39887 /** Properties of a GetFullStatusResponse. */ 39888 interface IGetFullStatusResponse { 39889 39890 /** GetFullStatusResponse status */ 39891 status?: (replicationdata.IFullStatus|null); 39892 } 39893 39894 /** Represents a GetFullStatusResponse. */ 39895 class GetFullStatusResponse implements IGetFullStatusResponse { 39896 39897 /** 39898 * Constructs a new GetFullStatusResponse. 39899 * @param [properties] Properties to set 39900 */ 39901 constructor(properties?: vtctldata.IGetFullStatusResponse); 39902 39903 /** GetFullStatusResponse status. */ 39904 public status?: (replicationdata.IFullStatus|null); 39905 39906 /** 39907 * Creates a new GetFullStatusResponse instance using the specified properties. 39908 * @param [properties] Properties to set 39909 * @returns GetFullStatusResponse instance 39910 */ 39911 public static create(properties?: vtctldata.IGetFullStatusResponse): vtctldata.GetFullStatusResponse; 39912 39913 /** 39914 * Encodes the specified GetFullStatusResponse message. Does not implicitly {@link vtctldata.GetFullStatusResponse.verify|verify} messages. 39915 * @param message GetFullStatusResponse message or plain object to encode 39916 * @param [writer] Writer to encode to 39917 * @returns Writer 39918 */ 39919 public static encode(message: vtctldata.IGetFullStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39920 39921 /** 39922 * Encodes the specified GetFullStatusResponse message, length delimited. Does not implicitly {@link vtctldata.GetFullStatusResponse.verify|verify} messages. 39923 * @param message GetFullStatusResponse message or plain object to encode 39924 * @param [writer] Writer to encode to 39925 * @returns Writer 39926 */ 39927 public static encodeDelimited(message: vtctldata.IGetFullStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; 39928 39929 /** 39930 * Decodes a GetFullStatusResponse message from the specified reader or buffer. 39931 * @param reader Reader or buffer to decode from 39932 * @param [length] Message length if known beforehand 39933 * @returns GetFullStatusResponse 39934 * @throws {Error} If the payload is not a reader or valid buffer 39935 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39936 */ 39937 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetFullStatusResponse; 39938 39939 /** 39940 * Decodes a GetFullStatusResponse message from the specified reader or buffer, length delimited. 39941 * @param reader Reader or buffer to decode from 39942 * @returns GetFullStatusResponse 39943 * @throws {Error} If the payload is not a reader or valid buffer 39944 * @throws {$protobuf.util.ProtocolError} If required fields are missing 39945 */ 39946 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetFullStatusResponse; 39947 39948 /** 39949 * Verifies a GetFullStatusResponse message. 39950 * @param message Plain object to verify 39951 * @returns `null` if valid, otherwise the reason why it is not 39952 */ 39953 public static verify(message: { [k: string]: any }): (string|null); 39954 39955 /** 39956 * Creates a GetFullStatusResponse message from a plain object. Also converts values to their respective internal types. 39957 * @param object Plain object 39958 * @returns GetFullStatusResponse 39959 */ 39960 public static fromObject(object: { [k: string]: any }): vtctldata.GetFullStatusResponse; 39961 39962 /** 39963 * Creates a plain object from a GetFullStatusResponse message. Also converts values to other types if specified. 39964 * @param message GetFullStatusResponse 39965 * @param [options] Conversion options 39966 * @returns Plain object 39967 */ 39968 public static toObject(message: vtctldata.GetFullStatusResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 39969 39970 /** 39971 * Converts this GetFullStatusResponse to JSON. 39972 * @returns JSON object 39973 */ 39974 public toJSON(): { [k: string]: any }; 39975 } 39976 39977 /** Properties of a GetKeyspacesRequest. */ 39978 interface IGetKeyspacesRequest { 39979 } 39980 39981 /** Represents a GetKeyspacesRequest. */ 39982 class GetKeyspacesRequest implements IGetKeyspacesRequest { 39983 39984 /** 39985 * Constructs a new GetKeyspacesRequest. 39986 * @param [properties] Properties to set 39987 */ 39988 constructor(properties?: vtctldata.IGetKeyspacesRequest); 39989 39990 /** 39991 * Creates a new GetKeyspacesRequest instance using the specified properties. 39992 * @param [properties] Properties to set 39993 * @returns GetKeyspacesRequest instance 39994 */ 39995 public static create(properties?: vtctldata.IGetKeyspacesRequest): vtctldata.GetKeyspacesRequest; 39996 39997 /** 39998 * Encodes the specified GetKeyspacesRequest message. Does not implicitly {@link vtctldata.GetKeyspacesRequest.verify|verify} messages. 39999 * @param message GetKeyspacesRequest message or plain object to encode 40000 * @param [writer] Writer to encode to 40001 * @returns Writer 40002 */ 40003 public static encode(message: vtctldata.IGetKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40004 40005 /** 40006 * Encodes the specified GetKeyspacesRequest message, length delimited. Does not implicitly {@link vtctldata.GetKeyspacesRequest.verify|verify} messages. 40007 * @param message GetKeyspacesRequest message or plain object to encode 40008 * @param [writer] Writer to encode to 40009 * @returns Writer 40010 */ 40011 public static encodeDelimited(message: vtctldata.IGetKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40012 40013 /** 40014 * Decodes a GetKeyspacesRequest message from the specified reader or buffer. 40015 * @param reader Reader or buffer to decode from 40016 * @param [length] Message length if known beforehand 40017 * @returns GetKeyspacesRequest 40018 * @throws {Error} If the payload is not a reader or valid buffer 40019 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40020 */ 40021 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspacesRequest; 40022 40023 /** 40024 * Decodes a GetKeyspacesRequest message from the specified reader or buffer, length delimited. 40025 * @param reader Reader or buffer to decode from 40026 * @returns GetKeyspacesRequest 40027 * @throws {Error} If the payload is not a reader or valid buffer 40028 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40029 */ 40030 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspacesRequest; 40031 40032 /** 40033 * Verifies a GetKeyspacesRequest message. 40034 * @param message Plain object to verify 40035 * @returns `null` if valid, otherwise the reason why it is not 40036 */ 40037 public static verify(message: { [k: string]: any }): (string|null); 40038 40039 /** 40040 * Creates a GetKeyspacesRequest message from a plain object. Also converts values to their respective internal types. 40041 * @param object Plain object 40042 * @returns GetKeyspacesRequest 40043 */ 40044 public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspacesRequest; 40045 40046 /** 40047 * Creates a plain object from a GetKeyspacesRequest message. Also converts values to other types if specified. 40048 * @param message GetKeyspacesRequest 40049 * @param [options] Conversion options 40050 * @returns Plain object 40051 */ 40052 public static toObject(message: vtctldata.GetKeyspacesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 40053 40054 /** 40055 * Converts this GetKeyspacesRequest to JSON. 40056 * @returns JSON object 40057 */ 40058 public toJSON(): { [k: string]: any }; 40059 } 40060 40061 /** Properties of a GetKeyspacesResponse. */ 40062 interface IGetKeyspacesResponse { 40063 40064 /** GetKeyspacesResponse keyspaces */ 40065 keyspaces?: (vtctldata.IKeyspace[]|null); 40066 } 40067 40068 /** Represents a GetKeyspacesResponse. */ 40069 class GetKeyspacesResponse implements IGetKeyspacesResponse { 40070 40071 /** 40072 * Constructs a new GetKeyspacesResponse. 40073 * @param [properties] Properties to set 40074 */ 40075 constructor(properties?: vtctldata.IGetKeyspacesResponse); 40076 40077 /** GetKeyspacesResponse keyspaces. */ 40078 public keyspaces: vtctldata.IKeyspace[]; 40079 40080 /** 40081 * Creates a new GetKeyspacesResponse instance using the specified properties. 40082 * @param [properties] Properties to set 40083 * @returns GetKeyspacesResponse instance 40084 */ 40085 public static create(properties?: vtctldata.IGetKeyspacesResponse): vtctldata.GetKeyspacesResponse; 40086 40087 /** 40088 * Encodes the specified GetKeyspacesResponse message. Does not implicitly {@link vtctldata.GetKeyspacesResponse.verify|verify} messages. 40089 * @param message GetKeyspacesResponse message or plain object to encode 40090 * @param [writer] Writer to encode to 40091 * @returns Writer 40092 */ 40093 public static encode(message: vtctldata.IGetKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 40094 40095 /** 40096 * Encodes the specified GetKeyspacesResponse message, length delimited. Does not implicitly {@link vtctldata.GetKeyspacesResponse.verify|verify} messages. 40097 * @param message GetKeyspacesResponse message or plain object to encode 40098 * @param [writer] Writer to encode to 40099 * @returns Writer 40100 */ 40101 public static encodeDelimited(message: vtctldata.IGetKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 40102 40103 /** 40104 * Decodes a GetKeyspacesResponse message from the specified reader or buffer. 40105 * @param reader Reader or buffer to decode from 40106 * @param [length] Message length if known beforehand 40107 * @returns GetKeyspacesResponse 40108 * @throws {Error} If the payload is not a reader or valid buffer 40109 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40110 */ 40111 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspacesResponse; 40112 40113 /** 40114 * Decodes a GetKeyspacesResponse message from the specified reader or buffer, length delimited. 40115 * @param reader Reader or buffer to decode from 40116 * @returns GetKeyspacesResponse 40117 * @throws {Error} If the payload is not a reader or valid buffer 40118 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40119 */ 40120 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspacesResponse; 40121 40122 /** 40123 * Verifies a GetKeyspacesResponse message. 40124 * @param message Plain object to verify 40125 * @returns `null` if valid, otherwise the reason why it is not 40126 */ 40127 public static verify(message: { [k: string]: any }): (string|null); 40128 40129 /** 40130 * Creates a GetKeyspacesResponse message from a plain object. Also converts values to their respective internal types. 40131 * @param object Plain object 40132 * @returns GetKeyspacesResponse 40133 */ 40134 public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspacesResponse; 40135 40136 /** 40137 * Creates a plain object from a GetKeyspacesResponse message. Also converts values to other types if specified. 40138 * @param message GetKeyspacesResponse 40139 * @param [options] Conversion options 40140 * @returns Plain object 40141 */ 40142 public static toObject(message: vtctldata.GetKeyspacesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 40143 40144 /** 40145 * Converts this GetKeyspacesResponse to JSON. 40146 * @returns JSON object 40147 */ 40148 public toJSON(): { [k: string]: any }; 40149 } 40150 40151 /** Properties of a GetKeyspaceRequest. */ 40152 interface IGetKeyspaceRequest { 40153 40154 /** GetKeyspaceRequest keyspace */ 40155 keyspace?: (string|null); 40156 } 40157 40158 /** Represents a GetKeyspaceRequest. */ 40159 class GetKeyspaceRequest implements IGetKeyspaceRequest { 40160 40161 /** 40162 * Constructs a new GetKeyspaceRequest. 40163 * @param [properties] Properties to set 40164 */ 40165 constructor(properties?: vtctldata.IGetKeyspaceRequest); 40166 40167 /** GetKeyspaceRequest keyspace. */ 40168 public keyspace: string; 40169 40170 /** 40171 * Creates a new GetKeyspaceRequest instance using the specified properties. 40172 * @param [properties] Properties to set 40173 * @returns GetKeyspaceRequest instance 40174 */ 40175 public static create(properties?: vtctldata.IGetKeyspaceRequest): vtctldata.GetKeyspaceRequest; 40176 40177 /** 40178 * Encodes the specified GetKeyspaceRequest message. Does not implicitly {@link vtctldata.GetKeyspaceRequest.verify|verify} messages. 40179 * @param message GetKeyspaceRequest message or plain object to encode 40180 * @param [writer] Writer to encode to 40181 * @returns Writer 40182 */ 40183 public static encode(message: vtctldata.IGetKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40184 40185 /** 40186 * Encodes the specified GetKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.GetKeyspaceRequest.verify|verify} messages. 40187 * @param message GetKeyspaceRequest message or plain object to encode 40188 * @param [writer] Writer to encode to 40189 * @returns Writer 40190 */ 40191 public static encodeDelimited(message: vtctldata.IGetKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40192 40193 /** 40194 * Decodes a GetKeyspaceRequest message from the specified reader or buffer. 40195 * @param reader Reader or buffer to decode from 40196 * @param [length] Message length if known beforehand 40197 * @returns GetKeyspaceRequest 40198 * @throws {Error} If the payload is not a reader or valid buffer 40199 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40200 */ 40201 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspaceRequest; 40202 40203 /** 40204 * Decodes a GetKeyspaceRequest message from the specified reader or buffer, length delimited. 40205 * @param reader Reader or buffer to decode from 40206 * @returns GetKeyspaceRequest 40207 * @throws {Error} If the payload is not a reader or valid buffer 40208 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40209 */ 40210 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspaceRequest; 40211 40212 /** 40213 * Verifies a GetKeyspaceRequest message. 40214 * @param message Plain object to verify 40215 * @returns `null` if valid, otherwise the reason why it is not 40216 */ 40217 public static verify(message: { [k: string]: any }): (string|null); 40218 40219 /** 40220 * Creates a GetKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 40221 * @param object Plain object 40222 * @returns GetKeyspaceRequest 40223 */ 40224 public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspaceRequest; 40225 40226 /** 40227 * Creates a plain object from a GetKeyspaceRequest message. Also converts values to other types if specified. 40228 * @param message GetKeyspaceRequest 40229 * @param [options] Conversion options 40230 * @returns Plain object 40231 */ 40232 public static toObject(message: vtctldata.GetKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 40233 40234 /** 40235 * Converts this GetKeyspaceRequest to JSON. 40236 * @returns JSON object 40237 */ 40238 public toJSON(): { [k: string]: any }; 40239 } 40240 40241 /** Properties of a GetKeyspaceResponse. */ 40242 interface IGetKeyspaceResponse { 40243 40244 /** GetKeyspaceResponse keyspace */ 40245 keyspace?: (vtctldata.IKeyspace|null); 40246 } 40247 40248 /** Represents a GetKeyspaceResponse. */ 40249 class GetKeyspaceResponse implements IGetKeyspaceResponse { 40250 40251 /** 40252 * Constructs a new GetKeyspaceResponse. 40253 * @param [properties] Properties to set 40254 */ 40255 constructor(properties?: vtctldata.IGetKeyspaceResponse); 40256 40257 /** GetKeyspaceResponse keyspace. */ 40258 public keyspace?: (vtctldata.IKeyspace|null); 40259 40260 /** 40261 * Creates a new GetKeyspaceResponse instance using the specified properties. 40262 * @param [properties] Properties to set 40263 * @returns GetKeyspaceResponse instance 40264 */ 40265 public static create(properties?: vtctldata.IGetKeyspaceResponse): vtctldata.GetKeyspaceResponse; 40266 40267 /** 40268 * Encodes the specified GetKeyspaceResponse message. Does not implicitly {@link vtctldata.GetKeyspaceResponse.verify|verify} messages. 40269 * @param message GetKeyspaceResponse message or plain object to encode 40270 * @param [writer] Writer to encode to 40271 * @returns Writer 40272 */ 40273 public static encode(message: vtctldata.IGetKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 40274 40275 /** 40276 * Encodes the specified GetKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.GetKeyspaceResponse.verify|verify} messages. 40277 * @param message GetKeyspaceResponse message or plain object to encode 40278 * @param [writer] Writer to encode to 40279 * @returns Writer 40280 */ 40281 public static encodeDelimited(message: vtctldata.IGetKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 40282 40283 /** 40284 * Decodes a GetKeyspaceResponse message from the specified reader or buffer. 40285 * @param reader Reader or buffer to decode from 40286 * @param [length] Message length if known beforehand 40287 * @returns GetKeyspaceResponse 40288 * @throws {Error} If the payload is not a reader or valid buffer 40289 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40290 */ 40291 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspaceResponse; 40292 40293 /** 40294 * Decodes a GetKeyspaceResponse message from the specified reader or buffer, length delimited. 40295 * @param reader Reader or buffer to decode from 40296 * @returns GetKeyspaceResponse 40297 * @throws {Error} If the payload is not a reader or valid buffer 40298 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40299 */ 40300 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspaceResponse; 40301 40302 /** 40303 * Verifies a GetKeyspaceResponse message. 40304 * @param message Plain object to verify 40305 * @returns `null` if valid, otherwise the reason why it is not 40306 */ 40307 public static verify(message: { [k: string]: any }): (string|null); 40308 40309 /** 40310 * Creates a GetKeyspaceResponse message from a plain object. Also converts values to their respective internal types. 40311 * @param object Plain object 40312 * @returns GetKeyspaceResponse 40313 */ 40314 public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspaceResponse; 40315 40316 /** 40317 * Creates a plain object from a GetKeyspaceResponse message. Also converts values to other types if specified. 40318 * @param message GetKeyspaceResponse 40319 * @param [options] Conversion options 40320 * @returns Plain object 40321 */ 40322 public static toObject(message: vtctldata.GetKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 40323 40324 /** 40325 * Converts this GetKeyspaceResponse to JSON. 40326 * @returns JSON object 40327 */ 40328 public toJSON(): { [k: string]: any }; 40329 } 40330 40331 /** Properties of a GetPermissionsRequest. */ 40332 interface IGetPermissionsRequest { 40333 40334 /** GetPermissionsRequest tablet_alias */ 40335 tablet_alias?: (topodata.ITabletAlias|null); 40336 } 40337 40338 /** Represents a GetPermissionsRequest. */ 40339 class GetPermissionsRequest implements IGetPermissionsRequest { 40340 40341 /** 40342 * Constructs a new GetPermissionsRequest. 40343 * @param [properties] Properties to set 40344 */ 40345 constructor(properties?: vtctldata.IGetPermissionsRequest); 40346 40347 /** GetPermissionsRequest tablet_alias. */ 40348 public tablet_alias?: (topodata.ITabletAlias|null); 40349 40350 /** 40351 * Creates a new GetPermissionsRequest instance using the specified properties. 40352 * @param [properties] Properties to set 40353 * @returns GetPermissionsRequest instance 40354 */ 40355 public static create(properties?: vtctldata.IGetPermissionsRequest): vtctldata.GetPermissionsRequest; 40356 40357 /** 40358 * Encodes the specified GetPermissionsRequest message. Does not implicitly {@link vtctldata.GetPermissionsRequest.verify|verify} messages. 40359 * @param message GetPermissionsRequest message or plain object to encode 40360 * @param [writer] Writer to encode to 40361 * @returns Writer 40362 */ 40363 public static encode(message: vtctldata.IGetPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40364 40365 /** 40366 * Encodes the specified GetPermissionsRequest message, length delimited. Does not implicitly {@link vtctldata.GetPermissionsRequest.verify|verify} messages. 40367 * @param message GetPermissionsRequest message or plain object to encode 40368 * @param [writer] Writer to encode to 40369 * @returns Writer 40370 */ 40371 public static encodeDelimited(message: vtctldata.IGetPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40372 40373 /** 40374 * Decodes a GetPermissionsRequest message from the specified reader or buffer. 40375 * @param reader Reader or buffer to decode from 40376 * @param [length] Message length if known beforehand 40377 * @returns GetPermissionsRequest 40378 * @throws {Error} If the payload is not a reader or valid buffer 40379 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40380 */ 40381 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetPermissionsRequest; 40382 40383 /** 40384 * Decodes a GetPermissionsRequest message from the specified reader or buffer, length delimited. 40385 * @param reader Reader or buffer to decode from 40386 * @returns GetPermissionsRequest 40387 * @throws {Error} If the payload is not a reader or valid buffer 40388 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40389 */ 40390 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetPermissionsRequest; 40391 40392 /** 40393 * Verifies a GetPermissionsRequest message. 40394 * @param message Plain object to verify 40395 * @returns `null` if valid, otherwise the reason why it is not 40396 */ 40397 public static verify(message: { [k: string]: any }): (string|null); 40398 40399 /** 40400 * Creates a GetPermissionsRequest message from a plain object. Also converts values to their respective internal types. 40401 * @param object Plain object 40402 * @returns GetPermissionsRequest 40403 */ 40404 public static fromObject(object: { [k: string]: any }): vtctldata.GetPermissionsRequest; 40405 40406 /** 40407 * Creates a plain object from a GetPermissionsRequest message. Also converts values to other types if specified. 40408 * @param message GetPermissionsRequest 40409 * @param [options] Conversion options 40410 * @returns Plain object 40411 */ 40412 public static toObject(message: vtctldata.GetPermissionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 40413 40414 /** 40415 * Converts this GetPermissionsRequest to JSON. 40416 * @returns JSON object 40417 */ 40418 public toJSON(): { [k: string]: any }; 40419 } 40420 40421 /** Properties of a GetPermissionsResponse. */ 40422 interface IGetPermissionsResponse { 40423 40424 /** GetPermissionsResponse permissions */ 40425 permissions?: (tabletmanagerdata.IPermissions|null); 40426 } 40427 40428 /** Represents a GetPermissionsResponse. */ 40429 class GetPermissionsResponse implements IGetPermissionsResponse { 40430 40431 /** 40432 * Constructs a new GetPermissionsResponse. 40433 * @param [properties] Properties to set 40434 */ 40435 constructor(properties?: vtctldata.IGetPermissionsResponse); 40436 40437 /** GetPermissionsResponse permissions. */ 40438 public permissions?: (tabletmanagerdata.IPermissions|null); 40439 40440 /** 40441 * Creates a new GetPermissionsResponse instance using the specified properties. 40442 * @param [properties] Properties to set 40443 * @returns GetPermissionsResponse instance 40444 */ 40445 public static create(properties?: vtctldata.IGetPermissionsResponse): vtctldata.GetPermissionsResponse; 40446 40447 /** 40448 * Encodes the specified GetPermissionsResponse message. Does not implicitly {@link vtctldata.GetPermissionsResponse.verify|verify} messages. 40449 * @param message GetPermissionsResponse message or plain object to encode 40450 * @param [writer] Writer to encode to 40451 * @returns Writer 40452 */ 40453 public static encode(message: vtctldata.IGetPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 40454 40455 /** 40456 * Encodes the specified GetPermissionsResponse message, length delimited. Does not implicitly {@link vtctldata.GetPermissionsResponse.verify|verify} messages. 40457 * @param message GetPermissionsResponse message or plain object to encode 40458 * @param [writer] Writer to encode to 40459 * @returns Writer 40460 */ 40461 public static encodeDelimited(message: vtctldata.IGetPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 40462 40463 /** 40464 * Decodes a GetPermissionsResponse message from the specified reader or buffer. 40465 * @param reader Reader or buffer to decode from 40466 * @param [length] Message length if known beforehand 40467 * @returns GetPermissionsResponse 40468 * @throws {Error} If the payload is not a reader or valid buffer 40469 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40470 */ 40471 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetPermissionsResponse; 40472 40473 /** 40474 * Decodes a GetPermissionsResponse message from the specified reader or buffer, length delimited. 40475 * @param reader Reader or buffer to decode from 40476 * @returns GetPermissionsResponse 40477 * @throws {Error} If the payload is not a reader or valid buffer 40478 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40479 */ 40480 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetPermissionsResponse; 40481 40482 /** 40483 * Verifies a GetPermissionsResponse message. 40484 * @param message Plain object to verify 40485 * @returns `null` if valid, otherwise the reason why it is not 40486 */ 40487 public static verify(message: { [k: string]: any }): (string|null); 40488 40489 /** 40490 * Creates a GetPermissionsResponse message from a plain object. Also converts values to their respective internal types. 40491 * @param object Plain object 40492 * @returns GetPermissionsResponse 40493 */ 40494 public static fromObject(object: { [k: string]: any }): vtctldata.GetPermissionsResponse; 40495 40496 /** 40497 * Creates a plain object from a GetPermissionsResponse message. Also converts values to other types if specified. 40498 * @param message GetPermissionsResponse 40499 * @param [options] Conversion options 40500 * @returns Plain object 40501 */ 40502 public static toObject(message: vtctldata.GetPermissionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 40503 40504 /** 40505 * Converts this GetPermissionsResponse to JSON. 40506 * @returns JSON object 40507 */ 40508 public toJSON(): { [k: string]: any }; 40509 } 40510 40511 /** Properties of a GetRoutingRulesRequest. */ 40512 interface IGetRoutingRulesRequest { 40513 } 40514 40515 /** Represents a GetRoutingRulesRequest. */ 40516 class GetRoutingRulesRequest implements IGetRoutingRulesRequest { 40517 40518 /** 40519 * Constructs a new GetRoutingRulesRequest. 40520 * @param [properties] Properties to set 40521 */ 40522 constructor(properties?: vtctldata.IGetRoutingRulesRequest); 40523 40524 /** 40525 * Creates a new GetRoutingRulesRequest instance using the specified properties. 40526 * @param [properties] Properties to set 40527 * @returns GetRoutingRulesRequest instance 40528 */ 40529 public static create(properties?: vtctldata.IGetRoutingRulesRequest): vtctldata.GetRoutingRulesRequest; 40530 40531 /** 40532 * Encodes the specified GetRoutingRulesRequest message. Does not implicitly {@link vtctldata.GetRoutingRulesRequest.verify|verify} messages. 40533 * @param message GetRoutingRulesRequest message or plain object to encode 40534 * @param [writer] Writer to encode to 40535 * @returns Writer 40536 */ 40537 public static encode(message: vtctldata.IGetRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40538 40539 /** 40540 * Encodes the specified GetRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.GetRoutingRulesRequest.verify|verify} messages. 40541 * @param message GetRoutingRulesRequest message or plain object to encode 40542 * @param [writer] Writer to encode to 40543 * @returns Writer 40544 */ 40545 public static encodeDelimited(message: vtctldata.IGetRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40546 40547 /** 40548 * Decodes a GetRoutingRulesRequest message from the specified reader or buffer. 40549 * @param reader Reader or buffer to decode from 40550 * @param [length] Message length if known beforehand 40551 * @returns GetRoutingRulesRequest 40552 * @throws {Error} If the payload is not a reader or valid buffer 40553 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40554 */ 40555 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetRoutingRulesRequest; 40556 40557 /** 40558 * Decodes a GetRoutingRulesRequest message from the specified reader or buffer, length delimited. 40559 * @param reader Reader or buffer to decode from 40560 * @returns GetRoutingRulesRequest 40561 * @throws {Error} If the payload is not a reader or valid buffer 40562 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40563 */ 40564 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetRoutingRulesRequest; 40565 40566 /** 40567 * Verifies a GetRoutingRulesRequest message. 40568 * @param message Plain object to verify 40569 * @returns `null` if valid, otherwise the reason why it is not 40570 */ 40571 public static verify(message: { [k: string]: any }): (string|null); 40572 40573 /** 40574 * Creates a GetRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. 40575 * @param object Plain object 40576 * @returns GetRoutingRulesRequest 40577 */ 40578 public static fromObject(object: { [k: string]: any }): vtctldata.GetRoutingRulesRequest; 40579 40580 /** 40581 * Creates a plain object from a GetRoutingRulesRequest message. Also converts values to other types if specified. 40582 * @param message GetRoutingRulesRequest 40583 * @param [options] Conversion options 40584 * @returns Plain object 40585 */ 40586 public static toObject(message: vtctldata.GetRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 40587 40588 /** 40589 * Converts this GetRoutingRulesRequest to JSON. 40590 * @returns JSON object 40591 */ 40592 public toJSON(): { [k: string]: any }; 40593 } 40594 40595 /** Properties of a GetRoutingRulesResponse. */ 40596 interface IGetRoutingRulesResponse { 40597 40598 /** GetRoutingRulesResponse routing_rules */ 40599 routing_rules?: (vschema.IRoutingRules|null); 40600 } 40601 40602 /** Represents a GetRoutingRulesResponse. */ 40603 class GetRoutingRulesResponse implements IGetRoutingRulesResponse { 40604 40605 /** 40606 * Constructs a new GetRoutingRulesResponse. 40607 * @param [properties] Properties to set 40608 */ 40609 constructor(properties?: vtctldata.IGetRoutingRulesResponse); 40610 40611 /** GetRoutingRulesResponse routing_rules. */ 40612 public routing_rules?: (vschema.IRoutingRules|null); 40613 40614 /** 40615 * Creates a new GetRoutingRulesResponse instance using the specified properties. 40616 * @param [properties] Properties to set 40617 * @returns GetRoutingRulesResponse instance 40618 */ 40619 public static create(properties?: vtctldata.IGetRoutingRulesResponse): vtctldata.GetRoutingRulesResponse; 40620 40621 /** 40622 * Encodes the specified GetRoutingRulesResponse message. Does not implicitly {@link vtctldata.GetRoutingRulesResponse.verify|verify} messages. 40623 * @param message GetRoutingRulesResponse message or plain object to encode 40624 * @param [writer] Writer to encode to 40625 * @returns Writer 40626 */ 40627 public static encode(message: vtctldata.IGetRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 40628 40629 /** 40630 * Encodes the specified GetRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.GetRoutingRulesResponse.verify|verify} messages. 40631 * @param message GetRoutingRulesResponse message or plain object to encode 40632 * @param [writer] Writer to encode to 40633 * @returns Writer 40634 */ 40635 public static encodeDelimited(message: vtctldata.IGetRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 40636 40637 /** 40638 * Decodes a GetRoutingRulesResponse message from the specified reader or buffer. 40639 * @param reader Reader or buffer to decode from 40640 * @param [length] Message length if known beforehand 40641 * @returns GetRoutingRulesResponse 40642 * @throws {Error} If the payload is not a reader or valid buffer 40643 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40644 */ 40645 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetRoutingRulesResponse; 40646 40647 /** 40648 * Decodes a GetRoutingRulesResponse message from the specified reader or buffer, length delimited. 40649 * @param reader Reader or buffer to decode from 40650 * @returns GetRoutingRulesResponse 40651 * @throws {Error} If the payload is not a reader or valid buffer 40652 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40653 */ 40654 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetRoutingRulesResponse; 40655 40656 /** 40657 * Verifies a GetRoutingRulesResponse message. 40658 * @param message Plain object to verify 40659 * @returns `null` if valid, otherwise the reason why it is not 40660 */ 40661 public static verify(message: { [k: string]: any }): (string|null); 40662 40663 /** 40664 * Creates a GetRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. 40665 * @param object Plain object 40666 * @returns GetRoutingRulesResponse 40667 */ 40668 public static fromObject(object: { [k: string]: any }): vtctldata.GetRoutingRulesResponse; 40669 40670 /** 40671 * Creates a plain object from a GetRoutingRulesResponse message. Also converts values to other types if specified. 40672 * @param message GetRoutingRulesResponse 40673 * @param [options] Conversion options 40674 * @returns Plain object 40675 */ 40676 public static toObject(message: vtctldata.GetRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 40677 40678 /** 40679 * Converts this GetRoutingRulesResponse to JSON. 40680 * @returns JSON object 40681 */ 40682 public toJSON(): { [k: string]: any }; 40683 } 40684 40685 /** Properties of a GetSchemaRequest. */ 40686 interface IGetSchemaRequest { 40687 40688 /** GetSchemaRequest tablet_alias */ 40689 tablet_alias?: (topodata.ITabletAlias|null); 40690 40691 /** GetSchemaRequest tables */ 40692 tables?: (string[]|null); 40693 40694 /** GetSchemaRequest exclude_tables */ 40695 exclude_tables?: (string[]|null); 40696 40697 /** GetSchemaRequest include_views */ 40698 include_views?: (boolean|null); 40699 40700 /** GetSchemaRequest table_names_only */ 40701 table_names_only?: (boolean|null); 40702 40703 /** GetSchemaRequest table_sizes_only */ 40704 table_sizes_only?: (boolean|null); 40705 40706 /** GetSchemaRequest table_schema_only */ 40707 table_schema_only?: (boolean|null); 40708 } 40709 40710 /** Represents a GetSchemaRequest. */ 40711 class GetSchemaRequest implements IGetSchemaRequest { 40712 40713 /** 40714 * Constructs a new GetSchemaRequest. 40715 * @param [properties] Properties to set 40716 */ 40717 constructor(properties?: vtctldata.IGetSchemaRequest); 40718 40719 /** GetSchemaRequest tablet_alias. */ 40720 public tablet_alias?: (topodata.ITabletAlias|null); 40721 40722 /** GetSchemaRequest tables. */ 40723 public tables: string[]; 40724 40725 /** GetSchemaRequest exclude_tables. */ 40726 public exclude_tables: string[]; 40727 40728 /** GetSchemaRequest include_views. */ 40729 public include_views: boolean; 40730 40731 /** GetSchemaRequest table_names_only. */ 40732 public table_names_only: boolean; 40733 40734 /** GetSchemaRequest table_sizes_only. */ 40735 public table_sizes_only: boolean; 40736 40737 /** GetSchemaRequest table_schema_only. */ 40738 public table_schema_only: boolean; 40739 40740 /** 40741 * Creates a new GetSchemaRequest instance using the specified properties. 40742 * @param [properties] Properties to set 40743 * @returns GetSchemaRequest instance 40744 */ 40745 public static create(properties?: vtctldata.IGetSchemaRequest): vtctldata.GetSchemaRequest; 40746 40747 /** 40748 * Encodes the specified GetSchemaRequest message. Does not implicitly {@link vtctldata.GetSchemaRequest.verify|verify} messages. 40749 * @param message GetSchemaRequest message or plain object to encode 40750 * @param [writer] Writer to encode to 40751 * @returns Writer 40752 */ 40753 public static encode(message: vtctldata.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40754 40755 /** 40756 * Encodes the specified GetSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.GetSchemaRequest.verify|verify} messages. 40757 * @param message GetSchemaRequest message or plain object to encode 40758 * @param [writer] Writer to encode to 40759 * @returns Writer 40760 */ 40761 public static encodeDelimited(message: vtctldata.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40762 40763 /** 40764 * Decodes a GetSchemaRequest message from the specified reader or buffer. 40765 * @param reader Reader or buffer to decode from 40766 * @param [length] Message length if known beforehand 40767 * @returns GetSchemaRequest 40768 * @throws {Error} If the payload is not a reader or valid buffer 40769 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40770 */ 40771 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSchemaRequest; 40772 40773 /** 40774 * Decodes a GetSchemaRequest message from the specified reader or buffer, length delimited. 40775 * @param reader Reader or buffer to decode from 40776 * @returns GetSchemaRequest 40777 * @throws {Error} If the payload is not a reader or valid buffer 40778 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40779 */ 40780 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSchemaRequest; 40781 40782 /** 40783 * Verifies a GetSchemaRequest message. 40784 * @param message Plain object to verify 40785 * @returns `null` if valid, otherwise the reason why it is not 40786 */ 40787 public static verify(message: { [k: string]: any }): (string|null); 40788 40789 /** 40790 * Creates a GetSchemaRequest message from a plain object. Also converts values to their respective internal types. 40791 * @param object Plain object 40792 * @returns GetSchemaRequest 40793 */ 40794 public static fromObject(object: { [k: string]: any }): vtctldata.GetSchemaRequest; 40795 40796 /** 40797 * Creates a plain object from a GetSchemaRequest message. Also converts values to other types if specified. 40798 * @param message GetSchemaRequest 40799 * @param [options] Conversion options 40800 * @returns Plain object 40801 */ 40802 public static toObject(message: vtctldata.GetSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 40803 40804 /** 40805 * Converts this GetSchemaRequest to JSON. 40806 * @returns JSON object 40807 */ 40808 public toJSON(): { [k: string]: any }; 40809 } 40810 40811 /** Properties of a GetSchemaResponse. */ 40812 interface IGetSchemaResponse { 40813 40814 /** GetSchemaResponse schema */ 40815 schema?: (tabletmanagerdata.ISchemaDefinition|null); 40816 } 40817 40818 /** Represents a GetSchemaResponse. */ 40819 class GetSchemaResponse implements IGetSchemaResponse { 40820 40821 /** 40822 * Constructs a new GetSchemaResponse. 40823 * @param [properties] Properties to set 40824 */ 40825 constructor(properties?: vtctldata.IGetSchemaResponse); 40826 40827 /** GetSchemaResponse schema. */ 40828 public schema?: (tabletmanagerdata.ISchemaDefinition|null); 40829 40830 /** 40831 * Creates a new GetSchemaResponse instance using the specified properties. 40832 * @param [properties] Properties to set 40833 * @returns GetSchemaResponse instance 40834 */ 40835 public static create(properties?: vtctldata.IGetSchemaResponse): vtctldata.GetSchemaResponse; 40836 40837 /** 40838 * Encodes the specified GetSchemaResponse message. Does not implicitly {@link vtctldata.GetSchemaResponse.verify|verify} messages. 40839 * @param message GetSchemaResponse message or plain object to encode 40840 * @param [writer] Writer to encode to 40841 * @returns Writer 40842 */ 40843 public static encode(message: vtctldata.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 40844 40845 /** 40846 * Encodes the specified GetSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.GetSchemaResponse.verify|verify} messages. 40847 * @param message GetSchemaResponse message or plain object to encode 40848 * @param [writer] Writer to encode to 40849 * @returns Writer 40850 */ 40851 public static encodeDelimited(message: vtctldata.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 40852 40853 /** 40854 * Decodes a GetSchemaResponse message from the specified reader or buffer. 40855 * @param reader Reader or buffer to decode from 40856 * @param [length] Message length if known beforehand 40857 * @returns GetSchemaResponse 40858 * @throws {Error} If the payload is not a reader or valid buffer 40859 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40860 */ 40861 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSchemaResponse; 40862 40863 /** 40864 * Decodes a GetSchemaResponse message from the specified reader or buffer, length delimited. 40865 * @param reader Reader or buffer to decode from 40866 * @returns GetSchemaResponse 40867 * @throws {Error} If the payload is not a reader or valid buffer 40868 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40869 */ 40870 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSchemaResponse; 40871 40872 /** 40873 * Verifies a GetSchemaResponse message. 40874 * @param message Plain object to verify 40875 * @returns `null` if valid, otherwise the reason why it is not 40876 */ 40877 public static verify(message: { [k: string]: any }): (string|null); 40878 40879 /** 40880 * Creates a GetSchemaResponse message from a plain object. Also converts values to their respective internal types. 40881 * @param object Plain object 40882 * @returns GetSchemaResponse 40883 */ 40884 public static fromObject(object: { [k: string]: any }): vtctldata.GetSchemaResponse; 40885 40886 /** 40887 * Creates a plain object from a GetSchemaResponse message. Also converts values to other types if specified. 40888 * @param message GetSchemaResponse 40889 * @param [options] Conversion options 40890 * @returns Plain object 40891 */ 40892 public static toObject(message: vtctldata.GetSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 40893 40894 /** 40895 * Converts this GetSchemaResponse to JSON. 40896 * @returns JSON object 40897 */ 40898 public toJSON(): { [k: string]: any }; 40899 } 40900 40901 /** Properties of a GetShardRequest. */ 40902 interface IGetShardRequest { 40903 40904 /** GetShardRequest keyspace */ 40905 keyspace?: (string|null); 40906 40907 /** GetShardRequest shard_name */ 40908 shard_name?: (string|null); 40909 } 40910 40911 /** Represents a GetShardRequest. */ 40912 class GetShardRequest implements IGetShardRequest { 40913 40914 /** 40915 * Constructs a new GetShardRequest. 40916 * @param [properties] Properties to set 40917 */ 40918 constructor(properties?: vtctldata.IGetShardRequest); 40919 40920 /** GetShardRequest keyspace. */ 40921 public keyspace: string; 40922 40923 /** GetShardRequest shard_name. */ 40924 public shard_name: string; 40925 40926 /** 40927 * Creates a new GetShardRequest instance using the specified properties. 40928 * @param [properties] Properties to set 40929 * @returns GetShardRequest instance 40930 */ 40931 public static create(properties?: vtctldata.IGetShardRequest): vtctldata.GetShardRequest; 40932 40933 /** 40934 * Encodes the specified GetShardRequest message. Does not implicitly {@link vtctldata.GetShardRequest.verify|verify} messages. 40935 * @param message GetShardRequest message or plain object to encode 40936 * @param [writer] Writer to encode to 40937 * @returns Writer 40938 */ 40939 public static encode(message: vtctldata.IGetShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40940 40941 /** 40942 * Encodes the specified GetShardRequest message, length delimited. Does not implicitly {@link vtctldata.GetShardRequest.verify|verify} messages. 40943 * @param message GetShardRequest message or plain object to encode 40944 * @param [writer] Writer to encode to 40945 * @returns Writer 40946 */ 40947 public static encodeDelimited(message: vtctldata.IGetShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 40948 40949 /** 40950 * Decodes a GetShardRequest message from the specified reader or buffer. 40951 * @param reader Reader or buffer to decode from 40952 * @param [length] Message length if known beforehand 40953 * @returns GetShardRequest 40954 * @throws {Error} If the payload is not a reader or valid buffer 40955 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40956 */ 40957 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardRequest; 40958 40959 /** 40960 * Decodes a GetShardRequest message from the specified reader or buffer, length delimited. 40961 * @param reader Reader or buffer to decode from 40962 * @returns GetShardRequest 40963 * @throws {Error} If the payload is not a reader or valid buffer 40964 * @throws {$protobuf.util.ProtocolError} If required fields are missing 40965 */ 40966 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardRequest; 40967 40968 /** 40969 * Verifies a GetShardRequest message. 40970 * @param message Plain object to verify 40971 * @returns `null` if valid, otherwise the reason why it is not 40972 */ 40973 public static verify(message: { [k: string]: any }): (string|null); 40974 40975 /** 40976 * Creates a GetShardRequest message from a plain object. Also converts values to their respective internal types. 40977 * @param object Plain object 40978 * @returns GetShardRequest 40979 */ 40980 public static fromObject(object: { [k: string]: any }): vtctldata.GetShardRequest; 40981 40982 /** 40983 * Creates a plain object from a GetShardRequest message. Also converts values to other types if specified. 40984 * @param message GetShardRequest 40985 * @param [options] Conversion options 40986 * @returns Plain object 40987 */ 40988 public static toObject(message: vtctldata.GetShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 40989 40990 /** 40991 * Converts this GetShardRequest to JSON. 40992 * @returns JSON object 40993 */ 40994 public toJSON(): { [k: string]: any }; 40995 } 40996 40997 /** Properties of a GetShardResponse. */ 40998 interface IGetShardResponse { 40999 41000 /** GetShardResponse shard */ 41001 shard?: (vtctldata.IShard|null); 41002 } 41003 41004 /** Represents a GetShardResponse. */ 41005 class GetShardResponse implements IGetShardResponse { 41006 41007 /** 41008 * Constructs a new GetShardResponse. 41009 * @param [properties] Properties to set 41010 */ 41011 constructor(properties?: vtctldata.IGetShardResponse); 41012 41013 /** GetShardResponse shard. */ 41014 public shard?: (vtctldata.IShard|null); 41015 41016 /** 41017 * Creates a new GetShardResponse instance using the specified properties. 41018 * @param [properties] Properties to set 41019 * @returns GetShardResponse instance 41020 */ 41021 public static create(properties?: vtctldata.IGetShardResponse): vtctldata.GetShardResponse; 41022 41023 /** 41024 * Encodes the specified GetShardResponse message. Does not implicitly {@link vtctldata.GetShardResponse.verify|verify} messages. 41025 * @param message GetShardResponse message or plain object to encode 41026 * @param [writer] Writer to encode to 41027 * @returns Writer 41028 */ 41029 public static encode(message: vtctldata.IGetShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 41030 41031 /** 41032 * Encodes the specified GetShardResponse message, length delimited. Does not implicitly {@link vtctldata.GetShardResponse.verify|verify} messages. 41033 * @param message GetShardResponse message or plain object to encode 41034 * @param [writer] Writer to encode to 41035 * @returns Writer 41036 */ 41037 public static encodeDelimited(message: vtctldata.IGetShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 41038 41039 /** 41040 * Decodes a GetShardResponse message from the specified reader or buffer. 41041 * @param reader Reader or buffer to decode from 41042 * @param [length] Message length if known beforehand 41043 * @returns GetShardResponse 41044 * @throws {Error} If the payload is not a reader or valid buffer 41045 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41046 */ 41047 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardResponse; 41048 41049 /** 41050 * Decodes a GetShardResponse message from the specified reader or buffer, length delimited. 41051 * @param reader Reader or buffer to decode from 41052 * @returns GetShardResponse 41053 * @throws {Error} If the payload is not a reader or valid buffer 41054 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41055 */ 41056 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardResponse; 41057 41058 /** 41059 * Verifies a GetShardResponse message. 41060 * @param message Plain object to verify 41061 * @returns `null` if valid, otherwise the reason why it is not 41062 */ 41063 public static verify(message: { [k: string]: any }): (string|null); 41064 41065 /** 41066 * Creates a GetShardResponse message from a plain object. Also converts values to their respective internal types. 41067 * @param object Plain object 41068 * @returns GetShardResponse 41069 */ 41070 public static fromObject(object: { [k: string]: any }): vtctldata.GetShardResponse; 41071 41072 /** 41073 * Creates a plain object from a GetShardResponse message. Also converts values to other types if specified. 41074 * @param message GetShardResponse 41075 * @param [options] Conversion options 41076 * @returns Plain object 41077 */ 41078 public static toObject(message: vtctldata.GetShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 41079 41080 /** 41081 * Converts this GetShardResponse to JSON. 41082 * @returns JSON object 41083 */ 41084 public toJSON(): { [k: string]: any }; 41085 } 41086 41087 /** Properties of a GetShardRoutingRulesRequest. */ 41088 interface IGetShardRoutingRulesRequest { 41089 } 41090 41091 /** Represents a GetShardRoutingRulesRequest. */ 41092 class GetShardRoutingRulesRequest implements IGetShardRoutingRulesRequest { 41093 41094 /** 41095 * Constructs a new GetShardRoutingRulesRequest. 41096 * @param [properties] Properties to set 41097 */ 41098 constructor(properties?: vtctldata.IGetShardRoutingRulesRequest); 41099 41100 /** 41101 * Creates a new GetShardRoutingRulesRequest instance using the specified properties. 41102 * @param [properties] Properties to set 41103 * @returns GetShardRoutingRulesRequest instance 41104 */ 41105 public static create(properties?: vtctldata.IGetShardRoutingRulesRequest): vtctldata.GetShardRoutingRulesRequest; 41106 41107 /** 41108 * Encodes the specified GetShardRoutingRulesRequest message. Does not implicitly {@link vtctldata.GetShardRoutingRulesRequest.verify|verify} messages. 41109 * @param message GetShardRoutingRulesRequest message or plain object to encode 41110 * @param [writer] Writer to encode to 41111 * @returns Writer 41112 */ 41113 public static encode(message: vtctldata.IGetShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 41114 41115 /** 41116 * Encodes the specified GetShardRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.GetShardRoutingRulesRequest.verify|verify} messages. 41117 * @param message GetShardRoutingRulesRequest message or plain object to encode 41118 * @param [writer] Writer to encode to 41119 * @returns Writer 41120 */ 41121 public static encodeDelimited(message: vtctldata.IGetShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 41122 41123 /** 41124 * Decodes a GetShardRoutingRulesRequest message from the specified reader or buffer. 41125 * @param reader Reader or buffer to decode from 41126 * @param [length] Message length if known beforehand 41127 * @returns GetShardRoutingRulesRequest 41128 * @throws {Error} If the payload is not a reader or valid buffer 41129 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41130 */ 41131 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardRoutingRulesRequest; 41132 41133 /** 41134 * Decodes a GetShardRoutingRulesRequest message from the specified reader or buffer, length delimited. 41135 * @param reader Reader or buffer to decode from 41136 * @returns GetShardRoutingRulesRequest 41137 * @throws {Error} If the payload is not a reader or valid buffer 41138 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41139 */ 41140 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardRoutingRulesRequest; 41141 41142 /** 41143 * Verifies a GetShardRoutingRulesRequest message. 41144 * @param message Plain object to verify 41145 * @returns `null` if valid, otherwise the reason why it is not 41146 */ 41147 public static verify(message: { [k: string]: any }): (string|null); 41148 41149 /** 41150 * Creates a GetShardRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. 41151 * @param object Plain object 41152 * @returns GetShardRoutingRulesRequest 41153 */ 41154 public static fromObject(object: { [k: string]: any }): vtctldata.GetShardRoutingRulesRequest; 41155 41156 /** 41157 * Creates a plain object from a GetShardRoutingRulesRequest message. Also converts values to other types if specified. 41158 * @param message GetShardRoutingRulesRequest 41159 * @param [options] Conversion options 41160 * @returns Plain object 41161 */ 41162 public static toObject(message: vtctldata.GetShardRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 41163 41164 /** 41165 * Converts this GetShardRoutingRulesRequest to JSON. 41166 * @returns JSON object 41167 */ 41168 public toJSON(): { [k: string]: any }; 41169 } 41170 41171 /** Properties of a GetShardRoutingRulesResponse. */ 41172 interface IGetShardRoutingRulesResponse { 41173 41174 /** GetShardRoutingRulesResponse shard_routing_rules */ 41175 shard_routing_rules?: (vschema.IShardRoutingRules|null); 41176 } 41177 41178 /** Represents a GetShardRoutingRulesResponse. */ 41179 class GetShardRoutingRulesResponse implements IGetShardRoutingRulesResponse { 41180 41181 /** 41182 * Constructs a new GetShardRoutingRulesResponse. 41183 * @param [properties] Properties to set 41184 */ 41185 constructor(properties?: vtctldata.IGetShardRoutingRulesResponse); 41186 41187 /** GetShardRoutingRulesResponse shard_routing_rules. */ 41188 public shard_routing_rules?: (vschema.IShardRoutingRules|null); 41189 41190 /** 41191 * Creates a new GetShardRoutingRulesResponse instance using the specified properties. 41192 * @param [properties] Properties to set 41193 * @returns GetShardRoutingRulesResponse instance 41194 */ 41195 public static create(properties?: vtctldata.IGetShardRoutingRulesResponse): vtctldata.GetShardRoutingRulesResponse; 41196 41197 /** 41198 * Encodes the specified GetShardRoutingRulesResponse message. Does not implicitly {@link vtctldata.GetShardRoutingRulesResponse.verify|verify} messages. 41199 * @param message GetShardRoutingRulesResponse message or plain object to encode 41200 * @param [writer] Writer to encode to 41201 * @returns Writer 41202 */ 41203 public static encode(message: vtctldata.IGetShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 41204 41205 /** 41206 * Encodes the specified GetShardRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.GetShardRoutingRulesResponse.verify|verify} messages. 41207 * @param message GetShardRoutingRulesResponse message or plain object to encode 41208 * @param [writer] Writer to encode to 41209 * @returns Writer 41210 */ 41211 public static encodeDelimited(message: vtctldata.IGetShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 41212 41213 /** 41214 * Decodes a GetShardRoutingRulesResponse message from the specified reader or buffer. 41215 * @param reader Reader or buffer to decode from 41216 * @param [length] Message length if known beforehand 41217 * @returns GetShardRoutingRulesResponse 41218 * @throws {Error} If the payload is not a reader or valid buffer 41219 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41220 */ 41221 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardRoutingRulesResponse; 41222 41223 /** 41224 * Decodes a GetShardRoutingRulesResponse message from the specified reader or buffer, length delimited. 41225 * @param reader Reader or buffer to decode from 41226 * @returns GetShardRoutingRulesResponse 41227 * @throws {Error} If the payload is not a reader or valid buffer 41228 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41229 */ 41230 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardRoutingRulesResponse; 41231 41232 /** 41233 * Verifies a GetShardRoutingRulesResponse message. 41234 * @param message Plain object to verify 41235 * @returns `null` if valid, otherwise the reason why it is not 41236 */ 41237 public static verify(message: { [k: string]: any }): (string|null); 41238 41239 /** 41240 * Creates a GetShardRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. 41241 * @param object Plain object 41242 * @returns GetShardRoutingRulesResponse 41243 */ 41244 public static fromObject(object: { [k: string]: any }): vtctldata.GetShardRoutingRulesResponse; 41245 41246 /** 41247 * Creates a plain object from a GetShardRoutingRulesResponse message. Also converts values to other types if specified. 41248 * @param message GetShardRoutingRulesResponse 41249 * @param [options] Conversion options 41250 * @returns Plain object 41251 */ 41252 public static toObject(message: vtctldata.GetShardRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 41253 41254 /** 41255 * Converts this GetShardRoutingRulesResponse to JSON. 41256 * @returns JSON object 41257 */ 41258 public toJSON(): { [k: string]: any }; 41259 } 41260 41261 /** Properties of a GetSrvKeyspaceNamesRequest. */ 41262 interface IGetSrvKeyspaceNamesRequest { 41263 41264 /** GetSrvKeyspaceNamesRequest cells */ 41265 cells?: (string[]|null); 41266 } 41267 41268 /** Represents a GetSrvKeyspaceNamesRequest. */ 41269 class GetSrvKeyspaceNamesRequest implements IGetSrvKeyspaceNamesRequest { 41270 41271 /** 41272 * Constructs a new GetSrvKeyspaceNamesRequest. 41273 * @param [properties] Properties to set 41274 */ 41275 constructor(properties?: vtctldata.IGetSrvKeyspaceNamesRequest); 41276 41277 /** GetSrvKeyspaceNamesRequest cells. */ 41278 public cells: string[]; 41279 41280 /** 41281 * Creates a new GetSrvKeyspaceNamesRequest instance using the specified properties. 41282 * @param [properties] Properties to set 41283 * @returns GetSrvKeyspaceNamesRequest instance 41284 */ 41285 public static create(properties?: vtctldata.IGetSrvKeyspaceNamesRequest): vtctldata.GetSrvKeyspaceNamesRequest; 41286 41287 /** 41288 * Encodes the specified GetSrvKeyspaceNamesRequest message. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesRequest.verify|verify} messages. 41289 * @param message GetSrvKeyspaceNamesRequest message or plain object to encode 41290 * @param [writer] Writer to encode to 41291 * @returns Writer 41292 */ 41293 public static encode(message: vtctldata.IGetSrvKeyspaceNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 41294 41295 /** 41296 * Encodes the specified GetSrvKeyspaceNamesRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesRequest.verify|verify} messages. 41297 * @param message GetSrvKeyspaceNamesRequest message or plain object to encode 41298 * @param [writer] Writer to encode to 41299 * @returns Writer 41300 */ 41301 public static encodeDelimited(message: vtctldata.IGetSrvKeyspaceNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 41302 41303 /** 41304 * Decodes a GetSrvKeyspaceNamesRequest message from the specified reader or buffer. 41305 * @param reader Reader or buffer to decode from 41306 * @param [length] Message length if known beforehand 41307 * @returns GetSrvKeyspaceNamesRequest 41308 * @throws {Error} If the payload is not a reader or valid buffer 41309 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41310 */ 41311 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspaceNamesRequest; 41312 41313 /** 41314 * Decodes a GetSrvKeyspaceNamesRequest message from the specified reader or buffer, length delimited. 41315 * @param reader Reader or buffer to decode from 41316 * @returns GetSrvKeyspaceNamesRequest 41317 * @throws {Error} If the payload is not a reader or valid buffer 41318 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41319 */ 41320 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspaceNamesRequest; 41321 41322 /** 41323 * Verifies a GetSrvKeyspaceNamesRequest message. 41324 * @param message Plain object to verify 41325 * @returns `null` if valid, otherwise the reason why it is not 41326 */ 41327 public static verify(message: { [k: string]: any }): (string|null); 41328 41329 /** 41330 * Creates a GetSrvKeyspaceNamesRequest message from a plain object. Also converts values to their respective internal types. 41331 * @param object Plain object 41332 * @returns GetSrvKeyspaceNamesRequest 41333 */ 41334 public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspaceNamesRequest; 41335 41336 /** 41337 * Creates a plain object from a GetSrvKeyspaceNamesRequest message. Also converts values to other types if specified. 41338 * @param message GetSrvKeyspaceNamesRequest 41339 * @param [options] Conversion options 41340 * @returns Plain object 41341 */ 41342 public static toObject(message: vtctldata.GetSrvKeyspaceNamesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 41343 41344 /** 41345 * Converts this GetSrvKeyspaceNamesRequest to JSON. 41346 * @returns JSON object 41347 */ 41348 public toJSON(): { [k: string]: any }; 41349 } 41350 41351 /** Properties of a GetSrvKeyspaceNamesResponse. */ 41352 interface IGetSrvKeyspaceNamesResponse { 41353 41354 /** GetSrvKeyspaceNamesResponse names */ 41355 names?: ({ [k: string]: vtctldata.GetSrvKeyspaceNamesResponse.INameList }|null); 41356 } 41357 41358 /** Represents a GetSrvKeyspaceNamesResponse. */ 41359 class GetSrvKeyspaceNamesResponse implements IGetSrvKeyspaceNamesResponse { 41360 41361 /** 41362 * Constructs a new GetSrvKeyspaceNamesResponse. 41363 * @param [properties] Properties to set 41364 */ 41365 constructor(properties?: vtctldata.IGetSrvKeyspaceNamesResponse); 41366 41367 /** GetSrvKeyspaceNamesResponse names. */ 41368 public names: { [k: string]: vtctldata.GetSrvKeyspaceNamesResponse.INameList }; 41369 41370 /** 41371 * Creates a new GetSrvKeyspaceNamesResponse instance using the specified properties. 41372 * @param [properties] Properties to set 41373 * @returns GetSrvKeyspaceNamesResponse instance 41374 */ 41375 public static create(properties?: vtctldata.IGetSrvKeyspaceNamesResponse): vtctldata.GetSrvKeyspaceNamesResponse; 41376 41377 /** 41378 * Encodes the specified GetSrvKeyspaceNamesResponse message. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.verify|verify} messages. 41379 * @param message GetSrvKeyspaceNamesResponse message or plain object to encode 41380 * @param [writer] Writer to encode to 41381 * @returns Writer 41382 */ 41383 public static encode(message: vtctldata.IGetSrvKeyspaceNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 41384 41385 /** 41386 * Encodes the specified GetSrvKeyspaceNamesResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.verify|verify} messages. 41387 * @param message GetSrvKeyspaceNamesResponse message or plain object to encode 41388 * @param [writer] Writer to encode to 41389 * @returns Writer 41390 */ 41391 public static encodeDelimited(message: vtctldata.IGetSrvKeyspaceNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 41392 41393 /** 41394 * Decodes a GetSrvKeyspaceNamesResponse message from the specified reader or buffer. 41395 * @param reader Reader or buffer to decode from 41396 * @param [length] Message length if known beforehand 41397 * @returns GetSrvKeyspaceNamesResponse 41398 * @throws {Error} If the payload is not a reader or valid buffer 41399 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41400 */ 41401 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspaceNamesResponse; 41402 41403 /** 41404 * Decodes a GetSrvKeyspaceNamesResponse message from the specified reader or buffer, length delimited. 41405 * @param reader Reader or buffer to decode from 41406 * @returns GetSrvKeyspaceNamesResponse 41407 * @throws {Error} If the payload is not a reader or valid buffer 41408 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41409 */ 41410 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspaceNamesResponse; 41411 41412 /** 41413 * Verifies a GetSrvKeyspaceNamesResponse message. 41414 * @param message Plain object to verify 41415 * @returns `null` if valid, otherwise the reason why it is not 41416 */ 41417 public static verify(message: { [k: string]: any }): (string|null); 41418 41419 /** 41420 * Creates a GetSrvKeyspaceNamesResponse message from a plain object. Also converts values to their respective internal types. 41421 * @param object Plain object 41422 * @returns GetSrvKeyspaceNamesResponse 41423 */ 41424 public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspaceNamesResponse; 41425 41426 /** 41427 * Creates a plain object from a GetSrvKeyspaceNamesResponse message. Also converts values to other types if specified. 41428 * @param message GetSrvKeyspaceNamesResponse 41429 * @param [options] Conversion options 41430 * @returns Plain object 41431 */ 41432 public static toObject(message: vtctldata.GetSrvKeyspaceNamesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 41433 41434 /** 41435 * Converts this GetSrvKeyspaceNamesResponse to JSON. 41436 * @returns JSON object 41437 */ 41438 public toJSON(): { [k: string]: any }; 41439 } 41440 41441 namespace GetSrvKeyspaceNamesResponse { 41442 41443 /** Properties of a NameList. */ 41444 interface INameList { 41445 41446 /** NameList names */ 41447 names?: (string[]|null); 41448 } 41449 41450 /** Represents a NameList. */ 41451 class NameList implements INameList { 41452 41453 /** 41454 * Constructs a new NameList. 41455 * @param [properties] Properties to set 41456 */ 41457 constructor(properties?: vtctldata.GetSrvKeyspaceNamesResponse.INameList); 41458 41459 /** NameList names. */ 41460 public names: string[]; 41461 41462 /** 41463 * Creates a new NameList instance using the specified properties. 41464 * @param [properties] Properties to set 41465 * @returns NameList instance 41466 */ 41467 public static create(properties?: vtctldata.GetSrvKeyspaceNamesResponse.INameList): vtctldata.GetSrvKeyspaceNamesResponse.NameList; 41468 41469 /** 41470 * Encodes the specified NameList message. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.NameList.verify|verify} messages. 41471 * @param message NameList message or plain object to encode 41472 * @param [writer] Writer to encode to 41473 * @returns Writer 41474 */ 41475 public static encode(message: vtctldata.GetSrvKeyspaceNamesResponse.INameList, writer?: $protobuf.Writer): $protobuf.Writer; 41476 41477 /** 41478 * Encodes the specified NameList message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.NameList.verify|verify} messages. 41479 * @param message NameList message or plain object to encode 41480 * @param [writer] Writer to encode to 41481 * @returns Writer 41482 */ 41483 public static encodeDelimited(message: vtctldata.GetSrvKeyspaceNamesResponse.INameList, writer?: $protobuf.Writer): $protobuf.Writer; 41484 41485 /** 41486 * Decodes a NameList message from the specified reader or buffer. 41487 * @param reader Reader or buffer to decode from 41488 * @param [length] Message length if known beforehand 41489 * @returns NameList 41490 * @throws {Error} If the payload is not a reader or valid buffer 41491 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41492 */ 41493 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspaceNamesResponse.NameList; 41494 41495 /** 41496 * Decodes a NameList message from the specified reader or buffer, length delimited. 41497 * @param reader Reader or buffer to decode from 41498 * @returns NameList 41499 * @throws {Error} If the payload is not a reader or valid buffer 41500 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41501 */ 41502 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspaceNamesResponse.NameList; 41503 41504 /** 41505 * Verifies a NameList message. 41506 * @param message Plain object to verify 41507 * @returns `null` if valid, otherwise the reason why it is not 41508 */ 41509 public static verify(message: { [k: string]: any }): (string|null); 41510 41511 /** 41512 * Creates a NameList message from a plain object. Also converts values to their respective internal types. 41513 * @param object Plain object 41514 * @returns NameList 41515 */ 41516 public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspaceNamesResponse.NameList; 41517 41518 /** 41519 * Creates a plain object from a NameList message. Also converts values to other types if specified. 41520 * @param message NameList 41521 * @param [options] Conversion options 41522 * @returns Plain object 41523 */ 41524 public static toObject(message: vtctldata.GetSrvKeyspaceNamesResponse.NameList, options?: $protobuf.IConversionOptions): { [k: string]: any }; 41525 41526 /** 41527 * Converts this NameList to JSON. 41528 * @returns JSON object 41529 */ 41530 public toJSON(): { [k: string]: any }; 41531 } 41532 } 41533 41534 /** Properties of a GetSrvKeyspacesRequest. */ 41535 interface IGetSrvKeyspacesRequest { 41536 41537 /** GetSrvKeyspacesRequest keyspace */ 41538 keyspace?: (string|null); 41539 41540 /** GetSrvKeyspacesRequest cells */ 41541 cells?: (string[]|null); 41542 } 41543 41544 /** Represents a GetSrvKeyspacesRequest. */ 41545 class GetSrvKeyspacesRequest implements IGetSrvKeyspacesRequest { 41546 41547 /** 41548 * Constructs a new GetSrvKeyspacesRequest. 41549 * @param [properties] Properties to set 41550 */ 41551 constructor(properties?: vtctldata.IGetSrvKeyspacesRequest); 41552 41553 /** GetSrvKeyspacesRequest keyspace. */ 41554 public keyspace: string; 41555 41556 /** GetSrvKeyspacesRequest cells. */ 41557 public cells: string[]; 41558 41559 /** 41560 * Creates a new GetSrvKeyspacesRequest instance using the specified properties. 41561 * @param [properties] Properties to set 41562 * @returns GetSrvKeyspacesRequest instance 41563 */ 41564 public static create(properties?: vtctldata.IGetSrvKeyspacesRequest): vtctldata.GetSrvKeyspacesRequest; 41565 41566 /** 41567 * Encodes the specified GetSrvKeyspacesRequest message. Does not implicitly {@link vtctldata.GetSrvKeyspacesRequest.verify|verify} messages. 41568 * @param message GetSrvKeyspacesRequest message or plain object to encode 41569 * @param [writer] Writer to encode to 41570 * @returns Writer 41571 */ 41572 public static encode(message: vtctldata.IGetSrvKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 41573 41574 /** 41575 * Encodes the specified GetSrvKeyspacesRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspacesRequest.verify|verify} messages. 41576 * @param message GetSrvKeyspacesRequest message or plain object to encode 41577 * @param [writer] Writer to encode to 41578 * @returns Writer 41579 */ 41580 public static encodeDelimited(message: vtctldata.IGetSrvKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 41581 41582 /** 41583 * Decodes a GetSrvKeyspacesRequest message from the specified reader or buffer. 41584 * @param reader Reader or buffer to decode from 41585 * @param [length] Message length if known beforehand 41586 * @returns GetSrvKeyspacesRequest 41587 * @throws {Error} If the payload is not a reader or valid buffer 41588 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41589 */ 41590 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspacesRequest; 41591 41592 /** 41593 * Decodes a GetSrvKeyspacesRequest message from the specified reader or buffer, length delimited. 41594 * @param reader Reader or buffer to decode from 41595 * @returns GetSrvKeyspacesRequest 41596 * @throws {Error} If the payload is not a reader or valid buffer 41597 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41598 */ 41599 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspacesRequest; 41600 41601 /** 41602 * Verifies a GetSrvKeyspacesRequest message. 41603 * @param message Plain object to verify 41604 * @returns `null` if valid, otherwise the reason why it is not 41605 */ 41606 public static verify(message: { [k: string]: any }): (string|null); 41607 41608 /** 41609 * Creates a GetSrvKeyspacesRequest message from a plain object. Also converts values to their respective internal types. 41610 * @param object Plain object 41611 * @returns GetSrvKeyspacesRequest 41612 */ 41613 public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspacesRequest; 41614 41615 /** 41616 * Creates a plain object from a GetSrvKeyspacesRequest message. Also converts values to other types if specified. 41617 * @param message GetSrvKeyspacesRequest 41618 * @param [options] Conversion options 41619 * @returns Plain object 41620 */ 41621 public static toObject(message: vtctldata.GetSrvKeyspacesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 41622 41623 /** 41624 * Converts this GetSrvKeyspacesRequest to JSON. 41625 * @returns JSON object 41626 */ 41627 public toJSON(): { [k: string]: any }; 41628 } 41629 41630 /** Properties of a GetSrvKeyspacesResponse. */ 41631 interface IGetSrvKeyspacesResponse { 41632 41633 /** GetSrvKeyspacesResponse srv_keyspaces */ 41634 srv_keyspaces?: ({ [k: string]: topodata.ISrvKeyspace }|null); 41635 } 41636 41637 /** Represents a GetSrvKeyspacesResponse. */ 41638 class GetSrvKeyspacesResponse implements IGetSrvKeyspacesResponse { 41639 41640 /** 41641 * Constructs a new GetSrvKeyspacesResponse. 41642 * @param [properties] Properties to set 41643 */ 41644 constructor(properties?: vtctldata.IGetSrvKeyspacesResponse); 41645 41646 /** GetSrvKeyspacesResponse srv_keyspaces. */ 41647 public srv_keyspaces: { [k: string]: topodata.ISrvKeyspace }; 41648 41649 /** 41650 * Creates a new GetSrvKeyspacesResponse instance using the specified properties. 41651 * @param [properties] Properties to set 41652 * @returns GetSrvKeyspacesResponse instance 41653 */ 41654 public static create(properties?: vtctldata.IGetSrvKeyspacesResponse): vtctldata.GetSrvKeyspacesResponse; 41655 41656 /** 41657 * Encodes the specified GetSrvKeyspacesResponse message. Does not implicitly {@link vtctldata.GetSrvKeyspacesResponse.verify|verify} messages. 41658 * @param message GetSrvKeyspacesResponse message or plain object to encode 41659 * @param [writer] Writer to encode to 41660 * @returns Writer 41661 */ 41662 public static encode(message: vtctldata.IGetSrvKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 41663 41664 /** 41665 * Encodes the specified GetSrvKeyspacesResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspacesResponse.verify|verify} messages. 41666 * @param message GetSrvKeyspacesResponse message or plain object to encode 41667 * @param [writer] Writer to encode to 41668 * @returns Writer 41669 */ 41670 public static encodeDelimited(message: vtctldata.IGetSrvKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 41671 41672 /** 41673 * Decodes a GetSrvKeyspacesResponse message from the specified reader or buffer. 41674 * @param reader Reader or buffer to decode from 41675 * @param [length] Message length if known beforehand 41676 * @returns GetSrvKeyspacesResponse 41677 * @throws {Error} If the payload is not a reader or valid buffer 41678 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41679 */ 41680 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspacesResponse; 41681 41682 /** 41683 * Decodes a GetSrvKeyspacesResponse message from the specified reader or buffer, length delimited. 41684 * @param reader Reader or buffer to decode from 41685 * @returns GetSrvKeyspacesResponse 41686 * @throws {Error} If the payload is not a reader or valid buffer 41687 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41688 */ 41689 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspacesResponse; 41690 41691 /** 41692 * Verifies a GetSrvKeyspacesResponse message. 41693 * @param message Plain object to verify 41694 * @returns `null` if valid, otherwise the reason why it is not 41695 */ 41696 public static verify(message: { [k: string]: any }): (string|null); 41697 41698 /** 41699 * Creates a GetSrvKeyspacesResponse message from a plain object. Also converts values to their respective internal types. 41700 * @param object Plain object 41701 * @returns GetSrvKeyspacesResponse 41702 */ 41703 public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspacesResponse; 41704 41705 /** 41706 * Creates a plain object from a GetSrvKeyspacesResponse message. Also converts values to other types if specified. 41707 * @param message GetSrvKeyspacesResponse 41708 * @param [options] Conversion options 41709 * @returns Plain object 41710 */ 41711 public static toObject(message: vtctldata.GetSrvKeyspacesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 41712 41713 /** 41714 * Converts this GetSrvKeyspacesResponse to JSON. 41715 * @returns JSON object 41716 */ 41717 public toJSON(): { [k: string]: any }; 41718 } 41719 41720 /** Properties of an UpdateThrottlerConfigRequest. */ 41721 interface IUpdateThrottlerConfigRequest { 41722 41723 /** UpdateThrottlerConfigRequest keyspace */ 41724 keyspace?: (string|null); 41725 41726 /** UpdateThrottlerConfigRequest enable */ 41727 enable?: (boolean|null); 41728 41729 /** UpdateThrottlerConfigRequest disable */ 41730 disable?: (boolean|null); 41731 41732 /** UpdateThrottlerConfigRequest threshold */ 41733 threshold?: (number|null); 41734 41735 /** UpdateThrottlerConfigRequest custom_query */ 41736 custom_query?: (string|null); 41737 41738 /** UpdateThrottlerConfigRequest custom_query_set */ 41739 custom_query_set?: (boolean|null); 41740 41741 /** UpdateThrottlerConfigRequest check_as_check_self */ 41742 check_as_check_self?: (boolean|null); 41743 41744 /** UpdateThrottlerConfigRequest check_as_check_shard */ 41745 check_as_check_shard?: (boolean|null); 41746 } 41747 41748 /** Represents an UpdateThrottlerConfigRequest. */ 41749 class UpdateThrottlerConfigRequest implements IUpdateThrottlerConfigRequest { 41750 41751 /** 41752 * Constructs a new UpdateThrottlerConfigRequest. 41753 * @param [properties] Properties to set 41754 */ 41755 constructor(properties?: vtctldata.IUpdateThrottlerConfigRequest); 41756 41757 /** UpdateThrottlerConfigRequest keyspace. */ 41758 public keyspace: string; 41759 41760 /** UpdateThrottlerConfigRequest enable. */ 41761 public enable: boolean; 41762 41763 /** UpdateThrottlerConfigRequest disable. */ 41764 public disable: boolean; 41765 41766 /** UpdateThrottlerConfigRequest threshold. */ 41767 public threshold: number; 41768 41769 /** UpdateThrottlerConfigRequest custom_query. */ 41770 public custom_query: string; 41771 41772 /** UpdateThrottlerConfigRequest custom_query_set. */ 41773 public custom_query_set: boolean; 41774 41775 /** UpdateThrottlerConfigRequest check_as_check_self. */ 41776 public check_as_check_self: boolean; 41777 41778 /** UpdateThrottlerConfigRequest check_as_check_shard. */ 41779 public check_as_check_shard: boolean; 41780 41781 /** 41782 * Creates a new UpdateThrottlerConfigRequest instance using the specified properties. 41783 * @param [properties] Properties to set 41784 * @returns UpdateThrottlerConfigRequest instance 41785 */ 41786 public static create(properties?: vtctldata.IUpdateThrottlerConfigRequest): vtctldata.UpdateThrottlerConfigRequest; 41787 41788 /** 41789 * Encodes the specified UpdateThrottlerConfigRequest message. Does not implicitly {@link vtctldata.UpdateThrottlerConfigRequest.verify|verify} messages. 41790 * @param message UpdateThrottlerConfigRequest message or plain object to encode 41791 * @param [writer] Writer to encode to 41792 * @returns Writer 41793 */ 41794 public static encode(message: vtctldata.IUpdateThrottlerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; 41795 41796 /** 41797 * Encodes the specified UpdateThrottlerConfigRequest message, length delimited. Does not implicitly {@link vtctldata.UpdateThrottlerConfigRequest.verify|verify} messages. 41798 * @param message UpdateThrottlerConfigRequest message or plain object to encode 41799 * @param [writer] Writer to encode to 41800 * @returns Writer 41801 */ 41802 public static encodeDelimited(message: vtctldata.IUpdateThrottlerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; 41803 41804 /** 41805 * Decodes an UpdateThrottlerConfigRequest message from the specified reader or buffer. 41806 * @param reader Reader or buffer to decode from 41807 * @param [length] Message length if known beforehand 41808 * @returns UpdateThrottlerConfigRequest 41809 * @throws {Error} If the payload is not a reader or valid buffer 41810 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41811 */ 41812 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateThrottlerConfigRequest; 41813 41814 /** 41815 * Decodes an UpdateThrottlerConfigRequest message from the specified reader or buffer, length delimited. 41816 * @param reader Reader or buffer to decode from 41817 * @returns UpdateThrottlerConfigRequest 41818 * @throws {Error} If the payload is not a reader or valid buffer 41819 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41820 */ 41821 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateThrottlerConfigRequest; 41822 41823 /** 41824 * Verifies an UpdateThrottlerConfigRequest message. 41825 * @param message Plain object to verify 41826 * @returns `null` if valid, otherwise the reason why it is not 41827 */ 41828 public static verify(message: { [k: string]: any }): (string|null); 41829 41830 /** 41831 * Creates an UpdateThrottlerConfigRequest message from a plain object. Also converts values to their respective internal types. 41832 * @param object Plain object 41833 * @returns UpdateThrottlerConfigRequest 41834 */ 41835 public static fromObject(object: { [k: string]: any }): vtctldata.UpdateThrottlerConfigRequest; 41836 41837 /** 41838 * Creates a plain object from an UpdateThrottlerConfigRequest message. Also converts values to other types if specified. 41839 * @param message UpdateThrottlerConfigRequest 41840 * @param [options] Conversion options 41841 * @returns Plain object 41842 */ 41843 public static toObject(message: vtctldata.UpdateThrottlerConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 41844 41845 /** 41846 * Converts this UpdateThrottlerConfigRequest to JSON. 41847 * @returns JSON object 41848 */ 41849 public toJSON(): { [k: string]: any }; 41850 } 41851 41852 /** Properties of an UpdateThrottlerConfigResponse. */ 41853 interface IUpdateThrottlerConfigResponse { 41854 } 41855 41856 /** Represents an UpdateThrottlerConfigResponse. */ 41857 class UpdateThrottlerConfigResponse implements IUpdateThrottlerConfigResponse { 41858 41859 /** 41860 * Constructs a new UpdateThrottlerConfigResponse. 41861 * @param [properties] Properties to set 41862 */ 41863 constructor(properties?: vtctldata.IUpdateThrottlerConfigResponse); 41864 41865 /** 41866 * Creates a new UpdateThrottlerConfigResponse instance using the specified properties. 41867 * @param [properties] Properties to set 41868 * @returns UpdateThrottlerConfigResponse instance 41869 */ 41870 public static create(properties?: vtctldata.IUpdateThrottlerConfigResponse): vtctldata.UpdateThrottlerConfigResponse; 41871 41872 /** 41873 * Encodes the specified UpdateThrottlerConfigResponse message. Does not implicitly {@link vtctldata.UpdateThrottlerConfigResponse.verify|verify} messages. 41874 * @param message UpdateThrottlerConfigResponse message or plain object to encode 41875 * @param [writer] Writer to encode to 41876 * @returns Writer 41877 */ 41878 public static encode(message: vtctldata.IUpdateThrottlerConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; 41879 41880 /** 41881 * Encodes the specified UpdateThrottlerConfigResponse message, length delimited. Does not implicitly {@link vtctldata.UpdateThrottlerConfigResponse.verify|verify} messages. 41882 * @param message UpdateThrottlerConfigResponse message or plain object to encode 41883 * @param [writer] Writer to encode to 41884 * @returns Writer 41885 */ 41886 public static encodeDelimited(message: vtctldata.IUpdateThrottlerConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; 41887 41888 /** 41889 * Decodes an UpdateThrottlerConfigResponse message from the specified reader or buffer. 41890 * @param reader Reader or buffer to decode from 41891 * @param [length] Message length if known beforehand 41892 * @returns UpdateThrottlerConfigResponse 41893 * @throws {Error} If the payload is not a reader or valid buffer 41894 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41895 */ 41896 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateThrottlerConfigResponse; 41897 41898 /** 41899 * Decodes an UpdateThrottlerConfigResponse message from the specified reader or buffer, length delimited. 41900 * @param reader Reader or buffer to decode from 41901 * @returns UpdateThrottlerConfigResponse 41902 * @throws {Error} If the payload is not a reader or valid buffer 41903 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41904 */ 41905 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateThrottlerConfigResponse; 41906 41907 /** 41908 * Verifies an UpdateThrottlerConfigResponse message. 41909 * @param message Plain object to verify 41910 * @returns `null` if valid, otherwise the reason why it is not 41911 */ 41912 public static verify(message: { [k: string]: any }): (string|null); 41913 41914 /** 41915 * Creates an UpdateThrottlerConfigResponse message from a plain object. Also converts values to their respective internal types. 41916 * @param object Plain object 41917 * @returns UpdateThrottlerConfigResponse 41918 */ 41919 public static fromObject(object: { [k: string]: any }): vtctldata.UpdateThrottlerConfigResponse; 41920 41921 /** 41922 * Creates a plain object from an UpdateThrottlerConfigResponse message. Also converts values to other types if specified. 41923 * @param message UpdateThrottlerConfigResponse 41924 * @param [options] Conversion options 41925 * @returns Plain object 41926 */ 41927 public static toObject(message: vtctldata.UpdateThrottlerConfigResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 41928 41929 /** 41930 * Converts this UpdateThrottlerConfigResponse to JSON. 41931 * @returns JSON object 41932 */ 41933 public toJSON(): { [k: string]: any }; 41934 } 41935 41936 /** Properties of a GetSrvVSchemaRequest. */ 41937 interface IGetSrvVSchemaRequest { 41938 41939 /** GetSrvVSchemaRequest cell */ 41940 cell?: (string|null); 41941 } 41942 41943 /** Represents a GetSrvVSchemaRequest. */ 41944 class GetSrvVSchemaRequest implements IGetSrvVSchemaRequest { 41945 41946 /** 41947 * Constructs a new GetSrvVSchemaRequest. 41948 * @param [properties] Properties to set 41949 */ 41950 constructor(properties?: vtctldata.IGetSrvVSchemaRequest); 41951 41952 /** GetSrvVSchemaRequest cell. */ 41953 public cell: string; 41954 41955 /** 41956 * Creates a new GetSrvVSchemaRequest instance using the specified properties. 41957 * @param [properties] Properties to set 41958 * @returns GetSrvVSchemaRequest instance 41959 */ 41960 public static create(properties?: vtctldata.IGetSrvVSchemaRequest): vtctldata.GetSrvVSchemaRequest; 41961 41962 /** 41963 * Encodes the specified GetSrvVSchemaRequest message. Does not implicitly {@link vtctldata.GetSrvVSchemaRequest.verify|verify} messages. 41964 * @param message GetSrvVSchemaRequest message or plain object to encode 41965 * @param [writer] Writer to encode to 41966 * @returns Writer 41967 */ 41968 public static encode(message: vtctldata.IGetSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 41969 41970 /** 41971 * Encodes the specified GetSrvVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemaRequest.verify|verify} messages. 41972 * @param message GetSrvVSchemaRequest message or plain object to encode 41973 * @param [writer] Writer to encode to 41974 * @returns Writer 41975 */ 41976 public static encodeDelimited(message: vtctldata.IGetSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 41977 41978 /** 41979 * Decodes a GetSrvVSchemaRequest message from the specified reader or buffer. 41980 * @param reader Reader or buffer to decode from 41981 * @param [length] Message length if known beforehand 41982 * @returns GetSrvVSchemaRequest 41983 * @throws {Error} If the payload is not a reader or valid buffer 41984 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41985 */ 41986 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemaRequest; 41987 41988 /** 41989 * Decodes a GetSrvVSchemaRequest message from the specified reader or buffer, length delimited. 41990 * @param reader Reader or buffer to decode from 41991 * @returns GetSrvVSchemaRequest 41992 * @throws {Error} If the payload is not a reader or valid buffer 41993 * @throws {$protobuf.util.ProtocolError} If required fields are missing 41994 */ 41995 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemaRequest; 41996 41997 /** 41998 * Verifies a GetSrvVSchemaRequest message. 41999 * @param message Plain object to verify 42000 * @returns `null` if valid, otherwise the reason why it is not 42001 */ 42002 public static verify(message: { [k: string]: any }): (string|null); 42003 42004 /** 42005 * Creates a GetSrvVSchemaRequest message from a plain object. Also converts values to their respective internal types. 42006 * @param object Plain object 42007 * @returns GetSrvVSchemaRequest 42008 */ 42009 public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemaRequest; 42010 42011 /** 42012 * Creates a plain object from a GetSrvVSchemaRequest message. Also converts values to other types if specified. 42013 * @param message GetSrvVSchemaRequest 42014 * @param [options] Conversion options 42015 * @returns Plain object 42016 */ 42017 public static toObject(message: vtctldata.GetSrvVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 42018 42019 /** 42020 * Converts this GetSrvVSchemaRequest to JSON. 42021 * @returns JSON object 42022 */ 42023 public toJSON(): { [k: string]: any }; 42024 } 42025 42026 /** Properties of a GetSrvVSchemaResponse. */ 42027 interface IGetSrvVSchemaResponse { 42028 42029 /** GetSrvVSchemaResponse srv_v_schema */ 42030 srv_v_schema?: (vschema.ISrvVSchema|null); 42031 } 42032 42033 /** Represents a GetSrvVSchemaResponse. */ 42034 class GetSrvVSchemaResponse implements IGetSrvVSchemaResponse { 42035 42036 /** 42037 * Constructs a new GetSrvVSchemaResponse. 42038 * @param [properties] Properties to set 42039 */ 42040 constructor(properties?: vtctldata.IGetSrvVSchemaResponse); 42041 42042 /** GetSrvVSchemaResponse srv_v_schema. */ 42043 public srv_v_schema?: (vschema.ISrvVSchema|null); 42044 42045 /** 42046 * Creates a new GetSrvVSchemaResponse instance using the specified properties. 42047 * @param [properties] Properties to set 42048 * @returns GetSrvVSchemaResponse instance 42049 */ 42050 public static create(properties?: vtctldata.IGetSrvVSchemaResponse): vtctldata.GetSrvVSchemaResponse; 42051 42052 /** 42053 * Encodes the specified GetSrvVSchemaResponse message. Does not implicitly {@link vtctldata.GetSrvVSchemaResponse.verify|verify} messages. 42054 * @param message GetSrvVSchemaResponse message or plain object to encode 42055 * @param [writer] Writer to encode to 42056 * @returns Writer 42057 */ 42058 public static encode(message: vtctldata.IGetSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 42059 42060 /** 42061 * Encodes the specified GetSrvVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemaResponse.verify|verify} messages. 42062 * @param message GetSrvVSchemaResponse message or plain object to encode 42063 * @param [writer] Writer to encode to 42064 * @returns Writer 42065 */ 42066 public static encodeDelimited(message: vtctldata.IGetSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 42067 42068 /** 42069 * Decodes a GetSrvVSchemaResponse message from the specified reader or buffer. 42070 * @param reader Reader or buffer to decode from 42071 * @param [length] Message length if known beforehand 42072 * @returns GetSrvVSchemaResponse 42073 * @throws {Error} If the payload is not a reader or valid buffer 42074 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42075 */ 42076 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemaResponse; 42077 42078 /** 42079 * Decodes a GetSrvVSchemaResponse message from the specified reader or buffer, length delimited. 42080 * @param reader Reader or buffer to decode from 42081 * @returns GetSrvVSchemaResponse 42082 * @throws {Error} If the payload is not a reader or valid buffer 42083 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42084 */ 42085 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemaResponse; 42086 42087 /** 42088 * Verifies a GetSrvVSchemaResponse message. 42089 * @param message Plain object to verify 42090 * @returns `null` if valid, otherwise the reason why it is not 42091 */ 42092 public static verify(message: { [k: string]: any }): (string|null); 42093 42094 /** 42095 * Creates a GetSrvVSchemaResponse message from a plain object. Also converts values to their respective internal types. 42096 * @param object Plain object 42097 * @returns GetSrvVSchemaResponse 42098 */ 42099 public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemaResponse; 42100 42101 /** 42102 * Creates a plain object from a GetSrvVSchemaResponse message. Also converts values to other types if specified. 42103 * @param message GetSrvVSchemaResponse 42104 * @param [options] Conversion options 42105 * @returns Plain object 42106 */ 42107 public static toObject(message: vtctldata.GetSrvVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 42108 42109 /** 42110 * Converts this GetSrvVSchemaResponse to JSON. 42111 * @returns JSON object 42112 */ 42113 public toJSON(): { [k: string]: any }; 42114 } 42115 42116 /** Properties of a GetSrvVSchemasRequest. */ 42117 interface IGetSrvVSchemasRequest { 42118 42119 /** GetSrvVSchemasRequest cells */ 42120 cells?: (string[]|null); 42121 } 42122 42123 /** Represents a GetSrvVSchemasRequest. */ 42124 class GetSrvVSchemasRequest implements IGetSrvVSchemasRequest { 42125 42126 /** 42127 * Constructs a new GetSrvVSchemasRequest. 42128 * @param [properties] Properties to set 42129 */ 42130 constructor(properties?: vtctldata.IGetSrvVSchemasRequest); 42131 42132 /** GetSrvVSchemasRequest cells. */ 42133 public cells: string[]; 42134 42135 /** 42136 * Creates a new GetSrvVSchemasRequest instance using the specified properties. 42137 * @param [properties] Properties to set 42138 * @returns GetSrvVSchemasRequest instance 42139 */ 42140 public static create(properties?: vtctldata.IGetSrvVSchemasRequest): vtctldata.GetSrvVSchemasRequest; 42141 42142 /** 42143 * Encodes the specified GetSrvVSchemasRequest message. Does not implicitly {@link vtctldata.GetSrvVSchemasRequest.verify|verify} messages. 42144 * @param message GetSrvVSchemasRequest message or plain object to encode 42145 * @param [writer] Writer to encode to 42146 * @returns Writer 42147 */ 42148 public static encode(message: vtctldata.IGetSrvVSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 42149 42150 /** 42151 * Encodes the specified GetSrvVSchemasRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemasRequest.verify|verify} messages. 42152 * @param message GetSrvVSchemasRequest message or plain object to encode 42153 * @param [writer] Writer to encode to 42154 * @returns Writer 42155 */ 42156 public static encodeDelimited(message: vtctldata.IGetSrvVSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 42157 42158 /** 42159 * Decodes a GetSrvVSchemasRequest message from the specified reader or buffer. 42160 * @param reader Reader or buffer to decode from 42161 * @param [length] Message length if known beforehand 42162 * @returns GetSrvVSchemasRequest 42163 * @throws {Error} If the payload is not a reader or valid buffer 42164 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42165 */ 42166 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemasRequest; 42167 42168 /** 42169 * Decodes a GetSrvVSchemasRequest message from the specified reader or buffer, length delimited. 42170 * @param reader Reader or buffer to decode from 42171 * @returns GetSrvVSchemasRequest 42172 * @throws {Error} If the payload is not a reader or valid buffer 42173 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42174 */ 42175 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemasRequest; 42176 42177 /** 42178 * Verifies a GetSrvVSchemasRequest message. 42179 * @param message Plain object to verify 42180 * @returns `null` if valid, otherwise the reason why it is not 42181 */ 42182 public static verify(message: { [k: string]: any }): (string|null); 42183 42184 /** 42185 * Creates a GetSrvVSchemasRequest message from a plain object. Also converts values to their respective internal types. 42186 * @param object Plain object 42187 * @returns GetSrvVSchemasRequest 42188 */ 42189 public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemasRequest; 42190 42191 /** 42192 * Creates a plain object from a GetSrvVSchemasRequest message. Also converts values to other types if specified. 42193 * @param message GetSrvVSchemasRequest 42194 * @param [options] Conversion options 42195 * @returns Plain object 42196 */ 42197 public static toObject(message: vtctldata.GetSrvVSchemasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 42198 42199 /** 42200 * Converts this GetSrvVSchemasRequest to JSON. 42201 * @returns JSON object 42202 */ 42203 public toJSON(): { [k: string]: any }; 42204 } 42205 42206 /** Properties of a GetSrvVSchemasResponse. */ 42207 interface IGetSrvVSchemasResponse { 42208 42209 /** GetSrvVSchemasResponse srv_v_schemas */ 42210 srv_v_schemas?: ({ [k: string]: vschema.ISrvVSchema }|null); 42211 } 42212 42213 /** Represents a GetSrvVSchemasResponse. */ 42214 class GetSrvVSchemasResponse implements IGetSrvVSchemasResponse { 42215 42216 /** 42217 * Constructs a new GetSrvVSchemasResponse. 42218 * @param [properties] Properties to set 42219 */ 42220 constructor(properties?: vtctldata.IGetSrvVSchemasResponse); 42221 42222 /** GetSrvVSchemasResponse srv_v_schemas. */ 42223 public srv_v_schemas: { [k: string]: vschema.ISrvVSchema }; 42224 42225 /** 42226 * Creates a new GetSrvVSchemasResponse instance using the specified properties. 42227 * @param [properties] Properties to set 42228 * @returns GetSrvVSchemasResponse instance 42229 */ 42230 public static create(properties?: vtctldata.IGetSrvVSchemasResponse): vtctldata.GetSrvVSchemasResponse; 42231 42232 /** 42233 * Encodes the specified GetSrvVSchemasResponse message. Does not implicitly {@link vtctldata.GetSrvVSchemasResponse.verify|verify} messages. 42234 * @param message GetSrvVSchemasResponse message or plain object to encode 42235 * @param [writer] Writer to encode to 42236 * @returns Writer 42237 */ 42238 public static encode(message: vtctldata.IGetSrvVSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 42239 42240 /** 42241 * Encodes the specified GetSrvVSchemasResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemasResponse.verify|verify} messages. 42242 * @param message GetSrvVSchemasResponse message or plain object to encode 42243 * @param [writer] Writer to encode to 42244 * @returns Writer 42245 */ 42246 public static encodeDelimited(message: vtctldata.IGetSrvVSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 42247 42248 /** 42249 * Decodes a GetSrvVSchemasResponse message from the specified reader or buffer. 42250 * @param reader Reader or buffer to decode from 42251 * @param [length] Message length if known beforehand 42252 * @returns GetSrvVSchemasResponse 42253 * @throws {Error} If the payload is not a reader or valid buffer 42254 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42255 */ 42256 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemasResponse; 42257 42258 /** 42259 * Decodes a GetSrvVSchemasResponse message from the specified reader or buffer, length delimited. 42260 * @param reader Reader or buffer to decode from 42261 * @returns GetSrvVSchemasResponse 42262 * @throws {Error} If the payload is not a reader or valid buffer 42263 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42264 */ 42265 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemasResponse; 42266 42267 /** 42268 * Verifies a GetSrvVSchemasResponse message. 42269 * @param message Plain object to verify 42270 * @returns `null` if valid, otherwise the reason why it is not 42271 */ 42272 public static verify(message: { [k: string]: any }): (string|null); 42273 42274 /** 42275 * Creates a GetSrvVSchemasResponse message from a plain object. Also converts values to their respective internal types. 42276 * @param object Plain object 42277 * @returns GetSrvVSchemasResponse 42278 */ 42279 public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemasResponse; 42280 42281 /** 42282 * Creates a plain object from a GetSrvVSchemasResponse message. Also converts values to other types if specified. 42283 * @param message GetSrvVSchemasResponse 42284 * @param [options] Conversion options 42285 * @returns Plain object 42286 */ 42287 public static toObject(message: vtctldata.GetSrvVSchemasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 42288 42289 /** 42290 * Converts this GetSrvVSchemasResponse to JSON. 42291 * @returns JSON object 42292 */ 42293 public toJSON(): { [k: string]: any }; 42294 } 42295 42296 /** Properties of a GetTabletRequest. */ 42297 interface IGetTabletRequest { 42298 42299 /** GetTabletRequest tablet_alias */ 42300 tablet_alias?: (topodata.ITabletAlias|null); 42301 } 42302 42303 /** Represents a GetTabletRequest. */ 42304 class GetTabletRequest implements IGetTabletRequest { 42305 42306 /** 42307 * Constructs a new GetTabletRequest. 42308 * @param [properties] Properties to set 42309 */ 42310 constructor(properties?: vtctldata.IGetTabletRequest); 42311 42312 /** GetTabletRequest tablet_alias. */ 42313 public tablet_alias?: (topodata.ITabletAlias|null); 42314 42315 /** 42316 * Creates a new GetTabletRequest instance using the specified properties. 42317 * @param [properties] Properties to set 42318 * @returns GetTabletRequest instance 42319 */ 42320 public static create(properties?: vtctldata.IGetTabletRequest): vtctldata.GetTabletRequest; 42321 42322 /** 42323 * Encodes the specified GetTabletRequest message. Does not implicitly {@link vtctldata.GetTabletRequest.verify|verify} messages. 42324 * @param message GetTabletRequest message or plain object to encode 42325 * @param [writer] Writer to encode to 42326 * @returns Writer 42327 */ 42328 public static encode(message: vtctldata.IGetTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 42329 42330 /** 42331 * Encodes the specified GetTabletRequest message, length delimited. Does not implicitly {@link vtctldata.GetTabletRequest.verify|verify} messages. 42332 * @param message GetTabletRequest message or plain object to encode 42333 * @param [writer] Writer to encode to 42334 * @returns Writer 42335 */ 42336 public static encodeDelimited(message: vtctldata.IGetTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 42337 42338 /** 42339 * Decodes a GetTabletRequest message from the specified reader or buffer. 42340 * @param reader Reader or buffer to decode from 42341 * @param [length] Message length if known beforehand 42342 * @returns GetTabletRequest 42343 * @throws {Error} If the payload is not a reader or valid buffer 42344 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42345 */ 42346 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletRequest; 42347 42348 /** 42349 * Decodes a GetTabletRequest message from the specified reader or buffer, length delimited. 42350 * @param reader Reader or buffer to decode from 42351 * @returns GetTabletRequest 42352 * @throws {Error} If the payload is not a reader or valid buffer 42353 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42354 */ 42355 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletRequest; 42356 42357 /** 42358 * Verifies a GetTabletRequest message. 42359 * @param message Plain object to verify 42360 * @returns `null` if valid, otherwise the reason why it is not 42361 */ 42362 public static verify(message: { [k: string]: any }): (string|null); 42363 42364 /** 42365 * Creates a GetTabletRequest message from a plain object. Also converts values to their respective internal types. 42366 * @param object Plain object 42367 * @returns GetTabletRequest 42368 */ 42369 public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletRequest; 42370 42371 /** 42372 * Creates a plain object from a GetTabletRequest message. Also converts values to other types if specified. 42373 * @param message GetTabletRequest 42374 * @param [options] Conversion options 42375 * @returns Plain object 42376 */ 42377 public static toObject(message: vtctldata.GetTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 42378 42379 /** 42380 * Converts this GetTabletRequest to JSON. 42381 * @returns JSON object 42382 */ 42383 public toJSON(): { [k: string]: any }; 42384 } 42385 42386 /** Properties of a GetTabletResponse. */ 42387 interface IGetTabletResponse { 42388 42389 /** GetTabletResponse tablet */ 42390 tablet?: (topodata.ITablet|null); 42391 } 42392 42393 /** Represents a GetTabletResponse. */ 42394 class GetTabletResponse implements IGetTabletResponse { 42395 42396 /** 42397 * Constructs a new GetTabletResponse. 42398 * @param [properties] Properties to set 42399 */ 42400 constructor(properties?: vtctldata.IGetTabletResponse); 42401 42402 /** GetTabletResponse tablet. */ 42403 public tablet?: (topodata.ITablet|null); 42404 42405 /** 42406 * Creates a new GetTabletResponse instance using the specified properties. 42407 * @param [properties] Properties to set 42408 * @returns GetTabletResponse instance 42409 */ 42410 public static create(properties?: vtctldata.IGetTabletResponse): vtctldata.GetTabletResponse; 42411 42412 /** 42413 * Encodes the specified GetTabletResponse message. Does not implicitly {@link vtctldata.GetTabletResponse.verify|verify} messages. 42414 * @param message GetTabletResponse message or plain object to encode 42415 * @param [writer] Writer to encode to 42416 * @returns Writer 42417 */ 42418 public static encode(message: vtctldata.IGetTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 42419 42420 /** 42421 * Encodes the specified GetTabletResponse message, length delimited. Does not implicitly {@link vtctldata.GetTabletResponse.verify|verify} messages. 42422 * @param message GetTabletResponse message or plain object to encode 42423 * @param [writer] Writer to encode to 42424 * @returns Writer 42425 */ 42426 public static encodeDelimited(message: vtctldata.IGetTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 42427 42428 /** 42429 * Decodes a GetTabletResponse message from the specified reader or buffer. 42430 * @param reader Reader or buffer to decode from 42431 * @param [length] Message length if known beforehand 42432 * @returns GetTabletResponse 42433 * @throws {Error} If the payload is not a reader or valid buffer 42434 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42435 */ 42436 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletResponse; 42437 42438 /** 42439 * Decodes a GetTabletResponse message from the specified reader or buffer, length delimited. 42440 * @param reader Reader or buffer to decode from 42441 * @returns GetTabletResponse 42442 * @throws {Error} If the payload is not a reader or valid buffer 42443 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42444 */ 42445 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletResponse; 42446 42447 /** 42448 * Verifies a GetTabletResponse message. 42449 * @param message Plain object to verify 42450 * @returns `null` if valid, otherwise the reason why it is not 42451 */ 42452 public static verify(message: { [k: string]: any }): (string|null); 42453 42454 /** 42455 * Creates a GetTabletResponse message from a plain object. Also converts values to their respective internal types. 42456 * @param object Plain object 42457 * @returns GetTabletResponse 42458 */ 42459 public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletResponse; 42460 42461 /** 42462 * Creates a plain object from a GetTabletResponse message. Also converts values to other types if specified. 42463 * @param message GetTabletResponse 42464 * @param [options] Conversion options 42465 * @returns Plain object 42466 */ 42467 public static toObject(message: vtctldata.GetTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 42468 42469 /** 42470 * Converts this GetTabletResponse to JSON. 42471 * @returns JSON object 42472 */ 42473 public toJSON(): { [k: string]: any }; 42474 } 42475 42476 /** Properties of a GetTabletsRequest. */ 42477 interface IGetTabletsRequest { 42478 42479 /** GetTabletsRequest keyspace */ 42480 keyspace?: (string|null); 42481 42482 /** GetTabletsRequest shard */ 42483 shard?: (string|null); 42484 42485 /** GetTabletsRequest cells */ 42486 cells?: (string[]|null); 42487 42488 /** GetTabletsRequest strict */ 42489 strict?: (boolean|null); 42490 42491 /** GetTabletsRequest tablet_aliases */ 42492 tablet_aliases?: (topodata.ITabletAlias[]|null); 42493 42494 /** GetTabletsRequest tablet_type */ 42495 tablet_type?: (topodata.TabletType|null); 42496 } 42497 42498 /** Represents a GetTabletsRequest. */ 42499 class GetTabletsRequest implements IGetTabletsRequest { 42500 42501 /** 42502 * Constructs a new GetTabletsRequest. 42503 * @param [properties] Properties to set 42504 */ 42505 constructor(properties?: vtctldata.IGetTabletsRequest); 42506 42507 /** GetTabletsRequest keyspace. */ 42508 public keyspace: string; 42509 42510 /** GetTabletsRequest shard. */ 42511 public shard: string; 42512 42513 /** GetTabletsRequest cells. */ 42514 public cells: string[]; 42515 42516 /** GetTabletsRequest strict. */ 42517 public strict: boolean; 42518 42519 /** GetTabletsRequest tablet_aliases. */ 42520 public tablet_aliases: topodata.ITabletAlias[]; 42521 42522 /** GetTabletsRequest tablet_type. */ 42523 public tablet_type: topodata.TabletType; 42524 42525 /** 42526 * Creates a new GetTabletsRequest instance using the specified properties. 42527 * @param [properties] Properties to set 42528 * @returns GetTabletsRequest instance 42529 */ 42530 public static create(properties?: vtctldata.IGetTabletsRequest): vtctldata.GetTabletsRequest; 42531 42532 /** 42533 * Encodes the specified GetTabletsRequest message. Does not implicitly {@link vtctldata.GetTabletsRequest.verify|verify} messages. 42534 * @param message GetTabletsRequest message or plain object to encode 42535 * @param [writer] Writer to encode to 42536 * @returns Writer 42537 */ 42538 public static encode(message: vtctldata.IGetTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 42539 42540 /** 42541 * Encodes the specified GetTabletsRequest message, length delimited. Does not implicitly {@link vtctldata.GetTabletsRequest.verify|verify} messages. 42542 * @param message GetTabletsRequest message or plain object to encode 42543 * @param [writer] Writer to encode to 42544 * @returns Writer 42545 */ 42546 public static encodeDelimited(message: vtctldata.IGetTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 42547 42548 /** 42549 * Decodes a GetTabletsRequest message from the specified reader or buffer. 42550 * @param reader Reader or buffer to decode from 42551 * @param [length] Message length if known beforehand 42552 * @returns GetTabletsRequest 42553 * @throws {Error} If the payload is not a reader or valid buffer 42554 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42555 */ 42556 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletsRequest; 42557 42558 /** 42559 * Decodes a GetTabletsRequest message from the specified reader or buffer, length delimited. 42560 * @param reader Reader or buffer to decode from 42561 * @returns GetTabletsRequest 42562 * @throws {Error} If the payload is not a reader or valid buffer 42563 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42564 */ 42565 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletsRequest; 42566 42567 /** 42568 * Verifies a GetTabletsRequest message. 42569 * @param message Plain object to verify 42570 * @returns `null` if valid, otherwise the reason why it is not 42571 */ 42572 public static verify(message: { [k: string]: any }): (string|null); 42573 42574 /** 42575 * Creates a GetTabletsRequest message from a plain object. Also converts values to their respective internal types. 42576 * @param object Plain object 42577 * @returns GetTabletsRequest 42578 */ 42579 public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletsRequest; 42580 42581 /** 42582 * Creates a plain object from a GetTabletsRequest message. Also converts values to other types if specified. 42583 * @param message GetTabletsRequest 42584 * @param [options] Conversion options 42585 * @returns Plain object 42586 */ 42587 public static toObject(message: vtctldata.GetTabletsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 42588 42589 /** 42590 * Converts this GetTabletsRequest to JSON. 42591 * @returns JSON object 42592 */ 42593 public toJSON(): { [k: string]: any }; 42594 } 42595 42596 /** Properties of a GetTabletsResponse. */ 42597 interface IGetTabletsResponse { 42598 42599 /** GetTabletsResponse tablets */ 42600 tablets?: (topodata.ITablet[]|null); 42601 } 42602 42603 /** Represents a GetTabletsResponse. */ 42604 class GetTabletsResponse implements IGetTabletsResponse { 42605 42606 /** 42607 * Constructs a new GetTabletsResponse. 42608 * @param [properties] Properties to set 42609 */ 42610 constructor(properties?: vtctldata.IGetTabletsResponse); 42611 42612 /** GetTabletsResponse tablets. */ 42613 public tablets: topodata.ITablet[]; 42614 42615 /** 42616 * Creates a new GetTabletsResponse instance using the specified properties. 42617 * @param [properties] Properties to set 42618 * @returns GetTabletsResponse instance 42619 */ 42620 public static create(properties?: vtctldata.IGetTabletsResponse): vtctldata.GetTabletsResponse; 42621 42622 /** 42623 * Encodes the specified GetTabletsResponse message. Does not implicitly {@link vtctldata.GetTabletsResponse.verify|verify} messages. 42624 * @param message GetTabletsResponse message or plain object to encode 42625 * @param [writer] Writer to encode to 42626 * @returns Writer 42627 */ 42628 public static encode(message: vtctldata.IGetTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 42629 42630 /** 42631 * Encodes the specified GetTabletsResponse message, length delimited. Does not implicitly {@link vtctldata.GetTabletsResponse.verify|verify} messages. 42632 * @param message GetTabletsResponse message or plain object to encode 42633 * @param [writer] Writer to encode to 42634 * @returns Writer 42635 */ 42636 public static encodeDelimited(message: vtctldata.IGetTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 42637 42638 /** 42639 * Decodes a GetTabletsResponse message from the specified reader or buffer. 42640 * @param reader Reader or buffer to decode from 42641 * @param [length] Message length if known beforehand 42642 * @returns GetTabletsResponse 42643 * @throws {Error} If the payload is not a reader or valid buffer 42644 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42645 */ 42646 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletsResponse; 42647 42648 /** 42649 * Decodes a GetTabletsResponse message from the specified reader or buffer, length delimited. 42650 * @param reader Reader or buffer to decode from 42651 * @returns GetTabletsResponse 42652 * @throws {Error} If the payload is not a reader or valid buffer 42653 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42654 */ 42655 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletsResponse; 42656 42657 /** 42658 * Verifies a GetTabletsResponse message. 42659 * @param message Plain object to verify 42660 * @returns `null` if valid, otherwise the reason why it is not 42661 */ 42662 public static verify(message: { [k: string]: any }): (string|null); 42663 42664 /** 42665 * Creates a GetTabletsResponse message from a plain object. Also converts values to their respective internal types. 42666 * @param object Plain object 42667 * @returns GetTabletsResponse 42668 */ 42669 public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletsResponse; 42670 42671 /** 42672 * Creates a plain object from a GetTabletsResponse message. Also converts values to other types if specified. 42673 * @param message GetTabletsResponse 42674 * @param [options] Conversion options 42675 * @returns Plain object 42676 */ 42677 public static toObject(message: vtctldata.GetTabletsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 42678 42679 /** 42680 * Converts this GetTabletsResponse to JSON. 42681 * @returns JSON object 42682 */ 42683 public toJSON(): { [k: string]: any }; 42684 } 42685 42686 /** Properties of a GetTopologyPathRequest. */ 42687 interface IGetTopologyPathRequest { 42688 42689 /** GetTopologyPathRequest path */ 42690 path?: (string|null); 42691 } 42692 42693 /** Represents a GetTopologyPathRequest. */ 42694 class GetTopologyPathRequest implements IGetTopologyPathRequest { 42695 42696 /** 42697 * Constructs a new GetTopologyPathRequest. 42698 * @param [properties] Properties to set 42699 */ 42700 constructor(properties?: vtctldata.IGetTopologyPathRequest); 42701 42702 /** GetTopologyPathRequest path. */ 42703 public path: string; 42704 42705 /** 42706 * Creates a new GetTopologyPathRequest instance using the specified properties. 42707 * @param [properties] Properties to set 42708 * @returns GetTopologyPathRequest instance 42709 */ 42710 public static create(properties?: vtctldata.IGetTopologyPathRequest): vtctldata.GetTopologyPathRequest; 42711 42712 /** 42713 * Encodes the specified GetTopologyPathRequest message. Does not implicitly {@link vtctldata.GetTopologyPathRequest.verify|verify} messages. 42714 * @param message GetTopologyPathRequest message or plain object to encode 42715 * @param [writer] Writer to encode to 42716 * @returns Writer 42717 */ 42718 public static encode(message: vtctldata.IGetTopologyPathRequest, writer?: $protobuf.Writer): $protobuf.Writer; 42719 42720 /** 42721 * Encodes the specified GetTopologyPathRequest message, length delimited. Does not implicitly {@link vtctldata.GetTopologyPathRequest.verify|verify} messages. 42722 * @param message GetTopologyPathRequest message or plain object to encode 42723 * @param [writer] Writer to encode to 42724 * @returns Writer 42725 */ 42726 public static encodeDelimited(message: vtctldata.IGetTopologyPathRequest, writer?: $protobuf.Writer): $protobuf.Writer; 42727 42728 /** 42729 * Decodes a GetTopologyPathRequest message from the specified reader or buffer. 42730 * @param reader Reader or buffer to decode from 42731 * @param [length] Message length if known beforehand 42732 * @returns GetTopologyPathRequest 42733 * @throws {Error} If the payload is not a reader or valid buffer 42734 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42735 */ 42736 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTopologyPathRequest; 42737 42738 /** 42739 * Decodes a GetTopologyPathRequest message from the specified reader or buffer, length delimited. 42740 * @param reader Reader or buffer to decode from 42741 * @returns GetTopologyPathRequest 42742 * @throws {Error} If the payload is not a reader or valid buffer 42743 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42744 */ 42745 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTopologyPathRequest; 42746 42747 /** 42748 * Verifies a GetTopologyPathRequest message. 42749 * @param message Plain object to verify 42750 * @returns `null` if valid, otherwise the reason why it is not 42751 */ 42752 public static verify(message: { [k: string]: any }): (string|null); 42753 42754 /** 42755 * Creates a GetTopologyPathRequest message from a plain object. Also converts values to their respective internal types. 42756 * @param object Plain object 42757 * @returns GetTopologyPathRequest 42758 */ 42759 public static fromObject(object: { [k: string]: any }): vtctldata.GetTopologyPathRequest; 42760 42761 /** 42762 * Creates a plain object from a GetTopologyPathRequest message. Also converts values to other types if specified. 42763 * @param message GetTopologyPathRequest 42764 * @param [options] Conversion options 42765 * @returns Plain object 42766 */ 42767 public static toObject(message: vtctldata.GetTopologyPathRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 42768 42769 /** 42770 * Converts this GetTopologyPathRequest to JSON. 42771 * @returns JSON object 42772 */ 42773 public toJSON(): { [k: string]: any }; 42774 } 42775 42776 /** Properties of a GetTopologyPathResponse. */ 42777 interface IGetTopologyPathResponse { 42778 42779 /** GetTopologyPathResponse cell */ 42780 cell?: (vtctldata.ITopologyCell|null); 42781 } 42782 42783 /** Represents a GetTopologyPathResponse. */ 42784 class GetTopologyPathResponse implements IGetTopologyPathResponse { 42785 42786 /** 42787 * Constructs a new GetTopologyPathResponse. 42788 * @param [properties] Properties to set 42789 */ 42790 constructor(properties?: vtctldata.IGetTopologyPathResponse); 42791 42792 /** GetTopologyPathResponse cell. */ 42793 public cell?: (vtctldata.ITopologyCell|null); 42794 42795 /** 42796 * Creates a new GetTopologyPathResponse instance using the specified properties. 42797 * @param [properties] Properties to set 42798 * @returns GetTopologyPathResponse instance 42799 */ 42800 public static create(properties?: vtctldata.IGetTopologyPathResponse): vtctldata.GetTopologyPathResponse; 42801 42802 /** 42803 * Encodes the specified GetTopologyPathResponse message. Does not implicitly {@link vtctldata.GetTopologyPathResponse.verify|verify} messages. 42804 * @param message GetTopologyPathResponse message or plain object to encode 42805 * @param [writer] Writer to encode to 42806 * @returns Writer 42807 */ 42808 public static encode(message: vtctldata.IGetTopologyPathResponse, writer?: $protobuf.Writer): $protobuf.Writer; 42809 42810 /** 42811 * Encodes the specified GetTopologyPathResponse message, length delimited. Does not implicitly {@link vtctldata.GetTopologyPathResponse.verify|verify} messages. 42812 * @param message GetTopologyPathResponse message or plain object to encode 42813 * @param [writer] Writer to encode to 42814 * @returns Writer 42815 */ 42816 public static encodeDelimited(message: vtctldata.IGetTopologyPathResponse, writer?: $protobuf.Writer): $protobuf.Writer; 42817 42818 /** 42819 * Decodes a GetTopologyPathResponse message from the specified reader or buffer. 42820 * @param reader Reader or buffer to decode from 42821 * @param [length] Message length if known beforehand 42822 * @returns GetTopologyPathResponse 42823 * @throws {Error} If the payload is not a reader or valid buffer 42824 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42825 */ 42826 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTopologyPathResponse; 42827 42828 /** 42829 * Decodes a GetTopologyPathResponse message from the specified reader or buffer, length delimited. 42830 * @param reader Reader or buffer to decode from 42831 * @returns GetTopologyPathResponse 42832 * @throws {Error} If the payload is not a reader or valid buffer 42833 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42834 */ 42835 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTopologyPathResponse; 42836 42837 /** 42838 * Verifies a GetTopologyPathResponse message. 42839 * @param message Plain object to verify 42840 * @returns `null` if valid, otherwise the reason why it is not 42841 */ 42842 public static verify(message: { [k: string]: any }): (string|null); 42843 42844 /** 42845 * Creates a GetTopologyPathResponse message from a plain object. Also converts values to their respective internal types. 42846 * @param object Plain object 42847 * @returns GetTopologyPathResponse 42848 */ 42849 public static fromObject(object: { [k: string]: any }): vtctldata.GetTopologyPathResponse; 42850 42851 /** 42852 * Creates a plain object from a GetTopologyPathResponse message. Also converts values to other types if specified. 42853 * @param message GetTopologyPathResponse 42854 * @param [options] Conversion options 42855 * @returns Plain object 42856 */ 42857 public static toObject(message: vtctldata.GetTopologyPathResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 42858 42859 /** 42860 * Converts this GetTopologyPathResponse to JSON. 42861 * @returns JSON object 42862 */ 42863 public toJSON(): { [k: string]: any }; 42864 } 42865 42866 /** Properties of a TopologyCell. */ 42867 interface ITopologyCell { 42868 42869 /** TopologyCell name */ 42870 name?: (string|null); 42871 42872 /** TopologyCell path */ 42873 path?: (string|null); 42874 42875 /** TopologyCell data */ 42876 data?: (string|null); 42877 42878 /** TopologyCell children */ 42879 children?: (string[]|null); 42880 } 42881 42882 /** Represents a TopologyCell. */ 42883 class TopologyCell implements ITopologyCell { 42884 42885 /** 42886 * Constructs a new TopologyCell. 42887 * @param [properties] Properties to set 42888 */ 42889 constructor(properties?: vtctldata.ITopologyCell); 42890 42891 /** TopologyCell name. */ 42892 public name: string; 42893 42894 /** TopologyCell path. */ 42895 public path: string; 42896 42897 /** TopologyCell data. */ 42898 public data: string; 42899 42900 /** TopologyCell children. */ 42901 public children: string[]; 42902 42903 /** 42904 * Creates a new TopologyCell instance using the specified properties. 42905 * @param [properties] Properties to set 42906 * @returns TopologyCell instance 42907 */ 42908 public static create(properties?: vtctldata.ITopologyCell): vtctldata.TopologyCell; 42909 42910 /** 42911 * Encodes the specified TopologyCell message. Does not implicitly {@link vtctldata.TopologyCell.verify|verify} messages. 42912 * @param message TopologyCell message or plain object to encode 42913 * @param [writer] Writer to encode to 42914 * @returns Writer 42915 */ 42916 public static encode(message: vtctldata.ITopologyCell, writer?: $protobuf.Writer): $protobuf.Writer; 42917 42918 /** 42919 * Encodes the specified TopologyCell message, length delimited. Does not implicitly {@link vtctldata.TopologyCell.verify|verify} messages. 42920 * @param message TopologyCell message or plain object to encode 42921 * @param [writer] Writer to encode to 42922 * @returns Writer 42923 */ 42924 public static encodeDelimited(message: vtctldata.ITopologyCell, writer?: $protobuf.Writer): $protobuf.Writer; 42925 42926 /** 42927 * Decodes a TopologyCell message from the specified reader or buffer. 42928 * @param reader Reader or buffer to decode from 42929 * @param [length] Message length if known beforehand 42930 * @returns TopologyCell 42931 * @throws {Error} If the payload is not a reader or valid buffer 42932 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42933 */ 42934 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TopologyCell; 42935 42936 /** 42937 * Decodes a TopologyCell message from the specified reader or buffer, length delimited. 42938 * @param reader Reader or buffer to decode from 42939 * @returns TopologyCell 42940 * @throws {Error} If the payload is not a reader or valid buffer 42941 * @throws {$protobuf.util.ProtocolError} If required fields are missing 42942 */ 42943 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TopologyCell; 42944 42945 /** 42946 * Verifies a TopologyCell message. 42947 * @param message Plain object to verify 42948 * @returns `null` if valid, otherwise the reason why it is not 42949 */ 42950 public static verify(message: { [k: string]: any }): (string|null); 42951 42952 /** 42953 * Creates a TopologyCell message from a plain object. Also converts values to their respective internal types. 42954 * @param object Plain object 42955 * @returns TopologyCell 42956 */ 42957 public static fromObject(object: { [k: string]: any }): vtctldata.TopologyCell; 42958 42959 /** 42960 * Creates a plain object from a TopologyCell message. Also converts values to other types if specified. 42961 * @param message TopologyCell 42962 * @param [options] Conversion options 42963 * @returns Plain object 42964 */ 42965 public static toObject(message: vtctldata.TopologyCell, options?: $protobuf.IConversionOptions): { [k: string]: any }; 42966 42967 /** 42968 * Converts this TopologyCell to JSON. 42969 * @returns JSON object 42970 */ 42971 public toJSON(): { [k: string]: any }; 42972 } 42973 42974 /** Properties of a GetVSchemaRequest. */ 42975 interface IGetVSchemaRequest { 42976 42977 /** GetVSchemaRequest keyspace */ 42978 keyspace?: (string|null); 42979 } 42980 42981 /** Represents a GetVSchemaRequest. */ 42982 class GetVSchemaRequest implements IGetVSchemaRequest { 42983 42984 /** 42985 * Constructs a new GetVSchemaRequest. 42986 * @param [properties] Properties to set 42987 */ 42988 constructor(properties?: vtctldata.IGetVSchemaRequest); 42989 42990 /** GetVSchemaRequest keyspace. */ 42991 public keyspace: string; 42992 42993 /** 42994 * Creates a new GetVSchemaRequest instance using the specified properties. 42995 * @param [properties] Properties to set 42996 * @returns GetVSchemaRequest instance 42997 */ 42998 public static create(properties?: vtctldata.IGetVSchemaRequest): vtctldata.GetVSchemaRequest; 42999 43000 /** 43001 * Encodes the specified GetVSchemaRequest message. Does not implicitly {@link vtctldata.GetVSchemaRequest.verify|verify} messages. 43002 * @param message GetVSchemaRequest message or plain object to encode 43003 * @param [writer] Writer to encode to 43004 * @returns Writer 43005 */ 43006 public static encode(message: vtctldata.IGetVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43007 43008 /** 43009 * Encodes the specified GetVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.GetVSchemaRequest.verify|verify} messages. 43010 * @param message GetVSchemaRequest message or plain object to encode 43011 * @param [writer] Writer to encode to 43012 * @returns Writer 43013 */ 43014 public static encodeDelimited(message: vtctldata.IGetVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43015 43016 /** 43017 * Decodes a GetVSchemaRequest message from the specified reader or buffer. 43018 * @param reader Reader or buffer to decode from 43019 * @param [length] Message length if known beforehand 43020 * @returns GetVSchemaRequest 43021 * @throws {Error} If the payload is not a reader or valid buffer 43022 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43023 */ 43024 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVSchemaRequest; 43025 43026 /** 43027 * Decodes a GetVSchemaRequest message from the specified reader or buffer, length delimited. 43028 * @param reader Reader or buffer to decode from 43029 * @returns GetVSchemaRequest 43030 * @throws {Error} If the payload is not a reader or valid buffer 43031 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43032 */ 43033 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVSchemaRequest; 43034 43035 /** 43036 * Verifies a GetVSchemaRequest message. 43037 * @param message Plain object to verify 43038 * @returns `null` if valid, otherwise the reason why it is not 43039 */ 43040 public static verify(message: { [k: string]: any }): (string|null); 43041 43042 /** 43043 * Creates a GetVSchemaRequest message from a plain object. Also converts values to their respective internal types. 43044 * @param object Plain object 43045 * @returns GetVSchemaRequest 43046 */ 43047 public static fromObject(object: { [k: string]: any }): vtctldata.GetVSchemaRequest; 43048 43049 /** 43050 * Creates a plain object from a GetVSchemaRequest message. Also converts values to other types if specified. 43051 * @param message GetVSchemaRequest 43052 * @param [options] Conversion options 43053 * @returns Plain object 43054 */ 43055 public static toObject(message: vtctldata.GetVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 43056 43057 /** 43058 * Converts this GetVSchemaRequest to JSON. 43059 * @returns JSON object 43060 */ 43061 public toJSON(): { [k: string]: any }; 43062 } 43063 43064 /** Properties of a GetVersionRequest. */ 43065 interface IGetVersionRequest { 43066 43067 /** GetVersionRequest tablet_alias */ 43068 tablet_alias?: (topodata.ITabletAlias|null); 43069 } 43070 43071 /** Represents a GetVersionRequest. */ 43072 class GetVersionRequest implements IGetVersionRequest { 43073 43074 /** 43075 * Constructs a new GetVersionRequest. 43076 * @param [properties] Properties to set 43077 */ 43078 constructor(properties?: vtctldata.IGetVersionRequest); 43079 43080 /** GetVersionRequest tablet_alias. */ 43081 public tablet_alias?: (topodata.ITabletAlias|null); 43082 43083 /** 43084 * Creates a new GetVersionRequest instance using the specified properties. 43085 * @param [properties] Properties to set 43086 * @returns GetVersionRequest instance 43087 */ 43088 public static create(properties?: vtctldata.IGetVersionRequest): vtctldata.GetVersionRequest; 43089 43090 /** 43091 * Encodes the specified GetVersionRequest message. Does not implicitly {@link vtctldata.GetVersionRequest.verify|verify} messages. 43092 * @param message GetVersionRequest message or plain object to encode 43093 * @param [writer] Writer to encode to 43094 * @returns Writer 43095 */ 43096 public static encode(message: vtctldata.IGetVersionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43097 43098 /** 43099 * Encodes the specified GetVersionRequest message, length delimited. Does not implicitly {@link vtctldata.GetVersionRequest.verify|verify} messages. 43100 * @param message GetVersionRequest message or plain object to encode 43101 * @param [writer] Writer to encode to 43102 * @returns Writer 43103 */ 43104 public static encodeDelimited(message: vtctldata.IGetVersionRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43105 43106 /** 43107 * Decodes a GetVersionRequest message from the specified reader or buffer. 43108 * @param reader Reader or buffer to decode from 43109 * @param [length] Message length if known beforehand 43110 * @returns GetVersionRequest 43111 * @throws {Error} If the payload is not a reader or valid buffer 43112 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43113 */ 43114 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVersionRequest; 43115 43116 /** 43117 * Decodes a GetVersionRequest message from the specified reader or buffer, length delimited. 43118 * @param reader Reader or buffer to decode from 43119 * @returns GetVersionRequest 43120 * @throws {Error} If the payload is not a reader or valid buffer 43121 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43122 */ 43123 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVersionRequest; 43124 43125 /** 43126 * Verifies a GetVersionRequest message. 43127 * @param message Plain object to verify 43128 * @returns `null` if valid, otherwise the reason why it is not 43129 */ 43130 public static verify(message: { [k: string]: any }): (string|null); 43131 43132 /** 43133 * Creates a GetVersionRequest message from a plain object. Also converts values to their respective internal types. 43134 * @param object Plain object 43135 * @returns GetVersionRequest 43136 */ 43137 public static fromObject(object: { [k: string]: any }): vtctldata.GetVersionRequest; 43138 43139 /** 43140 * Creates a plain object from a GetVersionRequest message. Also converts values to other types if specified. 43141 * @param message GetVersionRequest 43142 * @param [options] Conversion options 43143 * @returns Plain object 43144 */ 43145 public static toObject(message: vtctldata.GetVersionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 43146 43147 /** 43148 * Converts this GetVersionRequest to JSON. 43149 * @returns JSON object 43150 */ 43151 public toJSON(): { [k: string]: any }; 43152 } 43153 43154 /** Properties of a GetVersionResponse. */ 43155 interface IGetVersionResponse { 43156 43157 /** GetVersionResponse version */ 43158 version?: (string|null); 43159 } 43160 43161 /** Represents a GetVersionResponse. */ 43162 class GetVersionResponse implements IGetVersionResponse { 43163 43164 /** 43165 * Constructs a new GetVersionResponse. 43166 * @param [properties] Properties to set 43167 */ 43168 constructor(properties?: vtctldata.IGetVersionResponse); 43169 43170 /** GetVersionResponse version. */ 43171 public version: string; 43172 43173 /** 43174 * Creates a new GetVersionResponse instance using the specified properties. 43175 * @param [properties] Properties to set 43176 * @returns GetVersionResponse instance 43177 */ 43178 public static create(properties?: vtctldata.IGetVersionResponse): vtctldata.GetVersionResponse; 43179 43180 /** 43181 * Encodes the specified GetVersionResponse message. Does not implicitly {@link vtctldata.GetVersionResponse.verify|verify} messages. 43182 * @param message GetVersionResponse message or plain object to encode 43183 * @param [writer] Writer to encode to 43184 * @returns Writer 43185 */ 43186 public static encode(message: vtctldata.IGetVersionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 43187 43188 /** 43189 * Encodes the specified GetVersionResponse message, length delimited. Does not implicitly {@link vtctldata.GetVersionResponse.verify|verify} messages. 43190 * @param message GetVersionResponse message or plain object to encode 43191 * @param [writer] Writer to encode to 43192 * @returns Writer 43193 */ 43194 public static encodeDelimited(message: vtctldata.IGetVersionResponse, writer?: $protobuf.Writer): $protobuf.Writer; 43195 43196 /** 43197 * Decodes a GetVersionResponse message from the specified reader or buffer. 43198 * @param reader Reader or buffer to decode from 43199 * @param [length] Message length if known beforehand 43200 * @returns GetVersionResponse 43201 * @throws {Error} If the payload is not a reader or valid buffer 43202 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43203 */ 43204 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVersionResponse; 43205 43206 /** 43207 * Decodes a GetVersionResponse message from the specified reader or buffer, length delimited. 43208 * @param reader Reader or buffer to decode from 43209 * @returns GetVersionResponse 43210 * @throws {Error} If the payload is not a reader or valid buffer 43211 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43212 */ 43213 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVersionResponse; 43214 43215 /** 43216 * Verifies a GetVersionResponse message. 43217 * @param message Plain object to verify 43218 * @returns `null` if valid, otherwise the reason why it is not 43219 */ 43220 public static verify(message: { [k: string]: any }): (string|null); 43221 43222 /** 43223 * Creates a GetVersionResponse message from a plain object. Also converts values to their respective internal types. 43224 * @param object Plain object 43225 * @returns GetVersionResponse 43226 */ 43227 public static fromObject(object: { [k: string]: any }): vtctldata.GetVersionResponse; 43228 43229 /** 43230 * Creates a plain object from a GetVersionResponse message. Also converts values to other types if specified. 43231 * @param message GetVersionResponse 43232 * @param [options] Conversion options 43233 * @returns Plain object 43234 */ 43235 public static toObject(message: vtctldata.GetVersionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 43236 43237 /** 43238 * Converts this GetVersionResponse to JSON. 43239 * @returns JSON object 43240 */ 43241 public toJSON(): { [k: string]: any }; 43242 } 43243 43244 /** Properties of a GetVSchemaResponse. */ 43245 interface IGetVSchemaResponse { 43246 43247 /** GetVSchemaResponse v_schema */ 43248 v_schema?: (vschema.IKeyspace|null); 43249 } 43250 43251 /** Represents a GetVSchemaResponse. */ 43252 class GetVSchemaResponse implements IGetVSchemaResponse { 43253 43254 /** 43255 * Constructs a new GetVSchemaResponse. 43256 * @param [properties] Properties to set 43257 */ 43258 constructor(properties?: vtctldata.IGetVSchemaResponse); 43259 43260 /** GetVSchemaResponse v_schema. */ 43261 public v_schema?: (vschema.IKeyspace|null); 43262 43263 /** 43264 * Creates a new GetVSchemaResponse instance using the specified properties. 43265 * @param [properties] Properties to set 43266 * @returns GetVSchemaResponse instance 43267 */ 43268 public static create(properties?: vtctldata.IGetVSchemaResponse): vtctldata.GetVSchemaResponse; 43269 43270 /** 43271 * Encodes the specified GetVSchemaResponse message. Does not implicitly {@link vtctldata.GetVSchemaResponse.verify|verify} messages. 43272 * @param message GetVSchemaResponse message or plain object to encode 43273 * @param [writer] Writer to encode to 43274 * @returns Writer 43275 */ 43276 public static encode(message: vtctldata.IGetVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 43277 43278 /** 43279 * Encodes the specified GetVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.GetVSchemaResponse.verify|verify} messages. 43280 * @param message GetVSchemaResponse message or plain object to encode 43281 * @param [writer] Writer to encode to 43282 * @returns Writer 43283 */ 43284 public static encodeDelimited(message: vtctldata.IGetVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 43285 43286 /** 43287 * Decodes a GetVSchemaResponse message from the specified reader or buffer. 43288 * @param reader Reader or buffer to decode from 43289 * @param [length] Message length if known beforehand 43290 * @returns GetVSchemaResponse 43291 * @throws {Error} If the payload is not a reader or valid buffer 43292 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43293 */ 43294 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVSchemaResponse; 43295 43296 /** 43297 * Decodes a GetVSchemaResponse message from the specified reader or buffer, length delimited. 43298 * @param reader Reader or buffer to decode from 43299 * @returns GetVSchemaResponse 43300 * @throws {Error} If the payload is not a reader or valid buffer 43301 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43302 */ 43303 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVSchemaResponse; 43304 43305 /** 43306 * Verifies a GetVSchemaResponse message. 43307 * @param message Plain object to verify 43308 * @returns `null` if valid, otherwise the reason why it is not 43309 */ 43310 public static verify(message: { [k: string]: any }): (string|null); 43311 43312 /** 43313 * Creates a GetVSchemaResponse message from a plain object. Also converts values to their respective internal types. 43314 * @param object Plain object 43315 * @returns GetVSchemaResponse 43316 */ 43317 public static fromObject(object: { [k: string]: any }): vtctldata.GetVSchemaResponse; 43318 43319 /** 43320 * Creates a plain object from a GetVSchemaResponse message. Also converts values to other types if specified. 43321 * @param message GetVSchemaResponse 43322 * @param [options] Conversion options 43323 * @returns Plain object 43324 */ 43325 public static toObject(message: vtctldata.GetVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 43326 43327 /** 43328 * Converts this GetVSchemaResponse to JSON. 43329 * @returns JSON object 43330 */ 43331 public toJSON(): { [k: string]: any }; 43332 } 43333 43334 /** Properties of a GetWorkflowsRequest. */ 43335 interface IGetWorkflowsRequest { 43336 43337 /** GetWorkflowsRequest keyspace */ 43338 keyspace?: (string|null); 43339 43340 /** GetWorkflowsRequest active_only */ 43341 active_only?: (boolean|null); 43342 } 43343 43344 /** Represents a GetWorkflowsRequest. */ 43345 class GetWorkflowsRequest implements IGetWorkflowsRequest { 43346 43347 /** 43348 * Constructs a new GetWorkflowsRequest. 43349 * @param [properties] Properties to set 43350 */ 43351 constructor(properties?: vtctldata.IGetWorkflowsRequest); 43352 43353 /** GetWorkflowsRequest keyspace. */ 43354 public keyspace: string; 43355 43356 /** GetWorkflowsRequest active_only. */ 43357 public active_only: boolean; 43358 43359 /** 43360 * Creates a new GetWorkflowsRequest instance using the specified properties. 43361 * @param [properties] Properties to set 43362 * @returns GetWorkflowsRequest instance 43363 */ 43364 public static create(properties?: vtctldata.IGetWorkflowsRequest): vtctldata.GetWorkflowsRequest; 43365 43366 /** 43367 * Encodes the specified GetWorkflowsRequest message. Does not implicitly {@link vtctldata.GetWorkflowsRequest.verify|verify} messages. 43368 * @param message GetWorkflowsRequest message or plain object to encode 43369 * @param [writer] Writer to encode to 43370 * @returns Writer 43371 */ 43372 public static encode(message: vtctldata.IGetWorkflowsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43373 43374 /** 43375 * Encodes the specified GetWorkflowsRequest message, length delimited. Does not implicitly {@link vtctldata.GetWorkflowsRequest.verify|verify} messages. 43376 * @param message GetWorkflowsRequest message or plain object to encode 43377 * @param [writer] Writer to encode to 43378 * @returns Writer 43379 */ 43380 public static encodeDelimited(message: vtctldata.IGetWorkflowsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43381 43382 /** 43383 * Decodes a GetWorkflowsRequest message from the specified reader or buffer. 43384 * @param reader Reader or buffer to decode from 43385 * @param [length] Message length if known beforehand 43386 * @returns GetWorkflowsRequest 43387 * @throws {Error} If the payload is not a reader or valid buffer 43388 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43389 */ 43390 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetWorkflowsRequest; 43391 43392 /** 43393 * Decodes a GetWorkflowsRequest message from the specified reader or buffer, length delimited. 43394 * @param reader Reader or buffer to decode from 43395 * @returns GetWorkflowsRequest 43396 * @throws {Error} If the payload is not a reader or valid buffer 43397 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43398 */ 43399 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetWorkflowsRequest; 43400 43401 /** 43402 * Verifies a GetWorkflowsRequest message. 43403 * @param message Plain object to verify 43404 * @returns `null` if valid, otherwise the reason why it is not 43405 */ 43406 public static verify(message: { [k: string]: any }): (string|null); 43407 43408 /** 43409 * Creates a GetWorkflowsRequest message from a plain object. Also converts values to their respective internal types. 43410 * @param object Plain object 43411 * @returns GetWorkflowsRequest 43412 */ 43413 public static fromObject(object: { [k: string]: any }): vtctldata.GetWorkflowsRequest; 43414 43415 /** 43416 * Creates a plain object from a GetWorkflowsRequest message. Also converts values to other types if specified. 43417 * @param message GetWorkflowsRequest 43418 * @param [options] Conversion options 43419 * @returns Plain object 43420 */ 43421 public static toObject(message: vtctldata.GetWorkflowsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 43422 43423 /** 43424 * Converts this GetWorkflowsRequest to JSON. 43425 * @returns JSON object 43426 */ 43427 public toJSON(): { [k: string]: any }; 43428 } 43429 43430 /** Properties of a GetWorkflowsResponse. */ 43431 interface IGetWorkflowsResponse { 43432 43433 /** GetWorkflowsResponse workflows */ 43434 workflows?: (vtctldata.IWorkflow[]|null); 43435 } 43436 43437 /** Represents a GetWorkflowsResponse. */ 43438 class GetWorkflowsResponse implements IGetWorkflowsResponse { 43439 43440 /** 43441 * Constructs a new GetWorkflowsResponse. 43442 * @param [properties] Properties to set 43443 */ 43444 constructor(properties?: vtctldata.IGetWorkflowsResponse); 43445 43446 /** GetWorkflowsResponse workflows. */ 43447 public workflows: vtctldata.IWorkflow[]; 43448 43449 /** 43450 * Creates a new GetWorkflowsResponse instance using the specified properties. 43451 * @param [properties] Properties to set 43452 * @returns GetWorkflowsResponse instance 43453 */ 43454 public static create(properties?: vtctldata.IGetWorkflowsResponse): vtctldata.GetWorkflowsResponse; 43455 43456 /** 43457 * Encodes the specified GetWorkflowsResponse message. Does not implicitly {@link vtctldata.GetWorkflowsResponse.verify|verify} messages. 43458 * @param message GetWorkflowsResponse message or plain object to encode 43459 * @param [writer] Writer to encode to 43460 * @returns Writer 43461 */ 43462 public static encode(message: vtctldata.IGetWorkflowsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 43463 43464 /** 43465 * Encodes the specified GetWorkflowsResponse message, length delimited. Does not implicitly {@link vtctldata.GetWorkflowsResponse.verify|verify} messages. 43466 * @param message GetWorkflowsResponse message or plain object to encode 43467 * @param [writer] Writer to encode to 43468 * @returns Writer 43469 */ 43470 public static encodeDelimited(message: vtctldata.IGetWorkflowsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 43471 43472 /** 43473 * Decodes a GetWorkflowsResponse message from the specified reader or buffer. 43474 * @param reader Reader or buffer to decode from 43475 * @param [length] Message length if known beforehand 43476 * @returns GetWorkflowsResponse 43477 * @throws {Error} If the payload is not a reader or valid buffer 43478 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43479 */ 43480 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetWorkflowsResponse; 43481 43482 /** 43483 * Decodes a GetWorkflowsResponse message from the specified reader or buffer, length delimited. 43484 * @param reader Reader or buffer to decode from 43485 * @returns GetWorkflowsResponse 43486 * @throws {Error} If the payload is not a reader or valid buffer 43487 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43488 */ 43489 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetWorkflowsResponse; 43490 43491 /** 43492 * Verifies a GetWorkflowsResponse message. 43493 * @param message Plain object to verify 43494 * @returns `null` if valid, otherwise the reason why it is not 43495 */ 43496 public static verify(message: { [k: string]: any }): (string|null); 43497 43498 /** 43499 * Creates a GetWorkflowsResponse message from a plain object. Also converts values to their respective internal types. 43500 * @param object Plain object 43501 * @returns GetWorkflowsResponse 43502 */ 43503 public static fromObject(object: { [k: string]: any }): vtctldata.GetWorkflowsResponse; 43504 43505 /** 43506 * Creates a plain object from a GetWorkflowsResponse message. Also converts values to other types if specified. 43507 * @param message GetWorkflowsResponse 43508 * @param [options] Conversion options 43509 * @returns Plain object 43510 */ 43511 public static toObject(message: vtctldata.GetWorkflowsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 43512 43513 /** 43514 * Converts this GetWorkflowsResponse to JSON. 43515 * @returns JSON object 43516 */ 43517 public toJSON(): { [k: string]: any }; 43518 } 43519 43520 /** Properties of an InitShardPrimaryRequest. */ 43521 interface IInitShardPrimaryRequest { 43522 43523 /** InitShardPrimaryRequest keyspace */ 43524 keyspace?: (string|null); 43525 43526 /** InitShardPrimaryRequest shard */ 43527 shard?: (string|null); 43528 43529 /** InitShardPrimaryRequest primary_elect_tablet_alias */ 43530 primary_elect_tablet_alias?: (topodata.ITabletAlias|null); 43531 43532 /** InitShardPrimaryRequest force */ 43533 force?: (boolean|null); 43534 43535 /** InitShardPrimaryRequest wait_replicas_timeout */ 43536 wait_replicas_timeout?: (vttime.IDuration|null); 43537 } 43538 43539 /** Represents an InitShardPrimaryRequest. */ 43540 class InitShardPrimaryRequest implements IInitShardPrimaryRequest { 43541 43542 /** 43543 * Constructs a new InitShardPrimaryRequest. 43544 * @param [properties] Properties to set 43545 */ 43546 constructor(properties?: vtctldata.IInitShardPrimaryRequest); 43547 43548 /** InitShardPrimaryRequest keyspace. */ 43549 public keyspace: string; 43550 43551 /** InitShardPrimaryRequest shard. */ 43552 public shard: string; 43553 43554 /** InitShardPrimaryRequest primary_elect_tablet_alias. */ 43555 public primary_elect_tablet_alias?: (topodata.ITabletAlias|null); 43556 43557 /** InitShardPrimaryRequest force. */ 43558 public force: boolean; 43559 43560 /** InitShardPrimaryRequest wait_replicas_timeout. */ 43561 public wait_replicas_timeout?: (vttime.IDuration|null); 43562 43563 /** 43564 * Creates a new InitShardPrimaryRequest instance using the specified properties. 43565 * @param [properties] Properties to set 43566 * @returns InitShardPrimaryRequest instance 43567 */ 43568 public static create(properties?: vtctldata.IInitShardPrimaryRequest): vtctldata.InitShardPrimaryRequest; 43569 43570 /** 43571 * Encodes the specified InitShardPrimaryRequest message. Does not implicitly {@link vtctldata.InitShardPrimaryRequest.verify|verify} messages. 43572 * @param message InitShardPrimaryRequest message or plain object to encode 43573 * @param [writer] Writer to encode to 43574 * @returns Writer 43575 */ 43576 public static encode(message: vtctldata.IInitShardPrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43577 43578 /** 43579 * Encodes the specified InitShardPrimaryRequest message, length delimited. Does not implicitly {@link vtctldata.InitShardPrimaryRequest.verify|verify} messages. 43580 * @param message InitShardPrimaryRequest message or plain object to encode 43581 * @param [writer] Writer to encode to 43582 * @returns Writer 43583 */ 43584 public static encodeDelimited(message: vtctldata.IInitShardPrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43585 43586 /** 43587 * Decodes an InitShardPrimaryRequest message from the specified reader or buffer. 43588 * @param reader Reader or buffer to decode from 43589 * @param [length] Message length if known beforehand 43590 * @returns InitShardPrimaryRequest 43591 * @throws {Error} If the payload is not a reader or valid buffer 43592 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43593 */ 43594 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.InitShardPrimaryRequest; 43595 43596 /** 43597 * Decodes an InitShardPrimaryRequest message from the specified reader or buffer, length delimited. 43598 * @param reader Reader or buffer to decode from 43599 * @returns InitShardPrimaryRequest 43600 * @throws {Error} If the payload is not a reader or valid buffer 43601 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43602 */ 43603 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.InitShardPrimaryRequest; 43604 43605 /** 43606 * Verifies an InitShardPrimaryRequest message. 43607 * @param message Plain object to verify 43608 * @returns `null` if valid, otherwise the reason why it is not 43609 */ 43610 public static verify(message: { [k: string]: any }): (string|null); 43611 43612 /** 43613 * Creates an InitShardPrimaryRequest message from a plain object. Also converts values to their respective internal types. 43614 * @param object Plain object 43615 * @returns InitShardPrimaryRequest 43616 */ 43617 public static fromObject(object: { [k: string]: any }): vtctldata.InitShardPrimaryRequest; 43618 43619 /** 43620 * Creates a plain object from an InitShardPrimaryRequest message. Also converts values to other types if specified. 43621 * @param message InitShardPrimaryRequest 43622 * @param [options] Conversion options 43623 * @returns Plain object 43624 */ 43625 public static toObject(message: vtctldata.InitShardPrimaryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 43626 43627 /** 43628 * Converts this InitShardPrimaryRequest to JSON. 43629 * @returns JSON object 43630 */ 43631 public toJSON(): { [k: string]: any }; 43632 } 43633 43634 /** Properties of an InitShardPrimaryResponse. */ 43635 interface IInitShardPrimaryResponse { 43636 43637 /** InitShardPrimaryResponse events */ 43638 events?: (logutil.IEvent[]|null); 43639 } 43640 43641 /** Represents an InitShardPrimaryResponse. */ 43642 class InitShardPrimaryResponse implements IInitShardPrimaryResponse { 43643 43644 /** 43645 * Constructs a new InitShardPrimaryResponse. 43646 * @param [properties] Properties to set 43647 */ 43648 constructor(properties?: vtctldata.IInitShardPrimaryResponse); 43649 43650 /** InitShardPrimaryResponse events. */ 43651 public events: logutil.IEvent[]; 43652 43653 /** 43654 * Creates a new InitShardPrimaryResponse instance using the specified properties. 43655 * @param [properties] Properties to set 43656 * @returns InitShardPrimaryResponse instance 43657 */ 43658 public static create(properties?: vtctldata.IInitShardPrimaryResponse): vtctldata.InitShardPrimaryResponse; 43659 43660 /** 43661 * Encodes the specified InitShardPrimaryResponse message. Does not implicitly {@link vtctldata.InitShardPrimaryResponse.verify|verify} messages. 43662 * @param message InitShardPrimaryResponse message or plain object to encode 43663 * @param [writer] Writer to encode to 43664 * @returns Writer 43665 */ 43666 public static encode(message: vtctldata.IInitShardPrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; 43667 43668 /** 43669 * Encodes the specified InitShardPrimaryResponse message, length delimited. Does not implicitly {@link vtctldata.InitShardPrimaryResponse.verify|verify} messages. 43670 * @param message InitShardPrimaryResponse message or plain object to encode 43671 * @param [writer] Writer to encode to 43672 * @returns Writer 43673 */ 43674 public static encodeDelimited(message: vtctldata.IInitShardPrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; 43675 43676 /** 43677 * Decodes an InitShardPrimaryResponse message from the specified reader or buffer. 43678 * @param reader Reader or buffer to decode from 43679 * @param [length] Message length if known beforehand 43680 * @returns InitShardPrimaryResponse 43681 * @throws {Error} If the payload is not a reader or valid buffer 43682 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43683 */ 43684 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.InitShardPrimaryResponse; 43685 43686 /** 43687 * Decodes an InitShardPrimaryResponse message from the specified reader or buffer, length delimited. 43688 * @param reader Reader or buffer to decode from 43689 * @returns InitShardPrimaryResponse 43690 * @throws {Error} If the payload is not a reader or valid buffer 43691 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43692 */ 43693 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.InitShardPrimaryResponse; 43694 43695 /** 43696 * Verifies an InitShardPrimaryResponse message. 43697 * @param message Plain object to verify 43698 * @returns `null` if valid, otherwise the reason why it is not 43699 */ 43700 public static verify(message: { [k: string]: any }): (string|null); 43701 43702 /** 43703 * Creates an InitShardPrimaryResponse message from a plain object. Also converts values to their respective internal types. 43704 * @param object Plain object 43705 * @returns InitShardPrimaryResponse 43706 */ 43707 public static fromObject(object: { [k: string]: any }): vtctldata.InitShardPrimaryResponse; 43708 43709 /** 43710 * Creates a plain object from an InitShardPrimaryResponse message. Also converts values to other types if specified. 43711 * @param message InitShardPrimaryResponse 43712 * @param [options] Conversion options 43713 * @returns Plain object 43714 */ 43715 public static toObject(message: vtctldata.InitShardPrimaryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 43716 43717 /** 43718 * Converts this InitShardPrimaryResponse to JSON. 43719 * @returns JSON object 43720 */ 43721 public toJSON(): { [k: string]: any }; 43722 } 43723 43724 /** Properties of a PingTabletRequest. */ 43725 interface IPingTabletRequest { 43726 43727 /** PingTabletRequest tablet_alias */ 43728 tablet_alias?: (topodata.ITabletAlias|null); 43729 } 43730 43731 /** Represents a PingTabletRequest. */ 43732 class PingTabletRequest implements IPingTabletRequest { 43733 43734 /** 43735 * Constructs a new PingTabletRequest. 43736 * @param [properties] Properties to set 43737 */ 43738 constructor(properties?: vtctldata.IPingTabletRequest); 43739 43740 /** PingTabletRequest tablet_alias. */ 43741 public tablet_alias?: (topodata.ITabletAlias|null); 43742 43743 /** 43744 * Creates a new PingTabletRequest instance using the specified properties. 43745 * @param [properties] Properties to set 43746 * @returns PingTabletRequest instance 43747 */ 43748 public static create(properties?: vtctldata.IPingTabletRequest): vtctldata.PingTabletRequest; 43749 43750 /** 43751 * Encodes the specified PingTabletRequest message. Does not implicitly {@link vtctldata.PingTabletRequest.verify|verify} messages. 43752 * @param message PingTabletRequest message or plain object to encode 43753 * @param [writer] Writer to encode to 43754 * @returns Writer 43755 */ 43756 public static encode(message: vtctldata.IPingTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43757 43758 /** 43759 * Encodes the specified PingTabletRequest message, length delimited. Does not implicitly {@link vtctldata.PingTabletRequest.verify|verify} messages. 43760 * @param message PingTabletRequest message or plain object to encode 43761 * @param [writer] Writer to encode to 43762 * @returns Writer 43763 */ 43764 public static encodeDelimited(message: vtctldata.IPingTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43765 43766 /** 43767 * Decodes a PingTabletRequest message from the specified reader or buffer. 43768 * @param reader Reader or buffer to decode from 43769 * @param [length] Message length if known beforehand 43770 * @returns PingTabletRequest 43771 * @throws {Error} If the payload is not a reader or valid buffer 43772 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43773 */ 43774 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PingTabletRequest; 43775 43776 /** 43777 * Decodes a PingTabletRequest message from the specified reader or buffer, length delimited. 43778 * @param reader Reader or buffer to decode from 43779 * @returns PingTabletRequest 43780 * @throws {Error} If the payload is not a reader or valid buffer 43781 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43782 */ 43783 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PingTabletRequest; 43784 43785 /** 43786 * Verifies a PingTabletRequest message. 43787 * @param message Plain object to verify 43788 * @returns `null` if valid, otherwise the reason why it is not 43789 */ 43790 public static verify(message: { [k: string]: any }): (string|null); 43791 43792 /** 43793 * Creates a PingTabletRequest message from a plain object. Also converts values to their respective internal types. 43794 * @param object Plain object 43795 * @returns PingTabletRequest 43796 */ 43797 public static fromObject(object: { [k: string]: any }): vtctldata.PingTabletRequest; 43798 43799 /** 43800 * Creates a plain object from a PingTabletRequest message. Also converts values to other types if specified. 43801 * @param message PingTabletRequest 43802 * @param [options] Conversion options 43803 * @returns Plain object 43804 */ 43805 public static toObject(message: vtctldata.PingTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 43806 43807 /** 43808 * Converts this PingTabletRequest to JSON. 43809 * @returns JSON object 43810 */ 43811 public toJSON(): { [k: string]: any }; 43812 } 43813 43814 /** Properties of a PingTabletResponse. */ 43815 interface IPingTabletResponse { 43816 } 43817 43818 /** Represents a PingTabletResponse. */ 43819 class PingTabletResponse implements IPingTabletResponse { 43820 43821 /** 43822 * Constructs a new PingTabletResponse. 43823 * @param [properties] Properties to set 43824 */ 43825 constructor(properties?: vtctldata.IPingTabletResponse); 43826 43827 /** 43828 * Creates a new PingTabletResponse instance using the specified properties. 43829 * @param [properties] Properties to set 43830 * @returns PingTabletResponse instance 43831 */ 43832 public static create(properties?: vtctldata.IPingTabletResponse): vtctldata.PingTabletResponse; 43833 43834 /** 43835 * Encodes the specified PingTabletResponse message. Does not implicitly {@link vtctldata.PingTabletResponse.verify|verify} messages. 43836 * @param message PingTabletResponse message or plain object to encode 43837 * @param [writer] Writer to encode to 43838 * @returns Writer 43839 */ 43840 public static encode(message: vtctldata.IPingTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 43841 43842 /** 43843 * Encodes the specified PingTabletResponse message, length delimited. Does not implicitly {@link vtctldata.PingTabletResponse.verify|verify} messages. 43844 * @param message PingTabletResponse message or plain object to encode 43845 * @param [writer] Writer to encode to 43846 * @returns Writer 43847 */ 43848 public static encodeDelimited(message: vtctldata.IPingTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 43849 43850 /** 43851 * Decodes a PingTabletResponse message from the specified reader or buffer. 43852 * @param reader Reader or buffer to decode from 43853 * @param [length] Message length if known beforehand 43854 * @returns PingTabletResponse 43855 * @throws {Error} If the payload is not a reader or valid buffer 43856 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43857 */ 43858 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PingTabletResponse; 43859 43860 /** 43861 * Decodes a PingTabletResponse message from the specified reader or buffer, length delimited. 43862 * @param reader Reader or buffer to decode from 43863 * @returns PingTabletResponse 43864 * @throws {Error} If the payload is not a reader or valid buffer 43865 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43866 */ 43867 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PingTabletResponse; 43868 43869 /** 43870 * Verifies a PingTabletResponse message. 43871 * @param message Plain object to verify 43872 * @returns `null` if valid, otherwise the reason why it is not 43873 */ 43874 public static verify(message: { [k: string]: any }): (string|null); 43875 43876 /** 43877 * Creates a PingTabletResponse message from a plain object. Also converts values to their respective internal types. 43878 * @param object Plain object 43879 * @returns PingTabletResponse 43880 */ 43881 public static fromObject(object: { [k: string]: any }): vtctldata.PingTabletResponse; 43882 43883 /** 43884 * Creates a plain object from a PingTabletResponse message. Also converts values to other types if specified. 43885 * @param message PingTabletResponse 43886 * @param [options] Conversion options 43887 * @returns Plain object 43888 */ 43889 public static toObject(message: vtctldata.PingTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 43890 43891 /** 43892 * Converts this PingTabletResponse to JSON. 43893 * @returns JSON object 43894 */ 43895 public toJSON(): { [k: string]: any }; 43896 } 43897 43898 /** Properties of a PlannedReparentShardRequest. */ 43899 interface IPlannedReparentShardRequest { 43900 43901 /** PlannedReparentShardRequest keyspace */ 43902 keyspace?: (string|null); 43903 43904 /** PlannedReparentShardRequest shard */ 43905 shard?: (string|null); 43906 43907 /** PlannedReparentShardRequest new_primary */ 43908 new_primary?: (topodata.ITabletAlias|null); 43909 43910 /** PlannedReparentShardRequest avoid_primary */ 43911 avoid_primary?: (topodata.ITabletAlias|null); 43912 43913 /** PlannedReparentShardRequest wait_replicas_timeout */ 43914 wait_replicas_timeout?: (vttime.IDuration|null); 43915 } 43916 43917 /** Represents a PlannedReparentShardRequest. */ 43918 class PlannedReparentShardRequest implements IPlannedReparentShardRequest { 43919 43920 /** 43921 * Constructs a new PlannedReparentShardRequest. 43922 * @param [properties] Properties to set 43923 */ 43924 constructor(properties?: vtctldata.IPlannedReparentShardRequest); 43925 43926 /** PlannedReparentShardRequest keyspace. */ 43927 public keyspace: string; 43928 43929 /** PlannedReparentShardRequest shard. */ 43930 public shard: string; 43931 43932 /** PlannedReparentShardRequest new_primary. */ 43933 public new_primary?: (topodata.ITabletAlias|null); 43934 43935 /** PlannedReparentShardRequest avoid_primary. */ 43936 public avoid_primary?: (topodata.ITabletAlias|null); 43937 43938 /** PlannedReparentShardRequest wait_replicas_timeout. */ 43939 public wait_replicas_timeout?: (vttime.IDuration|null); 43940 43941 /** 43942 * Creates a new PlannedReparentShardRequest instance using the specified properties. 43943 * @param [properties] Properties to set 43944 * @returns PlannedReparentShardRequest instance 43945 */ 43946 public static create(properties?: vtctldata.IPlannedReparentShardRequest): vtctldata.PlannedReparentShardRequest; 43947 43948 /** 43949 * Encodes the specified PlannedReparentShardRequest message. Does not implicitly {@link vtctldata.PlannedReparentShardRequest.verify|verify} messages. 43950 * @param message PlannedReparentShardRequest message or plain object to encode 43951 * @param [writer] Writer to encode to 43952 * @returns Writer 43953 */ 43954 public static encode(message: vtctldata.IPlannedReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43955 43956 /** 43957 * Encodes the specified PlannedReparentShardRequest message, length delimited. Does not implicitly {@link vtctldata.PlannedReparentShardRequest.verify|verify} messages. 43958 * @param message PlannedReparentShardRequest message or plain object to encode 43959 * @param [writer] Writer to encode to 43960 * @returns Writer 43961 */ 43962 public static encodeDelimited(message: vtctldata.IPlannedReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 43963 43964 /** 43965 * Decodes a PlannedReparentShardRequest message from the specified reader or buffer. 43966 * @param reader Reader or buffer to decode from 43967 * @param [length] Message length if known beforehand 43968 * @returns PlannedReparentShardRequest 43969 * @throws {Error} If the payload is not a reader or valid buffer 43970 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43971 */ 43972 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PlannedReparentShardRequest; 43973 43974 /** 43975 * Decodes a PlannedReparentShardRequest message from the specified reader or buffer, length delimited. 43976 * @param reader Reader or buffer to decode from 43977 * @returns PlannedReparentShardRequest 43978 * @throws {Error} If the payload is not a reader or valid buffer 43979 * @throws {$protobuf.util.ProtocolError} If required fields are missing 43980 */ 43981 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PlannedReparentShardRequest; 43982 43983 /** 43984 * Verifies a PlannedReparentShardRequest message. 43985 * @param message Plain object to verify 43986 * @returns `null` if valid, otherwise the reason why it is not 43987 */ 43988 public static verify(message: { [k: string]: any }): (string|null); 43989 43990 /** 43991 * Creates a PlannedReparentShardRequest message from a plain object. Also converts values to their respective internal types. 43992 * @param object Plain object 43993 * @returns PlannedReparentShardRequest 43994 */ 43995 public static fromObject(object: { [k: string]: any }): vtctldata.PlannedReparentShardRequest; 43996 43997 /** 43998 * Creates a plain object from a PlannedReparentShardRequest message. Also converts values to other types if specified. 43999 * @param message PlannedReparentShardRequest 44000 * @param [options] Conversion options 44001 * @returns Plain object 44002 */ 44003 public static toObject(message: vtctldata.PlannedReparentShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 44004 44005 /** 44006 * Converts this PlannedReparentShardRequest to JSON. 44007 * @returns JSON object 44008 */ 44009 public toJSON(): { [k: string]: any }; 44010 } 44011 44012 /** Properties of a PlannedReparentShardResponse. */ 44013 interface IPlannedReparentShardResponse { 44014 44015 /** PlannedReparentShardResponse keyspace */ 44016 keyspace?: (string|null); 44017 44018 /** PlannedReparentShardResponse shard */ 44019 shard?: (string|null); 44020 44021 /** PlannedReparentShardResponse promoted_primary */ 44022 promoted_primary?: (topodata.ITabletAlias|null); 44023 44024 /** PlannedReparentShardResponse events */ 44025 events?: (logutil.IEvent[]|null); 44026 } 44027 44028 /** Represents a PlannedReparentShardResponse. */ 44029 class PlannedReparentShardResponse implements IPlannedReparentShardResponse { 44030 44031 /** 44032 * Constructs a new PlannedReparentShardResponse. 44033 * @param [properties] Properties to set 44034 */ 44035 constructor(properties?: vtctldata.IPlannedReparentShardResponse); 44036 44037 /** PlannedReparentShardResponse keyspace. */ 44038 public keyspace: string; 44039 44040 /** PlannedReparentShardResponse shard. */ 44041 public shard: string; 44042 44043 /** PlannedReparentShardResponse promoted_primary. */ 44044 public promoted_primary?: (topodata.ITabletAlias|null); 44045 44046 /** PlannedReparentShardResponse events. */ 44047 public events: logutil.IEvent[]; 44048 44049 /** 44050 * Creates a new PlannedReparentShardResponse instance using the specified properties. 44051 * @param [properties] Properties to set 44052 * @returns PlannedReparentShardResponse instance 44053 */ 44054 public static create(properties?: vtctldata.IPlannedReparentShardResponse): vtctldata.PlannedReparentShardResponse; 44055 44056 /** 44057 * Encodes the specified PlannedReparentShardResponse message. Does not implicitly {@link vtctldata.PlannedReparentShardResponse.verify|verify} messages. 44058 * @param message PlannedReparentShardResponse message or plain object to encode 44059 * @param [writer] Writer to encode to 44060 * @returns Writer 44061 */ 44062 public static encode(message: vtctldata.IPlannedReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44063 44064 /** 44065 * Encodes the specified PlannedReparentShardResponse message, length delimited. Does not implicitly {@link vtctldata.PlannedReparentShardResponse.verify|verify} messages. 44066 * @param message PlannedReparentShardResponse message or plain object to encode 44067 * @param [writer] Writer to encode to 44068 * @returns Writer 44069 */ 44070 public static encodeDelimited(message: vtctldata.IPlannedReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44071 44072 /** 44073 * Decodes a PlannedReparentShardResponse message from the specified reader or buffer. 44074 * @param reader Reader or buffer to decode from 44075 * @param [length] Message length if known beforehand 44076 * @returns PlannedReparentShardResponse 44077 * @throws {Error} If the payload is not a reader or valid buffer 44078 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44079 */ 44080 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PlannedReparentShardResponse; 44081 44082 /** 44083 * Decodes a PlannedReparentShardResponse message from the specified reader or buffer, length delimited. 44084 * @param reader Reader or buffer to decode from 44085 * @returns PlannedReparentShardResponse 44086 * @throws {Error} If the payload is not a reader or valid buffer 44087 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44088 */ 44089 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PlannedReparentShardResponse; 44090 44091 /** 44092 * Verifies a PlannedReparentShardResponse message. 44093 * @param message Plain object to verify 44094 * @returns `null` if valid, otherwise the reason why it is not 44095 */ 44096 public static verify(message: { [k: string]: any }): (string|null); 44097 44098 /** 44099 * Creates a PlannedReparentShardResponse message from a plain object. Also converts values to their respective internal types. 44100 * @param object Plain object 44101 * @returns PlannedReparentShardResponse 44102 */ 44103 public static fromObject(object: { [k: string]: any }): vtctldata.PlannedReparentShardResponse; 44104 44105 /** 44106 * Creates a plain object from a PlannedReparentShardResponse message. Also converts values to other types if specified. 44107 * @param message PlannedReparentShardResponse 44108 * @param [options] Conversion options 44109 * @returns Plain object 44110 */ 44111 public static toObject(message: vtctldata.PlannedReparentShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 44112 44113 /** 44114 * Converts this PlannedReparentShardResponse to JSON. 44115 * @returns JSON object 44116 */ 44117 public toJSON(): { [k: string]: any }; 44118 } 44119 44120 /** Properties of a RebuildKeyspaceGraphRequest. */ 44121 interface IRebuildKeyspaceGraphRequest { 44122 44123 /** RebuildKeyspaceGraphRequest keyspace */ 44124 keyspace?: (string|null); 44125 44126 /** RebuildKeyspaceGraphRequest cells */ 44127 cells?: (string[]|null); 44128 44129 /** RebuildKeyspaceGraphRequest allow_partial */ 44130 allow_partial?: (boolean|null); 44131 } 44132 44133 /** Represents a RebuildKeyspaceGraphRequest. */ 44134 class RebuildKeyspaceGraphRequest implements IRebuildKeyspaceGraphRequest { 44135 44136 /** 44137 * Constructs a new RebuildKeyspaceGraphRequest. 44138 * @param [properties] Properties to set 44139 */ 44140 constructor(properties?: vtctldata.IRebuildKeyspaceGraphRequest); 44141 44142 /** RebuildKeyspaceGraphRequest keyspace. */ 44143 public keyspace: string; 44144 44145 /** RebuildKeyspaceGraphRequest cells. */ 44146 public cells: string[]; 44147 44148 /** RebuildKeyspaceGraphRequest allow_partial. */ 44149 public allow_partial: boolean; 44150 44151 /** 44152 * Creates a new RebuildKeyspaceGraphRequest instance using the specified properties. 44153 * @param [properties] Properties to set 44154 * @returns RebuildKeyspaceGraphRequest instance 44155 */ 44156 public static create(properties?: vtctldata.IRebuildKeyspaceGraphRequest): vtctldata.RebuildKeyspaceGraphRequest; 44157 44158 /** 44159 * Encodes the specified RebuildKeyspaceGraphRequest message. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphRequest.verify|verify} messages. 44160 * @param message RebuildKeyspaceGraphRequest message or plain object to encode 44161 * @param [writer] Writer to encode to 44162 * @returns Writer 44163 */ 44164 public static encode(message: vtctldata.IRebuildKeyspaceGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; 44165 44166 /** 44167 * Encodes the specified RebuildKeyspaceGraphRequest message, length delimited. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphRequest.verify|verify} messages. 44168 * @param message RebuildKeyspaceGraphRequest message or plain object to encode 44169 * @param [writer] Writer to encode to 44170 * @returns Writer 44171 */ 44172 public static encodeDelimited(message: vtctldata.IRebuildKeyspaceGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; 44173 44174 /** 44175 * Decodes a RebuildKeyspaceGraphRequest message from the specified reader or buffer. 44176 * @param reader Reader or buffer to decode from 44177 * @param [length] Message length if known beforehand 44178 * @returns RebuildKeyspaceGraphRequest 44179 * @throws {Error} If the payload is not a reader or valid buffer 44180 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44181 */ 44182 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildKeyspaceGraphRequest; 44183 44184 /** 44185 * Decodes a RebuildKeyspaceGraphRequest message from the specified reader or buffer, length delimited. 44186 * @param reader Reader or buffer to decode from 44187 * @returns RebuildKeyspaceGraphRequest 44188 * @throws {Error} If the payload is not a reader or valid buffer 44189 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44190 */ 44191 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildKeyspaceGraphRequest; 44192 44193 /** 44194 * Verifies a RebuildKeyspaceGraphRequest message. 44195 * @param message Plain object to verify 44196 * @returns `null` if valid, otherwise the reason why it is not 44197 */ 44198 public static verify(message: { [k: string]: any }): (string|null); 44199 44200 /** 44201 * Creates a RebuildKeyspaceGraphRequest message from a plain object. Also converts values to their respective internal types. 44202 * @param object Plain object 44203 * @returns RebuildKeyspaceGraphRequest 44204 */ 44205 public static fromObject(object: { [k: string]: any }): vtctldata.RebuildKeyspaceGraphRequest; 44206 44207 /** 44208 * Creates a plain object from a RebuildKeyspaceGraphRequest message. Also converts values to other types if specified. 44209 * @param message RebuildKeyspaceGraphRequest 44210 * @param [options] Conversion options 44211 * @returns Plain object 44212 */ 44213 public static toObject(message: vtctldata.RebuildKeyspaceGraphRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 44214 44215 /** 44216 * Converts this RebuildKeyspaceGraphRequest to JSON. 44217 * @returns JSON object 44218 */ 44219 public toJSON(): { [k: string]: any }; 44220 } 44221 44222 /** Properties of a RebuildKeyspaceGraphResponse. */ 44223 interface IRebuildKeyspaceGraphResponse { 44224 } 44225 44226 /** Represents a RebuildKeyspaceGraphResponse. */ 44227 class RebuildKeyspaceGraphResponse implements IRebuildKeyspaceGraphResponse { 44228 44229 /** 44230 * Constructs a new RebuildKeyspaceGraphResponse. 44231 * @param [properties] Properties to set 44232 */ 44233 constructor(properties?: vtctldata.IRebuildKeyspaceGraphResponse); 44234 44235 /** 44236 * Creates a new RebuildKeyspaceGraphResponse instance using the specified properties. 44237 * @param [properties] Properties to set 44238 * @returns RebuildKeyspaceGraphResponse instance 44239 */ 44240 public static create(properties?: vtctldata.IRebuildKeyspaceGraphResponse): vtctldata.RebuildKeyspaceGraphResponse; 44241 44242 /** 44243 * Encodes the specified RebuildKeyspaceGraphResponse message. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphResponse.verify|verify} messages. 44244 * @param message RebuildKeyspaceGraphResponse message or plain object to encode 44245 * @param [writer] Writer to encode to 44246 * @returns Writer 44247 */ 44248 public static encode(message: vtctldata.IRebuildKeyspaceGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44249 44250 /** 44251 * Encodes the specified RebuildKeyspaceGraphResponse message, length delimited. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphResponse.verify|verify} messages. 44252 * @param message RebuildKeyspaceGraphResponse message or plain object to encode 44253 * @param [writer] Writer to encode to 44254 * @returns Writer 44255 */ 44256 public static encodeDelimited(message: vtctldata.IRebuildKeyspaceGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44257 44258 /** 44259 * Decodes a RebuildKeyspaceGraphResponse message from the specified reader or buffer. 44260 * @param reader Reader or buffer to decode from 44261 * @param [length] Message length if known beforehand 44262 * @returns RebuildKeyspaceGraphResponse 44263 * @throws {Error} If the payload is not a reader or valid buffer 44264 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44265 */ 44266 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildKeyspaceGraphResponse; 44267 44268 /** 44269 * Decodes a RebuildKeyspaceGraphResponse message from the specified reader or buffer, length delimited. 44270 * @param reader Reader or buffer to decode from 44271 * @returns RebuildKeyspaceGraphResponse 44272 * @throws {Error} If the payload is not a reader or valid buffer 44273 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44274 */ 44275 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildKeyspaceGraphResponse; 44276 44277 /** 44278 * Verifies a RebuildKeyspaceGraphResponse message. 44279 * @param message Plain object to verify 44280 * @returns `null` if valid, otherwise the reason why it is not 44281 */ 44282 public static verify(message: { [k: string]: any }): (string|null); 44283 44284 /** 44285 * Creates a RebuildKeyspaceGraphResponse message from a plain object. Also converts values to their respective internal types. 44286 * @param object Plain object 44287 * @returns RebuildKeyspaceGraphResponse 44288 */ 44289 public static fromObject(object: { [k: string]: any }): vtctldata.RebuildKeyspaceGraphResponse; 44290 44291 /** 44292 * Creates a plain object from a RebuildKeyspaceGraphResponse message. Also converts values to other types if specified. 44293 * @param message RebuildKeyspaceGraphResponse 44294 * @param [options] Conversion options 44295 * @returns Plain object 44296 */ 44297 public static toObject(message: vtctldata.RebuildKeyspaceGraphResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 44298 44299 /** 44300 * Converts this RebuildKeyspaceGraphResponse to JSON. 44301 * @returns JSON object 44302 */ 44303 public toJSON(): { [k: string]: any }; 44304 } 44305 44306 /** Properties of a RebuildVSchemaGraphRequest. */ 44307 interface IRebuildVSchemaGraphRequest { 44308 44309 /** RebuildVSchemaGraphRequest cells */ 44310 cells?: (string[]|null); 44311 } 44312 44313 /** Represents a RebuildVSchemaGraphRequest. */ 44314 class RebuildVSchemaGraphRequest implements IRebuildVSchemaGraphRequest { 44315 44316 /** 44317 * Constructs a new RebuildVSchemaGraphRequest. 44318 * @param [properties] Properties to set 44319 */ 44320 constructor(properties?: vtctldata.IRebuildVSchemaGraphRequest); 44321 44322 /** RebuildVSchemaGraphRequest cells. */ 44323 public cells: string[]; 44324 44325 /** 44326 * Creates a new RebuildVSchemaGraphRequest instance using the specified properties. 44327 * @param [properties] Properties to set 44328 * @returns RebuildVSchemaGraphRequest instance 44329 */ 44330 public static create(properties?: vtctldata.IRebuildVSchemaGraphRequest): vtctldata.RebuildVSchemaGraphRequest; 44331 44332 /** 44333 * Encodes the specified RebuildVSchemaGraphRequest message. Does not implicitly {@link vtctldata.RebuildVSchemaGraphRequest.verify|verify} messages. 44334 * @param message RebuildVSchemaGraphRequest message or plain object to encode 44335 * @param [writer] Writer to encode to 44336 * @returns Writer 44337 */ 44338 public static encode(message: vtctldata.IRebuildVSchemaGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; 44339 44340 /** 44341 * Encodes the specified RebuildVSchemaGraphRequest message, length delimited. Does not implicitly {@link vtctldata.RebuildVSchemaGraphRequest.verify|verify} messages. 44342 * @param message RebuildVSchemaGraphRequest message or plain object to encode 44343 * @param [writer] Writer to encode to 44344 * @returns Writer 44345 */ 44346 public static encodeDelimited(message: vtctldata.IRebuildVSchemaGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; 44347 44348 /** 44349 * Decodes a RebuildVSchemaGraphRequest message from the specified reader or buffer. 44350 * @param reader Reader or buffer to decode from 44351 * @param [length] Message length if known beforehand 44352 * @returns RebuildVSchemaGraphRequest 44353 * @throws {Error} If the payload is not a reader or valid buffer 44354 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44355 */ 44356 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildVSchemaGraphRequest; 44357 44358 /** 44359 * Decodes a RebuildVSchemaGraphRequest message from the specified reader or buffer, length delimited. 44360 * @param reader Reader or buffer to decode from 44361 * @returns RebuildVSchemaGraphRequest 44362 * @throws {Error} If the payload is not a reader or valid buffer 44363 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44364 */ 44365 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildVSchemaGraphRequest; 44366 44367 /** 44368 * Verifies a RebuildVSchemaGraphRequest message. 44369 * @param message Plain object to verify 44370 * @returns `null` if valid, otherwise the reason why it is not 44371 */ 44372 public static verify(message: { [k: string]: any }): (string|null); 44373 44374 /** 44375 * Creates a RebuildVSchemaGraphRequest message from a plain object. Also converts values to their respective internal types. 44376 * @param object Plain object 44377 * @returns RebuildVSchemaGraphRequest 44378 */ 44379 public static fromObject(object: { [k: string]: any }): vtctldata.RebuildVSchemaGraphRequest; 44380 44381 /** 44382 * Creates a plain object from a RebuildVSchemaGraphRequest message. Also converts values to other types if specified. 44383 * @param message RebuildVSchemaGraphRequest 44384 * @param [options] Conversion options 44385 * @returns Plain object 44386 */ 44387 public static toObject(message: vtctldata.RebuildVSchemaGraphRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 44388 44389 /** 44390 * Converts this RebuildVSchemaGraphRequest to JSON. 44391 * @returns JSON object 44392 */ 44393 public toJSON(): { [k: string]: any }; 44394 } 44395 44396 /** Properties of a RebuildVSchemaGraphResponse. */ 44397 interface IRebuildVSchemaGraphResponse { 44398 } 44399 44400 /** Represents a RebuildVSchemaGraphResponse. */ 44401 class RebuildVSchemaGraphResponse implements IRebuildVSchemaGraphResponse { 44402 44403 /** 44404 * Constructs a new RebuildVSchemaGraphResponse. 44405 * @param [properties] Properties to set 44406 */ 44407 constructor(properties?: vtctldata.IRebuildVSchemaGraphResponse); 44408 44409 /** 44410 * Creates a new RebuildVSchemaGraphResponse instance using the specified properties. 44411 * @param [properties] Properties to set 44412 * @returns RebuildVSchemaGraphResponse instance 44413 */ 44414 public static create(properties?: vtctldata.IRebuildVSchemaGraphResponse): vtctldata.RebuildVSchemaGraphResponse; 44415 44416 /** 44417 * Encodes the specified RebuildVSchemaGraphResponse message. Does not implicitly {@link vtctldata.RebuildVSchemaGraphResponse.verify|verify} messages. 44418 * @param message RebuildVSchemaGraphResponse message or plain object to encode 44419 * @param [writer] Writer to encode to 44420 * @returns Writer 44421 */ 44422 public static encode(message: vtctldata.IRebuildVSchemaGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44423 44424 /** 44425 * Encodes the specified RebuildVSchemaGraphResponse message, length delimited. Does not implicitly {@link vtctldata.RebuildVSchemaGraphResponse.verify|verify} messages. 44426 * @param message RebuildVSchemaGraphResponse message or plain object to encode 44427 * @param [writer] Writer to encode to 44428 * @returns Writer 44429 */ 44430 public static encodeDelimited(message: vtctldata.IRebuildVSchemaGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44431 44432 /** 44433 * Decodes a RebuildVSchemaGraphResponse message from the specified reader or buffer. 44434 * @param reader Reader or buffer to decode from 44435 * @param [length] Message length if known beforehand 44436 * @returns RebuildVSchemaGraphResponse 44437 * @throws {Error} If the payload is not a reader or valid buffer 44438 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44439 */ 44440 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildVSchemaGraphResponse; 44441 44442 /** 44443 * Decodes a RebuildVSchemaGraphResponse message from the specified reader or buffer, length delimited. 44444 * @param reader Reader or buffer to decode from 44445 * @returns RebuildVSchemaGraphResponse 44446 * @throws {Error} If the payload is not a reader or valid buffer 44447 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44448 */ 44449 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildVSchemaGraphResponse; 44450 44451 /** 44452 * Verifies a RebuildVSchemaGraphResponse message. 44453 * @param message Plain object to verify 44454 * @returns `null` if valid, otherwise the reason why it is not 44455 */ 44456 public static verify(message: { [k: string]: any }): (string|null); 44457 44458 /** 44459 * Creates a RebuildVSchemaGraphResponse message from a plain object. Also converts values to their respective internal types. 44460 * @param object Plain object 44461 * @returns RebuildVSchemaGraphResponse 44462 */ 44463 public static fromObject(object: { [k: string]: any }): vtctldata.RebuildVSchemaGraphResponse; 44464 44465 /** 44466 * Creates a plain object from a RebuildVSchemaGraphResponse message. Also converts values to other types if specified. 44467 * @param message RebuildVSchemaGraphResponse 44468 * @param [options] Conversion options 44469 * @returns Plain object 44470 */ 44471 public static toObject(message: vtctldata.RebuildVSchemaGraphResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 44472 44473 /** 44474 * Converts this RebuildVSchemaGraphResponse to JSON. 44475 * @returns JSON object 44476 */ 44477 public toJSON(): { [k: string]: any }; 44478 } 44479 44480 /** Properties of a RefreshStateRequest. */ 44481 interface IRefreshStateRequest { 44482 44483 /** RefreshStateRequest tablet_alias */ 44484 tablet_alias?: (topodata.ITabletAlias|null); 44485 } 44486 44487 /** Represents a RefreshStateRequest. */ 44488 class RefreshStateRequest implements IRefreshStateRequest { 44489 44490 /** 44491 * Constructs a new RefreshStateRequest. 44492 * @param [properties] Properties to set 44493 */ 44494 constructor(properties?: vtctldata.IRefreshStateRequest); 44495 44496 /** RefreshStateRequest tablet_alias. */ 44497 public tablet_alias?: (topodata.ITabletAlias|null); 44498 44499 /** 44500 * Creates a new RefreshStateRequest instance using the specified properties. 44501 * @param [properties] Properties to set 44502 * @returns RefreshStateRequest instance 44503 */ 44504 public static create(properties?: vtctldata.IRefreshStateRequest): vtctldata.RefreshStateRequest; 44505 44506 /** 44507 * Encodes the specified RefreshStateRequest message. Does not implicitly {@link vtctldata.RefreshStateRequest.verify|verify} messages. 44508 * @param message RefreshStateRequest message or plain object to encode 44509 * @param [writer] Writer to encode to 44510 * @returns Writer 44511 */ 44512 public static encode(message: vtctldata.IRefreshStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; 44513 44514 /** 44515 * Encodes the specified RefreshStateRequest message, length delimited. Does not implicitly {@link vtctldata.RefreshStateRequest.verify|verify} messages. 44516 * @param message RefreshStateRequest message or plain object to encode 44517 * @param [writer] Writer to encode to 44518 * @returns Writer 44519 */ 44520 public static encodeDelimited(message: vtctldata.IRefreshStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; 44521 44522 /** 44523 * Decodes a RefreshStateRequest message from the specified reader or buffer. 44524 * @param reader Reader or buffer to decode from 44525 * @param [length] Message length if known beforehand 44526 * @returns RefreshStateRequest 44527 * @throws {Error} If the payload is not a reader or valid buffer 44528 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44529 */ 44530 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateRequest; 44531 44532 /** 44533 * Decodes a RefreshStateRequest message from the specified reader or buffer, length delimited. 44534 * @param reader Reader or buffer to decode from 44535 * @returns RefreshStateRequest 44536 * @throws {Error} If the payload is not a reader or valid buffer 44537 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44538 */ 44539 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateRequest; 44540 44541 /** 44542 * Verifies a RefreshStateRequest message. 44543 * @param message Plain object to verify 44544 * @returns `null` if valid, otherwise the reason why it is not 44545 */ 44546 public static verify(message: { [k: string]: any }): (string|null); 44547 44548 /** 44549 * Creates a RefreshStateRequest message from a plain object. Also converts values to their respective internal types. 44550 * @param object Plain object 44551 * @returns RefreshStateRequest 44552 */ 44553 public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateRequest; 44554 44555 /** 44556 * Creates a plain object from a RefreshStateRequest message. Also converts values to other types if specified. 44557 * @param message RefreshStateRequest 44558 * @param [options] Conversion options 44559 * @returns Plain object 44560 */ 44561 public static toObject(message: vtctldata.RefreshStateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 44562 44563 /** 44564 * Converts this RefreshStateRequest to JSON. 44565 * @returns JSON object 44566 */ 44567 public toJSON(): { [k: string]: any }; 44568 } 44569 44570 /** Properties of a RefreshStateResponse. */ 44571 interface IRefreshStateResponse { 44572 } 44573 44574 /** Represents a RefreshStateResponse. */ 44575 class RefreshStateResponse implements IRefreshStateResponse { 44576 44577 /** 44578 * Constructs a new RefreshStateResponse. 44579 * @param [properties] Properties to set 44580 */ 44581 constructor(properties?: vtctldata.IRefreshStateResponse); 44582 44583 /** 44584 * Creates a new RefreshStateResponse instance using the specified properties. 44585 * @param [properties] Properties to set 44586 * @returns RefreshStateResponse instance 44587 */ 44588 public static create(properties?: vtctldata.IRefreshStateResponse): vtctldata.RefreshStateResponse; 44589 44590 /** 44591 * Encodes the specified RefreshStateResponse message. Does not implicitly {@link vtctldata.RefreshStateResponse.verify|verify} messages. 44592 * @param message RefreshStateResponse message or plain object to encode 44593 * @param [writer] Writer to encode to 44594 * @returns Writer 44595 */ 44596 public static encode(message: vtctldata.IRefreshStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44597 44598 /** 44599 * Encodes the specified RefreshStateResponse message, length delimited. Does not implicitly {@link vtctldata.RefreshStateResponse.verify|verify} messages. 44600 * @param message RefreshStateResponse message or plain object to encode 44601 * @param [writer] Writer to encode to 44602 * @returns Writer 44603 */ 44604 public static encodeDelimited(message: vtctldata.IRefreshStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44605 44606 /** 44607 * Decodes a RefreshStateResponse message from the specified reader or buffer. 44608 * @param reader Reader or buffer to decode from 44609 * @param [length] Message length if known beforehand 44610 * @returns RefreshStateResponse 44611 * @throws {Error} If the payload is not a reader or valid buffer 44612 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44613 */ 44614 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateResponse; 44615 44616 /** 44617 * Decodes a RefreshStateResponse message from the specified reader or buffer, length delimited. 44618 * @param reader Reader or buffer to decode from 44619 * @returns RefreshStateResponse 44620 * @throws {Error} If the payload is not a reader or valid buffer 44621 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44622 */ 44623 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateResponse; 44624 44625 /** 44626 * Verifies a RefreshStateResponse message. 44627 * @param message Plain object to verify 44628 * @returns `null` if valid, otherwise the reason why it is not 44629 */ 44630 public static verify(message: { [k: string]: any }): (string|null); 44631 44632 /** 44633 * Creates a RefreshStateResponse message from a plain object. Also converts values to their respective internal types. 44634 * @param object Plain object 44635 * @returns RefreshStateResponse 44636 */ 44637 public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateResponse; 44638 44639 /** 44640 * Creates a plain object from a RefreshStateResponse message. Also converts values to other types if specified. 44641 * @param message RefreshStateResponse 44642 * @param [options] Conversion options 44643 * @returns Plain object 44644 */ 44645 public static toObject(message: vtctldata.RefreshStateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 44646 44647 /** 44648 * Converts this RefreshStateResponse to JSON. 44649 * @returns JSON object 44650 */ 44651 public toJSON(): { [k: string]: any }; 44652 } 44653 44654 /** Properties of a RefreshStateByShardRequest. */ 44655 interface IRefreshStateByShardRequest { 44656 44657 /** RefreshStateByShardRequest keyspace */ 44658 keyspace?: (string|null); 44659 44660 /** RefreshStateByShardRequest shard */ 44661 shard?: (string|null); 44662 44663 /** RefreshStateByShardRequest cells */ 44664 cells?: (string[]|null); 44665 } 44666 44667 /** Represents a RefreshStateByShardRequest. */ 44668 class RefreshStateByShardRequest implements IRefreshStateByShardRequest { 44669 44670 /** 44671 * Constructs a new RefreshStateByShardRequest. 44672 * @param [properties] Properties to set 44673 */ 44674 constructor(properties?: vtctldata.IRefreshStateByShardRequest); 44675 44676 /** RefreshStateByShardRequest keyspace. */ 44677 public keyspace: string; 44678 44679 /** RefreshStateByShardRequest shard. */ 44680 public shard: string; 44681 44682 /** RefreshStateByShardRequest cells. */ 44683 public cells: string[]; 44684 44685 /** 44686 * Creates a new RefreshStateByShardRequest instance using the specified properties. 44687 * @param [properties] Properties to set 44688 * @returns RefreshStateByShardRequest instance 44689 */ 44690 public static create(properties?: vtctldata.IRefreshStateByShardRequest): vtctldata.RefreshStateByShardRequest; 44691 44692 /** 44693 * Encodes the specified RefreshStateByShardRequest message. Does not implicitly {@link vtctldata.RefreshStateByShardRequest.verify|verify} messages. 44694 * @param message RefreshStateByShardRequest message or plain object to encode 44695 * @param [writer] Writer to encode to 44696 * @returns Writer 44697 */ 44698 public static encode(message: vtctldata.IRefreshStateByShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 44699 44700 /** 44701 * Encodes the specified RefreshStateByShardRequest message, length delimited. Does not implicitly {@link vtctldata.RefreshStateByShardRequest.verify|verify} messages. 44702 * @param message RefreshStateByShardRequest message or plain object to encode 44703 * @param [writer] Writer to encode to 44704 * @returns Writer 44705 */ 44706 public static encodeDelimited(message: vtctldata.IRefreshStateByShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 44707 44708 /** 44709 * Decodes a RefreshStateByShardRequest message from the specified reader or buffer. 44710 * @param reader Reader or buffer to decode from 44711 * @param [length] Message length if known beforehand 44712 * @returns RefreshStateByShardRequest 44713 * @throws {Error} If the payload is not a reader or valid buffer 44714 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44715 */ 44716 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateByShardRequest; 44717 44718 /** 44719 * Decodes a RefreshStateByShardRequest message from the specified reader or buffer, length delimited. 44720 * @param reader Reader or buffer to decode from 44721 * @returns RefreshStateByShardRequest 44722 * @throws {Error} If the payload is not a reader or valid buffer 44723 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44724 */ 44725 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateByShardRequest; 44726 44727 /** 44728 * Verifies a RefreshStateByShardRequest message. 44729 * @param message Plain object to verify 44730 * @returns `null` if valid, otherwise the reason why it is not 44731 */ 44732 public static verify(message: { [k: string]: any }): (string|null); 44733 44734 /** 44735 * Creates a RefreshStateByShardRequest message from a plain object. Also converts values to their respective internal types. 44736 * @param object Plain object 44737 * @returns RefreshStateByShardRequest 44738 */ 44739 public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateByShardRequest; 44740 44741 /** 44742 * Creates a plain object from a RefreshStateByShardRequest message. Also converts values to other types if specified. 44743 * @param message RefreshStateByShardRequest 44744 * @param [options] Conversion options 44745 * @returns Plain object 44746 */ 44747 public static toObject(message: vtctldata.RefreshStateByShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 44748 44749 /** 44750 * Converts this RefreshStateByShardRequest to JSON. 44751 * @returns JSON object 44752 */ 44753 public toJSON(): { [k: string]: any }; 44754 } 44755 44756 /** Properties of a RefreshStateByShardResponse. */ 44757 interface IRefreshStateByShardResponse { 44758 44759 /** RefreshStateByShardResponse is_partial_refresh */ 44760 is_partial_refresh?: (boolean|null); 44761 44762 /** RefreshStateByShardResponse partial_refresh_details */ 44763 partial_refresh_details?: (string|null); 44764 } 44765 44766 /** Represents a RefreshStateByShardResponse. */ 44767 class RefreshStateByShardResponse implements IRefreshStateByShardResponse { 44768 44769 /** 44770 * Constructs a new RefreshStateByShardResponse. 44771 * @param [properties] Properties to set 44772 */ 44773 constructor(properties?: vtctldata.IRefreshStateByShardResponse); 44774 44775 /** RefreshStateByShardResponse is_partial_refresh. */ 44776 public is_partial_refresh: boolean; 44777 44778 /** RefreshStateByShardResponse partial_refresh_details. */ 44779 public partial_refresh_details: string; 44780 44781 /** 44782 * Creates a new RefreshStateByShardResponse instance using the specified properties. 44783 * @param [properties] Properties to set 44784 * @returns RefreshStateByShardResponse instance 44785 */ 44786 public static create(properties?: vtctldata.IRefreshStateByShardResponse): vtctldata.RefreshStateByShardResponse; 44787 44788 /** 44789 * Encodes the specified RefreshStateByShardResponse message. Does not implicitly {@link vtctldata.RefreshStateByShardResponse.verify|verify} messages. 44790 * @param message RefreshStateByShardResponse message or plain object to encode 44791 * @param [writer] Writer to encode to 44792 * @returns Writer 44793 */ 44794 public static encode(message: vtctldata.IRefreshStateByShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44795 44796 /** 44797 * Encodes the specified RefreshStateByShardResponse message, length delimited. Does not implicitly {@link vtctldata.RefreshStateByShardResponse.verify|verify} messages. 44798 * @param message RefreshStateByShardResponse message or plain object to encode 44799 * @param [writer] Writer to encode to 44800 * @returns Writer 44801 */ 44802 public static encodeDelimited(message: vtctldata.IRefreshStateByShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44803 44804 /** 44805 * Decodes a RefreshStateByShardResponse message from the specified reader or buffer. 44806 * @param reader Reader or buffer to decode from 44807 * @param [length] Message length if known beforehand 44808 * @returns RefreshStateByShardResponse 44809 * @throws {Error} If the payload is not a reader or valid buffer 44810 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44811 */ 44812 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateByShardResponse; 44813 44814 /** 44815 * Decodes a RefreshStateByShardResponse message from the specified reader or buffer, length delimited. 44816 * @param reader Reader or buffer to decode from 44817 * @returns RefreshStateByShardResponse 44818 * @throws {Error} If the payload is not a reader or valid buffer 44819 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44820 */ 44821 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateByShardResponse; 44822 44823 /** 44824 * Verifies a RefreshStateByShardResponse message. 44825 * @param message Plain object to verify 44826 * @returns `null` if valid, otherwise the reason why it is not 44827 */ 44828 public static verify(message: { [k: string]: any }): (string|null); 44829 44830 /** 44831 * Creates a RefreshStateByShardResponse message from a plain object. Also converts values to their respective internal types. 44832 * @param object Plain object 44833 * @returns RefreshStateByShardResponse 44834 */ 44835 public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateByShardResponse; 44836 44837 /** 44838 * Creates a plain object from a RefreshStateByShardResponse message. Also converts values to other types if specified. 44839 * @param message RefreshStateByShardResponse 44840 * @param [options] Conversion options 44841 * @returns Plain object 44842 */ 44843 public static toObject(message: vtctldata.RefreshStateByShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 44844 44845 /** 44846 * Converts this RefreshStateByShardResponse to JSON. 44847 * @returns JSON object 44848 */ 44849 public toJSON(): { [k: string]: any }; 44850 } 44851 44852 /** Properties of a ReloadSchemaRequest. */ 44853 interface IReloadSchemaRequest { 44854 44855 /** ReloadSchemaRequest tablet_alias */ 44856 tablet_alias?: (topodata.ITabletAlias|null); 44857 } 44858 44859 /** Represents a ReloadSchemaRequest. */ 44860 class ReloadSchemaRequest implements IReloadSchemaRequest { 44861 44862 /** 44863 * Constructs a new ReloadSchemaRequest. 44864 * @param [properties] Properties to set 44865 */ 44866 constructor(properties?: vtctldata.IReloadSchemaRequest); 44867 44868 /** ReloadSchemaRequest tablet_alias. */ 44869 public tablet_alias?: (topodata.ITabletAlias|null); 44870 44871 /** 44872 * Creates a new ReloadSchemaRequest instance using the specified properties. 44873 * @param [properties] Properties to set 44874 * @returns ReloadSchemaRequest instance 44875 */ 44876 public static create(properties?: vtctldata.IReloadSchemaRequest): vtctldata.ReloadSchemaRequest; 44877 44878 /** 44879 * Encodes the specified ReloadSchemaRequest message. Does not implicitly {@link vtctldata.ReloadSchemaRequest.verify|verify} messages. 44880 * @param message ReloadSchemaRequest message or plain object to encode 44881 * @param [writer] Writer to encode to 44882 * @returns Writer 44883 */ 44884 public static encode(message: vtctldata.IReloadSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 44885 44886 /** 44887 * Encodes the specified ReloadSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaRequest.verify|verify} messages. 44888 * @param message ReloadSchemaRequest message or plain object to encode 44889 * @param [writer] Writer to encode to 44890 * @returns Writer 44891 */ 44892 public static encodeDelimited(message: vtctldata.IReloadSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 44893 44894 /** 44895 * Decodes a ReloadSchemaRequest message from the specified reader or buffer. 44896 * @param reader Reader or buffer to decode from 44897 * @param [length] Message length if known beforehand 44898 * @returns ReloadSchemaRequest 44899 * @throws {Error} If the payload is not a reader or valid buffer 44900 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44901 */ 44902 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaRequest; 44903 44904 /** 44905 * Decodes a ReloadSchemaRequest message from the specified reader or buffer, length delimited. 44906 * @param reader Reader or buffer to decode from 44907 * @returns ReloadSchemaRequest 44908 * @throws {Error} If the payload is not a reader or valid buffer 44909 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44910 */ 44911 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaRequest; 44912 44913 /** 44914 * Verifies a ReloadSchemaRequest message. 44915 * @param message Plain object to verify 44916 * @returns `null` if valid, otherwise the reason why it is not 44917 */ 44918 public static verify(message: { [k: string]: any }): (string|null); 44919 44920 /** 44921 * Creates a ReloadSchemaRequest message from a plain object. Also converts values to their respective internal types. 44922 * @param object Plain object 44923 * @returns ReloadSchemaRequest 44924 */ 44925 public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaRequest; 44926 44927 /** 44928 * Creates a plain object from a ReloadSchemaRequest message. Also converts values to other types if specified. 44929 * @param message ReloadSchemaRequest 44930 * @param [options] Conversion options 44931 * @returns Plain object 44932 */ 44933 public static toObject(message: vtctldata.ReloadSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 44934 44935 /** 44936 * Converts this ReloadSchemaRequest to JSON. 44937 * @returns JSON object 44938 */ 44939 public toJSON(): { [k: string]: any }; 44940 } 44941 44942 /** Properties of a ReloadSchemaResponse. */ 44943 interface IReloadSchemaResponse { 44944 } 44945 44946 /** Represents a ReloadSchemaResponse. */ 44947 class ReloadSchemaResponse implements IReloadSchemaResponse { 44948 44949 /** 44950 * Constructs a new ReloadSchemaResponse. 44951 * @param [properties] Properties to set 44952 */ 44953 constructor(properties?: vtctldata.IReloadSchemaResponse); 44954 44955 /** 44956 * Creates a new ReloadSchemaResponse instance using the specified properties. 44957 * @param [properties] Properties to set 44958 * @returns ReloadSchemaResponse instance 44959 */ 44960 public static create(properties?: vtctldata.IReloadSchemaResponse): vtctldata.ReloadSchemaResponse; 44961 44962 /** 44963 * Encodes the specified ReloadSchemaResponse message. Does not implicitly {@link vtctldata.ReloadSchemaResponse.verify|verify} messages. 44964 * @param message ReloadSchemaResponse message or plain object to encode 44965 * @param [writer] Writer to encode to 44966 * @returns Writer 44967 */ 44968 public static encode(message: vtctldata.IReloadSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44969 44970 /** 44971 * Encodes the specified ReloadSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaResponse.verify|verify} messages. 44972 * @param message ReloadSchemaResponse message or plain object to encode 44973 * @param [writer] Writer to encode to 44974 * @returns Writer 44975 */ 44976 public static encodeDelimited(message: vtctldata.IReloadSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 44977 44978 /** 44979 * Decodes a ReloadSchemaResponse message from the specified reader or buffer. 44980 * @param reader Reader or buffer to decode from 44981 * @param [length] Message length if known beforehand 44982 * @returns ReloadSchemaResponse 44983 * @throws {Error} If the payload is not a reader or valid buffer 44984 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44985 */ 44986 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaResponse; 44987 44988 /** 44989 * Decodes a ReloadSchemaResponse message from the specified reader or buffer, length delimited. 44990 * @param reader Reader or buffer to decode from 44991 * @returns ReloadSchemaResponse 44992 * @throws {Error} If the payload is not a reader or valid buffer 44993 * @throws {$protobuf.util.ProtocolError} If required fields are missing 44994 */ 44995 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaResponse; 44996 44997 /** 44998 * Verifies a ReloadSchemaResponse message. 44999 * @param message Plain object to verify 45000 * @returns `null` if valid, otherwise the reason why it is not 45001 */ 45002 public static verify(message: { [k: string]: any }): (string|null); 45003 45004 /** 45005 * Creates a ReloadSchemaResponse message from a plain object. Also converts values to their respective internal types. 45006 * @param object Plain object 45007 * @returns ReloadSchemaResponse 45008 */ 45009 public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaResponse; 45010 45011 /** 45012 * Creates a plain object from a ReloadSchemaResponse message. Also converts values to other types if specified. 45013 * @param message ReloadSchemaResponse 45014 * @param [options] Conversion options 45015 * @returns Plain object 45016 */ 45017 public static toObject(message: vtctldata.ReloadSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 45018 45019 /** 45020 * Converts this ReloadSchemaResponse to JSON. 45021 * @returns JSON object 45022 */ 45023 public toJSON(): { [k: string]: any }; 45024 } 45025 45026 /** Properties of a ReloadSchemaKeyspaceRequest. */ 45027 interface IReloadSchemaKeyspaceRequest { 45028 45029 /** ReloadSchemaKeyspaceRequest keyspace */ 45030 keyspace?: (string|null); 45031 45032 /** ReloadSchemaKeyspaceRequest wait_position */ 45033 wait_position?: (string|null); 45034 45035 /** ReloadSchemaKeyspaceRequest include_primary */ 45036 include_primary?: (boolean|null); 45037 45038 /** ReloadSchemaKeyspaceRequest concurrency */ 45039 concurrency?: (number|null); 45040 } 45041 45042 /** Represents a ReloadSchemaKeyspaceRequest. */ 45043 class ReloadSchemaKeyspaceRequest implements IReloadSchemaKeyspaceRequest { 45044 45045 /** 45046 * Constructs a new ReloadSchemaKeyspaceRequest. 45047 * @param [properties] Properties to set 45048 */ 45049 constructor(properties?: vtctldata.IReloadSchemaKeyspaceRequest); 45050 45051 /** ReloadSchemaKeyspaceRequest keyspace. */ 45052 public keyspace: string; 45053 45054 /** ReloadSchemaKeyspaceRequest wait_position. */ 45055 public wait_position: string; 45056 45057 /** ReloadSchemaKeyspaceRequest include_primary. */ 45058 public include_primary: boolean; 45059 45060 /** ReloadSchemaKeyspaceRequest concurrency. */ 45061 public concurrency: number; 45062 45063 /** 45064 * Creates a new ReloadSchemaKeyspaceRequest instance using the specified properties. 45065 * @param [properties] Properties to set 45066 * @returns ReloadSchemaKeyspaceRequest instance 45067 */ 45068 public static create(properties?: vtctldata.IReloadSchemaKeyspaceRequest): vtctldata.ReloadSchemaKeyspaceRequest; 45069 45070 /** 45071 * Encodes the specified ReloadSchemaKeyspaceRequest message. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceRequest.verify|verify} messages. 45072 * @param message ReloadSchemaKeyspaceRequest message or plain object to encode 45073 * @param [writer] Writer to encode to 45074 * @returns Writer 45075 */ 45076 public static encode(message: vtctldata.IReloadSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 45077 45078 /** 45079 * Encodes the specified ReloadSchemaKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceRequest.verify|verify} messages. 45080 * @param message ReloadSchemaKeyspaceRequest message or plain object to encode 45081 * @param [writer] Writer to encode to 45082 * @returns Writer 45083 */ 45084 public static encodeDelimited(message: vtctldata.IReloadSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 45085 45086 /** 45087 * Decodes a ReloadSchemaKeyspaceRequest message from the specified reader or buffer. 45088 * @param reader Reader or buffer to decode from 45089 * @param [length] Message length if known beforehand 45090 * @returns ReloadSchemaKeyspaceRequest 45091 * @throws {Error} If the payload is not a reader or valid buffer 45092 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45093 */ 45094 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaKeyspaceRequest; 45095 45096 /** 45097 * Decodes a ReloadSchemaKeyspaceRequest message from the specified reader or buffer, length delimited. 45098 * @param reader Reader or buffer to decode from 45099 * @returns ReloadSchemaKeyspaceRequest 45100 * @throws {Error} If the payload is not a reader or valid buffer 45101 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45102 */ 45103 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaKeyspaceRequest; 45104 45105 /** 45106 * Verifies a ReloadSchemaKeyspaceRequest message. 45107 * @param message Plain object to verify 45108 * @returns `null` if valid, otherwise the reason why it is not 45109 */ 45110 public static verify(message: { [k: string]: any }): (string|null); 45111 45112 /** 45113 * Creates a ReloadSchemaKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 45114 * @param object Plain object 45115 * @returns ReloadSchemaKeyspaceRequest 45116 */ 45117 public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaKeyspaceRequest; 45118 45119 /** 45120 * Creates a plain object from a ReloadSchemaKeyspaceRequest message. Also converts values to other types if specified. 45121 * @param message ReloadSchemaKeyspaceRequest 45122 * @param [options] Conversion options 45123 * @returns Plain object 45124 */ 45125 public static toObject(message: vtctldata.ReloadSchemaKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 45126 45127 /** 45128 * Converts this ReloadSchemaKeyspaceRequest to JSON. 45129 * @returns JSON object 45130 */ 45131 public toJSON(): { [k: string]: any }; 45132 } 45133 45134 /** Properties of a ReloadSchemaKeyspaceResponse. */ 45135 interface IReloadSchemaKeyspaceResponse { 45136 45137 /** ReloadSchemaKeyspaceResponse events */ 45138 events?: (logutil.IEvent[]|null); 45139 } 45140 45141 /** Represents a ReloadSchemaKeyspaceResponse. */ 45142 class ReloadSchemaKeyspaceResponse implements IReloadSchemaKeyspaceResponse { 45143 45144 /** 45145 * Constructs a new ReloadSchemaKeyspaceResponse. 45146 * @param [properties] Properties to set 45147 */ 45148 constructor(properties?: vtctldata.IReloadSchemaKeyspaceResponse); 45149 45150 /** ReloadSchemaKeyspaceResponse events. */ 45151 public events: logutil.IEvent[]; 45152 45153 /** 45154 * Creates a new ReloadSchemaKeyspaceResponse instance using the specified properties. 45155 * @param [properties] Properties to set 45156 * @returns ReloadSchemaKeyspaceResponse instance 45157 */ 45158 public static create(properties?: vtctldata.IReloadSchemaKeyspaceResponse): vtctldata.ReloadSchemaKeyspaceResponse; 45159 45160 /** 45161 * Encodes the specified ReloadSchemaKeyspaceResponse message. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceResponse.verify|verify} messages. 45162 * @param message ReloadSchemaKeyspaceResponse message or plain object to encode 45163 * @param [writer] Writer to encode to 45164 * @returns Writer 45165 */ 45166 public static encode(message: vtctldata.IReloadSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 45167 45168 /** 45169 * Encodes the specified ReloadSchemaKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceResponse.verify|verify} messages. 45170 * @param message ReloadSchemaKeyspaceResponse message or plain object to encode 45171 * @param [writer] Writer to encode to 45172 * @returns Writer 45173 */ 45174 public static encodeDelimited(message: vtctldata.IReloadSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 45175 45176 /** 45177 * Decodes a ReloadSchemaKeyspaceResponse message from the specified reader or buffer. 45178 * @param reader Reader or buffer to decode from 45179 * @param [length] Message length if known beforehand 45180 * @returns ReloadSchemaKeyspaceResponse 45181 * @throws {Error} If the payload is not a reader or valid buffer 45182 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45183 */ 45184 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaKeyspaceResponse; 45185 45186 /** 45187 * Decodes a ReloadSchemaKeyspaceResponse message from the specified reader or buffer, length delimited. 45188 * @param reader Reader or buffer to decode from 45189 * @returns ReloadSchemaKeyspaceResponse 45190 * @throws {Error} If the payload is not a reader or valid buffer 45191 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45192 */ 45193 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaKeyspaceResponse; 45194 45195 /** 45196 * Verifies a ReloadSchemaKeyspaceResponse message. 45197 * @param message Plain object to verify 45198 * @returns `null` if valid, otherwise the reason why it is not 45199 */ 45200 public static verify(message: { [k: string]: any }): (string|null); 45201 45202 /** 45203 * Creates a ReloadSchemaKeyspaceResponse message from a plain object. Also converts values to their respective internal types. 45204 * @param object Plain object 45205 * @returns ReloadSchemaKeyspaceResponse 45206 */ 45207 public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaKeyspaceResponse; 45208 45209 /** 45210 * Creates a plain object from a ReloadSchemaKeyspaceResponse message. Also converts values to other types if specified. 45211 * @param message ReloadSchemaKeyspaceResponse 45212 * @param [options] Conversion options 45213 * @returns Plain object 45214 */ 45215 public static toObject(message: vtctldata.ReloadSchemaKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 45216 45217 /** 45218 * Converts this ReloadSchemaKeyspaceResponse to JSON. 45219 * @returns JSON object 45220 */ 45221 public toJSON(): { [k: string]: any }; 45222 } 45223 45224 /** Properties of a ReloadSchemaShardRequest. */ 45225 interface IReloadSchemaShardRequest { 45226 45227 /** ReloadSchemaShardRequest keyspace */ 45228 keyspace?: (string|null); 45229 45230 /** ReloadSchemaShardRequest shard */ 45231 shard?: (string|null); 45232 45233 /** ReloadSchemaShardRequest wait_position */ 45234 wait_position?: (string|null); 45235 45236 /** ReloadSchemaShardRequest include_primary */ 45237 include_primary?: (boolean|null); 45238 45239 /** ReloadSchemaShardRequest concurrency */ 45240 concurrency?: (number|null); 45241 } 45242 45243 /** Represents a ReloadSchemaShardRequest. */ 45244 class ReloadSchemaShardRequest implements IReloadSchemaShardRequest { 45245 45246 /** 45247 * Constructs a new ReloadSchemaShardRequest. 45248 * @param [properties] Properties to set 45249 */ 45250 constructor(properties?: vtctldata.IReloadSchemaShardRequest); 45251 45252 /** ReloadSchemaShardRequest keyspace. */ 45253 public keyspace: string; 45254 45255 /** ReloadSchemaShardRequest shard. */ 45256 public shard: string; 45257 45258 /** ReloadSchemaShardRequest wait_position. */ 45259 public wait_position: string; 45260 45261 /** ReloadSchemaShardRequest include_primary. */ 45262 public include_primary: boolean; 45263 45264 /** ReloadSchemaShardRequest concurrency. */ 45265 public concurrency: number; 45266 45267 /** 45268 * Creates a new ReloadSchemaShardRequest instance using the specified properties. 45269 * @param [properties] Properties to set 45270 * @returns ReloadSchemaShardRequest instance 45271 */ 45272 public static create(properties?: vtctldata.IReloadSchemaShardRequest): vtctldata.ReloadSchemaShardRequest; 45273 45274 /** 45275 * Encodes the specified ReloadSchemaShardRequest message. Does not implicitly {@link vtctldata.ReloadSchemaShardRequest.verify|verify} messages. 45276 * @param message ReloadSchemaShardRequest message or plain object to encode 45277 * @param [writer] Writer to encode to 45278 * @returns Writer 45279 */ 45280 public static encode(message: vtctldata.IReloadSchemaShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 45281 45282 /** 45283 * Encodes the specified ReloadSchemaShardRequest message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaShardRequest.verify|verify} messages. 45284 * @param message ReloadSchemaShardRequest message or plain object to encode 45285 * @param [writer] Writer to encode to 45286 * @returns Writer 45287 */ 45288 public static encodeDelimited(message: vtctldata.IReloadSchemaShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 45289 45290 /** 45291 * Decodes a ReloadSchemaShardRequest message from the specified reader or buffer. 45292 * @param reader Reader or buffer to decode from 45293 * @param [length] Message length if known beforehand 45294 * @returns ReloadSchemaShardRequest 45295 * @throws {Error} If the payload is not a reader or valid buffer 45296 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45297 */ 45298 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaShardRequest; 45299 45300 /** 45301 * Decodes a ReloadSchemaShardRequest message from the specified reader or buffer, length delimited. 45302 * @param reader Reader or buffer to decode from 45303 * @returns ReloadSchemaShardRequest 45304 * @throws {Error} If the payload is not a reader or valid buffer 45305 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45306 */ 45307 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaShardRequest; 45308 45309 /** 45310 * Verifies a ReloadSchemaShardRequest message. 45311 * @param message Plain object to verify 45312 * @returns `null` if valid, otherwise the reason why it is not 45313 */ 45314 public static verify(message: { [k: string]: any }): (string|null); 45315 45316 /** 45317 * Creates a ReloadSchemaShardRequest message from a plain object. Also converts values to their respective internal types. 45318 * @param object Plain object 45319 * @returns ReloadSchemaShardRequest 45320 */ 45321 public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaShardRequest; 45322 45323 /** 45324 * Creates a plain object from a ReloadSchemaShardRequest message. Also converts values to other types if specified. 45325 * @param message ReloadSchemaShardRequest 45326 * @param [options] Conversion options 45327 * @returns Plain object 45328 */ 45329 public static toObject(message: vtctldata.ReloadSchemaShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 45330 45331 /** 45332 * Converts this ReloadSchemaShardRequest to JSON. 45333 * @returns JSON object 45334 */ 45335 public toJSON(): { [k: string]: any }; 45336 } 45337 45338 /** Properties of a ReloadSchemaShardResponse. */ 45339 interface IReloadSchemaShardResponse { 45340 45341 /** ReloadSchemaShardResponse events */ 45342 events?: (logutil.IEvent[]|null); 45343 } 45344 45345 /** Represents a ReloadSchemaShardResponse. */ 45346 class ReloadSchemaShardResponse implements IReloadSchemaShardResponse { 45347 45348 /** 45349 * Constructs a new ReloadSchemaShardResponse. 45350 * @param [properties] Properties to set 45351 */ 45352 constructor(properties?: vtctldata.IReloadSchemaShardResponse); 45353 45354 /** ReloadSchemaShardResponse events. */ 45355 public events: logutil.IEvent[]; 45356 45357 /** 45358 * Creates a new ReloadSchemaShardResponse instance using the specified properties. 45359 * @param [properties] Properties to set 45360 * @returns ReloadSchemaShardResponse instance 45361 */ 45362 public static create(properties?: vtctldata.IReloadSchemaShardResponse): vtctldata.ReloadSchemaShardResponse; 45363 45364 /** 45365 * Encodes the specified ReloadSchemaShardResponse message. Does not implicitly {@link vtctldata.ReloadSchemaShardResponse.verify|verify} messages. 45366 * @param message ReloadSchemaShardResponse message or plain object to encode 45367 * @param [writer] Writer to encode to 45368 * @returns Writer 45369 */ 45370 public static encode(message: vtctldata.IReloadSchemaShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 45371 45372 /** 45373 * Encodes the specified ReloadSchemaShardResponse message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaShardResponse.verify|verify} messages. 45374 * @param message ReloadSchemaShardResponse message or plain object to encode 45375 * @param [writer] Writer to encode to 45376 * @returns Writer 45377 */ 45378 public static encodeDelimited(message: vtctldata.IReloadSchemaShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 45379 45380 /** 45381 * Decodes a ReloadSchemaShardResponse message from the specified reader or buffer. 45382 * @param reader Reader or buffer to decode from 45383 * @param [length] Message length if known beforehand 45384 * @returns ReloadSchemaShardResponse 45385 * @throws {Error} If the payload is not a reader or valid buffer 45386 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45387 */ 45388 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaShardResponse; 45389 45390 /** 45391 * Decodes a ReloadSchemaShardResponse message from the specified reader or buffer, length delimited. 45392 * @param reader Reader or buffer to decode from 45393 * @returns ReloadSchemaShardResponse 45394 * @throws {Error} If the payload is not a reader or valid buffer 45395 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45396 */ 45397 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaShardResponse; 45398 45399 /** 45400 * Verifies a ReloadSchemaShardResponse message. 45401 * @param message Plain object to verify 45402 * @returns `null` if valid, otherwise the reason why it is not 45403 */ 45404 public static verify(message: { [k: string]: any }): (string|null); 45405 45406 /** 45407 * Creates a ReloadSchemaShardResponse message from a plain object. Also converts values to their respective internal types. 45408 * @param object Plain object 45409 * @returns ReloadSchemaShardResponse 45410 */ 45411 public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaShardResponse; 45412 45413 /** 45414 * Creates a plain object from a ReloadSchemaShardResponse message. Also converts values to other types if specified. 45415 * @param message ReloadSchemaShardResponse 45416 * @param [options] Conversion options 45417 * @returns Plain object 45418 */ 45419 public static toObject(message: vtctldata.ReloadSchemaShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 45420 45421 /** 45422 * Converts this ReloadSchemaShardResponse to JSON. 45423 * @returns JSON object 45424 */ 45425 public toJSON(): { [k: string]: any }; 45426 } 45427 45428 /** Properties of a RemoveBackupRequest. */ 45429 interface IRemoveBackupRequest { 45430 45431 /** RemoveBackupRequest keyspace */ 45432 keyspace?: (string|null); 45433 45434 /** RemoveBackupRequest shard */ 45435 shard?: (string|null); 45436 45437 /** RemoveBackupRequest name */ 45438 name?: (string|null); 45439 } 45440 45441 /** Represents a RemoveBackupRequest. */ 45442 class RemoveBackupRequest implements IRemoveBackupRequest { 45443 45444 /** 45445 * Constructs a new RemoveBackupRequest. 45446 * @param [properties] Properties to set 45447 */ 45448 constructor(properties?: vtctldata.IRemoveBackupRequest); 45449 45450 /** RemoveBackupRequest keyspace. */ 45451 public keyspace: string; 45452 45453 /** RemoveBackupRequest shard. */ 45454 public shard: string; 45455 45456 /** RemoveBackupRequest name. */ 45457 public name: string; 45458 45459 /** 45460 * Creates a new RemoveBackupRequest instance using the specified properties. 45461 * @param [properties] Properties to set 45462 * @returns RemoveBackupRequest instance 45463 */ 45464 public static create(properties?: vtctldata.IRemoveBackupRequest): vtctldata.RemoveBackupRequest; 45465 45466 /** 45467 * Encodes the specified RemoveBackupRequest message. Does not implicitly {@link vtctldata.RemoveBackupRequest.verify|verify} messages. 45468 * @param message RemoveBackupRequest message or plain object to encode 45469 * @param [writer] Writer to encode to 45470 * @returns Writer 45471 */ 45472 public static encode(message: vtctldata.IRemoveBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; 45473 45474 /** 45475 * Encodes the specified RemoveBackupRequest message, length delimited. Does not implicitly {@link vtctldata.RemoveBackupRequest.verify|verify} messages. 45476 * @param message RemoveBackupRequest message or plain object to encode 45477 * @param [writer] Writer to encode to 45478 * @returns Writer 45479 */ 45480 public static encodeDelimited(message: vtctldata.IRemoveBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; 45481 45482 /** 45483 * Decodes a RemoveBackupRequest message from the specified reader or buffer. 45484 * @param reader Reader or buffer to decode from 45485 * @param [length] Message length if known beforehand 45486 * @returns RemoveBackupRequest 45487 * @throws {Error} If the payload is not a reader or valid buffer 45488 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45489 */ 45490 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveBackupRequest; 45491 45492 /** 45493 * Decodes a RemoveBackupRequest message from the specified reader or buffer, length delimited. 45494 * @param reader Reader or buffer to decode from 45495 * @returns RemoveBackupRequest 45496 * @throws {Error} If the payload is not a reader or valid buffer 45497 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45498 */ 45499 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveBackupRequest; 45500 45501 /** 45502 * Verifies a RemoveBackupRequest message. 45503 * @param message Plain object to verify 45504 * @returns `null` if valid, otherwise the reason why it is not 45505 */ 45506 public static verify(message: { [k: string]: any }): (string|null); 45507 45508 /** 45509 * Creates a RemoveBackupRequest message from a plain object. Also converts values to their respective internal types. 45510 * @param object Plain object 45511 * @returns RemoveBackupRequest 45512 */ 45513 public static fromObject(object: { [k: string]: any }): vtctldata.RemoveBackupRequest; 45514 45515 /** 45516 * Creates a plain object from a RemoveBackupRequest message. Also converts values to other types if specified. 45517 * @param message RemoveBackupRequest 45518 * @param [options] Conversion options 45519 * @returns Plain object 45520 */ 45521 public static toObject(message: vtctldata.RemoveBackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 45522 45523 /** 45524 * Converts this RemoveBackupRequest to JSON. 45525 * @returns JSON object 45526 */ 45527 public toJSON(): { [k: string]: any }; 45528 } 45529 45530 /** Properties of a RemoveBackupResponse. */ 45531 interface IRemoveBackupResponse { 45532 } 45533 45534 /** Represents a RemoveBackupResponse. */ 45535 class RemoveBackupResponse implements IRemoveBackupResponse { 45536 45537 /** 45538 * Constructs a new RemoveBackupResponse. 45539 * @param [properties] Properties to set 45540 */ 45541 constructor(properties?: vtctldata.IRemoveBackupResponse); 45542 45543 /** 45544 * Creates a new RemoveBackupResponse instance using the specified properties. 45545 * @param [properties] Properties to set 45546 * @returns RemoveBackupResponse instance 45547 */ 45548 public static create(properties?: vtctldata.IRemoveBackupResponse): vtctldata.RemoveBackupResponse; 45549 45550 /** 45551 * Encodes the specified RemoveBackupResponse message. Does not implicitly {@link vtctldata.RemoveBackupResponse.verify|verify} messages. 45552 * @param message RemoveBackupResponse message or plain object to encode 45553 * @param [writer] Writer to encode to 45554 * @returns Writer 45555 */ 45556 public static encode(message: vtctldata.IRemoveBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; 45557 45558 /** 45559 * Encodes the specified RemoveBackupResponse message, length delimited. Does not implicitly {@link vtctldata.RemoveBackupResponse.verify|verify} messages. 45560 * @param message RemoveBackupResponse message or plain object to encode 45561 * @param [writer] Writer to encode to 45562 * @returns Writer 45563 */ 45564 public static encodeDelimited(message: vtctldata.IRemoveBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; 45565 45566 /** 45567 * Decodes a RemoveBackupResponse message from the specified reader or buffer. 45568 * @param reader Reader or buffer to decode from 45569 * @param [length] Message length if known beforehand 45570 * @returns RemoveBackupResponse 45571 * @throws {Error} If the payload is not a reader or valid buffer 45572 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45573 */ 45574 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveBackupResponse; 45575 45576 /** 45577 * Decodes a RemoveBackupResponse message from the specified reader or buffer, length delimited. 45578 * @param reader Reader or buffer to decode from 45579 * @returns RemoveBackupResponse 45580 * @throws {Error} If the payload is not a reader or valid buffer 45581 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45582 */ 45583 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveBackupResponse; 45584 45585 /** 45586 * Verifies a RemoveBackupResponse message. 45587 * @param message Plain object to verify 45588 * @returns `null` if valid, otherwise the reason why it is not 45589 */ 45590 public static verify(message: { [k: string]: any }): (string|null); 45591 45592 /** 45593 * Creates a RemoveBackupResponse message from a plain object. Also converts values to their respective internal types. 45594 * @param object Plain object 45595 * @returns RemoveBackupResponse 45596 */ 45597 public static fromObject(object: { [k: string]: any }): vtctldata.RemoveBackupResponse; 45598 45599 /** 45600 * Creates a plain object from a RemoveBackupResponse message. Also converts values to other types if specified. 45601 * @param message RemoveBackupResponse 45602 * @param [options] Conversion options 45603 * @returns Plain object 45604 */ 45605 public static toObject(message: vtctldata.RemoveBackupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 45606 45607 /** 45608 * Converts this RemoveBackupResponse to JSON. 45609 * @returns JSON object 45610 */ 45611 public toJSON(): { [k: string]: any }; 45612 } 45613 45614 /** Properties of a RemoveKeyspaceCellRequest. */ 45615 interface IRemoveKeyspaceCellRequest { 45616 45617 /** RemoveKeyspaceCellRequest keyspace */ 45618 keyspace?: (string|null); 45619 45620 /** RemoveKeyspaceCellRequest cell */ 45621 cell?: (string|null); 45622 45623 /** RemoveKeyspaceCellRequest force */ 45624 force?: (boolean|null); 45625 45626 /** RemoveKeyspaceCellRequest recursive */ 45627 recursive?: (boolean|null); 45628 } 45629 45630 /** Represents a RemoveKeyspaceCellRequest. */ 45631 class RemoveKeyspaceCellRequest implements IRemoveKeyspaceCellRequest { 45632 45633 /** 45634 * Constructs a new RemoveKeyspaceCellRequest. 45635 * @param [properties] Properties to set 45636 */ 45637 constructor(properties?: vtctldata.IRemoveKeyspaceCellRequest); 45638 45639 /** RemoveKeyspaceCellRequest keyspace. */ 45640 public keyspace: string; 45641 45642 /** RemoveKeyspaceCellRequest cell. */ 45643 public cell: string; 45644 45645 /** RemoveKeyspaceCellRequest force. */ 45646 public force: boolean; 45647 45648 /** RemoveKeyspaceCellRequest recursive. */ 45649 public recursive: boolean; 45650 45651 /** 45652 * Creates a new RemoveKeyspaceCellRequest instance using the specified properties. 45653 * @param [properties] Properties to set 45654 * @returns RemoveKeyspaceCellRequest instance 45655 */ 45656 public static create(properties?: vtctldata.IRemoveKeyspaceCellRequest): vtctldata.RemoveKeyspaceCellRequest; 45657 45658 /** 45659 * Encodes the specified RemoveKeyspaceCellRequest message. Does not implicitly {@link vtctldata.RemoveKeyspaceCellRequest.verify|verify} messages. 45660 * @param message RemoveKeyspaceCellRequest message or plain object to encode 45661 * @param [writer] Writer to encode to 45662 * @returns Writer 45663 */ 45664 public static encode(message: vtctldata.IRemoveKeyspaceCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; 45665 45666 /** 45667 * Encodes the specified RemoveKeyspaceCellRequest message, length delimited. Does not implicitly {@link vtctldata.RemoveKeyspaceCellRequest.verify|verify} messages. 45668 * @param message RemoveKeyspaceCellRequest message or plain object to encode 45669 * @param [writer] Writer to encode to 45670 * @returns Writer 45671 */ 45672 public static encodeDelimited(message: vtctldata.IRemoveKeyspaceCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; 45673 45674 /** 45675 * Decodes a RemoveKeyspaceCellRequest message from the specified reader or buffer. 45676 * @param reader Reader or buffer to decode from 45677 * @param [length] Message length if known beforehand 45678 * @returns RemoveKeyspaceCellRequest 45679 * @throws {Error} If the payload is not a reader or valid buffer 45680 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45681 */ 45682 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveKeyspaceCellRequest; 45683 45684 /** 45685 * Decodes a RemoveKeyspaceCellRequest message from the specified reader or buffer, length delimited. 45686 * @param reader Reader or buffer to decode from 45687 * @returns RemoveKeyspaceCellRequest 45688 * @throws {Error} If the payload is not a reader or valid buffer 45689 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45690 */ 45691 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveKeyspaceCellRequest; 45692 45693 /** 45694 * Verifies a RemoveKeyspaceCellRequest message. 45695 * @param message Plain object to verify 45696 * @returns `null` if valid, otherwise the reason why it is not 45697 */ 45698 public static verify(message: { [k: string]: any }): (string|null); 45699 45700 /** 45701 * Creates a RemoveKeyspaceCellRequest message from a plain object. Also converts values to their respective internal types. 45702 * @param object Plain object 45703 * @returns RemoveKeyspaceCellRequest 45704 */ 45705 public static fromObject(object: { [k: string]: any }): vtctldata.RemoveKeyspaceCellRequest; 45706 45707 /** 45708 * Creates a plain object from a RemoveKeyspaceCellRequest message. Also converts values to other types if specified. 45709 * @param message RemoveKeyspaceCellRequest 45710 * @param [options] Conversion options 45711 * @returns Plain object 45712 */ 45713 public static toObject(message: vtctldata.RemoveKeyspaceCellRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 45714 45715 /** 45716 * Converts this RemoveKeyspaceCellRequest to JSON. 45717 * @returns JSON object 45718 */ 45719 public toJSON(): { [k: string]: any }; 45720 } 45721 45722 /** Properties of a RemoveKeyspaceCellResponse. */ 45723 interface IRemoveKeyspaceCellResponse { 45724 } 45725 45726 /** Represents a RemoveKeyspaceCellResponse. */ 45727 class RemoveKeyspaceCellResponse implements IRemoveKeyspaceCellResponse { 45728 45729 /** 45730 * Constructs a new RemoveKeyspaceCellResponse. 45731 * @param [properties] Properties to set 45732 */ 45733 constructor(properties?: vtctldata.IRemoveKeyspaceCellResponse); 45734 45735 /** 45736 * Creates a new RemoveKeyspaceCellResponse instance using the specified properties. 45737 * @param [properties] Properties to set 45738 * @returns RemoveKeyspaceCellResponse instance 45739 */ 45740 public static create(properties?: vtctldata.IRemoveKeyspaceCellResponse): vtctldata.RemoveKeyspaceCellResponse; 45741 45742 /** 45743 * Encodes the specified RemoveKeyspaceCellResponse message. Does not implicitly {@link vtctldata.RemoveKeyspaceCellResponse.verify|verify} messages. 45744 * @param message RemoveKeyspaceCellResponse message or plain object to encode 45745 * @param [writer] Writer to encode to 45746 * @returns Writer 45747 */ 45748 public static encode(message: vtctldata.IRemoveKeyspaceCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; 45749 45750 /** 45751 * Encodes the specified RemoveKeyspaceCellResponse message, length delimited. Does not implicitly {@link vtctldata.RemoveKeyspaceCellResponse.verify|verify} messages. 45752 * @param message RemoveKeyspaceCellResponse message or plain object to encode 45753 * @param [writer] Writer to encode to 45754 * @returns Writer 45755 */ 45756 public static encodeDelimited(message: vtctldata.IRemoveKeyspaceCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; 45757 45758 /** 45759 * Decodes a RemoveKeyspaceCellResponse message from the specified reader or buffer. 45760 * @param reader Reader or buffer to decode from 45761 * @param [length] Message length if known beforehand 45762 * @returns RemoveKeyspaceCellResponse 45763 * @throws {Error} If the payload is not a reader or valid buffer 45764 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45765 */ 45766 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveKeyspaceCellResponse; 45767 45768 /** 45769 * Decodes a RemoveKeyspaceCellResponse message from the specified reader or buffer, length delimited. 45770 * @param reader Reader or buffer to decode from 45771 * @returns RemoveKeyspaceCellResponse 45772 * @throws {Error} If the payload is not a reader or valid buffer 45773 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45774 */ 45775 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveKeyspaceCellResponse; 45776 45777 /** 45778 * Verifies a RemoveKeyspaceCellResponse message. 45779 * @param message Plain object to verify 45780 * @returns `null` if valid, otherwise the reason why it is not 45781 */ 45782 public static verify(message: { [k: string]: any }): (string|null); 45783 45784 /** 45785 * Creates a RemoveKeyspaceCellResponse message from a plain object. Also converts values to their respective internal types. 45786 * @param object Plain object 45787 * @returns RemoveKeyspaceCellResponse 45788 */ 45789 public static fromObject(object: { [k: string]: any }): vtctldata.RemoveKeyspaceCellResponse; 45790 45791 /** 45792 * Creates a plain object from a RemoveKeyspaceCellResponse message. Also converts values to other types if specified. 45793 * @param message RemoveKeyspaceCellResponse 45794 * @param [options] Conversion options 45795 * @returns Plain object 45796 */ 45797 public static toObject(message: vtctldata.RemoveKeyspaceCellResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 45798 45799 /** 45800 * Converts this RemoveKeyspaceCellResponse to JSON. 45801 * @returns JSON object 45802 */ 45803 public toJSON(): { [k: string]: any }; 45804 } 45805 45806 /** Properties of a RemoveShardCellRequest. */ 45807 interface IRemoveShardCellRequest { 45808 45809 /** RemoveShardCellRequest keyspace */ 45810 keyspace?: (string|null); 45811 45812 /** RemoveShardCellRequest shard_name */ 45813 shard_name?: (string|null); 45814 45815 /** RemoveShardCellRequest cell */ 45816 cell?: (string|null); 45817 45818 /** RemoveShardCellRequest force */ 45819 force?: (boolean|null); 45820 45821 /** RemoveShardCellRequest recursive */ 45822 recursive?: (boolean|null); 45823 } 45824 45825 /** Represents a RemoveShardCellRequest. */ 45826 class RemoveShardCellRequest implements IRemoveShardCellRequest { 45827 45828 /** 45829 * Constructs a new RemoveShardCellRequest. 45830 * @param [properties] Properties to set 45831 */ 45832 constructor(properties?: vtctldata.IRemoveShardCellRequest); 45833 45834 /** RemoveShardCellRequest keyspace. */ 45835 public keyspace: string; 45836 45837 /** RemoveShardCellRequest shard_name. */ 45838 public shard_name: string; 45839 45840 /** RemoveShardCellRequest cell. */ 45841 public cell: string; 45842 45843 /** RemoveShardCellRequest force. */ 45844 public force: boolean; 45845 45846 /** RemoveShardCellRequest recursive. */ 45847 public recursive: boolean; 45848 45849 /** 45850 * Creates a new RemoveShardCellRequest instance using the specified properties. 45851 * @param [properties] Properties to set 45852 * @returns RemoveShardCellRequest instance 45853 */ 45854 public static create(properties?: vtctldata.IRemoveShardCellRequest): vtctldata.RemoveShardCellRequest; 45855 45856 /** 45857 * Encodes the specified RemoveShardCellRequest message. Does not implicitly {@link vtctldata.RemoveShardCellRequest.verify|verify} messages. 45858 * @param message RemoveShardCellRequest message or plain object to encode 45859 * @param [writer] Writer to encode to 45860 * @returns Writer 45861 */ 45862 public static encode(message: vtctldata.IRemoveShardCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; 45863 45864 /** 45865 * Encodes the specified RemoveShardCellRequest message, length delimited. Does not implicitly {@link vtctldata.RemoveShardCellRequest.verify|verify} messages. 45866 * @param message RemoveShardCellRequest message or plain object to encode 45867 * @param [writer] Writer to encode to 45868 * @returns Writer 45869 */ 45870 public static encodeDelimited(message: vtctldata.IRemoveShardCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; 45871 45872 /** 45873 * Decodes a RemoveShardCellRequest message from the specified reader or buffer. 45874 * @param reader Reader or buffer to decode from 45875 * @param [length] Message length if known beforehand 45876 * @returns RemoveShardCellRequest 45877 * @throws {Error} If the payload is not a reader or valid buffer 45878 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45879 */ 45880 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveShardCellRequest; 45881 45882 /** 45883 * Decodes a RemoveShardCellRequest message from the specified reader or buffer, length delimited. 45884 * @param reader Reader or buffer to decode from 45885 * @returns RemoveShardCellRequest 45886 * @throws {Error} If the payload is not a reader or valid buffer 45887 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45888 */ 45889 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveShardCellRequest; 45890 45891 /** 45892 * Verifies a RemoveShardCellRequest message. 45893 * @param message Plain object to verify 45894 * @returns `null` if valid, otherwise the reason why it is not 45895 */ 45896 public static verify(message: { [k: string]: any }): (string|null); 45897 45898 /** 45899 * Creates a RemoveShardCellRequest message from a plain object. Also converts values to their respective internal types. 45900 * @param object Plain object 45901 * @returns RemoveShardCellRequest 45902 */ 45903 public static fromObject(object: { [k: string]: any }): vtctldata.RemoveShardCellRequest; 45904 45905 /** 45906 * Creates a plain object from a RemoveShardCellRequest message. Also converts values to other types if specified. 45907 * @param message RemoveShardCellRequest 45908 * @param [options] Conversion options 45909 * @returns Plain object 45910 */ 45911 public static toObject(message: vtctldata.RemoveShardCellRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 45912 45913 /** 45914 * Converts this RemoveShardCellRequest to JSON. 45915 * @returns JSON object 45916 */ 45917 public toJSON(): { [k: string]: any }; 45918 } 45919 45920 /** Properties of a RemoveShardCellResponse. */ 45921 interface IRemoveShardCellResponse { 45922 } 45923 45924 /** Represents a RemoveShardCellResponse. */ 45925 class RemoveShardCellResponse implements IRemoveShardCellResponse { 45926 45927 /** 45928 * Constructs a new RemoveShardCellResponse. 45929 * @param [properties] Properties to set 45930 */ 45931 constructor(properties?: vtctldata.IRemoveShardCellResponse); 45932 45933 /** 45934 * Creates a new RemoveShardCellResponse instance using the specified properties. 45935 * @param [properties] Properties to set 45936 * @returns RemoveShardCellResponse instance 45937 */ 45938 public static create(properties?: vtctldata.IRemoveShardCellResponse): vtctldata.RemoveShardCellResponse; 45939 45940 /** 45941 * Encodes the specified RemoveShardCellResponse message. Does not implicitly {@link vtctldata.RemoveShardCellResponse.verify|verify} messages. 45942 * @param message RemoveShardCellResponse message or plain object to encode 45943 * @param [writer] Writer to encode to 45944 * @returns Writer 45945 */ 45946 public static encode(message: vtctldata.IRemoveShardCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; 45947 45948 /** 45949 * Encodes the specified RemoveShardCellResponse message, length delimited. Does not implicitly {@link vtctldata.RemoveShardCellResponse.verify|verify} messages. 45950 * @param message RemoveShardCellResponse message or plain object to encode 45951 * @param [writer] Writer to encode to 45952 * @returns Writer 45953 */ 45954 public static encodeDelimited(message: vtctldata.IRemoveShardCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; 45955 45956 /** 45957 * Decodes a RemoveShardCellResponse message from the specified reader or buffer. 45958 * @param reader Reader or buffer to decode from 45959 * @param [length] Message length if known beforehand 45960 * @returns RemoveShardCellResponse 45961 * @throws {Error} If the payload is not a reader or valid buffer 45962 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45963 */ 45964 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveShardCellResponse; 45965 45966 /** 45967 * Decodes a RemoveShardCellResponse message from the specified reader or buffer, length delimited. 45968 * @param reader Reader or buffer to decode from 45969 * @returns RemoveShardCellResponse 45970 * @throws {Error} If the payload is not a reader or valid buffer 45971 * @throws {$protobuf.util.ProtocolError} If required fields are missing 45972 */ 45973 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveShardCellResponse; 45974 45975 /** 45976 * Verifies a RemoveShardCellResponse message. 45977 * @param message Plain object to verify 45978 * @returns `null` if valid, otherwise the reason why it is not 45979 */ 45980 public static verify(message: { [k: string]: any }): (string|null); 45981 45982 /** 45983 * Creates a RemoveShardCellResponse message from a plain object. Also converts values to their respective internal types. 45984 * @param object Plain object 45985 * @returns RemoveShardCellResponse 45986 */ 45987 public static fromObject(object: { [k: string]: any }): vtctldata.RemoveShardCellResponse; 45988 45989 /** 45990 * Creates a plain object from a RemoveShardCellResponse message. Also converts values to other types if specified. 45991 * @param message RemoveShardCellResponse 45992 * @param [options] Conversion options 45993 * @returns Plain object 45994 */ 45995 public static toObject(message: vtctldata.RemoveShardCellResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 45996 45997 /** 45998 * Converts this RemoveShardCellResponse to JSON. 45999 * @returns JSON object 46000 */ 46001 public toJSON(): { [k: string]: any }; 46002 } 46003 46004 /** Properties of a ReparentTabletRequest. */ 46005 interface IReparentTabletRequest { 46006 46007 /** ReparentTabletRequest tablet */ 46008 tablet?: (topodata.ITabletAlias|null); 46009 } 46010 46011 /** Represents a ReparentTabletRequest. */ 46012 class ReparentTabletRequest implements IReparentTabletRequest { 46013 46014 /** 46015 * Constructs a new ReparentTabletRequest. 46016 * @param [properties] Properties to set 46017 */ 46018 constructor(properties?: vtctldata.IReparentTabletRequest); 46019 46020 /** ReparentTabletRequest tablet. */ 46021 public tablet?: (topodata.ITabletAlias|null); 46022 46023 /** 46024 * Creates a new ReparentTabletRequest instance using the specified properties. 46025 * @param [properties] Properties to set 46026 * @returns ReparentTabletRequest instance 46027 */ 46028 public static create(properties?: vtctldata.IReparentTabletRequest): vtctldata.ReparentTabletRequest; 46029 46030 /** 46031 * Encodes the specified ReparentTabletRequest message. Does not implicitly {@link vtctldata.ReparentTabletRequest.verify|verify} messages. 46032 * @param message ReparentTabletRequest message or plain object to encode 46033 * @param [writer] Writer to encode to 46034 * @returns Writer 46035 */ 46036 public static encode(message: vtctldata.IReparentTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 46037 46038 /** 46039 * Encodes the specified ReparentTabletRequest message, length delimited. Does not implicitly {@link vtctldata.ReparentTabletRequest.verify|verify} messages. 46040 * @param message ReparentTabletRequest message or plain object to encode 46041 * @param [writer] Writer to encode to 46042 * @returns Writer 46043 */ 46044 public static encodeDelimited(message: vtctldata.IReparentTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 46045 46046 /** 46047 * Decodes a ReparentTabletRequest message from the specified reader or buffer. 46048 * @param reader Reader or buffer to decode from 46049 * @param [length] Message length if known beforehand 46050 * @returns ReparentTabletRequest 46051 * @throws {Error} If the payload is not a reader or valid buffer 46052 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46053 */ 46054 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReparentTabletRequest; 46055 46056 /** 46057 * Decodes a ReparentTabletRequest message from the specified reader or buffer, length delimited. 46058 * @param reader Reader or buffer to decode from 46059 * @returns ReparentTabletRequest 46060 * @throws {Error} If the payload is not a reader or valid buffer 46061 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46062 */ 46063 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReparentTabletRequest; 46064 46065 /** 46066 * Verifies a ReparentTabletRequest message. 46067 * @param message Plain object to verify 46068 * @returns `null` if valid, otherwise the reason why it is not 46069 */ 46070 public static verify(message: { [k: string]: any }): (string|null); 46071 46072 /** 46073 * Creates a ReparentTabletRequest message from a plain object. Also converts values to their respective internal types. 46074 * @param object Plain object 46075 * @returns ReparentTabletRequest 46076 */ 46077 public static fromObject(object: { [k: string]: any }): vtctldata.ReparentTabletRequest; 46078 46079 /** 46080 * Creates a plain object from a ReparentTabletRequest message. Also converts values to other types if specified. 46081 * @param message ReparentTabletRequest 46082 * @param [options] Conversion options 46083 * @returns Plain object 46084 */ 46085 public static toObject(message: vtctldata.ReparentTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 46086 46087 /** 46088 * Converts this ReparentTabletRequest to JSON. 46089 * @returns JSON object 46090 */ 46091 public toJSON(): { [k: string]: any }; 46092 } 46093 46094 /** Properties of a ReparentTabletResponse. */ 46095 interface IReparentTabletResponse { 46096 46097 /** ReparentTabletResponse keyspace */ 46098 keyspace?: (string|null); 46099 46100 /** ReparentTabletResponse shard */ 46101 shard?: (string|null); 46102 46103 /** ReparentTabletResponse primary */ 46104 primary?: (topodata.ITabletAlias|null); 46105 } 46106 46107 /** Represents a ReparentTabletResponse. */ 46108 class ReparentTabletResponse implements IReparentTabletResponse { 46109 46110 /** 46111 * Constructs a new ReparentTabletResponse. 46112 * @param [properties] Properties to set 46113 */ 46114 constructor(properties?: vtctldata.IReparentTabletResponse); 46115 46116 /** ReparentTabletResponse keyspace. */ 46117 public keyspace: string; 46118 46119 /** ReparentTabletResponse shard. */ 46120 public shard: string; 46121 46122 /** ReparentTabletResponse primary. */ 46123 public primary?: (topodata.ITabletAlias|null); 46124 46125 /** 46126 * Creates a new ReparentTabletResponse instance using the specified properties. 46127 * @param [properties] Properties to set 46128 * @returns ReparentTabletResponse instance 46129 */ 46130 public static create(properties?: vtctldata.IReparentTabletResponse): vtctldata.ReparentTabletResponse; 46131 46132 /** 46133 * Encodes the specified ReparentTabletResponse message. Does not implicitly {@link vtctldata.ReparentTabletResponse.verify|verify} messages. 46134 * @param message ReparentTabletResponse message or plain object to encode 46135 * @param [writer] Writer to encode to 46136 * @returns Writer 46137 */ 46138 public static encode(message: vtctldata.IReparentTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 46139 46140 /** 46141 * Encodes the specified ReparentTabletResponse message, length delimited. Does not implicitly {@link vtctldata.ReparentTabletResponse.verify|verify} messages. 46142 * @param message ReparentTabletResponse message or plain object to encode 46143 * @param [writer] Writer to encode to 46144 * @returns Writer 46145 */ 46146 public static encodeDelimited(message: vtctldata.IReparentTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 46147 46148 /** 46149 * Decodes a ReparentTabletResponse message from the specified reader or buffer. 46150 * @param reader Reader or buffer to decode from 46151 * @param [length] Message length if known beforehand 46152 * @returns ReparentTabletResponse 46153 * @throws {Error} If the payload is not a reader or valid buffer 46154 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46155 */ 46156 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReparentTabletResponse; 46157 46158 /** 46159 * Decodes a ReparentTabletResponse message from the specified reader or buffer, length delimited. 46160 * @param reader Reader or buffer to decode from 46161 * @returns ReparentTabletResponse 46162 * @throws {Error} If the payload is not a reader or valid buffer 46163 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46164 */ 46165 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReparentTabletResponse; 46166 46167 /** 46168 * Verifies a ReparentTabletResponse message. 46169 * @param message Plain object to verify 46170 * @returns `null` if valid, otherwise the reason why it is not 46171 */ 46172 public static verify(message: { [k: string]: any }): (string|null); 46173 46174 /** 46175 * Creates a ReparentTabletResponse message from a plain object. Also converts values to their respective internal types. 46176 * @param object Plain object 46177 * @returns ReparentTabletResponse 46178 */ 46179 public static fromObject(object: { [k: string]: any }): vtctldata.ReparentTabletResponse; 46180 46181 /** 46182 * Creates a plain object from a ReparentTabletResponse message. Also converts values to other types if specified. 46183 * @param message ReparentTabletResponse 46184 * @param [options] Conversion options 46185 * @returns Plain object 46186 */ 46187 public static toObject(message: vtctldata.ReparentTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 46188 46189 /** 46190 * Converts this ReparentTabletResponse to JSON. 46191 * @returns JSON object 46192 */ 46193 public toJSON(): { [k: string]: any }; 46194 } 46195 46196 /** Properties of a RestoreFromBackupRequest. */ 46197 interface IRestoreFromBackupRequest { 46198 46199 /** RestoreFromBackupRequest tablet_alias */ 46200 tablet_alias?: (topodata.ITabletAlias|null); 46201 46202 /** RestoreFromBackupRequest backup_time */ 46203 backup_time?: (vttime.ITime|null); 46204 46205 /** RestoreFromBackupRequest restore_to_pos */ 46206 restore_to_pos?: (string|null); 46207 46208 /** RestoreFromBackupRequest dry_run */ 46209 dry_run?: (boolean|null); 46210 } 46211 46212 /** Represents a RestoreFromBackupRequest. */ 46213 class RestoreFromBackupRequest implements IRestoreFromBackupRequest { 46214 46215 /** 46216 * Constructs a new RestoreFromBackupRequest. 46217 * @param [properties] Properties to set 46218 */ 46219 constructor(properties?: vtctldata.IRestoreFromBackupRequest); 46220 46221 /** RestoreFromBackupRequest tablet_alias. */ 46222 public tablet_alias?: (topodata.ITabletAlias|null); 46223 46224 /** RestoreFromBackupRequest backup_time. */ 46225 public backup_time?: (vttime.ITime|null); 46226 46227 /** RestoreFromBackupRequest restore_to_pos. */ 46228 public restore_to_pos: string; 46229 46230 /** RestoreFromBackupRequest dry_run. */ 46231 public dry_run: boolean; 46232 46233 /** 46234 * Creates a new RestoreFromBackupRequest instance using the specified properties. 46235 * @param [properties] Properties to set 46236 * @returns RestoreFromBackupRequest instance 46237 */ 46238 public static create(properties?: vtctldata.IRestoreFromBackupRequest): vtctldata.RestoreFromBackupRequest; 46239 46240 /** 46241 * Encodes the specified RestoreFromBackupRequest message. Does not implicitly {@link vtctldata.RestoreFromBackupRequest.verify|verify} messages. 46242 * @param message RestoreFromBackupRequest message or plain object to encode 46243 * @param [writer] Writer to encode to 46244 * @returns Writer 46245 */ 46246 public static encode(message: vtctldata.IRestoreFromBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; 46247 46248 /** 46249 * Encodes the specified RestoreFromBackupRequest message, length delimited. Does not implicitly {@link vtctldata.RestoreFromBackupRequest.verify|verify} messages. 46250 * @param message RestoreFromBackupRequest message or plain object to encode 46251 * @param [writer] Writer to encode to 46252 * @returns Writer 46253 */ 46254 public static encodeDelimited(message: vtctldata.IRestoreFromBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; 46255 46256 /** 46257 * Decodes a RestoreFromBackupRequest message from the specified reader or buffer. 46258 * @param reader Reader or buffer to decode from 46259 * @param [length] Message length if known beforehand 46260 * @returns RestoreFromBackupRequest 46261 * @throws {Error} If the payload is not a reader or valid buffer 46262 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46263 */ 46264 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RestoreFromBackupRequest; 46265 46266 /** 46267 * Decodes a RestoreFromBackupRequest message from the specified reader or buffer, length delimited. 46268 * @param reader Reader or buffer to decode from 46269 * @returns RestoreFromBackupRequest 46270 * @throws {Error} If the payload is not a reader or valid buffer 46271 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46272 */ 46273 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RestoreFromBackupRequest; 46274 46275 /** 46276 * Verifies a RestoreFromBackupRequest message. 46277 * @param message Plain object to verify 46278 * @returns `null` if valid, otherwise the reason why it is not 46279 */ 46280 public static verify(message: { [k: string]: any }): (string|null); 46281 46282 /** 46283 * Creates a RestoreFromBackupRequest message from a plain object. Also converts values to their respective internal types. 46284 * @param object Plain object 46285 * @returns RestoreFromBackupRequest 46286 */ 46287 public static fromObject(object: { [k: string]: any }): vtctldata.RestoreFromBackupRequest; 46288 46289 /** 46290 * Creates a plain object from a RestoreFromBackupRequest message. Also converts values to other types if specified. 46291 * @param message RestoreFromBackupRequest 46292 * @param [options] Conversion options 46293 * @returns Plain object 46294 */ 46295 public static toObject(message: vtctldata.RestoreFromBackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 46296 46297 /** 46298 * Converts this RestoreFromBackupRequest to JSON. 46299 * @returns JSON object 46300 */ 46301 public toJSON(): { [k: string]: any }; 46302 } 46303 46304 /** Properties of a RestoreFromBackupResponse. */ 46305 interface IRestoreFromBackupResponse { 46306 46307 /** RestoreFromBackupResponse tablet_alias */ 46308 tablet_alias?: (topodata.ITabletAlias|null); 46309 46310 /** RestoreFromBackupResponse keyspace */ 46311 keyspace?: (string|null); 46312 46313 /** RestoreFromBackupResponse shard */ 46314 shard?: (string|null); 46315 46316 /** RestoreFromBackupResponse event */ 46317 event?: (logutil.IEvent|null); 46318 } 46319 46320 /** Represents a RestoreFromBackupResponse. */ 46321 class RestoreFromBackupResponse implements IRestoreFromBackupResponse { 46322 46323 /** 46324 * Constructs a new RestoreFromBackupResponse. 46325 * @param [properties] Properties to set 46326 */ 46327 constructor(properties?: vtctldata.IRestoreFromBackupResponse); 46328 46329 /** RestoreFromBackupResponse tablet_alias. */ 46330 public tablet_alias?: (topodata.ITabletAlias|null); 46331 46332 /** RestoreFromBackupResponse keyspace. */ 46333 public keyspace: string; 46334 46335 /** RestoreFromBackupResponse shard. */ 46336 public shard: string; 46337 46338 /** RestoreFromBackupResponse event. */ 46339 public event?: (logutil.IEvent|null); 46340 46341 /** 46342 * Creates a new RestoreFromBackupResponse instance using the specified properties. 46343 * @param [properties] Properties to set 46344 * @returns RestoreFromBackupResponse instance 46345 */ 46346 public static create(properties?: vtctldata.IRestoreFromBackupResponse): vtctldata.RestoreFromBackupResponse; 46347 46348 /** 46349 * Encodes the specified RestoreFromBackupResponse message. Does not implicitly {@link vtctldata.RestoreFromBackupResponse.verify|verify} messages. 46350 * @param message RestoreFromBackupResponse message or plain object to encode 46351 * @param [writer] Writer to encode to 46352 * @returns Writer 46353 */ 46354 public static encode(message: vtctldata.IRestoreFromBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; 46355 46356 /** 46357 * Encodes the specified RestoreFromBackupResponse message, length delimited. Does not implicitly {@link vtctldata.RestoreFromBackupResponse.verify|verify} messages. 46358 * @param message RestoreFromBackupResponse message or plain object to encode 46359 * @param [writer] Writer to encode to 46360 * @returns Writer 46361 */ 46362 public static encodeDelimited(message: vtctldata.IRestoreFromBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; 46363 46364 /** 46365 * Decodes a RestoreFromBackupResponse message from the specified reader or buffer. 46366 * @param reader Reader or buffer to decode from 46367 * @param [length] Message length if known beforehand 46368 * @returns RestoreFromBackupResponse 46369 * @throws {Error} If the payload is not a reader or valid buffer 46370 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46371 */ 46372 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RestoreFromBackupResponse; 46373 46374 /** 46375 * Decodes a RestoreFromBackupResponse message from the specified reader or buffer, length delimited. 46376 * @param reader Reader or buffer to decode from 46377 * @returns RestoreFromBackupResponse 46378 * @throws {Error} If the payload is not a reader or valid buffer 46379 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46380 */ 46381 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RestoreFromBackupResponse; 46382 46383 /** 46384 * Verifies a RestoreFromBackupResponse message. 46385 * @param message Plain object to verify 46386 * @returns `null` if valid, otherwise the reason why it is not 46387 */ 46388 public static verify(message: { [k: string]: any }): (string|null); 46389 46390 /** 46391 * Creates a RestoreFromBackupResponse message from a plain object. Also converts values to their respective internal types. 46392 * @param object Plain object 46393 * @returns RestoreFromBackupResponse 46394 */ 46395 public static fromObject(object: { [k: string]: any }): vtctldata.RestoreFromBackupResponse; 46396 46397 /** 46398 * Creates a plain object from a RestoreFromBackupResponse message. Also converts values to other types if specified. 46399 * @param message RestoreFromBackupResponse 46400 * @param [options] Conversion options 46401 * @returns Plain object 46402 */ 46403 public static toObject(message: vtctldata.RestoreFromBackupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 46404 46405 /** 46406 * Converts this RestoreFromBackupResponse to JSON. 46407 * @returns JSON object 46408 */ 46409 public toJSON(): { [k: string]: any }; 46410 } 46411 46412 /** Properties of a RunHealthCheckRequest. */ 46413 interface IRunHealthCheckRequest { 46414 46415 /** RunHealthCheckRequest tablet_alias */ 46416 tablet_alias?: (topodata.ITabletAlias|null); 46417 } 46418 46419 /** Represents a RunHealthCheckRequest. */ 46420 class RunHealthCheckRequest implements IRunHealthCheckRequest { 46421 46422 /** 46423 * Constructs a new RunHealthCheckRequest. 46424 * @param [properties] Properties to set 46425 */ 46426 constructor(properties?: vtctldata.IRunHealthCheckRequest); 46427 46428 /** RunHealthCheckRequest tablet_alias. */ 46429 public tablet_alias?: (topodata.ITabletAlias|null); 46430 46431 /** 46432 * Creates a new RunHealthCheckRequest instance using the specified properties. 46433 * @param [properties] Properties to set 46434 * @returns RunHealthCheckRequest instance 46435 */ 46436 public static create(properties?: vtctldata.IRunHealthCheckRequest): vtctldata.RunHealthCheckRequest; 46437 46438 /** 46439 * Encodes the specified RunHealthCheckRequest message. Does not implicitly {@link vtctldata.RunHealthCheckRequest.verify|verify} messages. 46440 * @param message RunHealthCheckRequest message or plain object to encode 46441 * @param [writer] Writer to encode to 46442 * @returns Writer 46443 */ 46444 public static encode(message: vtctldata.IRunHealthCheckRequest, writer?: $protobuf.Writer): $protobuf.Writer; 46445 46446 /** 46447 * Encodes the specified RunHealthCheckRequest message, length delimited. Does not implicitly {@link vtctldata.RunHealthCheckRequest.verify|verify} messages. 46448 * @param message RunHealthCheckRequest message or plain object to encode 46449 * @param [writer] Writer to encode to 46450 * @returns Writer 46451 */ 46452 public static encodeDelimited(message: vtctldata.IRunHealthCheckRequest, writer?: $protobuf.Writer): $protobuf.Writer; 46453 46454 /** 46455 * Decodes a RunHealthCheckRequest message from the specified reader or buffer. 46456 * @param reader Reader or buffer to decode from 46457 * @param [length] Message length if known beforehand 46458 * @returns RunHealthCheckRequest 46459 * @throws {Error} If the payload is not a reader or valid buffer 46460 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46461 */ 46462 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RunHealthCheckRequest; 46463 46464 /** 46465 * Decodes a RunHealthCheckRequest message from the specified reader or buffer, length delimited. 46466 * @param reader Reader or buffer to decode from 46467 * @returns RunHealthCheckRequest 46468 * @throws {Error} If the payload is not a reader or valid buffer 46469 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46470 */ 46471 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RunHealthCheckRequest; 46472 46473 /** 46474 * Verifies a RunHealthCheckRequest message. 46475 * @param message Plain object to verify 46476 * @returns `null` if valid, otherwise the reason why it is not 46477 */ 46478 public static verify(message: { [k: string]: any }): (string|null); 46479 46480 /** 46481 * Creates a RunHealthCheckRequest message from a plain object. Also converts values to their respective internal types. 46482 * @param object Plain object 46483 * @returns RunHealthCheckRequest 46484 */ 46485 public static fromObject(object: { [k: string]: any }): vtctldata.RunHealthCheckRequest; 46486 46487 /** 46488 * Creates a plain object from a RunHealthCheckRequest message. Also converts values to other types if specified. 46489 * @param message RunHealthCheckRequest 46490 * @param [options] Conversion options 46491 * @returns Plain object 46492 */ 46493 public static toObject(message: vtctldata.RunHealthCheckRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 46494 46495 /** 46496 * Converts this RunHealthCheckRequest to JSON. 46497 * @returns JSON object 46498 */ 46499 public toJSON(): { [k: string]: any }; 46500 } 46501 46502 /** Properties of a RunHealthCheckResponse. */ 46503 interface IRunHealthCheckResponse { 46504 } 46505 46506 /** Represents a RunHealthCheckResponse. */ 46507 class RunHealthCheckResponse implements IRunHealthCheckResponse { 46508 46509 /** 46510 * Constructs a new RunHealthCheckResponse. 46511 * @param [properties] Properties to set 46512 */ 46513 constructor(properties?: vtctldata.IRunHealthCheckResponse); 46514 46515 /** 46516 * Creates a new RunHealthCheckResponse instance using the specified properties. 46517 * @param [properties] Properties to set 46518 * @returns RunHealthCheckResponse instance 46519 */ 46520 public static create(properties?: vtctldata.IRunHealthCheckResponse): vtctldata.RunHealthCheckResponse; 46521 46522 /** 46523 * Encodes the specified RunHealthCheckResponse message. Does not implicitly {@link vtctldata.RunHealthCheckResponse.verify|verify} messages. 46524 * @param message RunHealthCheckResponse message or plain object to encode 46525 * @param [writer] Writer to encode to 46526 * @returns Writer 46527 */ 46528 public static encode(message: vtctldata.IRunHealthCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer; 46529 46530 /** 46531 * Encodes the specified RunHealthCheckResponse message, length delimited. Does not implicitly {@link vtctldata.RunHealthCheckResponse.verify|verify} messages. 46532 * @param message RunHealthCheckResponse message or plain object to encode 46533 * @param [writer] Writer to encode to 46534 * @returns Writer 46535 */ 46536 public static encodeDelimited(message: vtctldata.IRunHealthCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer; 46537 46538 /** 46539 * Decodes a RunHealthCheckResponse message from the specified reader or buffer. 46540 * @param reader Reader or buffer to decode from 46541 * @param [length] Message length if known beforehand 46542 * @returns RunHealthCheckResponse 46543 * @throws {Error} If the payload is not a reader or valid buffer 46544 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46545 */ 46546 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RunHealthCheckResponse; 46547 46548 /** 46549 * Decodes a RunHealthCheckResponse message from the specified reader or buffer, length delimited. 46550 * @param reader Reader or buffer to decode from 46551 * @returns RunHealthCheckResponse 46552 * @throws {Error} If the payload is not a reader or valid buffer 46553 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46554 */ 46555 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RunHealthCheckResponse; 46556 46557 /** 46558 * Verifies a RunHealthCheckResponse message. 46559 * @param message Plain object to verify 46560 * @returns `null` if valid, otherwise the reason why it is not 46561 */ 46562 public static verify(message: { [k: string]: any }): (string|null); 46563 46564 /** 46565 * Creates a RunHealthCheckResponse message from a plain object. Also converts values to their respective internal types. 46566 * @param object Plain object 46567 * @returns RunHealthCheckResponse 46568 */ 46569 public static fromObject(object: { [k: string]: any }): vtctldata.RunHealthCheckResponse; 46570 46571 /** 46572 * Creates a plain object from a RunHealthCheckResponse message. Also converts values to other types if specified. 46573 * @param message RunHealthCheckResponse 46574 * @param [options] Conversion options 46575 * @returns Plain object 46576 */ 46577 public static toObject(message: vtctldata.RunHealthCheckResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 46578 46579 /** 46580 * Converts this RunHealthCheckResponse to JSON. 46581 * @returns JSON object 46582 */ 46583 public toJSON(): { [k: string]: any }; 46584 } 46585 46586 /** Properties of a SetKeyspaceDurabilityPolicyRequest. */ 46587 interface ISetKeyspaceDurabilityPolicyRequest { 46588 46589 /** SetKeyspaceDurabilityPolicyRequest keyspace */ 46590 keyspace?: (string|null); 46591 46592 /** SetKeyspaceDurabilityPolicyRequest durability_policy */ 46593 durability_policy?: (string|null); 46594 } 46595 46596 /** Represents a SetKeyspaceDurabilityPolicyRequest. */ 46597 class SetKeyspaceDurabilityPolicyRequest implements ISetKeyspaceDurabilityPolicyRequest { 46598 46599 /** 46600 * Constructs a new SetKeyspaceDurabilityPolicyRequest. 46601 * @param [properties] Properties to set 46602 */ 46603 constructor(properties?: vtctldata.ISetKeyspaceDurabilityPolicyRequest); 46604 46605 /** SetKeyspaceDurabilityPolicyRequest keyspace. */ 46606 public keyspace: string; 46607 46608 /** SetKeyspaceDurabilityPolicyRequest durability_policy. */ 46609 public durability_policy: string; 46610 46611 /** 46612 * Creates a new SetKeyspaceDurabilityPolicyRequest instance using the specified properties. 46613 * @param [properties] Properties to set 46614 * @returns SetKeyspaceDurabilityPolicyRequest instance 46615 */ 46616 public static create(properties?: vtctldata.ISetKeyspaceDurabilityPolicyRequest): vtctldata.SetKeyspaceDurabilityPolicyRequest; 46617 46618 /** 46619 * Encodes the specified SetKeyspaceDurabilityPolicyRequest message. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyRequest.verify|verify} messages. 46620 * @param message SetKeyspaceDurabilityPolicyRequest message or plain object to encode 46621 * @param [writer] Writer to encode to 46622 * @returns Writer 46623 */ 46624 public static encode(message: vtctldata.ISetKeyspaceDurabilityPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; 46625 46626 /** 46627 * Encodes the specified SetKeyspaceDurabilityPolicyRequest message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyRequest.verify|verify} messages. 46628 * @param message SetKeyspaceDurabilityPolicyRequest message or plain object to encode 46629 * @param [writer] Writer to encode to 46630 * @returns Writer 46631 */ 46632 public static encodeDelimited(message: vtctldata.ISetKeyspaceDurabilityPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; 46633 46634 /** 46635 * Decodes a SetKeyspaceDurabilityPolicyRequest message from the specified reader or buffer. 46636 * @param reader Reader or buffer to decode from 46637 * @param [length] Message length if known beforehand 46638 * @returns SetKeyspaceDurabilityPolicyRequest 46639 * @throws {Error} If the payload is not a reader or valid buffer 46640 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46641 */ 46642 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceDurabilityPolicyRequest; 46643 46644 /** 46645 * Decodes a SetKeyspaceDurabilityPolicyRequest message from the specified reader or buffer, length delimited. 46646 * @param reader Reader or buffer to decode from 46647 * @returns SetKeyspaceDurabilityPolicyRequest 46648 * @throws {Error} If the payload is not a reader or valid buffer 46649 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46650 */ 46651 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceDurabilityPolicyRequest; 46652 46653 /** 46654 * Verifies a SetKeyspaceDurabilityPolicyRequest message. 46655 * @param message Plain object to verify 46656 * @returns `null` if valid, otherwise the reason why it is not 46657 */ 46658 public static verify(message: { [k: string]: any }): (string|null); 46659 46660 /** 46661 * Creates a SetKeyspaceDurabilityPolicyRequest message from a plain object. Also converts values to their respective internal types. 46662 * @param object Plain object 46663 * @returns SetKeyspaceDurabilityPolicyRequest 46664 */ 46665 public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceDurabilityPolicyRequest; 46666 46667 /** 46668 * Creates a plain object from a SetKeyspaceDurabilityPolicyRequest message. Also converts values to other types if specified. 46669 * @param message SetKeyspaceDurabilityPolicyRequest 46670 * @param [options] Conversion options 46671 * @returns Plain object 46672 */ 46673 public static toObject(message: vtctldata.SetKeyspaceDurabilityPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 46674 46675 /** 46676 * Converts this SetKeyspaceDurabilityPolicyRequest to JSON. 46677 * @returns JSON object 46678 */ 46679 public toJSON(): { [k: string]: any }; 46680 } 46681 46682 /** Properties of a SetKeyspaceDurabilityPolicyResponse. */ 46683 interface ISetKeyspaceDurabilityPolicyResponse { 46684 46685 /** SetKeyspaceDurabilityPolicyResponse keyspace */ 46686 keyspace?: (topodata.IKeyspace|null); 46687 } 46688 46689 /** Represents a SetKeyspaceDurabilityPolicyResponse. */ 46690 class SetKeyspaceDurabilityPolicyResponse implements ISetKeyspaceDurabilityPolicyResponse { 46691 46692 /** 46693 * Constructs a new SetKeyspaceDurabilityPolicyResponse. 46694 * @param [properties] Properties to set 46695 */ 46696 constructor(properties?: vtctldata.ISetKeyspaceDurabilityPolicyResponse); 46697 46698 /** SetKeyspaceDurabilityPolicyResponse keyspace. */ 46699 public keyspace?: (topodata.IKeyspace|null); 46700 46701 /** 46702 * Creates a new SetKeyspaceDurabilityPolicyResponse instance using the specified properties. 46703 * @param [properties] Properties to set 46704 * @returns SetKeyspaceDurabilityPolicyResponse instance 46705 */ 46706 public static create(properties?: vtctldata.ISetKeyspaceDurabilityPolicyResponse): vtctldata.SetKeyspaceDurabilityPolicyResponse; 46707 46708 /** 46709 * Encodes the specified SetKeyspaceDurabilityPolicyResponse message. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyResponse.verify|verify} messages. 46710 * @param message SetKeyspaceDurabilityPolicyResponse message or plain object to encode 46711 * @param [writer] Writer to encode to 46712 * @returns Writer 46713 */ 46714 public static encode(message: vtctldata.ISetKeyspaceDurabilityPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; 46715 46716 /** 46717 * Encodes the specified SetKeyspaceDurabilityPolicyResponse message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyResponse.verify|verify} messages. 46718 * @param message SetKeyspaceDurabilityPolicyResponse message or plain object to encode 46719 * @param [writer] Writer to encode to 46720 * @returns Writer 46721 */ 46722 public static encodeDelimited(message: vtctldata.ISetKeyspaceDurabilityPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; 46723 46724 /** 46725 * Decodes a SetKeyspaceDurabilityPolicyResponse message from the specified reader or buffer. 46726 * @param reader Reader or buffer to decode from 46727 * @param [length] Message length if known beforehand 46728 * @returns SetKeyspaceDurabilityPolicyResponse 46729 * @throws {Error} If the payload is not a reader or valid buffer 46730 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46731 */ 46732 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceDurabilityPolicyResponse; 46733 46734 /** 46735 * Decodes a SetKeyspaceDurabilityPolicyResponse message from the specified reader or buffer, length delimited. 46736 * @param reader Reader or buffer to decode from 46737 * @returns SetKeyspaceDurabilityPolicyResponse 46738 * @throws {Error} If the payload is not a reader or valid buffer 46739 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46740 */ 46741 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceDurabilityPolicyResponse; 46742 46743 /** 46744 * Verifies a SetKeyspaceDurabilityPolicyResponse message. 46745 * @param message Plain object to verify 46746 * @returns `null` if valid, otherwise the reason why it is not 46747 */ 46748 public static verify(message: { [k: string]: any }): (string|null); 46749 46750 /** 46751 * Creates a SetKeyspaceDurabilityPolicyResponse message from a plain object. Also converts values to their respective internal types. 46752 * @param object Plain object 46753 * @returns SetKeyspaceDurabilityPolicyResponse 46754 */ 46755 public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceDurabilityPolicyResponse; 46756 46757 /** 46758 * Creates a plain object from a SetKeyspaceDurabilityPolicyResponse message. Also converts values to other types if specified. 46759 * @param message SetKeyspaceDurabilityPolicyResponse 46760 * @param [options] Conversion options 46761 * @returns Plain object 46762 */ 46763 public static toObject(message: vtctldata.SetKeyspaceDurabilityPolicyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 46764 46765 /** 46766 * Converts this SetKeyspaceDurabilityPolicyResponse to JSON. 46767 * @returns JSON object 46768 */ 46769 public toJSON(): { [k: string]: any }; 46770 } 46771 46772 /** Properties of a SetKeyspaceServedFromRequest. */ 46773 interface ISetKeyspaceServedFromRequest { 46774 46775 /** SetKeyspaceServedFromRequest keyspace */ 46776 keyspace?: (string|null); 46777 46778 /** SetKeyspaceServedFromRequest tablet_type */ 46779 tablet_type?: (topodata.TabletType|null); 46780 46781 /** SetKeyspaceServedFromRequest cells */ 46782 cells?: (string[]|null); 46783 46784 /** SetKeyspaceServedFromRequest remove */ 46785 remove?: (boolean|null); 46786 46787 /** SetKeyspaceServedFromRequest source_keyspace */ 46788 source_keyspace?: (string|null); 46789 } 46790 46791 /** Represents a SetKeyspaceServedFromRequest. */ 46792 class SetKeyspaceServedFromRequest implements ISetKeyspaceServedFromRequest { 46793 46794 /** 46795 * Constructs a new SetKeyspaceServedFromRequest. 46796 * @param [properties] Properties to set 46797 */ 46798 constructor(properties?: vtctldata.ISetKeyspaceServedFromRequest); 46799 46800 /** SetKeyspaceServedFromRequest keyspace. */ 46801 public keyspace: string; 46802 46803 /** SetKeyspaceServedFromRequest tablet_type. */ 46804 public tablet_type: topodata.TabletType; 46805 46806 /** SetKeyspaceServedFromRequest cells. */ 46807 public cells: string[]; 46808 46809 /** SetKeyspaceServedFromRequest remove. */ 46810 public remove: boolean; 46811 46812 /** SetKeyspaceServedFromRequest source_keyspace. */ 46813 public source_keyspace: string; 46814 46815 /** 46816 * Creates a new SetKeyspaceServedFromRequest instance using the specified properties. 46817 * @param [properties] Properties to set 46818 * @returns SetKeyspaceServedFromRequest instance 46819 */ 46820 public static create(properties?: vtctldata.ISetKeyspaceServedFromRequest): vtctldata.SetKeyspaceServedFromRequest; 46821 46822 /** 46823 * Encodes the specified SetKeyspaceServedFromRequest message. Does not implicitly {@link vtctldata.SetKeyspaceServedFromRequest.verify|verify} messages. 46824 * @param message SetKeyspaceServedFromRequest message or plain object to encode 46825 * @param [writer] Writer to encode to 46826 * @returns Writer 46827 */ 46828 public static encode(message: vtctldata.ISetKeyspaceServedFromRequest, writer?: $protobuf.Writer): $protobuf.Writer; 46829 46830 /** 46831 * Encodes the specified SetKeyspaceServedFromRequest message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceServedFromRequest.verify|verify} messages. 46832 * @param message SetKeyspaceServedFromRequest message or plain object to encode 46833 * @param [writer] Writer to encode to 46834 * @returns Writer 46835 */ 46836 public static encodeDelimited(message: vtctldata.ISetKeyspaceServedFromRequest, writer?: $protobuf.Writer): $protobuf.Writer; 46837 46838 /** 46839 * Decodes a SetKeyspaceServedFromRequest message from the specified reader or buffer. 46840 * @param reader Reader or buffer to decode from 46841 * @param [length] Message length if known beforehand 46842 * @returns SetKeyspaceServedFromRequest 46843 * @throws {Error} If the payload is not a reader or valid buffer 46844 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46845 */ 46846 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceServedFromRequest; 46847 46848 /** 46849 * Decodes a SetKeyspaceServedFromRequest message from the specified reader or buffer, length delimited. 46850 * @param reader Reader or buffer to decode from 46851 * @returns SetKeyspaceServedFromRequest 46852 * @throws {Error} If the payload is not a reader or valid buffer 46853 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46854 */ 46855 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceServedFromRequest; 46856 46857 /** 46858 * Verifies a SetKeyspaceServedFromRequest message. 46859 * @param message Plain object to verify 46860 * @returns `null` if valid, otherwise the reason why it is not 46861 */ 46862 public static verify(message: { [k: string]: any }): (string|null); 46863 46864 /** 46865 * Creates a SetKeyspaceServedFromRequest message from a plain object. Also converts values to their respective internal types. 46866 * @param object Plain object 46867 * @returns SetKeyspaceServedFromRequest 46868 */ 46869 public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceServedFromRequest; 46870 46871 /** 46872 * Creates a plain object from a SetKeyspaceServedFromRequest message. Also converts values to other types if specified. 46873 * @param message SetKeyspaceServedFromRequest 46874 * @param [options] Conversion options 46875 * @returns Plain object 46876 */ 46877 public static toObject(message: vtctldata.SetKeyspaceServedFromRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 46878 46879 /** 46880 * Converts this SetKeyspaceServedFromRequest to JSON. 46881 * @returns JSON object 46882 */ 46883 public toJSON(): { [k: string]: any }; 46884 } 46885 46886 /** Properties of a SetKeyspaceServedFromResponse. */ 46887 interface ISetKeyspaceServedFromResponse { 46888 46889 /** SetKeyspaceServedFromResponse keyspace */ 46890 keyspace?: (topodata.IKeyspace|null); 46891 } 46892 46893 /** Represents a SetKeyspaceServedFromResponse. */ 46894 class SetKeyspaceServedFromResponse implements ISetKeyspaceServedFromResponse { 46895 46896 /** 46897 * Constructs a new SetKeyspaceServedFromResponse. 46898 * @param [properties] Properties to set 46899 */ 46900 constructor(properties?: vtctldata.ISetKeyspaceServedFromResponse); 46901 46902 /** SetKeyspaceServedFromResponse keyspace. */ 46903 public keyspace?: (topodata.IKeyspace|null); 46904 46905 /** 46906 * Creates a new SetKeyspaceServedFromResponse instance using the specified properties. 46907 * @param [properties] Properties to set 46908 * @returns SetKeyspaceServedFromResponse instance 46909 */ 46910 public static create(properties?: vtctldata.ISetKeyspaceServedFromResponse): vtctldata.SetKeyspaceServedFromResponse; 46911 46912 /** 46913 * Encodes the specified SetKeyspaceServedFromResponse message. Does not implicitly {@link vtctldata.SetKeyspaceServedFromResponse.verify|verify} messages. 46914 * @param message SetKeyspaceServedFromResponse message or plain object to encode 46915 * @param [writer] Writer to encode to 46916 * @returns Writer 46917 */ 46918 public static encode(message: vtctldata.ISetKeyspaceServedFromResponse, writer?: $protobuf.Writer): $protobuf.Writer; 46919 46920 /** 46921 * Encodes the specified SetKeyspaceServedFromResponse message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceServedFromResponse.verify|verify} messages. 46922 * @param message SetKeyspaceServedFromResponse message or plain object to encode 46923 * @param [writer] Writer to encode to 46924 * @returns Writer 46925 */ 46926 public static encodeDelimited(message: vtctldata.ISetKeyspaceServedFromResponse, writer?: $protobuf.Writer): $protobuf.Writer; 46927 46928 /** 46929 * Decodes a SetKeyspaceServedFromResponse message from the specified reader or buffer. 46930 * @param reader Reader or buffer to decode from 46931 * @param [length] Message length if known beforehand 46932 * @returns SetKeyspaceServedFromResponse 46933 * @throws {Error} If the payload is not a reader or valid buffer 46934 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46935 */ 46936 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceServedFromResponse; 46937 46938 /** 46939 * Decodes a SetKeyspaceServedFromResponse message from the specified reader or buffer, length delimited. 46940 * @param reader Reader or buffer to decode from 46941 * @returns SetKeyspaceServedFromResponse 46942 * @throws {Error} If the payload is not a reader or valid buffer 46943 * @throws {$protobuf.util.ProtocolError} If required fields are missing 46944 */ 46945 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceServedFromResponse; 46946 46947 /** 46948 * Verifies a SetKeyspaceServedFromResponse message. 46949 * @param message Plain object to verify 46950 * @returns `null` if valid, otherwise the reason why it is not 46951 */ 46952 public static verify(message: { [k: string]: any }): (string|null); 46953 46954 /** 46955 * Creates a SetKeyspaceServedFromResponse message from a plain object. Also converts values to their respective internal types. 46956 * @param object Plain object 46957 * @returns SetKeyspaceServedFromResponse 46958 */ 46959 public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceServedFromResponse; 46960 46961 /** 46962 * Creates a plain object from a SetKeyspaceServedFromResponse message. Also converts values to other types if specified. 46963 * @param message SetKeyspaceServedFromResponse 46964 * @param [options] Conversion options 46965 * @returns Plain object 46966 */ 46967 public static toObject(message: vtctldata.SetKeyspaceServedFromResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 46968 46969 /** 46970 * Converts this SetKeyspaceServedFromResponse to JSON. 46971 * @returns JSON object 46972 */ 46973 public toJSON(): { [k: string]: any }; 46974 } 46975 46976 /** Properties of a SetKeyspaceShardingInfoRequest. */ 46977 interface ISetKeyspaceShardingInfoRequest { 46978 46979 /** SetKeyspaceShardingInfoRequest keyspace */ 46980 keyspace?: (string|null); 46981 46982 /** SetKeyspaceShardingInfoRequest force */ 46983 force?: (boolean|null); 46984 } 46985 46986 /** Represents a SetKeyspaceShardingInfoRequest. */ 46987 class SetKeyspaceShardingInfoRequest implements ISetKeyspaceShardingInfoRequest { 46988 46989 /** 46990 * Constructs a new SetKeyspaceShardingInfoRequest. 46991 * @param [properties] Properties to set 46992 */ 46993 constructor(properties?: vtctldata.ISetKeyspaceShardingInfoRequest); 46994 46995 /** SetKeyspaceShardingInfoRequest keyspace. */ 46996 public keyspace: string; 46997 46998 /** SetKeyspaceShardingInfoRequest force. */ 46999 public force: boolean; 47000 47001 /** 47002 * Creates a new SetKeyspaceShardingInfoRequest instance using the specified properties. 47003 * @param [properties] Properties to set 47004 * @returns SetKeyspaceShardingInfoRequest instance 47005 */ 47006 public static create(properties?: vtctldata.ISetKeyspaceShardingInfoRequest): vtctldata.SetKeyspaceShardingInfoRequest; 47007 47008 /** 47009 * Encodes the specified SetKeyspaceShardingInfoRequest message. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoRequest.verify|verify} messages. 47010 * @param message SetKeyspaceShardingInfoRequest message or plain object to encode 47011 * @param [writer] Writer to encode to 47012 * @returns Writer 47013 */ 47014 public static encode(message: vtctldata.ISetKeyspaceShardingInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47015 47016 /** 47017 * Encodes the specified SetKeyspaceShardingInfoRequest message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoRequest.verify|verify} messages. 47018 * @param message SetKeyspaceShardingInfoRequest message or plain object to encode 47019 * @param [writer] Writer to encode to 47020 * @returns Writer 47021 */ 47022 public static encodeDelimited(message: vtctldata.ISetKeyspaceShardingInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47023 47024 /** 47025 * Decodes a SetKeyspaceShardingInfoRequest message from the specified reader or buffer. 47026 * @param reader Reader or buffer to decode from 47027 * @param [length] Message length if known beforehand 47028 * @returns SetKeyspaceShardingInfoRequest 47029 * @throws {Error} If the payload is not a reader or valid buffer 47030 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47031 */ 47032 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceShardingInfoRequest; 47033 47034 /** 47035 * Decodes a SetKeyspaceShardingInfoRequest message from the specified reader or buffer, length delimited. 47036 * @param reader Reader or buffer to decode from 47037 * @returns SetKeyspaceShardingInfoRequest 47038 * @throws {Error} If the payload is not a reader or valid buffer 47039 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47040 */ 47041 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceShardingInfoRequest; 47042 47043 /** 47044 * Verifies a SetKeyspaceShardingInfoRequest message. 47045 * @param message Plain object to verify 47046 * @returns `null` if valid, otherwise the reason why it is not 47047 */ 47048 public static verify(message: { [k: string]: any }): (string|null); 47049 47050 /** 47051 * Creates a SetKeyspaceShardingInfoRequest message from a plain object. Also converts values to their respective internal types. 47052 * @param object Plain object 47053 * @returns SetKeyspaceShardingInfoRequest 47054 */ 47055 public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceShardingInfoRequest; 47056 47057 /** 47058 * Creates a plain object from a SetKeyspaceShardingInfoRequest message. Also converts values to other types if specified. 47059 * @param message SetKeyspaceShardingInfoRequest 47060 * @param [options] Conversion options 47061 * @returns Plain object 47062 */ 47063 public static toObject(message: vtctldata.SetKeyspaceShardingInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 47064 47065 /** 47066 * Converts this SetKeyspaceShardingInfoRequest to JSON. 47067 * @returns JSON object 47068 */ 47069 public toJSON(): { [k: string]: any }; 47070 } 47071 47072 /** Properties of a SetKeyspaceShardingInfoResponse. */ 47073 interface ISetKeyspaceShardingInfoResponse { 47074 47075 /** SetKeyspaceShardingInfoResponse keyspace */ 47076 keyspace?: (topodata.IKeyspace|null); 47077 } 47078 47079 /** Represents a SetKeyspaceShardingInfoResponse. */ 47080 class SetKeyspaceShardingInfoResponse implements ISetKeyspaceShardingInfoResponse { 47081 47082 /** 47083 * Constructs a new SetKeyspaceShardingInfoResponse. 47084 * @param [properties] Properties to set 47085 */ 47086 constructor(properties?: vtctldata.ISetKeyspaceShardingInfoResponse); 47087 47088 /** SetKeyspaceShardingInfoResponse keyspace. */ 47089 public keyspace?: (topodata.IKeyspace|null); 47090 47091 /** 47092 * Creates a new SetKeyspaceShardingInfoResponse instance using the specified properties. 47093 * @param [properties] Properties to set 47094 * @returns SetKeyspaceShardingInfoResponse instance 47095 */ 47096 public static create(properties?: vtctldata.ISetKeyspaceShardingInfoResponse): vtctldata.SetKeyspaceShardingInfoResponse; 47097 47098 /** 47099 * Encodes the specified SetKeyspaceShardingInfoResponse message. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoResponse.verify|verify} messages. 47100 * @param message SetKeyspaceShardingInfoResponse message or plain object to encode 47101 * @param [writer] Writer to encode to 47102 * @returns Writer 47103 */ 47104 public static encode(message: vtctldata.ISetKeyspaceShardingInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; 47105 47106 /** 47107 * Encodes the specified SetKeyspaceShardingInfoResponse message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoResponse.verify|verify} messages. 47108 * @param message SetKeyspaceShardingInfoResponse message or plain object to encode 47109 * @param [writer] Writer to encode to 47110 * @returns Writer 47111 */ 47112 public static encodeDelimited(message: vtctldata.ISetKeyspaceShardingInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; 47113 47114 /** 47115 * Decodes a SetKeyspaceShardingInfoResponse message from the specified reader or buffer. 47116 * @param reader Reader or buffer to decode from 47117 * @param [length] Message length if known beforehand 47118 * @returns SetKeyspaceShardingInfoResponse 47119 * @throws {Error} If the payload is not a reader or valid buffer 47120 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47121 */ 47122 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceShardingInfoResponse; 47123 47124 /** 47125 * Decodes a SetKeyspaceShardingInfoResponse message from the specified reader or buffer, length delimited. 47126 * @param reader Reader or buffer to decode from 47127 * @returns SetKeyspaceShardingInfoResponse 47128 * @throws {Error} If the payload is not a reader or valid buffer 47129 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47130 */ 47131 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceShardingInfoResponse; 47132 47133 /** 47134 * Verifies a SetKeyspaceShardingInfoResponse message. 47135 * @param message Plain object to verify 47136 * @returns `null` if valid, otherwise the reason why it is not 47137 */ 47138 public static verify(message: { [k: string]: any }): (string|null); 47139 47140 /** 47141 * Creates a SetKeyspaceShardingInfoResponse message from a plain object. Also converts values to their respective internal types. 47142 * @param object Plain object 47143 * @returns SetKeyspaceShardingInfoResponse 47144 */ 47145 public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceShardingInfoResponse; 47146 47147 /** 47148 * Creates a plain object from a SetKeyspaceShardingInfoResponse message. Also converts values to other types if specified. 47149 * @param message SetKeyspaceShardingInfoResponse 47150 * @param [options] Conversion options 47151 * @returns Plain object 47152 */ 47153 public static toObject(message: vtctldata.SetKeyspaceShardingInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 47154 47155 /** 47156 * Converts this SetKeyspaceShardingInfoResponse to JSON. 47157 * @returns JSON object 47158 */ 47159 public toJSON(): { [k: string]: any }; 47160 } 47161 47162 /** Properties of a SetShardIsPrimaryServingRequest. */ 47163 interface ISetShardIsPrimaryServingRequest { 47164 47165 /** SetShardIsPrimaryServingRequest keyspace */ 47166 keyspace?: (string|null); 47167 47168 /** SetShardIsPrimaryServingRequest shard */ 47169 shard?: (string|null); 47170 47171 /** SetShardIsPrimaryServingRequest is_serving */ 47172 is_serving?: (boolean|null); 47173 } 47174 47175 /** Represents a SetShardIsPrimaryServingRequest. */ 47176 class SetShardIsPrimaryServingRequest implements ISetShardIsPrimaryServingRequest { 47177 47178 /** 47179 * Constructs a new SetShardIsPrimaryServingRequest. 47180 * @param [properties] Properties to set 47181 */ 47182 constructor(properties?: vtctldata.ISetShardIsPrimaryServingRequest); 47183 47184 /** SetShardIsPrimaryServingRequest keyspace. */ 47185 public keyspace: string; 47186 47187 /** SetShardIsPrimaryServingRequest shard. */ 47188 public shard: string; 47189 47190 /** SetShardIsPrimaryServingRequest is_serving. */ 47191 public is_serving: boolean; 47192 47193 /** 47194 * Creates a new SetShardIsPrimaryServingRequest instance using the specified properties. 47195 * @param [properties] Properties to set 47196 * @returns SetShardIsPrimaryServingRequest instance 47197 */ 47198 public static create(properties?: vtctldata.ISetShardIsPrimaryServingRequest): vtctldata.SetShardIsPrimaryServingRequest; 47199 47200 /** 47201 * Encodes the specified SetShardIsPrimaryServingRequest message. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingRequest.verify|verify} messages. 47202 * @param message SetShardIsPrimaryServingRequest message or plain object to encode 47203 * @param [writer] Writer to encode to 47204 * @returns Writer 47205 */ 47206 public static encode(message: vtctldata.ISetShardIsPrimaryServingRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47207 47208 /** 47209 * Encodes the specified SetShardIsPrimaryServingRequest message, length delimited. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingRequest.verify|verify} messages. 47210 * @param message SetShardIsPrimaryServingRequest message or plain object to encode 47211 * @param [writer] Writer to encode to 47212 * @returns Writer 47213 */ 47214 public static encodeDelimited(message: vtctldata.ISetShardIsPrimaryServingRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47215 47216 /** 47217 * Decodes a SetShardIsPrimaryServingRequest message from the specified reader or buffer. 47218 * @param reader Reader or buffer to decode from 47219 * @param [length] Message length if known beforehand 47220 * @returns SetShardIsPrimaryServingRequest 47221 * @throws {Error} If the payload is not a reader or valid buffer 47222 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47223 */ 47224 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardIsPrimaryServingRequest; 47225 47226 /** 47227 * Decodes a SetShardIsPrimaryServingRequest message from the specified reader or buffer, length delimited. 47228 * @param reader Reader or buffer to decode from 47229 * @returns SetShardIsPrimaryServingRequest 47230 * @throws {Error} If the payload is not a reader or valid buffer 47231 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47232 */ 47233 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardIsPrimaryServingRequest; 47234 47235 /** 47236 * Verifies a SetShardIsPrimaryServingRequest message. 47237 * @param message Plain object to verify 47238 * @returns `null` if valid, otherwise the reason why it is not 47239 */ 47240 public static verify(message: { [k: string]: any }): (string|null); 47241 47242 /** 47243 * Creates a SetShardIsPrimaryServingRequest message from a plain object. Also converts values to their respective internal types. 47244 * @param object Plain object 47245 * @returns SetShardIsPrimaryServingRequest 47246 */ 47247 public static fromObject(object: { [k: string]: any }): vtctldata.SetShardIsPrimaryServingRequest; 47248 47249 /** 47250 * Creates a plain object from a SetShardIsPrimaryServingRequest message. Also converts values to other types if specified. 47251 * @param message SetShardIsPrimaryServingRequest 47252 * @param [options] Conversion options 47253 * @returns Plain object 47254 */ 47255 public static toObject(message: vtctldata.SetShardIsPrimaryServingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 47256 47257 /** 47258 * Converts this SetShardIsPrimaryServingRequest to JSON. 47259 * @returns JSON object 47260 */ 47261 public toJSON(): { [k: string]: any }; 47262 } 47263 47264 /** Properties of a SetShardIsPrimaryServingResponse. */ 47265 interface ISetShardIsPrimaryServingResponse { 47266 47267 /** SetShardIsPrimaryServingResponse shard */ 47268 shard?: (topodata.IShard|null); 47269 } 47270 47271 /** Represents a SetShardIsPrimaryServingResponse. */ 47272 class SetShardIsPrimaryServingResponse implements ISetShardIsPrimaryServingResponse { 47273 47274 /** 47275 * Constructs a new SetShardIsPrimaryServingResponse. 47276 * @param [properties] Properties to set 47277 */ 47278 constructor(properties?: vtctldata.ISetShardIsPrimaryServingResponse); 47279 47280 /** SetShardIsPrimaryServingResponse shard. */ 47281 public shard?: (topodata.IShard|null); 47282 47283 /** 47284 * Creates a new SetShardIsPrimaryServingResponse instance using the specified properties. 47285 * @param [properties] Properties to set 47286 * @returns SetShardIsPrimaryServingResponse instance 47287 */ 47288 public static create(properties?: vtctldata.ISetShardIsPrimaryServingResponse): vtctldata.SetShardIsPrimaryServingResponse; 47289 47290 /** 47291 * Encodes the specified SetShardIsPrimaryServingResponse message. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingResponse.verify|verify} messages. 47292 * @param message SetShardIsPrimaryServingResponse message or plain object to encode 47293 * @param [writer] Writer to encode to 47294 * @returns Writer 47295 */ 47296 public static encode(message: vtctldata.ISetShardIsPrimaryServingResponse, writer?: $protobuf.Writer): $protobuf.Writer; 47297 47298 /** 47299 * Encodes the specified SetShardIsPrimaryServingResponse message, length delimited. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingResponse.verify|verify} messages. 47300 * @param message SetShardIsPrimaryServingResponse message or plain object to encode 47301 * @param [writer] Writer to encode to 47302 * @returns Writer 47303 */ 47304 public static encodeDelimited(message: vtctldata.ISetShardIsPrimaryServingResponse, writer?: $protobuf.Writer): $protobuf.Writer; 47305 47306 /** 47307 * Decodes a SetShardIsPrimaryServingResponse message from the specified reader or buffer. 47308 * @param reader Reader or buffer to decode from 47309 * @param [length] Message length if known beforehand 47310 * @returns SetShardIsPrimaryServingResponse 47311 * @throws {Error} If the payload is not a reader or valid buffer 47312 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47313 */ 47314 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardIsPrimaryServingResponse; 47315 47316 /** 47317 * Decodes a SetShardIsPrimaryServingResponse message from the specified reader or buffer, length delimited. 47318 * @param reader Reader or buffer to decode from 47319 * @returns SetShardIsPrimaryServingResponse 47320 * @throws {Error} If the payload is not a reader or valid buffer 47321 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47322 */ 47323 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardIsPrimaryServingResponse; 47324 47325 /** 47326 * Verifies a SetShardIsPrimaryServingResponse message. 47327 * @param message Plain object to verify 47328 * @returns `null` if valid, otherwise the reason why it is not 47329 */ 47330 public static verify(message: { [k: string]: any }): (string|null); 47331 47332 /** 47333 * Creates a SetShardIsPrimaryServingResponse message from a plain object. Also converts values to their respective internal types. 47334 * @param object Plain object 47335 * @returns SetShardIsPrimaryServingResponse 47336 */ 47337 public static fromObject(object: { [k: string]: any }): vtctldata.SetShardIsPrimaryServingResponse; 47338 47339 /** 47340 * Creates a plain object from a SetShardIsPrimaryServingResponse message. Also converts values to other types if specified. 47341 * @param message SetShardIsPrimaryServingResponse 47342 * @param [options] Conversion options 47343 * @returns Plain object 47344 */ 47345 public static toObject(message: vtctldata.SetShardIsPrimaryServingResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 47346 47347 /** 47348 * Converts this SetShardIsPrimaryServingResponse to JSON. 47349 * @returns JSON object 47350 */ 47351 public toJSON(): { [k: string]: any }; 47352 } 47353 47354 /** Properties of a SetShardTabletControlRequest. */ 47355 interface ISetShardTabletControlRequest { 47356 47357 /** SetShardTabletControlRequest keyspace */ 47358 keyspace?: (string|null); 47359 47360 /** SetShardTabletControlRequest shard */ 47361 shard?: (string|null); 47362 47363 /** SetShardTabletControlRequest tablet_type */ 47364 tablet_type?: (topodata.TabletType|null); 47365 47366 /** SetShardTabletControlRequest cells */ 47367 cells?: (string[]|null); 47368 47369 /** SetShardTabletControlRequest denied_tables */ 47370 denied_tables?: (string[]|null); 47371 47372 /** SetShardTabletControlRequest disable_query_service */ 47373 disable_query_service?: (boolean|null); 47374 47375 /** SetShardTabletControlRequest remove */ 47376 remove?: (boolean|null); 47377 } 47378 47379 /** Represents a SetShardTabletControlRequest. */ 47380 class SetShardTabletControlRequest implements ISetShardTabletControlRequest { 47381 47382 /** 47383 * Constructs a new SetShardTabletControlRequest. 47384 * @param [properties] Properties to set 47385 */ 47386 constructor(properties?: vtctldata.ISetShardTabletControlRequest); 47387 47388 /** SetShardTabletControlRequest keyspace. */ 47389 public keyspace: string; 47390 47391 /** SetShardTabletControlRequest shard. */ 47392 public shard: string; 47393 47394 /** SetShardTabletControlRequest tablet_type. */ 47395 public tablet_type: topodata.TabletType; 47396 47397 /** SetShardTabletControlRequest cells. */ 47398 public cells: string[]; 47399 47400 /** SetShardTabletControlRequest denied_tables. */ 47401 public denied_tables: string[]; 47402 47403 /** SetShardTabletControlRequest disable_query_service. */ 47404 public disable_query_service: boolean; 47405 47406 /** SetShardTabletControlRequest remove. */ 47407 public remove: boolean; 47408 47409 /** 47410 * Creates a new SetShardTabletControlRequest instance using the specified properties. 47411 * @param [properties] Properties to set 47412 * @returns SetShardTabletControlRequest instance 47413 */ 47414 public static create(properties?: vtctldata.ISetShardTabletControlRequest): vtctldata.SetShardTabletControlRequest; 47415 47416 /** 47417 * Encodes the specified SetShardTabletControlRequest message. Does not implicitly {@link vtctldata.SetShardTabletControlRequest.verify|verify} messages. 47418 * @param message SetShardTabletControlRequest message or plain object to encode 47419 * @param [writer] Writer to encode to 47420 * @returns Writer 47421 */ 47422 public static encode(message: vtctldata.ISetShardTabletControlRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47423 47424 /** 47425 * Encodes the specified SetShardTabletControlRequest message, length delimited. Does not implicitly {@link vtctldata.SetShardTabletControlRequest.verify|verify} messages. 47426 * @param message SetShardTabletControlRequest message or plain object to encode 47427 * @param [writer] Writer to encode to 47428 * @returns Writer 47429 */ 47430 public static encodeDelimited(message: vtctldata.ISetShardTabletControlRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47431 47432 /** 47433 * Decodes a SetShardTabletControlRequest message from the specified reader or buffer. 47434 * @param reader Reader or buffer to decode from 47435 * @param [length] Message length if known beforehand 47436 * @returns SetShardTabletControlRequest 47437 * @throws {Error} If the payload is not a reader or valid buffer 47438 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47439 */ 47440 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardTabletControlRequest; 47441 47442 /** 47443 * Decodes a SetShardTabletControlRequest message from the specified reader or buffer, length delimited. 47444 * @param reader Reader or buffer to decode from 47445 * @returns SetShardTabletControlRequest 47446 * @throws {Error} If the payload is not a reader or valid buffer 47447 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47448 */ 47449 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardTabletControlRequest; 47450 47451 /** 47452 * Verifies a SetShardTabletControlRequest message. 47453 * @param message Plain object to verify 47454 * @returns `null` if valid, otherwise the reason why it is not 47455 */ 47456 public static verify(message: { [k: string]: any }): (string|null); 47457 47458 /** 47459 * Creates a SetShardTabletControlRequest message from a plain object. Also converts values to their respective internal types. 47460 * @param object Plain object 47461 * @returns SetShardTabletControlRequest 47462 */ 47463 public static fromObject(object: { [k: string]: any }): vtctldata.SetShardTabletControlRequest; 47464 47465 /** 47466 * Creates a plain object from a SetShardTabletControlRequest message. Also converts values to other types if specified. 47467 * @param message SetShardTabletControlRequest 47468 * @param [options] Conversion options 47469 * @returns Plain object 47470 */ 47471 public static toObject(message: vtctldata.SetShardTabletControlRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 47472 47473 /** 47474 * Converts this SetShardTabletControlRequest to JSON. 47475 * @returns JSON object 47476 */ 47477 public toJSON(): { [k: string]: any }; 47478 } 47479 47480 /** Properties of a SetShardTabletControlResponse. */ 47481 interface ISetShardTabletControlResponse { 47482 47483 /** SetShardTabletControlResponse shard */ 47484 shard?: (topodata.IShard|null); 47485 } 47486 47487 /** Represents a SetShardTabletControlResponse. */ 47488 class SetShardTabletControlResponse implements ISetShardTabletControlResponse { 47489 47490 /** 47491 * Constructs a new SetShardTabletControlResponse. 47492 * @param [properties] Properties to set 47493 */ 47494 constructor(properties?: vtctldata.ISetShardTabletControlResponse); 47495 47496 /** SetShardTabletControlResponse shard. */ 47497 public shard?: (topodata.IShard|null); 47498 47499 /** 47500 * Creates a new SetShardTabletControlResponse instance using the specified properties. 47501 * @param [properties] Properties to set 47502 * @returns SetShardTabletControlResponse instance 47503 */ 47504 public static create(properties?: vtctldata.ISetShardTabletControlResponse): vtctldata.SetShardTabletControlResponse; 47505 47506 /** 47507 * Encodes the specified SetShardTabletControlResponse message. Does not implicitly {@link vtctldata.SetShardTabletControlResponse.verify|verify} messages. 47508 * @param message SetShardTabletControlResponse message or plain object to encode 47509 * @param [writer] Writer to encode to 47510 * @returns Writer 47511 */ 47512 public static encode(message: vtctldata.ISetShardTabletControlResponse, writer?: $protobuf.Writer): $protobuf.Writer; 47513 47514 /** 47515 * Encodes the specified SetShardTabletControlResponse message, length delimited. Does not implicitly {@link vtctldata.SetShardTabletControlResponse.verify|verify} messages. 47516 * @param message SetShardTabletControlResponse message or plain object to encode 47517 * @param [writer] Writer to encode to 47518 * @returns Writer 47519 */ 47520 public static encodeDelimited(message: vtctldata.ISetShardTabletControlResponse, writer?: $protobuf.Writer): $protobuf.Writer; 47521 47522 /** 47523 * Decodes a SetShardTabletControlResponse message from the specified reader or buffer. 47524 * @param reader Reader or buffer to decode from 47525 * @param [length] Message length if known beforehand 47526 * @returns SetShardTabletControlResponse 47527 * @throws {Error} If the payload is not a reader or valid buffer 47528 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47529 */ 47530 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardTabletControlResponse; 47531 47532 /** 47533 * Decodes a SetShardTabletControlResponse message from the specified reader or buffer, length delimited. 47534 * @param reader Reader or buffer to decode from 47535 * @returns SetShardTabletControlResponse 47536 * @throws {Error} If the payload is not a reader or valid buffer 47537 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47538 */ 47539 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardTabletControlResponse; 47540 47541 /** 47542 * Verifies a SetShardTabletControlResponse message. 47543 * @param message Plain object to verify 47544 * @returns `null` if valid, otherwise the reason why it is not 47545 */ 47546 public static verify(message: { [k: string]: any }): (string|null); 47547 47548 /** 47549 * Creates a SetShardTabletControlResponse message from a plain object. Also converts values to their respective internal types. 47550 * @param object Plain object 47551 * @returns SetShardTabletControlResponse 47552 */ 47553 public static fromObject(object: { [k: string]: any }): vtctldata.SetShardTabletControlResponse; 47554 47555 /** 47556 * Creates a plain object from a SetShardTabletControlResponse message. Also converts values to other types if specified. 47557 * @param message SetShardTabletControlResponse 47558 * @param [options] Conversion options 47559 * @returns Plain object 47560 */ 47561 public static toObject(message: vtctldata.SetShardTabletControlResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 47562 47563 /** 47564 * Converts this SetShardTabletControlResponse to JSON. 47565 * @returns JSON object 47566 */ 47567 public toJSON(): { [k: string]: any }; 47568 } 47569 47570 /** Properties of a SetWritableRequest. */ 47571 interface ISetWritableRequest { 47572 47573 /** SetWritableRequest tablet_alias */ 47574 tablet_alias?: (topodata.ITabletAlias|null); 47575 47576 /** SetWritableRequest writable */ 47577 writable?: (boolean|null); 47578 } 47579 47580 /** Represents a SetWritableRequest. */ 47581 class SetWritableRequest implements ISetWritableRequest { 47582 47583 /** 47584 * Constructs a new SetWritableRequest. 47585 * @param [properties] Properties to set 47586 */ 47587 constructor(properties?: vtctldata.ISetWritableRequest); 47588 47589 /** SetWritableRequest tablet_alias. */ 47590 public tablet_alias?: (topodata.ITabletAlias|null); 47591 47592 /** SetWritableRequest writable. */ 47593 public writable: boolean; 47594 47595 /** 47596 * Creates a new SetWritableRequest instance using the specified properties. 47597 * @param [properties] Properties to set 47598 * @returns SetWritableRequest instance 47599 */ 47600 public static create(properties?: vtctldata.ISetWritableRequest): vtctldata.SetWritableRequest; 47601 47602 /** 47603 * Encodes the specified SetWritableRequest message. Does not implicitly {@link vtctldata.SetWritableRequest.verify|verify} messages. 47604 * @param message SetWritableRequest message or plain object to encode 47605 * @param [writer] Writer to encode to 47606 * @returns Writer 47607 */ 47608 public static encode(message: vtctldata.ISetWritableRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47609 47610 /** 47611 * Encodes the specified SetWritableRequest message, length delimited. Does not implicitly {@link vtctldata.SetWritableRequest.verify|verify} messages. 47612 * @param message SetWritableRequest message or plain object to encode 47613 * @param [writer] Writer to encode to 47614 * @returns Writer 47615 */ 47616 public static encodeDelimited(message: vtctldata.ISetWritableRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47617 47618 /** 47619 * Decodes a SetWritableRequest message from the specified reader or buffer. 47620 * @param reader Reader or buffer to decode from 47621 * @param [length] Message length if known beforehand 47622 * @returns SetWritableRequest 47623 * @throws {Error} If the payload is not a reader or valid buffer 47624 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47625 */ 47626 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetWritableRequest; 47627 47628 /** 47629 * Decodes a SetWritableRequest message from the specified reader or buffer, length delimited. 47630 * @param reader Reader or buffer to decode from 47631 * @returns SetWritableRequest 47632 * @throws {Error} If the payload is not a reader or valid buffer 47633 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47634 */ 47635 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetWritableRequest; 47636 47637 /** 47638 * Verifies a SetWritableRequest message. 47639 * @param message Plain object to verify 47640 * @returns `null` if valid, otherwise the reason why it is not 47641 */ 47642 public static verify(message: { [k: string]: any }): (string|null); 47643 47644 /** 47645 * Creates a SetWritableRequest message from a plain object. Also converts values to their respective internal types. 47646 * @param object Plain object 47647 * @returns SetWritableRequest 47648 */ 47649 public static fromObject(object: { [k: string]: any }): vtctldata.SetWritableRequest; 47650 47651 /** 47652 * Creates a plain object from a SetWritableRequest message. Also converts values to other types if specified. 47653 * @param message SetWritableRequest 47654 * @param [options] Conversion options 47655 * @returns Plain object 47656 */ 47657 public static toObject(message: vtctldata.SetWritableRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 47658 47659 /** 47660 * Converts this SetWritableRequest to JSON. 47661 * @returns JSON object 47662 */ 47663 public toJSON(): { [k: string]: any }; 47664 } 47665 47666 /** Properties of a SetWritableResponse. */ 47667 interface ISetWritableResponse { 47668 } 47669 47670 /** Represents a SetWritableResponse. */ 47671 class SetWritableResponse implements ISetWritableResponse { 47672 47673 /** 47674 * Constructs a new SetWritableResponse. 47675 * @param [properties] Properties to set 47676 */ 47677 constructor(properties?: vtctldata.ISetWritableResponse); 47678 47679 /** 47680 * Creates a new SetWritableResponse instance using the specified properties. 47681 * @param [properties] Properties to set 47682 * @returns SetWritableResponse instance 47683 */ 47684 public static create(properties?: vtctldata.ISetWritableResponse): vtctldata.SetWritableResponse; 47685 47686 /** 47687 * Encodes the specified SetWritableResponse message. Does not implicitly {@link vtctldata.SetWritableResponse.verify|verify} messages. 47688 * @param message SetWritableResponse message or plain object to encode 47689 * @param [writer] Writer to encode to 47690 * @returns Writer 47691 */ 47692 public static encode(message: vtctldata.ISetWritableResponse, writer?: $protobuf.Writer): $protobuf.Writer; 47693 47694 /** 47695 * Encodes the specified SetWritableResponse message, length delimited. Does not implicitly {@link vtctldata.SetWritableResponse.verify|verify} messages. 47696 * @param message SetWritableResponse message or plain object to encode 47697 * @param [writer] Writer to encode to 47698 * @returns Writer 47699 */ 47700 public static encodeDelimited(message: vtctldata.ISetWritableResponse, writer?: $protobuf.Writer): $protobuf.Writer; 47701 47702 /** 47703 * Decodes a SetWritableResponse message from the specified reader or buffer. 47704 * @param reader Reader or buffer to decode from 47705 * @param [length] Message length if known beforehand 47706 * @returns SetWritableResponse 47707 * @throws {Error} If the payload is not a reader or valid buffer 47708 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47709 */ 47710 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetWritableResponse; 47711 47712 /** 47713 * Decodes a SetWritableResponse message from the specified reader or buffer, length delimited. 47714 * @param reader Reader or buffer to decode from 47715 * @returns SetWritableResponse 47716 * @throws {Error} If the payload is not a reader or valid buffer 47717 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47718 */ 47719 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetWritableResponse; 47720 47721 /** 47722 * Verifies a SetWritableResponse message. 47723 * @param message Plain object to verify 47724 * @returns `null` if valid, otherwise the reason why it is not 47725 */ 47726 public static verify(message: { [k: string]: any }): (string|null); 47727 47728 /** 47729 * Creates a SetWritableResponse message from a plain object. Also converts values to their respective internal types. 47730 * @param object Plain object 47731 * @returns SetWritableResponse 47732 */ 47733 public static fromObject(object: { [k: string]: any }): vtctldata.SetWritableResponse; 47734 47735 /** 47736 * Creates a plain object from a SetWritableResponse message. Also converts values to other types if specified. 47737 * @param message SetWritableResponse 47738 * @param [options] Conversion options 47739 * @returns Plain object 47740 */ 47741 public static toObject(message: vtctldata.SetWritableResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 47742 47743 /** 47744 * Converts this SetWritableResponse to JSON. 47745 * @returns JSON object 47746 */ 47747 public toJSON(): { [k: string]: any }; 47748 } 47749 47750 /** Properties of a ShardReplicationAddRequest. */ 47751 interface IShardReplicationAddRequest { 47752 47753 /** ShardReplicationAddRequest keyspace */ 47754 keyspace?: (string|null); 47755 47756 /** ShardReplicationAddRequest shard */ 47757 shard?: (string|null); 47758 47759 /** ShardReplicationAddRequest tablet_alias */ 47760 tablet_alias?: (topodata.ITabletAlias|null); 47761 } 47762 47763 /** Represents a ShardReplicationAddRequest. */ 47764 class ShardReplicationAddRequest implements IShardReplicationAddRequest { 47765 47766 /** 47767 * Constructs a new ShardReplicationAddRequest. 47768 * @param [properties] Properties to set 47769 */ 47770 constructor(properties?: vtctldata.IShardReplicationAddRequest); 47771 47772 /** ShardReplicationAddRequest keyspace. */ 47773 public keyspace: string; 47774 47775 /** ShardReplicationAddRequest shard. */ 47776 public shard: string; 47777 47778 /** ShardReplicationAddRequest tablet_alias. */ 47779 public tablet_alias?: (topodata.ITabletAlias|null); 47780 47781 /** 47782 * Creates a new ShardReplicationAddRequest instance using the specified properties. 47783 * @param [properties] Properties to set 47784 * @returns ShardReplicationAddRequest instance 47785 */ 47786 public static create(properties?: vtctldata.IShardReplicationAddRequest): vtctldata.ShardReplicationAddRequest; 47787 47788 /** 47789 * Encodes the specified ShardReplicationAddRequest message. Does not implicitly {@link vtctldata.ShardReplicationAddRequest.verify|verify} messages. 47790 * @param message ShardReplicationAddRequest message or plain object to encode 47791 * @param [writer] Writer to encode to 47792 * @returns Writer 47793 */ 47794 public static encode(message: vtctldata.IShardReplicationAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47795 47796 /** 47797 * Encodes the specified ShardReplicationAddRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationAddRequest.verify|verify} messages. 47798 * @param message ShardReplicationAddRequest message or plain object to encode 47799 * @param [writer] Writer to encode to 47800 * @returns Writer 47801 */ 47802 public static encodeDelimited(message: vtctldata.IShardReplicationAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47803 47804 /** 47805 * Decodes a ShardReplicationAddRequest message from the specified reader or buffer. 47806 * @param reader Reader or buffer to decode from 47807 * @param [length] Message length if known beforehand 47808 * @returns ShardReplicationAddRequest 47809 * @throws {Error} If the payload is not a reader or valid buffer 47810 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47811 */ 47812 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationAddRequest; 47813 47814 /** 47815 * Decodes a ShardReplicationAddRequest message from the specified reader or buffer, length delimited. 47816 * @param reader Reader or buffer to decode from 47817 * @returns ShardReplicationAddRequest 47818 * @throws {Error} If the payload is not a reader or valid buffer 47819 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47820 */ 47821 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationAddRequest; 47822 47823 /** 47824 * Verifies a ShardReplicationAddRequest message. 47825 * @param message Plain object to verify 47826 * @returns `null` if valid, otherwise the reason why it is not 47827 */ 47828 public static verify(message: { [k: string]: any }): (string|null); 47829 47830 /** 47831 * Creates a ShardReplicationAddRequest message from a plain object. Also converts values to their respective internal types. 47832 * @param object Plain object 47833 * @returns ShardReplicationAddRequest 47834 */ 47835 public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationAddRequest; 47836 47837 /** 47838 * Creates a plain object from a ShardReplicationAddRequest message. Also converts values to other types if specified. 47839 * @param message ShardReplicationAddRequest 47840 * @param [options] Conversion options 47841 * @returns Plain object 47842 */ 47843 public static toObject(message: vtctldata.ShardReplicationAddRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 47844 47845 /** 47846 * Converts this ShardReplicationAddRequest to JSON. 47847 * @returns JSON object 47848 */ 47849 public toJSON(): { [k: string]: any }; 47850 } 47851 47852 /** Properties of a ShardReplicationAddResponse. */ 47853 interface IShardReplicationAddResponse { 47854 } 47855 47856 /** Represents a ShardReplicationAddResponse. */ 47857 class ShardReplicationAddResponse implements IShardReplicationAddResponse { 47858 47859 /** 47860 * Constructs a new ShardReplicationAddResponse. 47861 * @param [properties] Properties to set 47862 */ 47863 constructor(properties?: vtctldata.IShardReplicationAddResponse); 47864 47865 /** 47866 * Creates a new ShardReplicationAddResponse instance using the specified properties. 47867 * @param [properties] Properties to set 47868 * @returns ShardReplicationAddResponse instance 47869 */ 47870 public static create(properties?: vtctldata.IShardReplicationAddResponse): vtctldata.ShardReplicationAddResponse; 47871 47872 /** 47873 * Encodes the specified ShardReplicationAddResponse message. Does not implicitly {@link vtctldata.ShardReplicationAddResponse.verify|verify} messages. 47874 * @param message ShardReplicationAddResponse message or plain object to encode 47875 * @param [writer] Writer to encode to 47876 * @returns Writer 47877 */ 47878 public static encode(message: vtctldata.IShardReplicationAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; 47879 47880 /** 47881 * Encodes the specified ShardReplicationAddResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationAddResponse.verify|verify} messages. 47882 * @param message ShardReplicationAddResponse message or plain object to encode 47883 * @param [writer] Writer to encode to 47884 * @returns Writer 47885 */ 47886 public static encodeDelimited(message: vtctldata.IShardReplicationAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; 47887 47888 /** 47889 * Decodes a ShardReplicationAddResponse message from the specified reader or buffer. 47890 * @param reader Reader or buffer to decode from 47891 * @param [length] Message length if known beforehand 47892 * @returns ShardReplicationAddResponse 47893 * @throws {Error} If the payload is not a reader or valid buffer 47894 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47895 */ 47896 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationAddResponse; 47897 47898 /** 47899 * Decodes a ShardReplicationAddResponse message from the specified reader or buffer, length delimited. 47900 * @param reader Reader or buffer to decode from 47901 * @returns ShardReplicationAddResponse 47902 * @throws {Error} If the payload is not a reader or valid buffer 47903 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47904 */ 47905 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationAddResponse; 47906 47907 /** 47908 * Verifies a ShardReplicationAddResponse message. 47909 * @param message Plain object to verify 47910 * @returns `null` if valid, otherwise the reason why it is not 47911 */ 47912 public static verify(message: { [k: string]: any }): (string|null); 47913 47914 /** 47915 * Creates a ShardReplicationAddResponse message from a plain object. Also converts values to their respective internal types. 47916 * @param object Plain object 47917 * @returns ShardReplicationAddResponse 47918 */ 47919 public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationAddResponse; 47920 47921 /** 47922 * Creates a plain object from a ShardReplicationAddResponse message. Also converts values to other types if specified. 47923 * @param message ShardReplicationAddResponse 47924 * @param [options] Conversion options 47925 * @returns Plain object 47926 */ 47927 public static toObject(message: vtctldata.ShardReplicationAddResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 47928 47929 /** 47930 * Converts this ShardReplicationAddResponse to JSON. 47931 * @returns JSON object 47932 */ 47933 public toJSON(): { [k: string]: any }; 47934 } 47935 47936 /** Properties of a ShardReplicationFixRequest. */ 47937 interface IShardReplicationFixRequest { 47938 47939 /** ShardReplicationFixRequest keyspace */ 47940 keyspace?: (string|null); 47941 47942 /** ShardReplicationFixRequest shard */ 47943 shard?: (string|null); 47944 47945 /** ShardReplicationFixRequest cell */ 47946 cell?: (string|null); 47947 } 47948 47949 /** Represents a ShardReplicationFixRequest. */ 47950 class ShardReplicationFixRequest implements IShardReplicationFixRequest { 47951 47952 /** 47953 * Constructs a new ShardReplicationFixRequest. 47954 * @param [properties] Properties to set 47955 */ 47956 constructor(properties?: vtctldata.IShardReplicationFixRequest); 47957 47958 /** ShardReplicationFixRequest keyspace. */ 47959 public keyspace: string; 47960 47961 /** ShardReplicationFixRequest shard. */ 47962 public shard: string; 47963 47964 /** ShardReplicationFixRequest cell. */ 47965 public cell: string; 47966 47967 /** 47968 * Creates a new ShardReplicationFixRequest instance using the specified properties. 47969 * @param [properties] Properties to set 47970 * @returns ShardReplicationFixRequest instance 47971 */ 47972 public static create(properties?: vtctldata.IShardReplicationFixRequest): vtctldata.ShardReplicationFixRequest; 47973 47974 /** 47975 * Encodes the specified ShardReplicationFixRequest message. Does not implicitly {@link vtctldata.ShardReplicationFixRequest.verify|verify} messages. 47976 * @param message ShardReplicationFixRequest message or plain object to encode 47977 * @param [writer] Writer to encode to 47978 * @returns Writer 47979 */ 47980 public static encode(message: vtctldata.IShardReplicationFixRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47981 47982 /** 47983 * Encodes the specified ShardReplicationFixRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationFixRequest.verify|verify} messages. 47984 * @param message ShardReplicationFixRequest message or plain object to encode 47985 * @param [writer] Writer to encode to 47986 * @returns Writer 47987 */ 47988 public static encodeDelimited(message: vtctldata.IShardReplicationFixRequest, writer?: $protobuf.Writer): $protobuf.Writer; 47989 47990 /** 47991 * Decodes a ShardReplicationFixRequest message from the specified reader or buffer. 47992 * @param reader Reader or buffer to decode from 47993 * @param [length] Message length if known beforehand 47994 * @returns ShardReplicationFixRequest 47995 * @throws {Error} If the payload is not a reader or valid buffer 47996 * @throws {$protobuf.util.ProtocolError} If required fields are missing 47997 */ 47998 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationFixRequest; 47999 48000 /** 48001 * Decodes a ShardReplicationFixRequest message from the specified reader or buffer, length delimited. 48002 * @param reader Reader or buffer to decode from 48003 * @returns ShardReplicationFixRequest 48004 * @throws {Error} If the payload is not a reader or valid buffer 48005 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48006 */ 48007 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationFixRequest; 48008 48009 /** 48010 * Verifies a ShardReplicationFixRequest message. 48011 * @param message Plain object to verify 48012 * @returns `null` if valid, otherwise the reason why it is not 48013 */ 48014 public static verify(message: { [k: string]: any }): (string|null); 48015 48016 /** 48017 * Creates a ShardReplicationFixRequest message from a plain object. Also converts values to their respective internal types. 48018 * @param object Plain object 48019 * @returns ShardReplicationFixRequest 48020 */ 48021 public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationFixRequest; 48022 48023 /** 48024 * Creates a plain object from a ShardReplicationFixRequest message. Also converts values to other types if specified. 48025 * @param message ShardReplicationFixRequest 48026 * @param [options] Conversion options 48027 * @returns Plain object 48028 */ 48029 public static toObject(message: vtctldata.ShardReplicationFixRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 48030 48031 /** 48032 * Converts this ShardReplicationFixRequest to JSON. 48033 * @returns JSON object 48034 */ 48035 public toJSON(): { [k: string]: any }; 48036 } 48037 48038 /** Properties of a ShardReplicationFixResponse. */ 48039 interface IShardReplicationFixResponse { 48040 48041 /** ShardReplicationFixResponse error */ 48042 error?: (topodata.IShardReplicationError|null); 48043 } 48044 48045 /** Represents a ShardReplicationFixResponse. */ 48046 class ShardReplicationFixResponse implements IShardReplicationFixResponse { 48047 48048 /** 48049 * Constructs a new ShardReplicationFixResponse. 48050 * @param [properties] Properties to set 48051 */ 48052 constructor(properties?: vtctldata.IShardReplicationFixResponse); 48053 48054 /** ShardReplicationFixResponse error. */ 48055 public error?: (topodata.IShardReplicationError|null); 48056 48057 /** 48058 * Creates a new ShardReplicationFixResponse instance using the specified properties. 48059 * @param [properties] Properties to set 48060 * @returns ShardReplicationFixResponse instance 48061 */ 48062 public static create(properties?: vtctldata.IShardReplicationFixResponse): vtctldata.ShardReplicationFixResponse; 48063 48064 /** 48065 * Encodes the specified ShardReplicationFixResponse message. Does not implicitly {@link vtctldata.ShardReplicationFixResponse.verify|verify} messages. 48066 * @param message ShardReplicationFixResponse message or plain object to encode 48067 * @param [writer] Writer to encode to 48068 * @returns Writer 48069 */ 48070 public static encode(message: vtctldata.IShardReplicationFixResponse, writer?: $protobuf.Writer): $protobuf.Writer; 48071 48072 /** 48073 * Encodes the specified ShardReplicationFixResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationFixResponse.verify|verify} messages. 48074 * @param message ShardReplicationFixResponse message or plain object to encode 48075 * @param [writer] Writer to encode to 48076 * @returns Writer 48077 */ 48078 public static encodeDelimited(message: vtctldata.IShardReplicationFixResponse, writer?: $protobuf.Writer): $protobuf.Writer; 48079 48080 /** 48081 * Decodes a ShardReplicationFixResponse message from the specified reader or buffer. 48082 * @param reader Reader or buffer to decode from 48083 * @param [length] Message length if known beforehand 48084 * @returns ShardReplicationFixResponse 48085 * @throws {Error} If the payload is not a reader or valid buffer 48086 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48087 */ 48088 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationFixResponse; 48089 48090 /** 48091 * Decodes a ShardReplicationFixResponse message from the specified reader or buffer, length delimited. 48092 * @param reader Reader or buffer to decode from 48093 * @returns ShardReplicationFixResponse 48094 * @throws {Error} If the payload is not a reader or valid buffer 48095 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48096 */ 48097 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationFixResponse; 48098 48099 /** 48100 * Verifies a ShardReplicationFixResponse message. 48101 * @param message Plain object to verify 48102 * @returns `null` if valid, otherwise the reason why it is not 48103 */ 48104 public static verify(message: { [k: string]: any }): (string|null); 48105 48106 /** 48107 * Creates a ShardReplicationFixResponse message from a plain object. Also converts values to their respective internal types. 48108 * @param object Plain object 48109 * @returns ShardReplicationFixResponse 48110 */ 48111 public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationFixResponse; 48112 48113 /** 48114 * Creates a plain object from a ShardReplicationFixResponse message. Also converts values to other types if specified. 48115 * @param message ShardReplicationFixResponse 48116 * @param [options] Conversion options 48117 * @returns Plain object 48118 */ 48119 public static toObject(message: vtctldata.ShardReplicationFixResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 48120 48121 /** 48122 * Converts this ShardReplicationFixResponse to JSON. 48123 * @returns JSON object 48124 */ 48125 public toJSON(): { [k: string]: any }; 48126 } 48127 48128 /** Properties of a ShardReplicationPositionsRequest. */ 48129 interface IShardReplicationPositionsRequest { 48130 48131 /** ShardReplicationPositionsRequest keyspace */ 48132 keyspace?: (string|null); 48133 48134 /** ShardReplicationPositionsRequest shard */ 48135 shard?: (string|null); 48136 } 48137 48138 /** Represents a ShardReplicationPositionsRequest. */ 48139 class ShardReplicationPositionsRequest implements IShardReplicationPositionsRequest { 48140 48141 /** 48142 * Constructs a new ShardReplicationPositionsRequest. 48143 * @param [properties] Properties to set 48144 */ 48145 constructor(properties?: vtctldata.IShardReplicationPositionsRequest); 48146 48147 /** ShardReplicationPositionsRequest keyspace. */ 48148 public keyspace: string; 48149 48150 /** ShardReplicationPositionsRequest shard. */ 48151 public shard: string; 48152 48153 /** 48154 * Creates a new ShardReplicationPositionsRequest instance using the specified properties. 48155 * @param [properties] Properties to set 48156 * @returns ShardReplicationPositionsRequest instance 48157 */ 48158 public static create(properties?: vtctldata.IShardReplicationPositionsRequest): vtctldata.ShardReplicationPositionsRequest; 48159 48160 /** 48161 * Encodes the specified ShardReplicationPositionsRequest message. Does not implicitly {@link vtctldata.ShardReplicationPositionsRequest.verify|verify} messages. 48162 * @param message ShardReplicationPositionsRequest message or plain object to encode 48163 * @param [writer] Writer to encode to 48164 * @returns Writer 48165 */ 48166 public static encode(message: vtctldata.IShardReplicationPositionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 48167 48168 /** 48169 * Encodes the specified ShardReplicationPositionsRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationPositionsRequest.verify|verify} messages. 48170 * @param message ShardReplicationPositionsRequest message or plain object to encode 48171 * @param [writer] Writer to encode to 48172 * @returns Writer 48173 */ 48174 public static encodeDelimited(message: vtctldata.IShardReplicationPositionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 48175 48176 /** 48177 * Decodes a ShardReplicationPositionsRequest message from the specified reader or buffer. 48178 * @param reader Reader or buffer to decode from 48179 * @param [length] Message length if known beforehand 48180 * @returns ShardReplicationPositionsRequest 48181 * @throws {Error} If the payload is not a reader or valid buffer 48182 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48183 */ 48184 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationPositionsRequest; 48185 48186 /** 48187 * Decodes a ShardReplicationPositionsRequest message from the specified reader or buffer, length delimited. 48188 * @param reader Reader or buffer to decode from 48189 * @returns ShardReplicationPositionsRequest 48190 * @throws {Error} If the payload is not a reader or valid buffer 48191 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48192 */ 48193 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationPositionsRequest; 48194 48195 /** 48196 * Verifies a ShardReplicationPositionsRequest message. 48197 * @param message Plain object to verify 48198 * @returns `null` if valid, otherwise the reason why it is not 48199 */ 48200 public static verify(message: { [k: string]: any }): (string|null); 48201 48202 /** 48203 * Creates a ShardReplicationPositionsRequest message from a plain object. Also converts values to their respective internal types. 48204 * @param object Plain object 48205 * @returns ShardReplicationPositionsRequest 48206 */ 48207 public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationPositionsRequest; 48208 48209 /** 48210 * Creates a plain object from a ShardReplicationPositionsRequest message. Also converts values to other types if specified. 48211 * @param message ShardReplicationPositionsRequest 48212 * @param [options] Conversion options 48213 * @returns Plain object 48214 */ 48215 public static toObject(message: vtctldata.ShardReplicationPositionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 48216 48217 /** 48218 * Converts this ShardReplicationPositionsRequest to JSON. 48219 * @returns JSON object 48220 */ 48221 public toJSON(): { [k: string]: any }; 48222 } 48223 48224 /** Properties of a ShardReplicationPositionsResponse. */ 48225 interface IShardReplicationPositionsResponse { 48226 48227 /** ShardReplicationPositionsResponse replication_statuses */ 48228 replication_statuses?: ({ [k: string]: replicationdata.IStatus }|null); 48229 48230 /** ShardReplicationPositionsResponse tablet_map */ 48231 tablet_map?: ({ [k: string]: topodata.ITablet }|null); 48232 } 48233 48234 /** Represents a ShardReplicationPositionsResponse. */ 48235 class ShardReplicationPositionsResponse implements IShardReplicationPositionsResponse { 48236 48237 /** 48238 * Constructs a new ShardReplicationPositionsResponse. 48239 * @param [properties] Properties to set 48240 */ 48241 constructor(properties?: vtctldata.IShardReplicationPositionsResponse); 48242 48243 /** ShardReplicationPositionsResponse replication_statuses. */ 48244 public replication_statuses: { [k: string]: replicationdata.IStatus }; 48245 48246 /** ShardReplicationPositionsResponse tablet_map. */ 48247 public tablet_map: { [k: string]: topodata.ITablet }; 48248 48249 /** 48250 * Creates a new ShardReplicationPositionsResponse instance using the specified properties. 48251 * @param [properties] Properties to set 48252 * @returns ShardReplicationPositionsResponse instance 48253 */ 48254 public static create(properties?: vtctldata.IShardReplicationPositionsResponse): vtctldata.ShardReplicationPositionsResponse; 48255 48256 /** 48257 * Encodes the specified ShardReplicationPositionsResponse message. Does not implicitly {@link vtctldata.ShardReplicationPositionsResponse.verify|verify} messages. 48258 * @param message ShardReplicationPositionsResponse message or plain object to encode 48259 * @param [writer] Writer to encode to 48260 * @returns Writer 48261 */ 48262 public static encode(message: vtctldata.IShardReplicationPositionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 48263 48264 /** 48265 * Encodes the specified ShardReplicationPositionsResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationPositionsResponse.verify|verify} messages. 48266 * @param message ShardReplicationPositionsResponse message or plain object to encode 48267 * @param [writer] Writer to encode to 48268 * @returns Writer 48269 */ 48270 public static encodeDelimited(message: vtctldata.IShardReplicationPositionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 48271 48272 /** 48273 * Decodes a ShardReplicationPositionsResponse message from the specified reader or buffer. 48274 * @param reader Reader or buffer to decode from 48275 * @param [length] Message length if known beforehand 48276 * @returns ShardReplicationPositionsResponse 48277 * @throws {Error} If the payload is not a reader or valid buffer 48278 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48279 */ 48280 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationPositionsResponse; 48281 48282 /** 48283 * Decodes a ShardReplicationPositionsResponse message from the specified reader or buffer, length delimited. 48284 * @param reader Reader or buffer to decode from 48285 * @returns ShardReplicationPositionsResponse 48286 * @throws {Error} If the payload is not a reader or valid buffer 48287 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48288 */ 48289 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationPositionsResponse; 48290 48291 /** 48292 * Verifies a ShardReplicationPositionsResponse message. 48293 * @param message Plain object to verify 48294 * @returns `null` if valid, otherwise the reason why it is not 48295 */ 48296 public static verify(message: { [k: string]: any }): (string|null); 48297 48298 /** 48299 * Creates a ShardReplicationPositionsResponse message from a plain object. Also converts values to their respective internal types. 48300 * @param object Plain object 48301 * @returns ShardReplicationPositionsResponse 48302 */ 48303 public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationPositionsResponse; 48304 48305 /** 48306 * Creates a plain object from a ShardReplicationPositionsResponse message. Also converts values to other types if specified. 48307 * @param message ShardReplicationPositionsResponse 48308 * @param [options] Conversion options 48309 * @returns Plain object 48310 */ 48311 public static toObject(message: vtctldata.ShardReplicationPositionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 48312 48313 /** 48314 * Converts this ShardReplicationPositionsResponse to JSON. 48315 * @returns JSON object 48316 */ 48317 public toJSON(): { [k: string]: any }; 48318 } 48319 48320 /** Properties of a ShardReplicationRemoveRequest. */ 48321 interface IShardReplicationRemoveRequest { 48322 48323 /** ShardReplicationRemoveRequest keyspace */ 48324 keyspace?: (string|null); 48325 48326 /** ShardReplicationRemoveRequest shard */ 48327 shard?: (string|null); 48328 48329 /** ShardReplicationRemoveRequest tablet_alias */ 48330 tablet_alias?: (topodata.ITabletAlias|null); 48331 } 48332 48333 /** Represents a ShardReplicationRemoveRequest. */ 48334 class ShardReplicationRemoveRequest implements IShardReplicationRemoveRequest { 48335 48336 /** 48337 * Constructs a new ShardReplicationRemoveRequest. 48338 * @param [properties] Properties to set 48339 */ 48340 constructor(properties?: vtctldata.IShardReplicationRemoveRequest); 48341 48342 /** ShardReplicationRemoveRequest keyspace. */ 48343 public keyspace: string; 48344 48345 /** ShardReplicationRemoveRequest shard. */ 48346 public shard: string; 48347 48348 /** ShardReplicationRemoveRequest tablet_alias. */ 48349 public tablet_alias?: (topodata.ITabletAlias|null); 48350 48351 /** 48352 * Creates a new ShardReplicationRemoveRequest instance using the specified properties. 48353 * @param [properties] Properties to set 48354 * @returns ShardReplicationRemoveRequest instance 48355 */ 48356 public static create(properties?: vtctldata.IShardReplicationRemoveRequest): vtctldata.ShardReplicationRemoveRequest; 48357 48358 /** 48359 * Encodes the specified ShardReplicationRemoveRequest message. Does not implicitly {@link vtctldata.ShardReplicationRemoveRequest.verify|verify} messages. 48360 * @param message ShardReplicationRemoveRequest message or plain object to encode 48361 * @param [writer] Writer to encode to 48362 * @returns Writer 48363 */ 48364 public static encode(message: vtctldata.IShardReplicationRemoveRequest, writer?: $protobuf.Writer): $protobuf.Writer; 48365 48366 /** 48367 * Encodes the specified ShardReplicationRemoveRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationRemoveRequest.verify|verify} messages. 48368 * @param message ShardReplicationRemoveRequest message or plain object to encode 48369 * @param [writer] Writer to encode to 48370 * @returns Writer 48371 */ 48372 public static encodeDelimited(message: vtctldata.IShardReplicationRemoveRequest, writer?: $protobuf.Writer): $protobuf.Writer; 48373 48374 /** 48375 * Decodes a ShardReplicationRemoveRequest message from the specified reader or buffer. 48376 * @param reader Reader or buffer to decode from 48377 * @param [length] Message length if known beforehand 48378 * @returns ShardReplicationRemoveRequest 48379 * @throws {Error} If the payload is not a reader or valid buffer 48380 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48381 */ 48382 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationRemoveRequest; 48383 48384 /** 48385 * Decodes a ShardReplicationRemoveRequest message from the specified reader or buffer, length delimited. 48386 * @param reader Reader or buffer to decode from 48387 * @returns ShardReplicationRemoveRequest 48388 * @throws {Error} If the payload is not a reader or valid buffer 48389 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48390 */ 48391 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationRemoveRequest; 48392 48393 /** 48394 * Verifies a ShardReplicationRemoveRequest message. 48395 * @param message Plain object to verify 48396 * @returns `null` if valid, otherwise the reason why it is not 48397 */ 48398 public static verify(message: { [k: string]: any }): (string|null); 48399 48400 /** 48401 * Creates a ShardReplicationRemoveRequest message from a plain object. Also converts values to their respective internal types. 48402 * @param object Plain object 48403 * @returns ShardReplicationRemoveRequest 48404 */ 48405 public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationRemoveRequest; 48406 48407 /** 48408 * Creates a plain object from a ShardReplicationRemoveRequest message. Also converts values to other types if specified. 48409 * @param message ShardReplicationRemoveRequest 48410 * @param [options] Conversion options 48411 * @returns Plain object 48412 */ 48413 public static toObject(message: vtctldata.ShardReplicationRemoveRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 48414 48415 /** 48416 * Converts this ShardReplicationRemoveRequest to JSON. 48417 * @returns JSON object 48418 */ 48419 public toJSON(): { [k: string]: any }; 48420 } 48421 48422 /** Properties of a ShardReplicationRemoveResponse. */ 48423 interface IShardReplicationRemoveResponse { 48424 } 48425 48426 /** Represents a ShardReplicationRemoveResponse. */ 48427 class ShardReplicationRemoveResponse implements IShardReplicationRemoveResponse { 48428 48429 /** 48430 * Constructs a new ShardReplicationRemoveResponse. 48431 * @param [properties] Properties to set 48432 */ 48433 constructor(properties?: vtctldata.IShardReplicationRemoveResponse); 48434 48435 /** 48436 * Creates a new ShardReplicationRemoveResponse instance using the specified properties. 48437 * @param [properties] Properties to set 48438 * @returns ShardReplicationRemoveResponse instance 48439 */ 48440 public static create(properties?: vtctldata.IShardReplicationRemoveResponse): vtctldata.ShardReplicationRemoveResponse; 48441 48442 /** 48443 * Encodes the specified ShardReplicationRemoveResponse message. Does not implicitly {@link vtctldata.ShardReplicationRemoveResponse.verify|verify} messages. 48444 * @param message ShardReplicationRemoveResponse message or plain object to encode 48445 * @param [writer] Writer to encode to 48446 * @returns Writer 48447 */ 48448 public static encode(message: vtctldata.IShardReplicationRemoveResponse, writer?: $protobuf.Writer): $protobuf.Writer; 48449 48450 /** 48451 * Encodes the specified ShardReplicationRemoveResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationRemoveResponse.verify|verify} messages. 48452 * @param message ShardReplicationRemoveResponse message or plain object to encode 48453 * @param [writer] Writer to encode to 48454 * @returns Writer 48455 */ 48456 public static encodeDelimited(message: vtctldata.IShardReplicationRemoveResponse, writer?: $protobuf.Writer): $protobuf.Writer; 48457 48458 /** 48459 * Decodes a ShardReplicationRemoveResponse message from the specified reader or buffer. 48460 * @param reader Reader or buffer to decode from 48461 * @param [length] Message length if known beforehand 48462 * @returns ShardReplicationRemoveResponse 48463 * @throws {Error} If the payload is not a reader or valid buffer 48464 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48465 */ 48466 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationRemoveResponse; 48467 48468 /** 48469 * Decodes a ShardReplicationRemoveResponse message from the specified reader or buffer, length delimited. 48470 * @param reader Reader or buffer to decode from 48471 * @returns ShardReplicationRemoveResponse 48472 * @throws {Error} If the payload is not a reader or valid buffer 48473 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48474 */ 48475 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationRemoveResponse; 48476 48477 /** 48478 * Verifies a ShardReplicationRemoveResponse message. 48479 * @param message Plain object to verify 48480 * @returns `null` if valid, otherwise the reason why it is not 48481 */ 48482 public static verify(message: { [k: string]: any }): (string|null); 48483 48484 /** 48485 * Creates a ShardReplicationRemoveResponse message from a plain object. Also converts values to their respective internal types. 48486 * @param object Plain object 48487 * @returns ShardReplicationRemoveResponse 48488 */ 48489 public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationRemoveResponse; 48490 48491 /** 48492 * Creates a plain object from a ShardReplicationRemoveResponse message. Also converts values to other types if specified. 48493 * @param message ShardReplicationRemoveResponse 48494 * @param [options] Conversion options 48495 * @returns Plain object 48496 */ 48497 public static toObject(message: vtctldata.ShardReplicationRemoveResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 48498 48499 /** 48500 * Converts this ShardReplicationRemoveResponse to JSON. 48501 * @returns JSON object 48502 */ 48503 public toJSON(): { [k: string]: any }; 48504 } 48505 48506 /** Properties of a SleepTabletRequest. */ 48507 interface ISleepTabletRequest { 48508 48509 /** SleepTabletRequest tablet_alias */ 48510 tablet_alias?: (topodata.ITabletAlias|null); 48511 48512 /** SleepTabletRequest duration */ 48513 duration?: (vttime.IDuration|null); 48514 } 48515 48516 /** Represents a SleepTabletRequest. */ 48517 class SleepTabletRequest implements ISleepTabletRequest { 48518 48519 /** 48520 * Constructs a new SleepTabletRequest. 48521 * @param [properties] Properties to set 48522 */ 48523 constructor(properties?: vtctldata.ISleepTabletRequest); 48524 48525 /** SleepTabletRequest tablet_alias. */ 48526 public tablet_alias?: (topodata.ITabletAlias|null); 48527 48528 /** SleepTabletRequest duration. */ 48529 public duration?: (vttime.IDuration|null); 48530 48531 /** 48532 * Creates a new SleepTabletRequest instance using the specified properties. 48533 * @param [properties] Properties to set 48534 * @returns SleepTabletRequest instance 48535 */ 48536 public static create(properties?: vtctldata.ISleepTabletRequest): vtctldata.SleepTabletRequest; 48537 48538 /** 48539 * Encodes the specified SleepTabletRequest message. Does not implicitly {@link vtctldata.SleepTabletRequest.verify|verify} messages. 48540 * @param message SleepTabletRequest message or plain object to encode 48541 * @param [writer] Writer to encode to 48542 * @returns Writer 48543 */ 48544 public static encode(message: vtctldata.ISleepTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 48545 48546 /** 48547 * Encodes the specified SleepTabletRequest message, length delimited. Does not implicitly {@link vtctldata.SleepTabletRequest.verify|verify} messages. 48548 * @param message SleepTabletRequest message or plain object to encode 48549 * @param [writer] Writer to encode to 48550 * @returns Writer 48551 */ 48552 public static encodeDelimited(message: vtctldata.ISleepTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; 48553 48554 /** 48555 * Decodes a SleepTabletRequest message from the specified reader or buffer. 48556 * @param reader Reader or buffer to decode from 48557 * @param [length] Message length if known beforehand 48558 * @returns SleepTabletRequest 48559 * @throws {Error} If the payload is not a reader or valid buffer 48560 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48561 */ 48562 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SleepTabletRequest; 48563 48564 /** 48565 * Decodes a SleepTabletRequest message from the specified reader or buffer, length delimited. 48566 * @param reader Reader or buffer to decode from 48567 * @returns SleepTabletRequest 48568 * @throws {Error} If the payload is not a reader or valid buffer 48569 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48570 */ 48571 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SleepTabletRequest; 48572 48573 /** 48574 * Verifies a SleepTabletRequest message. 48575 * @param message Plain object to verify 48576 * @returns `null` if valid, otherwise the reason why it is not 48577 */ 48578 public static verify(message: { [k: string]: any }): (string|null); 48579 48580 /** 48581 * Creates a SleepTabletRequest message from a plain object. Also converts values to their respective internal types. 48582 * @param object Plain object 48583 * @returns SleepTabletRequest 48584 */ 48585 public static fromObject(object: { [k: string]: any }): vtctldata.SleepTabletRequest; 48586 48587 /** 48588 * Creates a plain object from a SleepTabletRequest message. Also converts values to other types if specified. 48589 * @param message SleepTabletRequest 48590 * @param [options] Conversion options 48591 * @returns Plain object 48592 */ 48593 public static toObject(message: vtctldata.SleepTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 48594 48595 /** 48596 * Converts this SleepTabletRequest to JSON. 48597 * @returns JSON object 48598 */ 48599 public toJSON(): { [k: string]: any }; 48600 } 48601 48602 /** Properties of a SleepTabletResponse. */ 48603 interface ISleepTabletResponse { 48604 } 48605 48606 /** Represents a SleepTabletResponse. */ 48607 class SleepTabletResponse implements ISleepTabletResponse { 48608 48609 /** 48610 * Constructs a new SleepTabletResponse. 48611 * @param [properties] Properties to set 48612 */ 48613 constructor(properties?: vtctldata.ISleepTabletResponse); 48614 48615 /** 48616 * Creates a new SleepTabletResponse instance using the specified properties. 48617 * @param [properties] Properties to set 48618 * @returns SleepTabletResponse instance 48619 */ 48620 public static create(properties?: vtctldata.ISleepTabletResponse): vtctldata.SleepTabletResponse; 48621 48622 /** 48623 * Encodes the specified SleepTabletResponse message. Does not implicitly {@link vtctldata.SleepTabletResponse.verify|verify} messages. 48624 * @param message SleepTabletResponse message or plain object to encode 48625 * @param [writer] Writer to encode to 48626 * @returns Writer 48627 */ 48628 public static encode(message: vtctldata.ISleepTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 48629 48630 /** 48631 * Encodes the specified SleepTabletResponse message, length delimited. Does not implicitly {@link vtctldata.SleepTabletResponse.verify|verify} messages. 48632 * @param message SleepTabletResponse message or plain object to encode 48633 * @param [writer] Writer to encode to 48634 * @returns Writer 48635 */ 48636 public static encodeDelimited(message: vtctldata.ISleepTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; 48637 48638 /** 48639 * Decodes a SleepTabletResponse message from the specified reader or buffer. 48640 * @param reader Reader or buffer to decode from 48641 * @param [length] Message length if known beforehand 48642 * @returns SleepTabletResponse 48643 * @throws {Error} If the payload is not a reader or valid buffer 48644 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48645 */ 48646 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SleepTabletResponse; 48647 48648 /** 48649 * Decodes a SleepTabletResponse message from the specified reader or buffer, length delimited. 48650 * @param reader Reader or buffer to decode from 48651 * @returns SleepTabletResponse 48652 * @throws {Error} If the payload is not a reader or valid buffer 48653 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48654 */ 48655 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SleepTabletResponse; 48656 48657 /** 48658 * Verifies a SleepTabletResponse message. 48659 * @param message Plain object to verify 48660 * @returns `null` if valid, otherwise the reason why it is not 48661 */ 48662 public static verify(message: { [k: string]: any }): (string|null); 48663 48664 /** 48665 * Creates a SleepTabletResponse message from a plain object. Also converts values to their respective internal types. 48666 * @param object Plain object 48667 * @returns SleepTabletResponse 48668 */ 48669 public static fromObject(object: { [k: string]: any }): vtctldata.SleepTabletResponse; 48670 48671 /** 48672 * Creates a plain object from a SleepTabletResponse message. Also converts values to other types if specified. 48673 * @param message SleepTabletResponse 48674 * @param [options] Conversion options 48675 * @returns Plain object 48676 */ 48677 public static toObject(message: vtctldata.SleepTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 48678 48679 /** 48680 * Converts this SleepTabletResponse to JSON. 48681 * @returns JSON object 48682 */ 48683 public toJSON(): { [k: string]: any }; 48684 } 48685 48686 /** Properties of a SourceShardAddRequest. */ 48687 interface ISourceShardAddRequest { 48688 48689 /** SourceShardAddRequest keyspace */ 48690 keyspace?: (string|null); 48691 48692 /** SourceShardAddRequest shard */ 48693 shard?: (string|null); 48694 48695 /** SourceShardAddRequest uid */ 48696 uid?: (number|null); 48697 48698 /** SourceShardAddRequest source_keyspace */ 48699 source_keyspace?: (string|null); 48700 48701 /** SourceShardAddRequest source_shard */ 48702 source_shard?: (string|null); 48703 48704 /** SourceShardAddRequest key_range */ 48705 key_range?: (topodata.IKeyRange|null); 48706 48707 /** SourceShardAddRequest tables */ 48708 tables?: (string[]|null); 48709 } 48710 48711 /** Represents a SourceShardAddRequest. */ 48712 class SourceShardAddRequest implements ISourceShardAddRequest { 48713 48714 /** 48715 * Constructs a new SourceShardAddRequest. 48716 * @param [properties] Properties to set 48717 */ 48718 constructor(properties?: vtctldata.ISourceShardAddRequest); 48719 48720 /** SourceShardAddRequest keyspace. */ 48721 public keyspace: string; 48722 48723 /** SourceShardAddRequest shard. */ 48724 public shard: string; 48725 48726 /** SourceShardAddRequest uid. */ 48727 public uid: number; 48728 48729 /** SourceShardAddRequest source_keyspace. */ 48730 public source_keyspace: string; 48731 48732 /** SourceShardAddRequest source_shard. */ 48733 public source_shard: string; 48734 48735 /** SourceShardAddRequest key_range. */ 48736 public key_range?: (topodata.IKeyRange|null); 48737 48738 /** SourceShardAddRequest tables. */ 48739 public tables: string[]; 48740 48741 /** 48742 * Creates a new SourceShardAddRequest instance using the specified properties. 48743 * @param [properties] Properties to set 48744 * @returns SourceShardAddRequest instance 48745 */ 48746 public static create(properties?: vtctldata.ISourceShardAddRequest): vtctldata.SourceShardAddRequest; 48747 48748 /** 48749 * Encodes the specified SourceShardAddRequest message. Does not implicitly {@link vtctldata.SourceShardAddRequest.verify|verify} messages. 48750 * @param message SourceShardAddRequest message or plain object to encode 48751 * @param [writer] Writer to encode to 48752 * @returns Writer 48753 */ 48754 public static encode(message: vtctldata.ISourceShardAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; 48755 48756 /** 48757 * Encodes the specified SourceShardAddRequest message, length delimited. Does not implicitly {@link vtctldata.SourceShardAddRequest.verify|verify} messages. 48758 * @param message SourceShardAddRequest message or plain object to encode 48759 * @param [writer] Writer to encode to 48760 * @returns Writer 48761 */ 48762 public static encodeDelimited(message: vtctldata.ISourceShardAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; 48763 48764 /** 48765 * Decodes a SourceShardAddRequest message from the specified reader or buffer. 48766 * @param reader Reader or buffer to decode from 48767 * @param [length] Message length if known beforehand 48768 * @returns SourceShardAddRequest 48769 * @throws {Error} If the payload is not a reader or valid buffer 48770 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48771 */ 48772 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardAddRequest; 48773 48774 /** 48775 * Decodes a SourceShardAddRequest message from the specified reader or buffer, length delimited. 48776 * @param reader Reader or buffer to decode from 48777 * @returns SourceShardAddRequest 48778 * @throws {Error} If the payload is not a reader or valid buffer 48779 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48780 */ 48781 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardAddRequest; 48782 48783 /** 48784 * Verifies a SourceShardAddRequest message. 48785 * @param message Plain object to verify 48786 * @returns `null` if valid, otherwise the reason why it is not 48787 */ 48788 public static verify(message: { [k: string]: any }): (string|null); 48789 48790 /** 48791 * Creates a SourceShardAddRequest message from a plain object. Also converts values to their respective internal types. 48792 * @param object Plain object 48793 * @returns SourceShardAddRequest 48794 */ 48795 public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardAddRequest; 48796 48797 /** 48798 * Creates a plain object from a SourceShardAddRequest message. Also converts values to other types if specified. 48799 * @param message SourceShardAddRequest 48800 * @param [options] Conversion options 48801 * @returns Plain object 48802 */ 48803 public static toObject(message: vtctldata.SourceShardAddRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 48804 48805 /** 48806 * Converts this SourceShardAddRequest to JSON. 48807 * @returns JSON object 48808 */ 48809 public toJSON(): { [k: string]: any }; 48810 } 48811 48812 /** Properties of a SourceShardAddResponse. */ 48813 interface ISourceShardAddResponse { 48814 48815 /** SourceShardAddResponse shard */ 48816 shard?: (topodata.IShard|null); 48817 } 48818 48819 /** Represents a SourceShardAddResponse. */ 48820 class SourceShardAddResponse implements ISourceShardAddResponse { 48821 48822 /** 48823 * Constructs a new SourceShardAddResponse. 48824 * @param [properties] Properties to set 48825 */ 48826 constructor(properties?: vtctldata.ISourceShardAddResponse); 48827 48828 /** SourceShardAddResponse shard. */ 48829 public shard?: (topodata.IShard|null); 48830 48831 /** 48832 * Creates a new SourceShardAddResponse instance using the specified properties. 48833 * @param [properties] Properties to set 48834 * @returns SourceShardAddResponse instance 48835 */ 48836 public static create(properties?: vtctldata.ISourceShardAddResponse): vtctldata.SourceShardAddResponse; 48837 48838 /** 48839 * Encodes the specified SourceShardAddResponse message. Does not implicitly {@link vtctldata.SourceShardAddResponse.verify|verify} messages. 48840 * @param message SourceShardAddResponse message or plain object to encode 48841 * @param [writer] Writer to encode to 48842 * @returns Writer 48843 */ 48844 public static encode(message: vtctldata.ISourceShardAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; 48845 48846 /** 48847 * Encodes the specified SourceShardAddResponse message, length delimited. Does not implicitly {@link vtctldata.SourceShardAddResponse.verify|verify} messages. 48848 * @param message SourceShardAddResponse message or plain object to encode 48849 * @param [writer] Writer to encode to 48850 * @returns Writer 48851 */ 48852 public static encodeDelimited(message: vtctldata.ISourceShardAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; 48853 48854 /** 48855 * Decodes a SourceShardAddResponse message from the specified reader or buffer. 48856 * @param reader Reader or buffer to decode from 48857 * @param [length] Message length if known beforehand 48858 * @returns SourceShardAddResponse 48859 * @throws {Error} If the payload is not a reader or valid buffer 48860 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48861 */ 48862 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardAddResponse; 48863 48864 /** 48865 * Decodes a SourceShardAddResponse message from the specified reader or buffer, length delimited. 48866 * @param reader Reader or buffer to decode from 48867 * @returns SourceShardAddResponse 48868 * @throws {Error} If the payload is not a reader or valid buffer 48869 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48870 */ 48871 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardAddResponse; 48872 48873 /** 48874 * Verifies a SourceShardAddResponse message. 48875 * @param message Plain object to verify 48876 * @returns `null` if valid, otherwise the reason why it is not 48877 */ 48878 public static verify(message: { [k: string]: any }): (string|null); 48879 48880 /** 48881 * Creates a SourceShardAddResponse message from a plain object. Also converts values to their respective internal types. 48882 * @param object Plain object 48883 * @returns SourceShardAddResponse 48884 */ 48885 public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardAddResponse; 48886 48887 /** 48888 * Creates a plain object from a SourceShardAddResponse message. Also converts values to other types if specified. 48889 * @param message SourceShardAddResponse 48890 * @param [options] Conversion options 48891 * @returns Plain object 48892 */ 48893 public static toObject(message: vtctldata.SourceShardAddResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 48894 48895 /** 48896 * Converts this SourceShardAddResponse to JSON. 48897 * @returns JSON object 48898 */ 48899 public toJSON(): { [k: string]: any }; 48900 } 48901 48902 /** Properties of a SourceShardDeleteRequest. */ 48903 interface ISourceShardDeleteRequest { 48904 48905 /** SourceShardDeleteRequest keyspace */ 48906 keyspace?: (string|null); 48907 48908 /** SourceShardDeleteRequest shard */ 48909 shard?: (string|null); 48910 48911 /** SourceShardDeleteRequest uid */ 48912 uid?: (number|null); 48913 } 48914 48915 /** Represents a SourceShardDeleteRequest. */ 48916 class SourceShardDeleteRequest implements ISourceShardDeleteRequest { 48917 48918 /** 48919 * Constructs a new SourceShardDeleteRequest. 48920 * @param [properties] Properties to set 48921 */ 48922 constructor(properties?: vtctldata.ISourceShardDeleteRequest); 48923 48924 /** SourceShardDeleteRequest keyspace. */ 48925 public keyspace: string; 48926 48927 /** SourceShardDeleteRequest shard. */ 48928 public shard: string; 48929 48930 /** SourceShardDeleteRequest uid. */ 48931 public uid: number; 48932 48933 /** 48934 * Creates a new SourceShardDeleteRequest instance using the specified properties. 48935 * @param [properties] Properties to set 48936 * @returns SourceShardDeleteRequest instance 48937 */ 48938 public static create(properties?: vtctldata.ISourceShardDeleteRequest): vtctldata.SourceShardDeleteRequest; 48939 48940 /** 48941 * Encodes the specified SourceShardDeleteRequest message. Does not implicitly {@link vtctldata.SourceShardDeleteRequest.verify|verify} messages. 48942 * @param message SourceShardDeleteRequest message or plain object to encode 48943 * @param [writer] Writer to encode to 48944 * @returns Writer 48945 */ 48946 public static encode(message: vtctldata.ISourceShardDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 48947 48948 /** 48949 * Encodes the specified SourceShardDeleteRequest message, length delimited. Does not implicitly {@link vtctldata.SourceShardDeleteRequest.verify|verify} messages. 48950 * @param message SourceShardDeleteRequest message or plain object to encode 48951 * @param [writer] Writer to encode to 48952 * @returns Writer 48953 */ 48954 public static encodeDelimited(message: vtctldata.ISourceShardDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; 48955 48956 /** 48957 * Decodes a SourceShardDeleteRequest message from the specified reader or buffer. 48958 * @param reader Reader or buffer to decode from 48959 * @param [length] Message length if known beforehand 48960 * @returns SourceShardDeleteRequest 48961 * @throws {Error} If the payload is not a reader or valid buffer 48962 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48963 */ 48964 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardDeleteRequest; 48965 48966 /** 48967 * Decodes a SourceShardDeleteRequest message from the specified reader or buffer, length delimited. 48968 * @param reader Reader or buffer to decode from 48969 * @returns SourceShardDeleteRequest 48970 * @throws {Error} If the payload is not a reader or valid buffer 48971 * @throws {$protobuf.util.ProtocolError} If required fields are missing 48972 */ 48973 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardDeleteRequest; 48974 48975 /** 48976 * Verifies a SourceShardDeleteRequest message. 48977 * @param message Plain object to verify 48978 * @returns `null` if valid, otherwise the reason why it is not 48979 */ 48980 public static verify(message: { [k: string]: any }): (string|null); 48981 48982 /** 48983 * Creates a SourceShardDeleteRequest message from a plain object. Also converts values to their respective internal types. 48984 * @param object Plain object 48985 * @returns SourceShardDeleteRequest 48986 */ 48987 public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardDeleteRequest; 48988 48989 /** 48990 * Creates a plain object from a SourceShardDeleteRequest message. Also converts values to other types if specified. 48991 * @param message SourceShardDeleteRequest 48992 * @param [options] Conversion options 48993 * @returns Plain object 48994 */ 48995 public static toObject(message: vtctldata.SourceShardDeleteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 48996 48997 /** 48998 * Converts this SourceShardDeleteRequest to JSON. 48999 * @returns JSON object 49000 */ 49001 public toJSON(): { [k: string]: any }; 49002 } 49003 49004 /** Properties of a SourceShardDeleteResponse. */ 49005 interface ISourceShardDeleteResponse { 49006 49007 /** SourceShardDeleteResponse shard */ 49008 shard?: (topodata.IShard|null); 49009 } 49010 49011 /** Represents a SourceShardDeleteResponse. */ 49012 class SourceShardDeleteResponse implements ISourceShardDeleteResponse { 49013 49014 /** 49015 * Constructs a new SourceShardDeleteResponse. 49016 * @param [properties] Properties to set 49017 */ 49018 constructor(properties?: vtctldata.ISourceShardDeleteResponse); 49019 49020 /** SourceShardDeleteResponse shard. */ 49021 public shard?: (topodata.IShard|null); 49022 49023 /** 49024 * Creates a new SourceShardDeleteResponse instance using the specified properties. 49025 * @param [properties] Properties to set 49026 * @returns SourceShardDeleteResponse instance 49027 */ 49028 public static create(properties?: vtctldata.ISourceShardDeleteResponse): vtctldata.SourceShardDeleteResponse; 49029 49030 /** 49031 * Encodes the specified SourceShardDeleteResponse message. Does not implicitly {@link vtctldata.SourceShardDeleteResponse.verify|verify} messages. 49032 * @param message SourceShardDeleteResponse message or plain object to encode 49033 * @param [writer] Writer to encode to 49034 * @returns Writer 49035 */ 49036 public static encode(message: vtctldata.ISourceShardDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49037 49038 /** 49039 * Encodes the specified SourceShardDeleteResponse message, length delimited. Does not implicitly {@link vtctldata.SourceShardDeleteResponse.verify|verify} messages. 49040 * @param message SourceShardDeleteResponse message or plain object to encode 49041 * @param [writer] Writer to encode to 49042 * @returns Writer 49043 */ 49044 public static encodeDelimited(message: vtctldata.ISourceShardDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49045 49046 /** 49047 * Decodes a SourceShardDeleteResponse message from the specified reader or buffer. 49048 * @param reader Reader or buffer to decode from 49049 * @param [length] Message length if known beforehand 49050 * @returns SourceShardDeleteResponse 49051 * @throws {Error} If the payload is not a reader or valid buffer 49052 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49053 */ 49054 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardDeleteResponse; 49055 49056 /** 49057 * Decodes a SourceShardDeleteResponse message from the specified reader or buffer, length delimited. 49058 * @param reader Reader or buffer to decode from 49059 * @returns SourceShardDeleteResponse 49060 * @throws {Error} If the payload is not a reader or valid buffer 49061 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49062 */ 49063 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardDeleteResponse; 49064 49065 /** 49066 * Verifies a SourceShardDeleteResponse message. 49067 * @param message Plain object to verify 49068 * @returns `null` if valid, otherwise the reason why it is not 49069 */ 49070 public static verify(message: { [k: string]: any }): (string|null); 49071 49072 /** 49073 * Creates a SourceShardDeleteResponse message from a plain object. Also converts values to their respective internal types. 49074 * @param object Plain object 49075 * @returns SourceShardDeleteResponse 49076 */ 49077 public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardDeleteResponse; 49078 49079 /** 49080 * Creates a plain object from a SourceShardDeleteResponse message. Also converts values to other types if specified. 49081 * @param message SourceShardDeleteResponse 49082 * @param [options] Conversion options 49083 * @returns Plain object 49084 */ 49085 public static toObject(message: vtctldata.SourceShardDeleteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 49086 49087 /** 49088 * Converts this SourceShardDeleteResponse to JSON. 49089 * @returns JSON object 49090 */ 49091 public toJSON(): { [k: string]: any }; 49092 } 49093 49094 /** Properties of a StartReplicationRequest. */ 49095 interface IStartReplicationRequest { 49096 49097 /** StartReplicationRequest tablet_alias */ 49098 tablet_alias?: (topodata.ITabletAlias|null); 49099 } 49100 49101 /** Represents a StartReplicationRequest. */ 49102 class StartReplicationRequest implements IStartReplicationRequest { 49103 49104 /** 49105 * Constructs a new StartReplicationRequest. 49106 * @param [properties] Properties to set 49107 */ 49108 constructor(properties?: vtctldata.IStartReplicationRequest); 49109 49110 /** StartReplicationRequest tablet_alias. */ 49111 public tablet_alias?: (topodata.ITabletAlias|null); 49112 49113 /** 49114 * Creates a new StartReplicationRequest instance using the specified properties. 49115 * @param [properties] Properties to set 49116 * @returns StartReplicationRequest instance 49117 */ 49118 public static create(properties?: vtctldata.IStartReplicationRequest): vtctldata.StartReplicationRequest; 49119 49120 /** 49121 * Encodes the specified StartReplicationRequest message. Does not implicitly {@link vtctldata.StartReplicationRequest.verify|verify} messages. 49122 * @param message StartReplicationRequest message or plain object to encode 49123 * @param [writer] Writer to encode to 49124 * @returns Writer 49125 */ 49126 public static encode(message: vtctldata.IStartReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 49127 49128 /** 49129 * Encodes the specified StartReplicationRequest message, length delimited. Does not implicitly {@link vtctldata.StartReplicationRequest.verify|verify} messages. 49130 * @param message StartReplicationRequest message or plain object to encode 49131 * @param [writer] Writer to encode to 49132 * @returns Writer 49133 */ 49134 public static encodeDelimited(message: vtctldata.IStartReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 49135 49136 /** 49137 * Decodes a StartReplicationRequest message from the specified reader or buffer. 49138 * @param reader Reader or buffer to decode from 49139 * @param [length] Message length if known beforehand 49140 * @returns StartReplicationRequest 49141 * @throws {Error} If the payload is not a reader or valid buffer 49142 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49143 */ 49144 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StartReplicationRequest; 49145 49146 /** 49147 * Decodes a StartReplicationRequest message from the specified reader or buffer, length delimited. 49148 * @param reader Reader or buffer to decode from 49149 * @returns StartReplicationRequest 49150 * @throws {Error} If the payload is not a reader or valid buffer 49151 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49152 */ 49153 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StartReplicationRequest; 49154 49155 /** 49156 * Verifies a StartReplicationRequest message. 49157 * @param message Plain object to verify 49158 * @returns `null` if valid, otherwise the reason why it is not 49159 */ 49160 public static verify(message: { [k: string]: any }): (string|null); 49161 49162 /** 49163 * Creates a StartReplicationRequest message from a plain object. Also converts values to their respective internal types. 49164 * @param object Plain object 49165 * @returns StartReplicationRequest 49166 */ 49167 public static fromObject(object: { [k: string]: any }): vtctldata.StartReplicationRequest; 49168 49169 /** 49170 * Creates a plain object from a StartReplicationRequest message. Also converts values to other types if specified. 49171 * @param message StartReplicationRequest 49172 * @param [options] Conversion options 49173 * @returns Plain object 49174 */ 49175 public static toObject(message: vtctldata.StartReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 49176 49177 /** 49178 * Converts this StartReplicationRequest to JSON. 49179 * @returns JSON object 49180 */ 49181 public toJSON(): { [k: string]: any }; 49182 } 49183 49184 /** Properties of a StartReplicationResponse. */ 49185 interface IStartReplicationResponse { 49186 } 49187 49188 /** Represents a StartReplicationResponse. */ 49189 class StartReplicationResponse implements IStartReplicationResponse { 49190 49191 /** 49192 * Constructs a new StartReplicationResponse. 49193 * @param [properties] Properties to set 49194 */ 49195 constructor(properties?: vtctldata.IStartReplicationResponse); 49196 49197 /** 49198 * Creates a new StartReplicationResponse instance using the specified properties. 49199 * @param [properties] Properties to set 49200 * @returns StartReplicationResponse instance 49201 */ 49202 public static create(properties?: vtctldata.IStartReplicationResponse): vtctldata.StartReplicationResponse; 49203 49204 /** 49205 * Encodes the specified StartReplicationResponse message. Does not implicitly {@link vtctldata.StartReplicationResponse.verify|verify} messages. 49206 * @param message StartReplicationResponse message or plain object to encode 49207 * @param [writer] Writer to encode to 49208 * @returns Writer 49209 */ 49210 public static encode(message: vtctldata.IStartReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49211 49212 /** 49213 * Encodes the specified StartReplicationResponse message, length delimited. Does not implicitly {@link vtctldata.StartReplicationResponse.verify|verify} messages. 49214 * @param message StartReplicationResponse message or plain object to encode 49215 * @param [writer] Writer to encode to 49216 * @returns Writer 49217 */ 49218 public static encodeDelimited(message: vtctldata.IStartReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49219 49220 /** 49221 * Decodes a StartReplicationResponse message from the specified reader or buffer. 49222 * @param reader Reader or buffer to decode from 49223 * @param [length] Message length if known beforehand 49224 * @returns StartReplicationResponse 49225 * @throws {Error} If the payload is not a reader or valid buffer 49226 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49227 */ 49228 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StartReplicationResponse; 49229 49230 /** 49231 * Decodes a StartReplicationResponse message from the specified reader or buffer, length delimited. 49232 * @param reader Reader or buffer to decode from 49233 * @returns StartReplicationResponse 49234 * @throws {Error} If the payload is not a reader or valid buffer 49235 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49236 */ 49237 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StartReplicationResponse; 49238 49239 /** 49240 * Verifies a StartReplicationResponse message. 49241 * @param message Plain object to verify 49242 * @returns `null` if valid, otherwise the reason why it is not 49243 */ 49244 public static verify(message: { [k: string]: any }): (string|null); 49245 49246 /** 49247 * Creates a StartReplicationResponse message from a plain object. Also converts values to their respective internal types. 49248 * @param object Plain object 49249 * @returns StartReplicationResponse 49250 */ 49251 public static fromObject(object: { [k: string]: any }): vtctldata.StartReplicationResponse; 49252 49253 /** 49254 * Creates a plain object from a StartReplicationResponse message. Also converts values to other types if specified. 49255 * @param message StartReplicationResponse 49256 * @param [options] Conversion options 49257 * @returns Plain object 49258 */ 49259 public static toObject(message: vtctldata.StartReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 49260 49261 /** 49262 * Converts this StartReplicationResponse to JSON. 49263 * @returns JSON object 49264 */ 49265 public toJSON(): { [k: string]: any }; 49266 } 49267 49268 /** Properties of a StopReplicationRequest. */ 49269 interface IStopReplicationRequest { 49270 49271 /** StopReplicationRequest tablet_alias */ 49272 tablet_alias?: (topodata.ITabletAlias|null); 49273 } 49274 49275 /** Represents a StopReplicationRequest. */ 49276 class StopReplicationRequest implements IStopReplicationRequest { 49277 49278 /** 49279 * Constructs a new StopReplicationRequest. 49280 * @param [properties] Properties to set 49281 */ 49282 constructor(properties?: vtctldata.IStopReplicationRequest); 49283 49284 /** StopReplicationRequest tablet_alias. */ 49285 public tablet_alias?: (topodata.ITabletAlias|null); 49286 49287 /** 49288 * Creates a new StopReplicationRequest instance using the specified properties. 49289 * @param [properties] Properties to set 49290 * @returns StopReplicationRequest instance 49291 */ 49292 public static create(properties?: vtctldata.IStopReplicationRequest): vtctldata.StopReplicationRequest; 49293 49294 /** 49295 * Encodes the specified StopReplicationRequest message. Does not implicitly {@link vtctldata.StopReplicationRequest.verify|verify} messages. 49296 * @param message StopReplicationRequest message or plain object to encode 49297 * @param [writer] Writer to encode to 49298 * @returns Writer 49299 */ 49300 public static encode(message: vtctldata.IStopReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 49301 49302 /** 49303 * Encodes the specified StopReplicationRequest message, length delimited. Does not implicitly {@link vtctldata.StopReplicationRequest.verify|verify} messages. 49304 * @param message StopReplicationRequest message or plain object to encode 49305 * @param [writer] Writer to encode to 49306 * @returns Writer 49307 */ 49308 public static encodeDelimited(message: vtctldata.IStopReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; 49309 49310 /** 49311 * Decodes a StopReplicationRequest message from the specified reader or buffer. 49312 * @param reader Reader or buffer to decode from 49313 * @param [length] Message length if known beforehand 49314 * @returns StopReplicationRequest 49315 * @throws {Error} If the payload is not a reader or valid buffer 49316 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49317 */ 49318 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StopReplicationRequest; 49319 49320 /** 49321 * Decodes a StopReplicationRequest message from the specified reader or buffer, length delimited. 49322 * @param reader Reader or buffer to decode from 49323 * @returns StopReplicationRequest 49324 * @throws {Error} If the payload is not a reader or valid buffer 49325 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49326 */ 49327 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StopReplicationRequest; 49328 49329 /** 49330 * Verifies a StopReplicationRequest message. 49331 * @param message Plain object to verify 49332 * @returns `null` if valid, otherwise the reason why it is not 49333 */ 49334 public static verify(message: { [k: string]: any }): (string|null); 49335 49336 /** 49337 * Creates a StopReplicationRequest message from a plain object. Also converts values to their respective internal types. 49338 * @param object Plain object 49339 * @returns StopReplicationRequest 49340 */ 49341 public static fromObject(object: { [k: string]: any }): vtctldata.StopReplicationRequest; 49342 49343 /** 49344 * Creates a plain object from a StopReplicationRequest message. Also converts values to other types if specified. 49345 * @param message StopReplicationRequest 49346 * @param [options] Conversion options 49347 * @returns Plain object 49348 */ 49349 public static toObject(message: vtctldata.StopReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 49350 49351 /** 49352 * Converts this StopReplicationRequest to JSON. 49353 * @returns JSON object 49354 */ 49355 public toJSON(): { [k: string]: any }; 49356 } 49357 49358 /** Properties of a StopReplicationResponse. */ 49359 interface IStopReplicationResponse { 49360 } 49361 49362 /** Represents a StopReplicationResponse. */ 49363 class StopReplicationResponse implements IStopReplicationResponse { 49364 49365 /** 49366 * Constructs a new StopReplicationResponse. 49367 * @param [properties] Properties to set 49368 */ 49369 constructor(properties?: vtctldata.IStopReplicationResponse); 49370 49371 /** 49372 * Creates a new StopReplicationResponse instance using the specified properties. 49373 * @param [properties] Properties to set 49374 * @returns StopReplicationResponse instance 49375 */ 49376 public static create(properties?: vtctldata.IStopReplicationResponse): vtctldata.StopReplicationResponse; 49377 49378 /** 49379 * Encodes the specified StopReplicationResponse message. Does not implicitly {@link vtctldata.StopReplicationResponse.verify|verify} messages. 49380 * @param message StopReplicationResponse message or plain object to encode 49381 * @param [writer] Writer to encode to 49382 * @returns Writer 49383 */ 49384 public static encode(message: vtctldata.IStopReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49385 49386 /** 49387 * Encodes the specified StopReplicationResponse message, length delimited. Does not implicitly {@link vtctldata.StopReplicationResponse.verify|verify} messages. 49388 * @param message StopReplicationResponse message or plain object to encode 49389 * @param [writer] Writer to encode to 49390 * @returns Writer 49391 */ 49392 public static encodeDelimited(message: vtctldata.IStopReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49393 49394 /** 49395 * Decodes a StopReplicationResponse message from the specified reader or buffer. 49396 * @param reader Reader or buffer to decode from 49397 * @param [length] Message length if known beforehand 49398 * @returns StopReplicationResponse 49399 * @throws {Error} If the payload is not a reader or valid buffer 49400 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49401 */ 49402 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StopReplicationResponse; 49403 49404 /** 49405 * Decodes a StopReplicationResponse message from the specified reader or buffer, length delimited. 49406 * @param reader Reader or buffer to decode from 49407 * @returns StopReplicationResponse 49408 * @throws {Error} If the payload is not a reader or valid buffer 49409 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49410 */ 49411 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StopReplicationResponse; 49412 49413 /** 49414 * Verifies a StopReplicationResponse message. 49415 * @param message Plain object to verify 49416 * @returns `null` if valid, otherwise the reason why it is not 49417 */ 49418 public static verify(message: { [k: string]: any }): (string|null); 49419 49420 /** 49421 * Creates a StopReplicationResponse message from a plain object. Also converts values to their respective internal types. 49422 * @param object Plain object 49423 * @returns StopReplicationResponse 49424 */ 49425 public static fromObject(object: { [k: string]: any }): vtctldata.StopReplicationResponse; 49426 49427 /** 49428 * Creates a plain object from a StopReplicationResponse message. Also converts values to other types if specified. 49429 * @param message StopReplicationResponse 49430 * @param [options] Conversion options 49431 * @returns Plain object 49432 */ 49433 public static toObject(message: vtctldata.StopReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 49434 49435 /** 49436 * Converts this StopReplicationResponse to JSON. 49437 * @returns JSON object 49438 */ 49439 public toJSON(): { [k: string]: any }; 49440 } 49441 49442 /** Properties of a TabletExternallyReparentedRequest. */ 49443 interface ITabletExternallyReparentedRequest { 49444 49445 /** TabletExternallyReparentedRequest tablet */ 49446 tablet?: (topodata.ITabletAlias|null); 49447 } 49448 49449 /** Represents a TabletExternallyReparentedRequest. */ 49450 class TabletExternallyReparentedRequest implements ITabletExternallyReparentedRequest { 49451 49452 /** 49453 * Constructs a new TabletExternallyReparentedRequest. 49454 * @param [properties] Properties to set 49455 */ 49456 constructor(properties?: vtctldata.ITabletExternallyReparentedRequest); 49457 49458 /** TabletExternallyReparentedRequest tablet. */ 49459 public tablet?: (topodata.ITabletAlias|null); 49460 49461 /** 49462 * Creates a new TabletExternallyReparentedRequest instance using the specified properties. 49463 * @param [properties] Properties to set 49464 * @returns TabletExternallyReparentedRequest instance 49465 */ 49466 public static create(properties?: vtctldata.ITabletExternallyReparentedRequest): vtctldata.TabletExternallyReparentedRequest; 49467 49468 /** 49469 * Encodes the specified TabletExternallyReparentedRequest message. Does not implicitly {@link vtctldata.TabletExternallyReparentedRequest.verify|verify} messages. 49470 * @param message TabletExternallyReparentedRequest message or plain object to encode 49471 * @param [writer] Writer to encode to 49472 * @returns Writer 49473 */ 49474 public static encode(message: vtctldata.ITabletExternallyReparentedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 49475 49476 /** 49477 * Encodes the specified TabletExternallyReparentedRequest message, length delimited. Does not implicitly {@link vtctldata.TabletExternallyReparentedRequest.verify|verify} messages. 49478 * @param message TabletExternallyReparentedRequest message or plain object to encode 49479 * @param [writer] Writer to encode to 49480 * @returns Writer 49481 */ 49482 public static encodeDelimited(message: vtctldata.ITabletExternallyReparentedRequest, writer?: $protobuf.Writer): $protobuf.Writer; 49483 49484 /** 49485 * Decodes a TabletExternallyReparentedRequest message from the specified reader or buffer. 49486 * @param reader Reader or buffer to decode from 49487 * @param [length] Message length if known beforehand 49488 * @returns TabletExternallyReparentedRequest 49489 * @throws {Error} If the payload is not a reader or valid buffer 49490 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49491 */ 49492 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TabletExternallyReparentedRequest; 49493 49494 /** 49495 * Decodes a TabletExternallyReparentedRequest message from the specified reader or buffer, length delimited. 49496 * @param reader Reader or buffer to decode from 49497 * @returns TabletExternallyReparentedRequest 49498 * @throws {Error} If the payload is not a reader or valid buffer 49499 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49500 */ 49501 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TabletExternallyReparentedRequest; 49502 49503 /** 49504 * Verifies a TabletExternallyReparentedRequest message. 49505 * @param message Plain object to verify 49506 * @returns `null` if valid, otherwise the reason why it is not 49507 */ 49508 public static verify(message: { [k: string]: any }): (string|null); 49509 49510 /** 49511 * Creates a TabletExternallyReparentedRequest message from a plain object. Also converts values to their respective internal types. 49512 * @param object Plain object 49513 * @returns TabletExternallyReparentedRequest 49514 */ 49515 public static fromObject(object: { [k: string]: any }): vtctldata.TabletExternallyReparentedRequest; 49516 49517 /** 49518 * Creates a plain object from a TabletExternallyReparentedRequest message. Also converts values to other types if specified. 49519 * @param message TabletExternallyReparentedRequest 49520 * @param [options] Conversion options 49521 * @returns Plain object 49522 */ 49523 public static toObject(message: vtctldata.TabletExternallyReparentedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 49524 49525 /** 49526 * Converts this TabletExternallyReparentedRequest to JSON. 49527 * @returns JSON object 49528 */ 49529 public toJSON(): { [k: string]: any }; 49530 } 49531 49532 /** Properties of a TabletExternallyReparentedResponse. */ 49533 interface ITabletExternallyReparentedResponse { 49534 49535 /** TabletExternallyReparentedResponse keyspace */ 49536 keyspace?: (string|null); 49537 49538 /** TabletExternallyReparentedResponse shard */ 49539 shard?: (string|null); 49540 49541 /** TabletExternallyReparentedResponse new_primary */ 49542 new_primary?: (topodata.ITabletAlias|null); 49543 49544 /** TabletExternallyReparentedResponse old_primary */ 49545 old_primary?: (topodata.ITabletAlias|null); 49546 } 49547 49548 /** Represents a TabletExternallyReparentedResponse. */ 49549 class TabletExternallyReparentedResponse implements ITabletExternallyReparentedResponse { 49550 49551 /** 49552 * Constructs a new TabletExternallyReparentedResponse. 49553 * @param [properties] Properties to set 49554 */ 49555 constructor(properties?: vtctldata.ITabletExternallyReparentedResponse); 49556 49557 /** TabletExternallyReparentedResponse keyspace. */ 49558 public keyspace: string; 49559 49560 /** TabletExternallyReparentedResponse shard. */ 49561 public shard: string; 49562 49563 /** TabletExternallyReparentedResponse new_primary. */ 49564 public new_primary?: (topodata.ITabletAlias|null); 49565 49566 /** TabletExternallyReparentedResponse old_primary. */ 49567 public old_primary?: (topodata.ITabletAlias|null); 49568 49569 /** 49570 * Creates a new TabletExternallyReparentedResponse instance using the specified properties. 49571 * @param [properties] Properties to set 49572 * @returns TabletExternallyReparentedResponse instance 49573 */ 49574 public static create(properties?: vtctldata.ITabletExternallyReparentedResponse): vtctldata.TabletExternallyReparentedResponse; 49575 49576 /** 49577 * Encodes the specified TabletExternallyReparentedResponse message. Does not implicitly {@link vtctldata.TabletExternallyReparentedResponse.verify|verify} messages. 49578 * @param message TabletExternallyReparentedResponse message or plain object to encode 49579 * @param [writer] Writer to encode to 49580 * @returns Writer 49581 */ 49582 public static encode(message: vtctldata.ITabletExternallyReparentedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49583 49584 /** 49585 * Encodes the specified TabletExternallyReparentedResponse message, length delimited. Does not implicitly {@link vtctldata.TabletExternallyReparentedResponse.verify|verify} messages. 49586 * @param message TabletExternallyReparentedResponse message or plain object to encode 49587 * @param [writer] Writer to encode to 49588 * @returns Writer 49589 */ 49590 public static encodeDelimited(message: vtctldata.ITabletExternallyReparentedResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49591 49592 /** 49593 * Decodes a TabletExternallyReparentedResponse message from the specified reader or buffer. 49594 * @param reader Reader or buffer to decode from 49595 * @param [length] Message length if known beforehand 49596 * @returns TabletExternallyReparentedResponse 49597 * @throws {Error} If the payload is not a reader or valid buffer 49598 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49599 */ 49600 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TabletExternallyReparentedResponse; 49601 49602 /** 49603 * Decodes a TabletExternallyReparentedResponse message from the specified reader or buffer, length delimited. 49604 * @param reader Reader or buffer to decode from 49605 * @returns TabletExternallyReparentedResponse 49606 * @throws {Error} If the payload is not a reader or valid buffer 49607 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49608 */ 49609 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TabletExternallyReparentedResponse; 49610 49611 /** 49612 * Verifies a TabletExternallyReparentedResponse message. 49613 * @param message Plain object to verify 49614 * @returns `null` if valid, otherwise the reason why it is not 49615 */ 49616 public static verify(message: { [k: string]: any }): (string|null); 49617 49618 /** 49619 * Creates a TabletExternallyReparentedResponse message from a plain object. Also converts values to their respective internal types. 49620 * @param object Plain object 49621 * @returns TabletExternallyReparentedResponse 49622 */ 49623 public static fromObject(object: { [k: string]: any }): vtctldata.TabletExternallyReparentedResponse; 49624 49625 /** 49626 * Creates a plain object from a TabletExternallyReparentedResponse message. Also converts values to other types if specified. 49627 * @param message TabletExternallyReparentedResponse 49628 * @param [options] Conversion options 49629 * @returns Plain object 49630 */ 49631 public static toObject(message: vtctldata.TabletExternallyReparentedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 49632 49633 /** 49634 * Converts this TabletExternallyReparentedResponse to JSON. 49635 * @returns JSON object 49636 */ 49637 public toJSON(): { [k: string]: any }; 49638 } 49639 49640 /** Properties of an UpdateCellInfoRequest. */ 49641 interface IUpdateCellInfoRequest { 49642 49643 /** UpdateCellInfoRequest name */ 49644 name?: (string|null); 49645 49646 /** UpdateCellInfoRequest cell_info */ 49647 cell_info?: (topodata.ICellInfo|null); 49648 } 49649 49650 /** Represents an UpdateCellInfoRequest. */ 49651 class UpdateCellInfoRequest implements IUpdateCellInfoRequest { 49652 49653 /** 49654 * Constructs a new UpdateCellInfoRequest. 49655 * @param [properties] Properties to set 49656 */ 49657 constructor(properties?: vtctldata.IUpdateCellInfoRequest); 49658 49659 /** UpdateCellInfoRequest name. */ 49660 public name: string; 49661 49662 /** UpdateCellInfoRequest cell_info. */ 49663 public cell_info?: (topodata.ICellInfo|null); 49664 49665 /** 49666 * Creates a new UpdateCellInfoRequest instance using the specified properties. 49667 * @param [properties] Properties to set 49668 * @returns UpdateCellInfoRequest instance 49669 */ 49670 public static create(properties?: vtctldata.IUpdateCellInfoRequest): vtctldata.UpdateCellInfoRequest; 49671 49672 /** 49673 * Encodes the specified UpdateCellInfoRequest message. Does not implicitly {@link vtctldata.UpdateCellInfoRequest.verify|verify} messages. 49674 * @param message UpdateCellInfoRequest message or plain object to encode 49675 * @param [writer] Writer to encode to 49676 * @returns Writer 49677 */ 49678 public static encode(message: vtctldata.IUpdateCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; 49679 49680 /** 49681 * Encodes the specified UpdateCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.UpdateCellInfoRequest.verify|verify} messages. 49682 * @param message UpdateCellInfoRequest message or plain object to encode 49683 * @param [writer] Writer to encode to 49684 * @returns Writer 49685 */ 49686 public static encodeDelimited(message: vtctldata.IUpdateCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; 49687 49688 /** 49689 * Decodes an UpdateCellInfoRequest message from the specified reader or buffer. 49690 * @param reader Reader or buffer to decode from 49691 * @param [length] Message length if known beforehand 49692 * @returns UpdateCellInfoRequest 49693 * @throws {Error} If the payload is not a reader or valid buffer 49694 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49695 */ 49696 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellInfoRequest; 49697 49698 /** 49699 * Decodes an UpdateCellInfoRequest message from the specified reader or buffer, length delimited. 49700 * @param reader Reader or buffer to decode from 49701 * @returns UpdateCellInfoRequest 49702 * @throws {Error} If the payload is not a reader or valid buffer 49703 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49704 */ 49705 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellInfoRequest; 49706 49707 /** 49708 * Verifies an UpdateCellInfoRequest message. 49709 * @param message Plain object to verify 49710 * @returns `null` if valid, otherwise the reason why it is not 49711 */ 49712 public static verify(message: { [k: string]: any }): (string|null); 49713 49714 /** 49715 * Creates an UpdateCellInfoRequest message from a plain object. Also converts values to their respective internal types. 49716 * @param object Plain object 49717 * @returns UpdateCellInfoRequest 49718 */ 49719 public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellInfoRequest; 49720 49721 /** 49722 * Creates a plain object from an UpdateCellInfoRequest message. Also converts values to other types if specified. 49723 * @param message UpdateCellInfoRequest 49724 * @param [options] Conversion options 49725 * @returns Plain object 49726 */ 49727 public static toObject(message: vtctldata.UpdateCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 49728 49729 /** 49730 * Converts this UpdateCellInfoRequest to JSON. 49731 * @returns JSON object 49732 */ 49733 public toJSON(): { [k: string]: any }; 49734 } 49735 49736 /** Properties of an UpdateCellInfoResponse. */ 49737 interface IUpdateCellInfoResponse { 49738 49739 /** UpdateCellInfoResponse name */ 49740 name?: (string|null); 49741 49742 /** UpdateCellInfoResponse cell_info */ 49743 cell_info?: (topodata.ICellInfo|null); 49744 } 49745 49746 /** Represents an UpdateCellInfoResponse. */ 49747 class UpdateCellInfoResponse implements IUpdateCellInfoResponse { 49748 49749 /** 49750 * Constructs a new UpdateCellInfoResponse. 49751 * @param [properties] Properties to set 49752 */ 49753 constructor(properties?: vtctldata.IUpdateCellInfoResponse); 49754 49755 /** UpdateCellInfoResponse name. */ 49756 public name: string; 49757 49758 /** UpdateCellInfoResponse cell_info. */ 49759 public cell_info?: (topodata.ICellInfo|null); 49760 49761 /** 49762 * Creates a new UpdateCellInfoResponse instance using the specified properties. 49763 * @param [properties] Properties to set 49764 * @returns UpdateCellInfoResponse instance 49765 */ 49766 public static create(properties?: vtctldata.IUpdateCellInfoResponse): vtctldata.UpdateCellInfoResponse; 49767 49768 /** 49769 * Encodes the specified UpdateCellInfoResponse message. Does not implicitly {@link vtctldata.UpdateCellInfoResponse.verify|verify} messages. 49770 * @param message UpdateCellInfoResponse message or plain object to encode 49771 * @param [writer] Writer to encode to 49772 * @returns Writer 49773 */ 49774 public static encode(message: vtctldata.IUpdateCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49775 49776 /** 49777 * Encodes the specified UpdateCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.UpdateCellInfoResponse.verify|verify} messages. 49778 * @param message UpdateCellInfoResponse message or plain object to encode 49779 * @param [writer] Writer to encode to 49780 * @returns Writer 49781 */ 49782 public static encodeDelimited(message: vtctldata.IUpdateCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49783 49784 /** 49785 * Decodes an UpdateCellInfoResponse message from the specified reader or buffer. 49786 * @param reader Reader or buffer to decode from 49787 * @param [length] Message length if known beforehand 49788 * @returns UpdateCellInfoResponse 49789 * @throws {Error} If the payload is not a reader or valid buffer 49790 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49791 */ 49792 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellInfoResponse; 49793 49794 /** 49795 * Decodes an UpdateCellInfoResponse message from the specified reader or buffer, length delimited. 49796 * @param reader Reader or buffer to decode from 49797 * @returns UpdateCellInfoResponse 49798 * @throws {Error} If the payload is not a reader or valid buffer 49799 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49800 */ 49801 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellInfoResponse; 49802 49803 /** 49804 * Verifies an UpdateCellInfoResponse message. 49805 * @param message Plain object to verify 49806 * @returns `null` if valid, otherwise the reason why it is not 49807 */ 49808 public static verify(message: { [k: string]: any }): (string|null); 49809 49810 /** 49811 * Creates an UpdateCellInfoResponse message from a plain object. Also converts values to their respective internal types. 49812 * @param object Plain object 49813 * @returns UpdateCellInfoResponse 49814 */ 49815 public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellInfoResponse; 49816 49817 /** 49818 * Creates a plain object from an UpdateCellInfoResponse message. Also converts values to other types if specified. 49819 * @param message UpdateCellInfoResponse 49820 * @param [options] Conversion options 49821 * @returns Plain object 49822 */ 49823 public static toObject(message: vtctldata.UpdateCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 49824 49825 /** 49826 * Converts this UpdateCellInfoResponse to JSON. 49827 * @returns JSON object 49828 */ 49829 public toJSON(): { [k: string]: any }; 49830 } 49831 49832 /** Properties of an UpdateCellsAliasRequest. */ 49833 interface IUpdateCellsAliasRequest { 49834 49835 /** UpdateCellsAliasRequest name */ 49836 name?: (string|null); 49837 49838 /** UpdateCellsAliasRequest cells_alias */ 49839 cells_alias?: (topodata.ICellsAlias|null); 49840 } 49841 49842 /** Represents an UpdateCellsAliasRequest. */ 49843 class UpdateCellsAliasRequest implements IUpdateCellsAliasRequest { 49844 49845 /** 49846 * Constructs a new UpdateCellsAliasRequest. 49847 * @param [properties] Properties to set 49848 */ 49849 constructor(properties?: vtctldata.IUpdateCellsAliasRequest); 49850 49851 /** UpdateCellsAliasRequest name. */ 49852 public name: string; 49853 49854 /** UpdateCellsAliasRequest cells_alias. */ 49855 public cells_alias?: (topodata.ICellsAlias|null); 49856 49857 /** 49858 * Creates a new UpdateCellsAliasRequest instance using the specified properties. 49859 * @param [properties] Properties to set 49860 * @returns UpdateCellsAliasRequest instance 49861 */ 49862 public static create(properties?: vtctldata.IUpdateCellsAliasRequest): vtctldata.UpdateCellsAliasRequest; 49863 49864 /** 49865 * Encodes the specified UpdateCellsAliasRequest message. Does not implicitly {@link vtctldata.UpdateCellsAliasRequest.verify|verify} messages. 49866 * @param message UpdateCellsAliasRequest message or plain object to encode 49867 * @param [writer] Writer to encode to 49868 * @returns Writer 49869 */ 49870 public static encode(message: vtctldata.IUpdateCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 49871 49872 /** 49873 * Encodes the specified UpdateCellsAliasRequest message, length delimited. Does not implicitly {@link vtctldata.UpdateCellsAliasRequest.verify|verify} messages. 49874 * @param message UpdateCellsAliasRequest message or plain object to encode 49875 * @param [writer] Writer to encode to 49876 * @returns Writer 49877 */ 49878 public static encodeDelimited(message: vtctldata.IUpdateCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; 49879 49880 /** 49881 * Decodes an UpdateCellsAliasRequest message from the specified reader or buffer. 49882 * @param reader Reader or buffer to decode from 49883 * @param [length] Message length if known beforehand 49884 * @returns UpdateCellsAliasRequest 49885 * @throws {Error} If the payload is not a reader or valid buffer 49886 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49887 */ 49888 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellsAliasRequest; 49889 49890 /** 49891 * Decodes an UpdateCellsAliasRequest message from the specified reader or buffer, length delimited. 49892 * @param reader Reader or buffer to decode from 49893 * @returns UpdateCellsAliasRequest 49894 * @throws {Error} If the payload is not a reader or valid buffer 49895 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49896 */ 49897 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellsAliasRequest; 49898 49899 /** 49900 * Verifies an UpdateCellsAliasRequest message. 49901 * @param message Plain object to verify 49902 * @returns `null` if valid, otherwise the reason why it is not 49903 */ 49904 public static verify(message: { [k: string]: any }): (string|null); 49905 49906 /** 49907 * Creates an UpdateCellsAliasRequest message from a plain object. Also converts values to their respective internal types. 49908 * @param object Plain object 49909 * @returns UpdateCellsAliasRequest 49910 */ 49911 public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellsAliasRequest; 49912 49913 /** 49914 * Creates a plain object from an UpdateCellsAliasRequest message. Also converts values to other types if specified. 49915 * @param message UpdateCellsAliasRequest 49916 * @param [options] Conversion options 49917 * @returns Plain object 49918 */ 49919 public static toObject(message: vtctldata.UpdateCellsAliasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 49920 49921 /** 49922 * Converts this UpdateCellsAliasRequest to JSON. 49923 * @returns JSON object 49924 */ 49925 public toJSON(): { [k: string]: any }; 49926 } 49927 49928 /** Properties of an UpdateCellsAliasResponse. */ 49929 interface IUpdateCellsAliasResponse { 49930 49931 /** UpdateCellsAliasResponse name */ 49932 name?: (string|null); 49933 49934 /** UpdateCellsAliasResponse cells_alias */ 49935 cells_alias?: (topodata.ICellsAlias|null); 49936 } 49937 49938 /** Represents an UpdateCellsAliasResponse. */ 49939 class UpdateCellsAliasResponse implements IUpdateCellsAliasResponse { 49940 49941 /** 49942 * Constructs a new UpdateCellsAliasResponse. 49943 * @param [properties] Properties to set 49944 */ 49945 constructor(properties?: vtctldata.IUpdateCellsAliasResponse); 49946 49947 /** UpdateCellsAliasResponse name. */ 49948 public name: string; 49949 49950 /** UpdateCellsAliasResponse cells_alias. */ 49951 public cells_alias?: (topodata.ICellsAlias|null); 49952 49953 /** 49954 * Creates a new UpdateCellsAliasResponse instance using the specified properties. 49955 * @param [properties] Properties to set 49956 * @returns UpdateCellsAliasResponse instance 49957 */ 49958 public static create(properties?: vtctldata.IUpdateCellsAliasResponse): vtctldata.UpdateCellsAliasResponse; 49959 49960 /** 49961 * Encodes the specified UpdateCellsAliasResponse message. Does not implicitly {@link vtctldata.UpdateCellsAliasResponse.verify|verify} messages. 49962 * @param message UpdateCellsAliasResponse message or plain object to encode 49963 * @param [writer] Writer to encode to 49964 * @returns Writer 49965 */ 49966 public static encode(message: vtctldata.IUpdateCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49967 49968 /** 49969 * Encodes the specified UpdateCellsAliasResponse message, length delimited. Does not implicitly {@link vtctldata.UpdateCellsAliasResponse.verify|verify} messages. 49970 * @param message UpdateCellsAliasResponse message or plain object to encode 49971 * @param [writer] Writer to encode to 49972 * @returns Writer 49973 */ 49974 public static encodeDelimited(message: vtctldata.IUpdateCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; 49975 49976 /** 49977 * Decodes an UpdateCellsAliasResponse message from the specified reader or buffer. 49978 * @param reader Reader or buffer to decode from 49979 * @param [length] Message length if known beforehand 49980 * @returns UpdateCellsAliasResponse 49981 * @throws {Error} If the payload is not a reader or valid buffer 49982 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49983 */ 49984 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellsAliasResponse; 49985 49986 /** 49987 * Decodes an UpdateCellsAliasResponse message from the specified reader or buffer, length delimited. 49988 * @param reader Reader or buffer to decode from 49989 * @returns UpdateCellsAliasResponse 49990 * @throws {Error} If the payload is not a reader or valid buffer 49991 * @throws {$protobuf.util.ProtocolError} If required fields are missing 49992 */ 49993 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellsAliasResponse; 49994 49995 /** 49996 * Verifies an UpdateCellsAliasResponse message. 49997 * @param message Plain object to verify 49998 * @returns `null` if valid, otherwise the reason why it is not 49999 */ 50000 public static verify(message: { [k: string]: any }): (string|null); 50001 50002 /** 50003 * Creates an UpdateCellsAliasResponse message from a plain object. Also converts values to their respective internal types. 50004 * @param object Plain object 50005 * @returns UpdateCellsAliasResponse 50006 */ 50007 public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellsAliasResponse; 50008 50009 /** 50010 * Creates a plain object from an UpdateCellsAliasResponse message. Also converts values to other types if specified. 50011 * @param message UpdateCellsAliasResponse 50012 * @param [options] Conversion options 50013 * @returns Plain object 50014 */ 50015 public static toObject(message: vtctldata.UpdateCellsAliasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 50016 50017 /** 50018 * Converts this UpdateCellsAliasResponse to JSON. 50019 * @returns JSON object 50020 */ 50021 public toJSON(): { [k: string]: any }; 50022 } 50023 50024 /** Properties of a ValidateRequest. */ 50025 interface IValidateRequest { 50026 50027 /** ValidateRequest ping_tablets */ 50028 ping_tablets?: (boolean|null); 50029 } 50030 50031 /** Represents a ValidateRequest. */ 50032 class ValidateRequest implements IValidateRequest { 50033 50034 /** 50035 * Constructs a new ValidateRequest. 50036 * @param [properties] Properties to set 50037 */ 50038 constructor(properties?: vtctldata.IValidateRequest); 50039 50040 /** ValidateRequest ping_tablets. */ 50041 public ping_tablets: boolean; 50042 50043 /** 50044 * Creates a new ValidateRequest instance using the specified properties. 50045 * @param [properties] Properties to set 50046 * @returns ValidateRequest instance 50047 */ 50048 public static create(properties?: vtctldata.IValidateRequest): vtctldata.ValidateRequest; 50049 50050 /** 50051 * Encodes the specified ValidateRequest message. Does not implicitly {@link vtctldata.ValidateRequest.verify|verify} messages. 50052 * @param message ValidateRequest message or plain object to encode 50053 * @param [writer] Writer to encode to 50054 * @returns Writer 50055 */ 50056 public static encode(message: vtctldata.IValidateRequest, writer?: $protobuf.Writer): $protobuf.Writer; 50057 50058 /** 50059 * Encodes the specified ValidateRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateRequest.verify|verify} messages. 50060 * @param message ValidateRequest message or plain object to encode 50061 * @param [writer] Writer to encode to 50062 * @returns Writer 50063 */ 50064 public static encodeDelimited(message: vtctldata.IValidateRequest, writer?: $protobuf.Writer): $protobuf.Writer; 50065 50066 /** 50067 * Decodes a ValidateRequest message from the specified reader or buffer. 50068 * @param reader Reader or buffer to decode from 50069 * @param [length] Message length if known beforehand 50070 * @returns ValidateRequest 50071 * @throws {Error} If the payload is not a reader or valid buffer 50072 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50073 */ 50074 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateRequest; 50075 50076 /** 50077 * Decodes a ValidateRequest message from the specified reader or buffer, length delimited. 50078 * @param reader Reader or buffer to decode from 50079 * @returns ValidateRequest 50080 * @throws {Error} If the payload is not a reader or valid buffer 50081 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50082 */ 50083 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateRequest; 50084 50085 /** 50086 * Verifies a ValidateRequest message. 50087 * @param message Plain object to verify 50088 * @returns `null` if valid, otherwise the reason why it is not 50089 */ 50090 public static verify(message: { [k: string]: any }): (string|null); 50091 50092 /** 50093 * Creates a ValidateRequest message from a plain object. Also converts values to their respective internal types. 50094 * @param object Plain object 50095 * @returns ValidateRequest 50096 */ 50097 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateRequest; 50098 50099 /** 50100 * Creates a plain object from a ValidateRequest message. Also converts values to other types if specified. 50101 * @param message ValidateRequest 50102 * @param [options] Conversion options 50103 * @returns Plain object 50104 */ 50105 public static toObject(message: vtctldata.ValidateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 50106 50107 /** 50108 * Converts this ValidateRequest to JSON. 50109 * @returns JSON object 50110 */ 50111 public toJSON(): { [k: string]: any }; 50112 } 50113 50114 /** Properties of a ValidateResponse. */ 50115 interface IValidateResponse { 50116 50117 /** ValidateResponse results */ 50118 results?: (string[]|null); 50119 50120 /** ValidateResponse results_by_keyspace */ 50121 results_by_keyspace?: ({ [k: string]: vtctldata.IValidateKeyspaceResponse }|null); 50122 } 50123 50124 /** Represents a ValidateResponse. */ 50125 class ValidateResponse implements IValidateResponse { 50126 50127 /** 50128 * Constructs a new ValidateResponse. 50129 * @param [properties] Properties to set 50130 */ 50131 constructor(properties?: vtctldata.IValidateResponse); 50132 50133 /** ValidateResponse results. */ 50134 public results: string[]; 50135 50136 /** ValidateResponse results_by_keyspace. */ 50137 public results_by_keyspace: { [k: string]: vtctldata.IValidateKeyspaceResponse }; 50138 50139 /** 50140 * Creates a new ValidateResponse instance using the specified properties. 50141 * @param [properties] Properties to set 50142 * @returns ValidateResponse instance 50143 */ 50144 public static create(properties?: vtctldata.IValidateResponse): vtctldata.ValidateResponse; 50145 50146 /** 50147 * Encodes the specified ValidateResponse message. Does not implicitly {@link vtctldata.ValidateResponse.verify|verify} messages. 50148 * @param message ValidateResponse message or plain object to encode 50149 * @param [writer] Writer to encode to 50150 * @returns Writer 50151 */ 50152 public static encode(message: vtctldata.IValidateResponse, writer?: $protobuf.Writer): $protobuf.Writer; 50153 50154 /** 50155 * Encodes the specified ValidateResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateResponse.verify|verify} messages. 50156 * @param message ValidateResponse message or plain object to encode 50157 * @param [writer] Writer to encode to 50158 * @returns Writer 50159 */ 50160 public static encodeDelimited(message: vtctldata.IValidateResponse, writer?: $protobuf.Writer): $protobuf.Writer; 50161 50162 /** 50163 * Decodes a ValidateResponse message from the specified reader or buffer. 50164 * @param reader Reader or buffer to decode from 50165 * @param [length] Message length if known beforehand 50166 * @returns ValidateResponse 50167 * @throws {Error} If the payload is not a reader or valid buffer 50168 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50169 */ 50170 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateResponse; 50171 50172 /** 50173 * Decodes a ValidateResponse message from the specified reader or buffer, length delimited. 50174 * @param reader Reader or buffer to decode from 50175 * @returns ValidateResponse 50176 * @throws {Error} If the payload is not a reader or valid buffer 50177 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50178 */ 50179 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateResponse; 50180 50181 /** 50182 * Verifies a ValidateResponse message. 50183 * @param message Plain object to verify 50184 * @returns `null` if valid, otherwise the reason why it is not 50185 */ 50186 public static verify(message: { [k: string]: any }): (string|null); 50187 50188 /** 50189 * Creates a ValidateResponse message from a plain object. Also converts values to their respective internal types. 50190 * @param object Plain object 50191 * @returns ValidateResponse 50192 */ 50193 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateResponse; 50194 50195 /** 50196 * Creates a plain object from a ValidateResponse message. Also converts values to other types if specified. 50197 * @param message ValidateResponse 50198 * @param [options] Conversion options 50199 * @returns Plain object 50200 */ 50201 public static toObject(message: vtctldata.ValidateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 50202 50203 /** 50204 * Converts this ValidateResponse to JSON. 50205 * @returns JSON object 50206 */ 50207 public toJSON(): { [k: string]: any }; 50208 } 50209 50210 /** Properties of a ValidateKeyspaceRequest. */ 50211 interface IValidateKeyspaceRequest { 50212 50213 /** ValidateKeyspaceRequest keyspace */ 50214 keyspace?: (string|null); 50215 50216 /** ValidateKeyspaceRequest ping_tablets */ 50217 ping_tablets?: (boolean|null); 50218 } 50219 50220 /** Represents a ValidateKeyspaceRequest. */ 50221 class ValidateKeyspaceRequest implements IValidateKeyspaceRequest { 50222 50223 /** 50224 * Constructs a new ValidateKeyspaceRequest. 50225 * @param [properties] Properties to set 50226 */ 50227 constructor(properties?: vtctldata.IValidateKeyspaceRequest); 50228 50229 /** ValidateKeyspaceRequest keyspace. */ 50230 public keyspace: string; 50231 50232 /** ValidateKeyspaceRequest ping_tablets. */ 50233 public ping_tablets: boolean; 50234 50235 /** 50236 * Creates a new ValidateKeyspaceRequest instance using the specified properties. 50237 * @param [properties] Properties to set 50238 * @returns ValidateKeyspaceRequest instance 50239 */ 50240 public static create(properties?: vtctldata.IValidateKeyspaceRequest): vtctldata.ValidateKeyspaceRequest; 50241 50242 /** 50243 * Encodes the specified ValidateKeyspaceRequest message. Does not implicitly {@link vtctldata.ValidateKeyspaceRequest.verify|verify} messages. 50244 * @param message ValidateKeyspaceRequest message or plain object to encode 50245 * @param [writer] Writer to encode to 50246 * @returns Writer 50247 */ 50248 public static encode(message: vtctldata.IValidateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 50249 50250 /** 50251 * Encodes the specified ValidateKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateKeyspaceRequest.verify|verify} messages. 50252 * @param message ValidateKeyspaceRequest message or plain object to encode 50253 * @param [writer] Writer to encode to 50254 * @returns Writer 50255 */ 50256 public static encodeDelimited(message: vtctldata.IValidateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 50257 50258 /** 50259 * Decodes a ValidateKeyspaceRequest message from the specified reader or buffer. 50260 * @param reader Reader or buffer to decode from 50261 * @param [length] Message length if known beforehand 50262 * @returns ValidateKeyspaceRequest 50263 * @throws {Error} If the payload is not a reader or valid buffer 50264 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50265 */ 50266 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateKeyspaceRequest; 50267 50268 /** 50269 * Decodes a ValidateKeyspaceRequest message from the specified reader or buffer, length delimited. 50270 * @param reader Reader or buffer to decode from 50271 * @returns ValidateKeyspaceRequest 50272 * @throws {Error} If the payload is not a reader or valid buffer 50273 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50274 */ 50275 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateKeyspaceRequest; 50276 50277 /** 50278 * Verifies a ValidateKeyspaceRequest message. 50279 * @param message Plain object to verify 50280 * @returns `null` if valid, otherwise the reason why it is not 50281 */ 50282 public static verify(message: { [k: string]: any }): (string|null); 50283 50284 /** 50285 * Creates a ValidateKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 50286 * @param object Plain object 50287 * @returns ValidateKeyspaceRequest 50288 */ 50289 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateKeyspaceRequest; 50290 50291 /** 50292 * Creates a plain object from a ValidateKeyspaceRequest message. Also converts values to other types if specified. 50293 * @param message ValidateKeyspaceRequest 50294 * @param [options] Conversion options 50295 * @returns Plain object 50296 */ 50297 public static toObject(message: vtctldata.ValidateKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 50298 50299 /** 50300 * Converts this ValidateKeyspaceRequest to JSON. 50301 * @returns JSON object 50302 */ 50303 public toJSON(): { [k: string]: any }; 50304 } 50305 50306 /** Properties of a ValidateKeyspaceResponse. */ 50307 interface IValidateKeyspaceResponse { 50308 50309 /** ValidateKeyspaceResponse results */ 50310 results?: (string[]|null); 50311 50312 /** ValidateKeyspaceResponse results_by_shard */ 50313 results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); 50314 } 50315 50316 /** Represents a ValidateKeyspaceResponse. */ 50317 class ValidateKeyspaceResponse implements IValidateKeyspaceResponse { 50318 50319 /** 50320 * Constructs a new ValidateKeyspaceResponse. 50321 * @param [properties] Properties to set 50322 */ 50323 constructor(properties?: vtctldata.IValidateKeyspaceResponse); 50324 50325 /** ValidateKeyspaceResponse results. */ 50326 public results: string[]; 50327 50328 /** ValidateKeyspaceResponse results_by_shard. */ 50329 public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; 50330 50331 /** 50332 * Creates a new ValidateKeyspaceResponse instance using the specified properties. 50333 * @param [properties] Properties to set 50334 * @returns ValidateKeyspaceResponse instance 50335 */ 50336 public static create(properties?: vtctldata.IValidateKeyspaceResponse): vtctldata.ValidateKeyspaceResponse; 50337 50338 /** 50339 * Encodes the specified ValidateKeyspaceResponse message. Does not implicitly {@link vtctldata.ValidateKeyspaceResponse.verify|verify} messages. 50340 * @param message ValidateKeyspaceResponse message or plain object to encode 50341 * @param [writer] Writer to encode to 50342 * @returns Writer 50343 */ 50344 public static encode(message: vtctldata.IValidateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 50345 50346 /** 50347 * Encodes the specified ValidateKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateKeyspaceResponse.verify|verify} messages. 50348 * @param message ValidateKeyspaceResponse message or plain object to encode 50349 * @param [writer] Writer to encode to 50350 * @returns Writer 50351 */ 50352 public static encodeDelimited(message: vtctldata.IValidateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 50353 50354 /** 50355 * Decodes a ValidateKeyspaceResponse message from the specified reader or buffer. 50356 * @param reader Reader or buffer to decode from 50357 * @param [length] Message length if known beforehand 50358 * @returns ValidateKeyspaceResponse 50359 * @throws {Error} If the payload is not a reader or valid buffer 50360 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50361 */ 50362 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateKeyspaceResponse; 50363 50364 /** 50365 * Decodes a ValidateKeyspaceResponse message from the specified reader or buffer, length delimited. 50366 * @param reader Reader or buffer to decode from 50367 * @returns ValidateKeyspaceResponse 50368 * @throws {Error} If the payload is not a reader or valid buffer 50369 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50370 */ 50371 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateKeyspaceResponse; 50372 50373 /** 50374 * Verifies a ValidateKeyspaceResponse message. 50375 * @param message Plain object to verify 50376 * @returns `null` if valid, otherwise the reason why it is not 50377 */ 50378 public static verify(message: { [k: string]: any }): (string|null); 50379 50380 /** 50381 * Creates a ValidateKeyspaceResponse message from a plain object. Also converts values to their respective internal types. 50382 * @param object Plain object 50383 * @returns ValidateKeyspaceResponse 50384 */ 50385 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateKeyspaceResponse; 50386 50387 /** 50388 * Creates a plain object from a ValidateKeyspaceResponse message. Also converts values to other types if specified. 50389 * @param message ValidateKeyspaceResponse 50390 * @param [options] Conversion options 50391 * @returns Plain object 50392 */ 50393 public static toObject(message: vtctldata.ValidateKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 50394 50395 /** 50396 * Converts this ValidateKeyspaceResponse to JSON. 50397 * @returns JSON object 50398 */ 50399 public toJSON(): { [k: string]: any }; 50400 } 50401 50402 /** Properties of a ValidateSchemaKeyspaceRequest. */ 50403 interface IValidateSchemaKeyspaceRequest { 50404 50405 /** ValidateSchemaKeyspaceRequest keyspace */ 50406 keyspace?: (string|null); 50407 50408 /** ValidateSchemaKeyspaceRequest exclude_tables */ 50409 exclude_tables?: (string[]|null); 50410 50411 /** ValidateSchemaKeyspaceRequest include_views */ 50412 include_views?: (boolean|null); 50413 50414 /** ValidateSchemaKeyspaceRequest skip_no_primary */ 50415 skip_no_primary?: (boolean|null); 50416 50417 /** ValidateSchemaKeyspaceRequest include_vschema */ 50418 include_vschema?: (boolean|null); 50419 } 50420 50421 /** Represents a ValidateSchemaKeyspaceRequest. */ 50422 class ValidateSchemaKeyspaceRequest implements IValidateSchemaKeyspaceRequest { 50423 50424 /** 50425 * Constructs a new ValidateSchemaKeyspaceRequest. 50426 * @param [properties] Properties to set 50427 */ 50428 constructor(properties?: vtctldata.IValidateSchemaKeyspaceRequest); 50429 50430 /** ValidateSchemaKeyspaceRequest keyspace. */ 50431 public keyspace: string; 50432 50433 /** ValidateSchemaKeyspaceRequest exclude_tables. */ 50434 public exclude_tables: string[]; 50435 50436 /** ValidateSchemaKeyspaceRequest include_views. */ 50437 public include_views: boolean; 50438 50439 /** ValidateSchemaKeyspaceRequest skip_no_primary. */ 50440 public skip_no_primary: boolean; 50441 50442 /** ValidateSchemaKeyspaceRequest include_vschema. */ 50443 public include_vschema: boolean; 50444 50445 /** 50446 * Creates a new ValidateSchemaKeyspaceRequest instance using the specified properties. 50447 * @param [properties] Properties to set 50448 * @returns ValidateSchemaKeyspaceRequest instance 50449 */ 50450 public static create(properties?: vtctldata.IValidateSchemaKeyspaceRequest): vtctldata.ValidateSchemaKeyspaceRequest; 50451 50452 /** 50453 * Encodes the specified ValidateSchemaKeyspaceRequest message. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceRequest.verify|verify} messages. 50454 * @param message ValidateSchemaKeyspaceRequest message or plain object to encode 50455 * @param [writer] Writer to encode to 50456 * @returns Writer 50457 */ 50458 public static encode(message: vtctldata.IValidateSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 50459 50460 /** 50461 * Encodes the specified ValidateSchemaKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceRequest.verify|verify} messages. 50462 * @param message ValidateSchemaKeyspaceRequest message or plain object to encode 50463 * @param [writer] Writer to encode to 50464 * @returns Writer 50465 */ 50466 public static encodeDelimited(message: vtctldata.IValidateSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 50467 50468 /** 50469 * Decodes a ValidateSchemaKeyspaceRequest message from the specified reader or buffer. 50470 * @param reader Reader or buffer to decode from 50471 * @param [length] Message length if known beforehand 50472 * @returns ValidateSchemaKeyspaceRequest 50473 * @throws {Error} If the payload is not a reader or valid buffer 50474 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50475 */ 50476 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateSchemaKeyspaceRequest; 50477 50478 /** 50479 * Decodes a ValidateSchemaKeyspaceRequest message from the specified reader or buffer, length delimited. 50480 * @param reader Reader or buffer to decode from 50481 * @returns ValidateSchemaKeyspaceRequest 50482 * @throws {Error} If the payload is not a reader or valid buffer 50483 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50484 */ 50485 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateSchemaKeyspaceRequest; 50486 50487 /** 50488 * Verifies a ValidateSchemaKeyspaceRequest message. 50489 * @param message Plain object to verify 50490 * @returns `null` if valid, otherwise the reason why it is not 50491 */ 50492 public static verify(message: { [k: string]: any }): (string|null); 50493 50494 /** 50495 * Creates a ValidateSchemaKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 50496 * @param object Plain object 50497 * @returns ValidateSchemaKeyspaceRequest 50498 */ 50499 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateSchemaKeyspaceRequest; 50500 50501 /** 50502 * Creates a plain object from a ValidateSchemaKeyspaceRequest message. Also converts values to other types if specified. 50503 * @param message ValidateSchemaKeyspaceRequest 50504 * @param [options] Conversion options 50505 * @returns Plain object 50506 */ 50507 public static toObject(message: vtctldata.ValidateSchemaKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 50508 50509 /** 50510 * Converts this ValidateSchemaKeyspaceRequest to JSON. 50511 * @returns JSON object 50512 */ 50513 public toJSON(): { [k: string]: any }; 50514 } 50515 50516 /** Properties of a ValidateSchemaKeyspaceResponse. */ 50517 interface IValidateSchemaKeyspaceResponse { 50518 50519 /** ValidateSchemaKeyspaceResponse results */ 50520 results?: (string[]|null); 50521 50522 /** ValidateSchemaKeyspaceResponse results_by_shard */ 50523 results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); 50524 } 50525 50526 /** Represents a ValidateSchemaKeyspaceResponse. */ 50527 class ValidateSchemaKeyspaceResponse implements IValidateSchemaKeyspaceResponse { 50528 50529 /** 50530 * Constructs a new ValidateSchemaKeyspaceResponse. 50531 * @param [properties] Properties to set 50532 */ 50533 constructor(properties?: vtctldata.IValidateSchemaKeyspaceResponse); 50534 50535 /** ValidateSchemaKeyspaceResponse results. */ 50536 public results: string[]; 50537 50538 /** ValidateSchemaKeyspaceResponse results_by_shard. */ 50539 public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; 50540 50541 /** 50542 * Creates a new ValidateSchemaKeyspaceResponse instance using the specified properties. 50543 * @param [properties] Properties to set 50544 * @returns ValidateSchemaKeyspaceResponse instance 50545 */ 50546 public static create(properties?: vtctldata.IValidateSchemaKeyspaceResponse): vtctldata.ValidateSchemaKeyspaceResponse; 50547 50548 /** 50549 * Encodes the specified ValidateSchemaKeyspaceResponse message. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceResponse.verify|verify} messages. 50550 * @param message ValidateSchemaKeyspaceResponse message or plain object to encode 50551 * @param [writer] Writer to encode to 50552 * @returns Writer 50553 */ 50554 public static encode(message: vtctldata.IValidateSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 50555 50556 /** 50557 * Encodes the specified ValidateSchemaKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceResponse.verify|verify} messages. 50558 * @param message ValidateSchemaKeyspaceResponse message or plain object to encode 50559 * @param [writer] Writer to encode to 50560 * @returns Writer 50561 */ 50562 public static encodeDelimited(message: vtctldata.IValidateSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 50563 50564 /** 50565 * Decodes a ValidateSchemaKeyspaceResponse message from the specified reader or buffer. 50566 * @param reader Reader or buffer to decode from 50567 * @param [length] Message length if known beforehand 50568 * @returns ValidateSchemaKeyspaceResponse 50569 * @throws {Error} If the payload is not a reader or valid buffer 50570 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50571 */ 50572 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateSchemaKeyspaceResponse; 50573 50574 /** 50575 * Decodes a ValidateSchemaKeyspaceResponse message from the specified reader or buffer, length delimited. 50576 * @param reader Reader or buffer to decode from 50577 * @returns ValidateSchemaKeyspaceResponse 50578 * @throws {Error} If the payload is not a reader or valid buffer 50579 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50580 */ 50581 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateSchemaKeyspaceResponse; 50582 50583 /** 50584 * Verifies a ValidateSchemaKeyspaceResponse message. 50585 * @param message Plain object to verify 50586 * @returns `null` if valid, otherwise the reason why it is not 50587 */ 50588 public static verify(message: { [k: string]: any }): (string|null); 50589 50590 /** 50591 * Creates a ValidateSchemaKeyspaceResponse message from a plain object. Also converts values to their respective internal types. 50592 * @param object Plain object 50593 * @returns ValidateSchemaKeyspaceResponse 50594 */ 50595 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateSchemaKeyspaceResponse; 50596 50597 /** 50598 * Creates a plain object from a ValidateSchemaKeyspaceResponse message. Also converts values to other types if specified. 50599 * @param message ValidateSchemaKeyspaceResponse 50600 * @param [options] Conversion options 50601 * @returns Plain object 50602 */ 50603 public static toObject(message: vtctldata.ValidateSchemaKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 50604 50605 /** 50606 * Converts this ValidateSchemaKeyspaceResponse to JSON. 50607 * @returns JSON object 50608 */ 50609 public toJSON(): { [k: string]: any }; 50610 } 50611 50612 /** Properties of a ValidateShardRequest. */ 50613 interface IValidateShardRequest { 50614 50615 /** ValidateShardRequest keyspace */ 50616 keyspace?: (string|null); 50617 50618 /** ValidateShardRequest shard */ 50619 shard?: (string|null); 50620 50621 /** ValidateShardRequest ping_tablets */ 50622 ping_tablets?: (boolean|null); 50623 } 50624 50625 /** Represents a ValidateShardRequest. */ 50626 class ValidateShardRequest implements IValidateShardRequest { 50627 50628 /** 50629 * Constructs a new ValidateShardRequest. 50630 * @param [properties] Properties to set 50631 */ 50632 constructor(properties?: vtctldata.IValidateShardRequest); 50633 50634 /** ValidateShardRequest keyspace. */ 50635 public keyspace: string; 50636 50637 /** ValidateShardRequest shard. */ 50638 public shard: string; 50639 50640 /** ValidateShardRequest ping_tablets. */ 50641 public ping_tablets: boolean; 50642 50643 /** 50644 * Creates a new ValidateShardRequest instance using the specified properties. 50645 * @param [properties] Properties to set 50646 * @returns ValidateShardRequest instance 50647 */ 50648 public static create(properties?: vtctldata.IValidateShardRequest): vtctldata.ValidateShardRequest; 50649 50650 /** 50651 * Encodes the specified ValidateShardRequest message. Does not implicitly {@link vtctldata.ValidateShardRequest.verify|verify} messages. 50652 * @param message ValidateShardRequest message or plain object to encode 50653 * @param [writer] Writer to encode to 50654 * @returns Writer 50655 */ 50656 public static encode(message: vtctldata.IValidateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 50657 50658 /** 50659 * Encodes the specified ValidateShardRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateShardRequest.verify|verify} messages. 50660 * @param message ValidateShardRequest message or plain object to encode 50661 * @param [writer] Writer to encode to 50662 * @returns Writer 50663 */ 50664 public static encodeDelimited(message: vtctldata.IValidateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 50665 50666 /** 50667 * Decodes a ValidateShardRequest message from the specified reader or buffer. 50668 * @param reader Reader or buffer to decode from 50669 * @param [length] Message length if known beforehand 50670 * @returns ValidateShardRequest 50671 * @throws {Error} If the payload is not a reader or valid buffer 50672 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50673 */ 50674 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateShardRequest; 50675 50676 /** 50677 * Decodes a ValidateShardRequest message from the specified reader or buffer, length delimited. 50678 * @param reader Reader or buffer to decode from 50679 * @returns ValidateShardRequest 50680 * @throws {Error} If the payload is not a reader or valid buffer 50681 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50682 */ 50683 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateShardRequest; 50684 50685 /** 50686 * Verifies a ValidateShardRequest message. 50687 * @param message Plain object to verify 50688 * @returns `null` if valid, otherwise the reason why it is not 50689 */ 50690 public static verify(message: { [k: string]: any }): (string|null); 50691 50692 /** 50693 * Creates a ValidateShardRequest message from a plain object. Also converts values to their respective internal types. 50694 * @param object Plain object 50695 * @returns ValidateShardRequest 50696 */ 50697 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateShardRequest; 50698 50699 /** 50700 * Creates a plain object from a ValidateShardRequest message. Also converts values to other types if specified. 50701 * @param message ValidateShardRequest 50702 * @param [options] Conversion options 50703 * @returns Plain object 50704 */ 50705 public static toObject(message: vtctldata.ValidateShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 50706 50707 /** 50708 * Converts this ValidateShardRequest to JSON. 50709 * @returns JSON object 50710 */ 50711 public toJSON(): { [k: string]: any }; 50712 } 50713 50714 /** Properties of a ValidateShardResponse. */ 50715 interface IValidateShardResponse { 50716 50717 /** ValidateShardResponse results */ 50718 results?: (string[]|null); 50719 } 50720 50721 /** Represents a ValidateShardResponse. */ 50722 class ValidateShardResponse implements IValidateShardResponse { 50723 50724 /** 50725 * Constructs a new ValidateShardResponse. 50726 * @param [properties] Properties to set 50727 */ 50728 constructor(properties?: vtctldata.IValidateShardResponse); 50729 50730 /** ValidateShardResponse results. */ 50731 public results: string[]; 50732 50733 /** 50734 * Creates a new ValidateShardResponse instance using the specified properties. 50735 * @param [properties] Properties to set 50736 * @returns ValidateShardResponse instance 50737 */ 50738 public static create(properties?: vtctldata.IValidateShardResponse): vtctldata.ValidateShardResponse; 50739 50740 /** 50741 * Encodes the specified ValidateShardResponse message. Does not implicitly {@link vtctldata.ValidateShardResponse.verify|verify} messages. 50742 * @param message ValidateShardResponse message or plain object to encode 50743 * @param [writer] Writer to encode to 50744 * @returns Writer 50745 */ 50746 public static encode(message: vtctldata.IValidateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 50747 50748 /** 50749 * Encodes the specified ValidateShardResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateShardResponse.verify|verify} messages. 50750 * @param message ValidateShardResponse message or plain object to encode 50751 * @param [writer] Writer to encode to 50752 * @returns Writer 50753 */ 50754 public static encodeDelimited(message: vtctldata.IValidateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 50755 50756 /** 50757 * Decodes a ValidateShardResponse message from the specified reader or buffer. 50758 * @param reader Reader or buffer to decode from 50759 * @param [length] Message length if known beforehand 50760 * @returns ValidateShardResponse 50761 * @throws {Error} If the payload is not a reader or valid buffer 50762 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50763 */ 50764 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateShardResponse; 50765 50766 /** 50767 * Decodes a ValidateShardResponse message from the specified reader or buffer, length delimited. 50768 * @param reader Reader or buffer to decode from 50769 * @returns ValidateShardResponse 50770 * @throws {Error} If the payload is not a reader or valid buffer 50771 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50772 */ 50773 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateShardResponse; 50774 50775 /** 50776 * Verifies a ValidateShardResponse message. 50777 * @param message Plain object to verify 50778 * @returns `null` if valid, otherwise the reason why it is not 50779 */ 50780 public static verify(message: { [k: string]: any }): (string|null); 50781 50782 /** 50783 * Creates a ValidateShardResponse message from a plain object. Also converts values to their respective internal types. 50784 * @param object Plain object 50785 * @returns ValidateShardResponse 50786 */ 50787 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateShardResponse; 50788 50789 /** 50790 * Creates a plain object from a ValidateShardResponse message. Also converts values to other types if specified. 50791 * @param message ValidateShardResponse 50792 * @param [options] Conversion options 50793 * @returns Plain object 50794 */ 50795 public static toObject(message: vtctldata.ValidateShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 50796 50797 /** 50798 * Converts this ValidateShardResponse to JSON. 50799 * @returns JSON object 50800 */ 50801 public toJSON(): { [k: string]: any }; 50802 } 50803 50804 /** Properties of a ValidateVersionKeyspaceRequest. */ 50805 interface IValidateVersionKeyspaceRequest { 50806 50807 /** ValidateVersionKeyspaceRequest keyspace */ 50808 keyspace?: (string|null); 50809 } 50810 50811 /** Represents a ValidateVersionKeyspaceRequest. */ 50812 class ValidateVersionKeyspaceRequest implements IValidateVersionKeyspaceRequest { 50813 50814 /** 50815 * Constructs a new ValidateVersionKeyspaceRequest. 50816 * @param [properties] Properties to set 50817 */ 50818 constructor(properties?: vtctldata.IValidateVersionKeyspaceRequest); 50819 50820 /** ValidateVersionKeyspaceRequest keyspace. */ 50821 public keyspace: string; 50822 50823 /** 50824 * Creates a new ValidateVersionKeyspaceRequest instance using the specified properties. 50825 * @param [properties] Properties to set 50826 * @returns ValidateVersionKeyspaceRequest instance 50827 */ 50828 public static create(properties?: vtctldata.IValidateVersionKeyspaceRequest): vtctldata.ValidateVersionKeyspaceRequest; 50829 50830 /** 50831 * Encodes the specified ValidateVersionKeyspaceRequest message. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceRequest.verify|verify} messages. 50832 * @param message ValidateVersionKeyspaceRequest message or plain object to encode 50833 * @param [writer] Writer to encode to 50834 * @returns Writer 50835 */ 50836 public static encode(message: vtctldata.IValidateVersionKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 50837 50838 /** 50839 * Encodes the specified ValidateVersionKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceRequest.verify|verify} messages. 50840 * @param message ValidateVersionKeyspaceRequest message or plain object to encode 50841 * @param [writer] Writer to encode to 50842 * @returns Writer 50843 */ 50844 public static encodeDelimited(message: vtctldata.IValidateVersionKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; 50845 50846 /** 50847 * Decodes a ValidateVersionKeyspaceRequest message from the specified reader or buffer. 50848 * @param reader Reader or buffer to decode from 50849 * @param [length] Message length if known beforehand 50850 * @returns ValidateVersionKeyspaceRequest 50851 * @throws {Error} If the payload is not a reader or valid buffer 50852 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50853 */ 50854 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionKeyspaceRequest; 50855 50856 /** 50857 * Decodes a ValidateVersionKeyspaceRequest message from the specified reader or buffer, length delimited. 50858 * @param reader Reader or buffer to decode from 50859 * @returns ValidateVersionKeyspaceRequest 50860 * @throws {Error} If the payload is not a reader or valid buffer 50861 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50862 */ 50863 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionKeyspaceRequest; 50864 50865 /** 50866 * Verifies a ValidateVersionKeyspaceRequest message. 50867 * @param message Plain object to verify 50868 * @returns `null` if valid, otherwise the reason why it is not 50869 */ 50870 public static verify(message: { [k: string]: any }): (string|null); 50871 50872 /** 50873 * Creates a ValidateVersionKeyspaceRequest message from a plain object. Also converts values to their respective internal types. 50874 * @param object Plain object 50875 * @returns ValidateVersionKeyspaceRequest 50876 */ 50877 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionKeyspaceRequest; 50878 50879 /** 50880 * Creates a plain object from a ValidateVersionKeyspaceRequest message. Also converts values to other types if specified. 50881 * @param message ValidateVersionKeyspaceRequest 50882 * @param [options] Conversion options 50883 * @returns Plain object 50884 */ 50885 public static toObject(message: vtctldata.ValidateVersionKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 50886 50887 /** 50888 * Converts this ValidateVersionKeyspaceRequest to JSON. 50889 * @returns JSON object 50890 */ 50891 public toJSON(): { [k: string]: any }; 50892 } 50893 50894 /** Properties of a ValidateVersionKeyspaceResponse. */ 50895 interface IValidateVersionKeyspaceResponse { 50896 50897 /** ValidateVersionKeyspaceResponse results */ 50898 results?: (string[]|null); 50899 50900 /** ValidateVersionKeyspaceResponse results_by_shard */ 50901 results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); 50902 } 50903 50904 /** Represents a ValidateVersionKeyspaceResponse. */ 50905 class ValidateVersionKeyspaceResponse implements IValidateVersionKeyspaceResponse { 50906 50907 /** 50908 * Constructs a new ValidateVersionKeyspaceResponse. 50909 * @param [properties] Properties to set 50910 */ 50911 constructor(properties?: vtctldata.IValidateVersionKeyspaceResponse); 50912 50913 /** ValidateVersionKeyspaceResponse results. */ 50914 public results: string[]; 50915 50916 /** ValidateVersionKeyspaceResponse results_by_shard. */ 50917 public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; 50918 50919 /** 50920 * Creates a new ValidateVersionKeyspaceResponse instance using the specified properties. 50921 * @param [properties] Properties to set 50922 * @returns ValidateVersionKeyspaceResponse instance 50923 */ 50924 public static create(properties?: vtctldata.IValidateVersionKeyspaceResponse): vtctldata.ValidateVersionKeyspaceResponse; 50925 50926 /** 50927 * Encodes the specified ValidateVersionKeyspaceResponse message. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceResponse.verify|verify} messages. 50928 * @param message ValidateVersionKeyspaceResponse message or plain object to encode 50929 * @param [writer] Writer to encode to 50930 * @returns Writer 50931 */ 50932 public static encode(message: vtctldata.IValidateVersionKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 50933 50934 /** 50935 * Encodes the specified ValidateVersionKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceResponse.verify|verify} messages. 50936 * @param message ValidateVersionKeyspaceResponse message or plain object to encode 50937 * @param [writer] Writer to encode to 50938 * @returns Writer 50939 */ 50940 public static encodeDelimited(message: vtctldata.IValidateVersionKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; 50941 50942 /** 50943 * Decodes a ValidateVersionKeyspaceResponse message from the specified reader or buffer. 50944 * @param reader Reader or buffer to decode from 50945 * @param [length] Message length if known beforehand 50946 * @returns ValidateVersionKeyspaceResponse 50947 * @throws {Error} If the payload is not a reader or valid buffer 50948 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50949 */ 50950 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionKeyspaceResponse; 50951 50952 /** 50953 * Decodes a ValidateVersionKeyspaceResponse message from the specified reader or buffer, length delimited. 50954 * @param reader Reader or buffer to decode from 50955 * @returns ValidateVersionKeyspaceResponse 50956 * @throws {Error} If the payload is not a reader or valid buffer 50957 * @throws {$protobuf.util.ProtocolError} If required fields are missing 50958 */ 50959 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionKeyspaceResponse; 50960 50961 /** 50962 * Verifies a ValidateVersionKeyspaceResponse message. 50963 * @param message Plain object to verify 50964 * @returns `null` if valid, otherwise the reason why it is not 50965 */ 50966 public static verify(message: { [k: string]: any }): (string|null); 50967 50968 /** 50969 * Creates a ValidateVersionKeyspaceResponse message from a plain object. Also converts values to their respective internal types. 50970 * @param object Plain object 50971 * @returns ValidateVersionKeyspaceResponse 50972 */ 50973 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionKeyspaceResponse; 50974 50975 /** 50976 * Creates a plain object from a ValidateVersionKeyspaceResponse message. Also converts values to other types if specified. 50977 * @param message ValidateVersionKeyspaceResponse 50978 * @param [options] Conversion options 50979 * @returns Plain object 50980 */ 50981 public static toObject(message: vtctldata.ValidateVersionKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 50982 50983 /** 50984 * Converts this ValidateVersionKeyspaceResponse to JSON. 50985 * @returns JSON object 50986 */ 50987 public toJSON(): { [k: string]: any }; 50988 } 50989 50990 /** Properties of a ValidateVersionShardRequest. */ 50991 interface IValidateVersionShardRequest { 50992 50993 /** ValidateVersionShardRequest keyspace */ 50994 keyspace?: (string|null); 50995 50996 /** ValidateVersionShardRequest shard */ 50997 shard?: (string|null); 50998 } 50999 51000 /** Represents a ValidateVersionShardRequest. */ 51001 class ValidateVersionShardRequest implements IValidateVersionShardRequest { 51002 51003 /** 51004 * Constructs a new ValidateVersionShardRequest. 51005 * @param [properties] Properties to set 51006 */ 51007 constructor(properties?: vtctldata.IValidateVersionShardRequest); 51008 51009 /** ValidateVersionShardRequest keyspace. */ 51010 public keyspace: string; 51011 51012 /** ValidateVersionShardRequest shard. */ 51013 public shard: string; 51014 51015 /** 51016 * Creates a new ValidateVersionShardRequest instance using the specified properties. 51017 * @param [properties] Properties to set 51018 * @returns ValidateVersionShardRequest instance 51019 */ 51020 public static create(properties?: vtctldata.IValidateVersionShardRequest): vtctldata.ValidateVersionShardRequest; 51021 51022 /** 51023 * Encodes the specified ValidateVersionShardRequest message. Does not implicitly {@link vtctldata.ValidateVersionShardRequest.verify|verify} messages. 51024 * @param message ValidateVersionShardRequest message or plain object to encode 51025 * @param [writer] Writer to encode to 51026 * @returns Writer 51027 */ 51028 public static encode(message: vtctldata.IValidateVersionShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 51029 51030 /** 51031 * Encodes the specified ValidateVersionShardRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionShardRequest.verify|verify} messages. 51032 * @param message ValidateVersionShardRequest message or plain object to encode 51033 * @param [writer] Writer to encode to 51034 * @returns Writer 51035 */ 51036 public static encodeDelimited(message: vtctldata.IValidateVersionShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; 51037 51038 /** 51039 * Decodes a ValidateVersionShardRequest message from the specified reader or buffer. 51040 * @param reader Reader or buffer to decode from 51041 * @param [length] Message length if known beforehand 51042 * @returns ValidateVersionShardRequest 51043 * @throws {Error} If the payload is not a reader or valid buffer 51044 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51045 */ 51046 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionShardRequest; 51047 51048 /** 51049 * Decodes a ValidateVersionShardRequest message from the specified reader or buffer, length delimited. 51050 * @param reader Reader or buffer to decode from 51051 * @returns ValidateVersionShardRequest 51052 * @throws {Error} If the payload is not a reader or valid buffer 51053 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51054 */ 51055 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionShardRequest; 51056 51057 /** 51058 * Verifies a ValidateVersionShardRequest message. 51059 * @param message Plain object to verify 51060 * @returns `null` if valid, otherwise the reason why it is not 51061 */ 51062 public static verify(message: { [k: string]: any }): (string|null); 51063 51064 /** 51065 * Creates a ValidateVersionShardRequest message from a plain object. Also converts values to their respective internal types. 51066 * @param object Plain object 51067 * @returns ValidateVersionShardRequest 51068 */ 51069 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionShardRequest; 51070 51071 /** 51072 * Creates a plain object from a ValidateVersionShardRequest message. Also converts values to other types if specified. 51073 * @param message ValidateVersionShardRequest 51074 * @param [options] Conversion options 51075 * @returns Plain object 51076 */ 51077 public static toObject(message: vtctldata.ValidateVersionShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 51078 51079 /** 51080 * Converts this ValidateVersionShardRequest to JSON. 51081 * @returns JSON object 51082 */ 51083 public toJSON(): { [k: string]: any }; 51084 } 51085 51086 /** Properties of a ValidateVersionShardResponse. */ 51087 interface IValidateVersionShardResponse { 51088 51089 /** ValidateVersionShardResponse results */ 51090 results?: (string[]|null); 51091 } 51092 51093 /** Represents a ValidateVersionShardResponse. */ 51094 class ValidateVersionShardResponse implements IValidateVersionShardResponse { 51095 51096 /** 51097 * Constructs a new ValidateVersionShardResponse. 51098 * @param [properties] Properties to set 51099 */ 51100 constructor(properties?: vtctldata.IValidateVersionShardResponse); 51101 51102 /** ValidateVersionShardResponse results. */ 51103 public results: string[]; 51104 51105 /** 51106 * Creates a new ValidateVersionShardResponse instance using the specified properties. 51107 * @param [properties] Properties to set 51108 * @returns ValidateVersionShardResponse instance 51109 */ 51110 public static create(properties?: vtctldata.IValidateVersionShardResponse): vtctldata.ValidateVersionShardResponse; 51111 51112 /** 51113 * Encodes the specified ValidateVersionShardResponse message. Does not implicitly {@link vtctldata.ValidateVersionShardResponse.verify|verify} messages. 51114 * @param message ValidateVersionShardResponse message or plain object to encode 51115 * @param [writer] Writer to encode to 51116 * @returns Writer 51117 */ 51118 public static encode(message: vtctldata.IValidateVersionShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 51119 51120 /** 51121 * Encodes the specified ValidateVersionShardResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionShardResponse.verify|verify} messages. 51122 * @param message ValidateVersionShardResponse message or plain object to encode 51123 * @param [writer] Writer to encode to 51124 * @returns Writer 51125 */ 51126 public static encodeDelimited(message: vtctldata.IValidateVersionShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; 51127 51128 /** 51129 * Decodes a ValidateVersionShardResponse message from the specified reader or buffer. 51130 * @param reader Reader or buffer to decode from 51131 * @param [length] Message length if known beforehand 51132 * @returns ValidateVersionShardResponse 51133 * @throws {Error} If the payload is not a reader or valid buffer 51134 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51135 */ 51136 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionShardResponse; 51137 51138 /** 51139 * Decodes a ValidateVersionShardResponse message from the specified reader or buffer, length delimited. 51140 * @param reader Reader or buffer to decode from 51141 * @returns ValidateVersionShardResponse 51142 * @throws {Error} If the payload is not a reader or valid buffer 51143 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51144 */ 51145 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionShardResponse; 51146 51147 /** 51148 * Verifies a ValidateVersionShardResponse message. 51149 * @param message Plain object to verify 51150 * @returns `null` if valid, otherwise the reason why it is not 51151 */ 51152 public static verify(message: { [k: string]: any }): (string|null); 51153 51154 /** 51155 * Creates a ValidateVersionShardResponse message from a plain object. Also converts values to their respective internal types. 51156 * @param object Plain object 51157 * @returns ValidateVersionShardResponse 51158 */ 51159 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionShardResponse; 51160 51161 /** 51162 * Creates a plain object from a ValidateVersionShardResponse message. Also converts values to other types if specified. 51163 * @param message ValidateVersionShardResponse 51164 * @param [options] Conversion options 51165 * @returns Plain object 51166 */ 51167 public static toObject(message: vtctldata.ValidateVersionShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 51168 51169 /** 51170 * Converts this ValidateVersionShardResponse to JSON. 51171 * @returns JSON object 51172 */ 51173 public toJSON(): { [k: string]: any }; 51174 } 51175 51176 /** Properties of a ValidateVSchemaRequest. */ 51177 interface IValidateVSchemaRequest { 51178 51179 /** ValidateVSchemaRequest keyspace */ 51180 keyspace?: (string|null); 51181 51182 /** ValidateVSchemaRequest shards */ 51183 shards?: (string[]|null); 51184 51185 /** ValidateVSchemaRequest exclude_tables */ 51186 exclude_tables?: (string[]|null); 51187 51188 /** ValidateVSchemaRequest include_views */ 51189 include_views?: (boolean|null); 51190 } 51191 51192 /** Represents a ValidateVSchemaRequest. */ 51193 class ValidateVSchemaRequest implements IValidateVSchemaRequest { 51194 51195 /** 51196 * Constructs a new ValidateVSchemaRequest. 51197 * @param [properties] Properties to set 51198 */ 51199 constructor(properties?: vtctldata.IValidateVSchemaRequest); 51200 51201 /** ValidateVSchemaRequest keyspace. */ 51202 public keyspace: string; 51203 51204 /** ValidateVSchemaRequest shards. */ 51205 public shards: string[]; 51206 51207 /** ValidateVSchemaRequest exclude_tables. */ 51208 public exclude_tables: string[]; 51209 51210 /** ValidateVSchemaRequest include_views. */ 51211 public include_views: boolean; 51212 51213 /** 51214 * Creates a new ValidateVSchemaRequest instance using the specified properties. 51215 * @param [properties] Properties to set 51216 * @returns ValidateVSchemaRequest instance 51217 */ 51218 public static create(properties?: vtctldata.IValidateVSchemaRequest): vtctldata.ValidateVSchemaRequest; 51219 51220 /** 51221 * Encodes the specified ValidateVSchemaRequest message. Does not implicitly {@link vtctldata.ValidateVSchemaRequest.verify|verify} messages. 51222 * @param message ValidateVSchemaRequest message or plain object to encode 51223 * @param [writer] Writer to encode to 51224 * @returns Writer 51225 */ 51226 public static encode(message: vtctldata.IValidateVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 51227 51228 /** 51229 * Encodes the specified ValidateVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateVSchemaRequest.verify|verify} messages. 51230 * @param message ValidateVSchemaRequest message or plain object to encode 51231 * @param [writer] Writer to encode to 51232 * @returns Writer 51233 */ 51234 public static encodeDelimited(message: vtctldata.IValidateVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; 51235 51236 /** 51237 * Decodes a ValidateVSchemaRequest message from the specified reader or buffer. 51238 * @param reader Reader or buffer to decode from 51239 * @param [length] Message length if known beforehand 51240 * @returns ValidateVSchemaRequest 51241 * @throws {Error} If the payload is not a reader or valid buffer 51242 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51243 */ 51244 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVSchemaRequest; 51245 51246 /** 51247 * Decodes a ValidateVSchemaRequest message from the specified reader or buffer, length delimited. 51248 * @param reader Reader or buffer to decode from 51249 * @returns ValidateVSchemaRequest 51250 * @throws {Error} If the payload is not a reader or valid buffer 51251 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51252 */ 51253 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVSchemaRequest; 51254 51255 /** 51256 * Verifies a ValidateVSchemaRequest message. 51257 * @param message Plain object to verify 51258 * @returns `null` if valid, otherwise the reason why it is not 51259 */ 51260 public static verify(message: { [k: string]: any }): (string|null); 51261 51262 /** 51263 * Creates a ValidateVSchemaRequest message from a plain object. Also converts values to their respective internal types. 51264 * @param object Plain object 51265 * @returns ValidateVSchemaRequest 51266 */ 51267 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVSchemaRequest; 51268 51269 /** 51270 * Creates a plain object from a ValidateVSchemaRequest message. Also converts values to other types if specified. 51271 * @param message ValidateVSchemaRequest 51272 * @param [options] Conversion options 51273 * @returns Plain object 51274 */ 51275 public static toObject(message: vtctldata.ValidateVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 51276 51277 /** 51278 * Converts this ValidateVSchemaRequest to JSON. 51279 * @returns JSON object 51280 */ 51281 public toJSON(): { [k: string]: any }; 51282 } 51283 51284 /** Properties of a ValidateVSchemaResponse. */ 51285 interface IValidateVSchemaResponse { 51286 51287 /** ValidateVSchemaResponse results */ 51288 results?: (string[]|null); 51289 51290 /** ValidateVSchemaResponse results_by_shard */ 51291 results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); 51292 } 51293 51294 /** Represents a ValidateVSchemaResponse. */ 51295 class ValidateVSchemaResponse implements IValidateVSchemaResponse { 51296 51297 /** 51298 * Constructs a new ValidateVSchemaResponse. 51299 * @param [properties] Properties to set 51300 */ 51301 constructor(properties?: vtctldata.IValidateVSchemaResponse); 51302 51303 /** ValidateVSchemaResponse results. */ 51304 public results: string[]; 51305 51306 /** ValidateVSchemaResponse results_by_shard. */ 51307 public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; 51308 51309 /** 51310 * Creates a new ValidateVSchemaResponse instance using the specified properties. 51311 * @param [properties] Properties to set 51312 * @returns ValidateVSchemaResponse instance 51313 */ 51314 public static create(properties?: vtctldata.IValidateVSchemaResponse): vtctldata.ValidateVSchemaResponse; 51315 51316 /** 51317 * Encodes the specified ValidateVSchemaResponse message. Does not implicitly {@link vtctldata.ValidateVSchemaResponse.verify|verify} messages. 51318 * @param message ValidateVSchemaResponse message or plain object to encode 51319 * @param [writer] Writer to encode to 51320 * @returns Writer 51321 */ 51322 public static encode(message: vtctldata.IValidateVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 51323 51324 /** 51325 * Encodes the specified ValidateVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateVSchemaResponse.verify|verify} messages. 51326 * @param message ValidateVSchemaResponse message or plain object to encode 51327 * @param [writer] Writer to encode to 51328 * @returns Writer 51329 */ 51330 public static encodeDelimited(message: vtctldata.IValidateVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; 51331 51332 /** 51333 * Decodes a ValidateVSchemaResponse message from the specified reader or buffer. 51334 * @param reader Reader or buffer to decode from 51335 * @param [length] Message length if known beforehand 51336 * @returns ValidateVSchemaResponse 51337 * @throws {Error} If the payload is not a reader or valid buffer 51338 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51339 */ 51340 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVSchemaResponse; 51341 51342 /** 51343 * Decodes a ValidateVSchemaResponse message from the specified reader or buffer, length delimited. 51344 * @param reader Reader or buffer to decode from 51345 * @returns ValidateVSchemaResponse 51346 * @throws {Error} If the payload is not a reader or valid buffer 51347 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51348 */ 51349 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVSchemaResponse; 51350 51351 /** 51352 * Verifies a ValidateVSchemaResponse message. 51353 * @param message Plain object to verify 51354 * @returns `null` if valid, otherwise the reason why it is not 51355 */ 51356 public static verify(message: { [k: string]: any }): (string|null); 51357 51358 /** 51359 * Creates a ValidateVSchemaResponse message from a plain object. Also converts values to their respective internal types. 51360 * @param object Plain object 51361 * @returns ValidateVSchemaResponse 51362 */ 51363 public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVSchemaResponse; 51364 51365 /** 51366 * Creates a plain object from a ValidateVSchemaResponse message. Also converts values to other types if specified. 51367 * @param message ValidateVSchemaResponse 51368 * @param [options] Conversion options 51369 * @returns Plain object 51370 */ 51371 public static toObject(message: vtctldata.ValidateVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 51372 51373 /** 51374 * Converts this ValidateVSchemaResponse to JSON. 51375 * @returns JSON object 51376 */ 51377 public toJSON(): { [k: string]: any }; 51378 } 51379 } 51380 51381 /** Namespace binlogdata. */ 51382 export namespace binlogdata { 51383 51384 /** Properties of a Charset. */ 51385 interface ICharset { 51386 51387 /** Charset client */ 51388 client?: (number|null); 51389 51390 /** Charset conn */ 51391 conn?: (number|null); 51392 51393 /** Charset server */ 51394 server?: (number|null); 51395 } 51396 51397 /** Represents a Charset. */ 51398 class Charset implements ICharset { 51399 51400 /** 51401 * Constructs a new Charset. 51402 * @param [properties] Properties to set 51403 */ 51404 constructor(properties?: binlogdata.ICharset); 51405 51406 /** Charset client. */ 51407 public client: number; 51408 51409 /** Charset conn. */ 51410 public conn: number; 51411 51412 /** Charset server. */ 51413 public server: number; 51414 51415 /** 51416 * Creates a new Charset instance using the specified properties. 51417 * @param [properties] Properties to set 51418 * @returns Charset instance 51419 */ 51420 public static create(properties?: binlogdata.ICharset): binlogdata.Charset; 51421 51422 /** 51423 * Encodes the specified Charset message. Does not implicitly {@link binlogdata.Charset.verify|verify} messages. 51424 * @param message Charset message or plain object to encode 51425 * @param [writer] Writer to encode to 51426 * @returns Writer 51427 */ 51428 public static encode(message: binlogdata.ICharset, writer?: $protobuf.Writer): $protobuf.Writer; 51429 51430 /** 51431 * Encodes the specified Charset message, length delimited. Does not implicitly {@link binlogdata.Charset.verify|verify} messages. 51432 * @param message Charset message or plain object to encode 51433 * @param [writer] Writer to encode to 51434 * @returns Writer 51435 */ 51436 public static encodeDelimited(message: binlogdata.ICharset, writer?: $protobuf.Writer): $protobuf.Writer; 51437 51438 /** 51439 * Decodes a Charset message from the specified reader or buffer. 51440 * @param reader Reader or buffer to decode from 51441 * @param [length] Message length if known beforehand 51442 * @returns Charset 51443 * @throws {Error} If the payload is not a reader or valid buffer 51444 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51445 */ 51446 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.Charset; 51447 51448 /** 51449 * Decodes a Charset message from the specified reader or buffer, length delimited. 51450 * @param reader Reader or buffer to decode from 51451 * @returns Charset 51452 * @throws {Error} If the payload is not a reader or valid buffer 51453 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51454 */ 51455 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.Charset; 51456 51457 /** 51458 * Verifies a Charset message. 51459 * @param message Plain object to verify 51460 * @returns `null` if valid, otherwise the reason why it is not 51461 */ 51462 public static verify(message: { [k: string]: any }): (string|null); 51463 51464 /** 51465 * Creates a Charset message from a plain object. Also converts values to their respective internal types. 51466 * @param object Plain object 51467 * @returns Charset 51468 */ 51469 public static fromObject(object: { [k: string]: any }): binlogdata.Charset; 51470 51471 /** 51472 * Creates a plain object from a Charset message. Also converts values to other types if specified. 51473 * @param message Charset 51474 * @param [options] Conversion options 51475 * @returns Plain object 51476 */ 51477 public static toObject(message: binlogdata.Charset, options?: $protobuf.IConversionOptions): { [k: string]: any }; 51478 51479 /** 51480 * Converts this Charset to JSON. 51481 * @returns JSON object 51482 */ 51483 public toJSON(): { [k: string]: any }; 51484 } 51485 51486 /** Properties of a BinlogTransaction. */ 51487 interface IBinlogTransaction { 51488 51489 /** BinlogTransaction statements */ 51490 statements?: (binlogdata.BinlogTransaction.IStatement[]|null); 51491 51492 /** BinlogTransaction event_token */ 51493 event_token?: (query.IEventToken|null); 51494 } 51495 51496 /** Represents a BinlogTransaction. */ 51497 class BinlogTransaction implements IBinlogTransaction { 51498 51499 /** 51500 * Constructs a new BinlogTransaction. 51501 * @param [properties] Properties to set 51502 */ 51503 constructor(properties?: binlogdata.IBinlogTransaction); 51504 51505 /** BinlogTransaction statements. */ 51506 public statements: binlogdata.BinlogTransaction.IStatement[]; 51507 51508 /** BinlogTransaction event_token. */ 51509 public event_token?: (query.IEventToken|null); 51510 51511 /** 51512 * Creates a new BinlogTransaction instance using the specified properties. 51513 * @param [properties] Properties to set 51514 * @returns BinlogTransaction instance 51515 */ 51516 public static create(properties?: binlogdata.IBinlogTransaction): binlogdata.BinlogTransaction; 51517 51518 /** 51519 * Encodes the specified BinlogTransaction message. Does not implicitly {@link binlogdata.BinlogTransaction.verify|verify} messages. 51520 * @param message BinlogTransaction message or plain object to encode 51521 * @param [writer] Writer to encode to 51522 * @returns Writer 51523 */ 51524 public static encode(message: binlogdata.IBinlogTransaction, writer?: $protobuf.Writer): $protobuf.Writer; 51525 51526 /** 51527 * Encodes the specified BinlogTransaction message, length delimited. Does not implicitly {@link binlogdata.BinlogTransaction.verify|verify} messages. 51528 * @param message BinlogTransaction message or plain object to encode 51529 * @param [writer] Writer to encode to 51530 * @returns Writer 51531 */ 51532 public static encodeDelimited(message: binlogdata.IBinlogTransaction, writer?: $protobuf.Writer): $protobuf.Writer; 51533 51534 /** 51535 * Decodes a BinlogTransaction message from the specified reader or buffer. 51536 * @param reader Reader or buffer to decode from 51537 * @param [length] Message length if known beforehand 51538 * @returns BinlogTransaction 51539 * @throws {Error} If the payload is not a reader or valid buffer 51540 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51541 */ 51542 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.BinlogTransaction; 51543 51544 /** 51545 * Decodes a BinlogTransaction message from the specified reader or buffer, length delimited. 51546 * @param reader Reader or buffer to decode from 51547 * @returns BinlogTransaction 51548 * @throws {Error} If the payload is not a reader or valid buffer 51549 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51550 */ 51551 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.BinlogTransaction; 51552 51553 /** 51554 * Verifies a BinlogTransaction message. 51555 * @param message Plain object to verify 51556 * @returns `null` if valid, otherwise the reason why it is not 51557 */ 51558 public static verify(message: { [k: string]: any }): (string|null); 51559 51560 /** 51561 * Creates a BinlogTransaction message from a plain object. Also converts values to their respective internal types. 51562 * @param object Plain object 51563 * @returns BinlogTransaction 51564 */ 51565 public static fromObject(object: { [k: string]: any }): binlogdata.BinlogTransaction; 51566 51567 /** 51568 * Creates a plain object from a BinlogTransaction message. Also converts values to other types if specified. 51569 * @param message BinlogTransaction 51570 * @param [options] Conversion options 51571 * @returns Plain object 51572 */ 51573 public static toObject(message: binlogdata.BinlogTransaction, options?: $protobuf.IConversionOptions): { [k: string]: any }; 51574 51575 /** 51576 * Converts this BinlogTransaction to JSON. 51577 * @returns JSON object 51578 */ 51579 public toJSON(): { [k: string]: any }; 51580 } 51581 51582 namespace BinlogTransaction { 51583 51584 /** Properties of a Statement. */ 51585 interface IStatement { 51586 51587 /** Statement category */ 51588 category?: (binlogdata.BinlogTransaction.Statement.Category|null); 51589 51590 /** Statement charset */ 51591 charset?: (binlogdata.ICharset|null); 51592 51593 /** Statement sql */ 51594 sql?: (Uint8Array|null); 51595 } 51596 51597 /** Represents a Statement. */ 51598 class Statement implements IStatement { 51599 51600 /** 51601 * Constructs a new Statement. 51602 * @param [properties] Properties to set 51603 */ 51604 constructor(properties?: binlogdata.BinlogTransaction.IStatement); 51605 51606 /** Statement category. */ 51607 public category: binlogdata.BinlogTransaction.Statement.Category; 51608 51609 /** Statement charset. */ 51610 public charset?: (binlogdata.ICharset|null); 51611 51612 /** Statement sql. */ 51613 public sql: Uint8Array; 51614 51615 /** 51616 * Creates a new Statement instance using the specified properties. 51617 * @param [properties] Properties to set 51618 * @returns Statement instance 51619 */ 51620 public static create(properties?: binlogdata.BinlogTransaction.IStatement): binlogdata.BinlogTransaction.Statement; 51621 51622 /** 51623 * Encodes the specified Statement message. Does not implicitly {@link binlogdata.BinlogTransaction.Statement.verify|verify} messages. 51624 * @param message Statement message or plain object to encode 51625 * @param [writer] Writer to encode to 51626 * @returns Writer 51627 */ 51628 public static encode(message: binlogdata.BinlogTransaction.IStatement, writer?: $protobuf.Writer): $protobuf.Writer; 51629 51630 /** 51631 * Encodes the specified Statement message, length delimited. Does not implicitly {@link binlogdata.BinlogTransaction.Statement.verify|verify} messages. 51632 * @param message Statement message or plain object to encode 51633 * @param [writer] Writer to encode to 51634 * @returns Writer 51635 */ 51636 public static encodeDelimited(message: binlogdata.BinlogTransaction.IStatement, writer?: $protobuf.Writer): $protobuf.Writer; 51637 51638 /** 51639 * Decodes a Statement message from the specified reader or buffer. 51640 * @param reader Reader or buffer to decode from 51641 * @param [length] Message length if known beforehand 51642 * @returns Statement 51643 * @throws {Error} If the payload is not a reader or valid buffer 51644 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51645 */ 51646 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.BinlogTransaction.Statement; 51647 51648 /** 51649 * Decodes a Statement message from the specified reader or buffer, length delimited. 51650 * @param reader Reader or buffer to decode from 51651 * @returns Statement 51652 * @throws {Error} If the payload is not a reader or valid buffer 51653 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51654 */ 51655 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.BinlogTransaction.Statement; 51656 51657 /** 51658 * Verifies a Statement message. 51659 * @param message Plain object to verify 51660 * @returns `null` if valid, otherwise the reason why it is not 51661 */ 51662 public static verify(message: { [k: string]: any }): (string|null); 51663 51664 /** 51665 * Creates a Statement message from a plain object. Also converts values to their respective internal types. 51666 * @param object Plain object 51667 * @returns Statement 51668 */ 51669 public static fromObject(object: { [k: string]: any }): binlogdata.BinlogTransaction.Statement; 51670 51671 /** 51672 * Creates a plain object from a Statement message. Also converts values to other types if specified. 51673 * @param message Statement 51674 * @param [options] Conversion options 51675 * @returns Plain object 51676 */ 51677 public static toObject(message: binlogdata.BinlogTransaction.Statement, options?: $protobuf.IConversionOptions): { [k: string]: any }; 51678 51679 /** 51680 * Converts this Statement to JSON. 51681 * @returns JSON object 51682 */ 51683 public toJSON(): { [k: string]: any }; 51684 } 51685 51686 namespace Statement { 51687 51688 /** Category enum. */ 51689 enum Category { 51690 BL_UNRECOGNIZED = 0, 51691 BL_BEGIN = 1, 51692 BL_COMMIT = 2, 51693 BL_ROLLBACK = 3, 51694 BL_DML_DEPRECATED = 4, 51695 BL_DDL = 5, 51696 BL_SET = 6, 51697 BL_INSERT = 7, 51698 BL_UPDATE = 8, 51699 BL_DELETE = 9 51700 } 51701 } 51702 } 51703 51704 /** Properties of a StreamKeyRangeRequest. */ 51705 interface IStreamKeyRangeRequest { 51706 51707 /** StreamKeyRangeRequest position */ 51708 position?: (string|null); 51709 51710 /** StreamKeyRangeRequest key_range */ 51711 key_range?: (topodata.IKeyRange|null); 51712 51713 /** StreamKeyRangeRequest charset */ 51714 charset?: (binlogdata.ICharset|null); 51715 } 51716 51717 /** Represents a StreamKeyRangeRequest. */ 51718 class StreamKeyRangeRequest implements IStreamKeyRangeRequest { 51719 51720 /** 51721 * Constructs a new StreamKeyRangeRequest. 51722 * @param [properties] Properties to set 51723 */ 51724 constructor(properties?: binlogdata.IStreamKeyRangeRequest); 51725 51726 /** StreamKeyRangeRequest position. */ 51727 public position: string; 51728 51729 /** StreamKeyRangeRequest key_range. */ 51730 public key_range?: (topodata.IKeyRange|null); 51731 51732 /** StreamKeyRangeRequest charset. */ 51733 public charset?: (binlogdata.ICharset|null); 51734 51735 /** 51736 * Creates a new StreamKeyRangeRequest instance using the specified properties. 51737 * @param [properties] Properties to set 51738 * @returns StreamKeyRangeRequest instance 51739 */ 51740 public static create(properties?: binlogdata.IStreamKeyRangeRequest): binlogdata.StreamKeyRangeRequest; 51741 51742 /** 51743 * Encodes the specified StreamKeyRangeRequest message. Does not implicitly {@link binlogdata.StreamKeyRangeRequest.verify|verify} messages. 51744 * @param message StreamKeyRangeRequest message or plain object to encode 51745 * @param [writer] Writer to encode to 51746 * @returns Writer 51747 */ 51748 public static encode(message: binlogdata.IStreamKeyRangeRequest, writer?: $protobuf.Writer): $protobuf.Writer; 51749 51750 /** 51751 * Encodes the specified StreamKeyRangeRequest message, length delimited. Does not implicitly {@link binlogdata.StreamKeyRangeRequest.verify|verify} messages. 51752 * @param message StreamKeyRangeRequest message or plain object to encode 51753 * @param [writer] Writer to encode to 51754 * @returns Writer 51755 */ 51756 public static encodeDelimited(message: binlogdata.IStreamKeyRangeRequest, writer?: $protobuf.Writer): $protobuf.Writer; 51757 51758 /** 51759 * Decodes a StreamKeyRangeRequest message from the specified reader or buffer. 51760 * @param reader Reader or buffer to decode from 51761 * @param [length] Message length if known beforehand 51762 * @returns StreamKeyRangeRequest 51763 * @throws {Error} If the payload is not a reader or valid buffer 51764 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51765 */ 51766 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.StreamKeyRangeRequest; 51767 51768 /** 51769 * Decodes a StreamKeyRangeRequest message from the specified reader or buffer, length delimited. 51770 * @param reader Reader or buffer to decode from 51771 * @returns StreamKeyRangeRequest 51772 * @throws {Error} If the payload is not a reader or valid buffer 51773 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51774 */ 51775 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.StreamKeyRangeRequest; 51776 51777 /** 51778 * Verifies a StreamKeyRangeRequest message. 51779 * @param message Plain object to verify 51780 * @returns `null` if valid, otherwise the reason why it is not 51781 */ 51782 public static verify(message: { [k: string]: any }): (string|null); 51783 51784 /** 51785 * Creates a StreamKeyRangeRequest message from a plain object. Also converts values to their respective internal types. 51786 * @param object Plain object 51787 * @returns StreamKeyRangeRequest 51788 */ 51789 public static fromObject(object: { [k: string]: any }): binlogdata.StreamKeyRangeRequest; 51790 51791 /** 51792 * Creates a plain object from a StreamKeyRangeRequest message. Also converts values to other types if specified. 51793 * @param message StreamKeyRangeRequest 51794 * @param [options] Conversion options 51795 * @returns Plain object 51796 */ 51797 public static toObject(message: binlogdata.StreamKeyRangeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 51798 51799 /** 51800 * Converts this StreamKeyRangeRequest to JSON. 51801 * @returns JSON object 51802 */ 51803 public toJSON(): { [k: string]: any }; 51804 } 51805 51806 /** Properties of a StreamKeyRangeResponse. */ 51807 interface IStreamKeyRangeResponse { 51808 51809 /** StreamKeyRangeResponse binlog_transaction */ 51810 binlog_transaction?: (binlogdata.IBinlogTransaction|null); 51811 } 51812 51813 /** Represents a StreamKeyRangeResponse. */ 51814 class StreamKeyRangeResponse implements IStreamKeyRangeResponse { 51815 51816 /** 51817 * Constructs a new StreamKeyRangeResponse. 51818 * @param [properties] Properties to set 51819 */ 51820 constructor(properties?: binlogdata.IStreamKeyRangeResponse); 51821 51822 /** StreamKeyRangeResponse binlog_transaction. */ 51823 public binlog_transaction?: (binlogdata.IBinlogTransaction|null); 51824 51825 /** 51826 * Creates a new StreamKeyRangeResponse instance using the specified properties. 51827 * @param [properties] Properties to set 51828 * @returns StreamKeyRangeResponse instance 51829 */ 51830 public static create(properties?: binlogdata.IStreamKeyRangeResponse): binlogdata.StreamKeyRangeResponse; 51831 51832 /** 51833 * Encodes the specified StreamKeyRangeResponse message. Does not implicitly {@link binlogdata.StreamKeyRangeResponse.verify|verify} messages. 51834 * @param message StreamKeyRangeResponse message or plain object to encode 51835 * @param [writer] Writer to encode to 51836 * @returns Writer 51837 */ 51838 public static encode(message: binlogdata.IStreamKeyRangeResponse, writer?: $protobuf.Writer): $protobuf.Writer; 51839 51840 /** 51841 * Encodes the specified StreamKeyRangeResponse message, length delimited. Does not implicitly {@link binlogdata.StreamKeyRangeResponse.verify|verify} messages. 51842 * @param message StreamKeyRangeResponse message or plain object to encode 51843 * @param [writer] Writer to encode to 51844 * @returns Writer 51845 */ 51846 public static encodeDelimited(message: binlogdata.IStreamKeyRangeResponse, writer?: $protobuf.Writer): $protobuf.Writer; 51847 51848 /** 51849 * Decodes a StreamKeyRangeResponse message from the specified reader or buffer. 51850 * @param reader Reader or buffer to decode from 51851 * @param [length] Message length if known beforehand 51852 * @returns StreamKeyRangeResponse 51853 * @throws {Error} If the payload is not a reader or valid buffer 51854 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51855 */ 51856 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.StreamKeyRangeResponse; 51857 51858 /** 51859 * Decodes a StreamKeyRangeResponse message from the specified reader or buffer, length delimited. 51860 * @param reader Reader or buffer to decode from 51861 * @returns StreamKeyRangeResponse 51862 * @throws {Error} If the payload is not a reader or valid buffer 51863 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51864 */ 51865 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.StreamKeyRangeResponse; 51866 51867 /** 51868 * Verifies a StreamKeyRangeResponse message. 51869 * @param message Plain object to verify 51870 * @returns `null` if valid, otherwise the reason why it is not 51871 */ 51872 public static verify(message: { [k: string]: any }): (string|null); 51873 51874 /** 51875 * Creates a StreamKeyRangeResponse message from a plain object. Also converts values to their respective internal types. 51876 * @param object Plain object 51877 * @returns StreamKeyRangeResponse 51878 */ 51879 public static fromObject(object: { [k: string]: any }): binlogdata.StreamKeyRangeResponse; 51880 51881 /** 51882 * Creates a plain object from a StreamKeyRangeResponse message. Also converts values to other types if specified. 51883 * @param message StreamKeyRangeResponse 51884 * @param [options] Conversion options 51885 * @returns Plain object 51886 */ 51887 public static toObject(message: binlogdata.StreamKeyRangeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 51888 51889 /** 51890 * Converts this StreamKeyRangeResponse to JSON. 51891 * @returns JSON object 51892 */ 51893 public toJSON(): { [k: string]: any }; 51894 } 51895 51896 /** Properties of a StreamTablesRequest. */ 51897 interface IStreamTablesRequest { 51898 51899 /** StreamTablesRequest position */ 51900 position?: (string|null); 51901 51902 /** StreamTablesRequest tables */ 51903 tables?: (string[]|null); 51904 51905 /** StreamTablesRequest charset */ 51906 charset?: (binlogdata.ICharset|null); 51907 } 51908 51909 /** Represents a StreamTablesRequest. */ 51910 class StreamTablesRequest implements IStreamTablesRequest { 51911 51912 /** 51913 * Constructs a new StreamTablesRequest. 51914 * @param [properties] Properties to set 51915 */ 51916 constructor(properties?: binlogdata.IStreamTablesRequest); 51917 51918 /** StreamTablesRequest position. */ 51919 public position: string; 51920 51921 /** StreamTablesRequest tables. */ 51922 public tables: string[]; 51923 51924 /** StreamTablesRequest charset. */ 51925 public charset?: (binlogdata.ICharset|null); 51926 51927 /** 51928 * Creates a new StreamTablesRequest instance using the specified properties. 51929 * @param [properties] Properties to set 51930 * @returns StreamTablesRequest instance 51931 */ 51932 public static create(properties?: binlogdata.IStreamTablesRequest): binlogdata.StreamTablesRequest; 51933 51934 /** 51935 * Encodes the specified StreamTablesRequest message. Does not implicitly {@link binlogdata.StreamTablesRequest.verify|verify} messages. 51936 * @param message StreamTablesRequest message or plain object to encode 51937 * @param [writer] Writer to encode to 51938 * @returns Writer 51939 */ 51940 public static encode(message: binlogdata.IStreamTablesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 51941 51942 /** 51943 * Encodes the specified StreamTablesRequest message, length delimited. Does not implicitly {@link binlogdata.StreamTablesRequest.verify|verify} messages. 51944 * @param message StreamTablesRequest message or plain object to encode 51945 * @param [writer] Writer to encode to 51946 * @returns Writer 51947 */ 51948 public static encodeDelimited(message: binlogdata.IStreamTablesRequest, writer?: $protobuf.Writer): $protobuf.Writer; 51949 51950 /** 51951 * Decodes a StreamTablesRequest message from the specified reader or buffer. 51952 * @param reader Reader or buffer to decode from 51953 * @param [length] Message length if known beforehand 51954 * @returns StreamTablesRequest 51955 * @throws {Error} If the payload is not a reader or valid buffer 51956 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51957 */ 51958 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.StreamTablesRequest; 51959 51960 /** 51961 * Decodes a StreamTablesRequest message from the specified reader or buffer, length delimited. 51962 * @param reader Reader or buffer to decode from 51963 * @returns StreamTablesRequest 51964 * @throws {Error} If the payload is not a reader or valid buffer 51965 * @throws {$protobuf.util.ProtocolError} If required fields are missing 51966 */ 51967 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.StreamTablesRequest; 51968 51969 /** 51970 * Verifies a StreamTablesRequest message. 51971 * @param message Plain object to verify 51972 * @returns `null` if valid, otherwise the reason why it is not 51973 */ 51974 public static verify(message: { [k: string]: any }): (string|null); 51975 51976 /** 51977 * Creates a StreamTablesRequest message from a plain object. Also converts values to their respective internal types. 51978 * @param object Plain object 51979 * @returns StreamTablesRequest 51980 */ 51981 public static fromObject(object: { [k: string]: any }): binlogdata.StreamTablesRequest; 51982 51983 /** 51984 * Creates a plain object from a StreamTablesRequest message. Also converts values to other types if specified. 51985 * @param message StreamTablesRequest 51986 * @param [options] Conversion options 51987 * @returns Plain object 51988 */ 51989 public static toObject(message: binlogdata.StreamTablesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 51990 51991 /** 51992 * Converts this StreamTablesRequest to JSON. 51993 * @returns JSON object 51994 */ 51995 public toJSON(): { [k: string]: any }; 51996 } 51997 51998 /** Properties of a StreamTablesResponse. */ 51999 interface IStreamTablesResponse { 52000 52001 /** StreamTablesResponse binlog_transaction */ 52002 binlog_transaction?: (binlogdata.IBinlogTransaction|null); 52003 } 52004 52005 /** Represents a StreamTablesResponse. */ 52006 class StreamTablesResponse implements IStreamTablesResponse { 52007 52008 /** 52009 * Constructs a new StreamTablesResponse. 52010 * @param [properties] Properties to set 52011 */ 52012 constructor(properties?: binlogdata.IStreamTablesResponse); 52013 52014 /** StreamTablesResponse binlog_transaction. */ 52015 public binlog_transaction?: (binlogdata.IBinlogTransaction|null); 52016 52017 /** 52018 * Creates a new StreamTablesResponse instance using the specified properties. 52019 * @param [properties] Properties to set 52020 * @returns StreamTablesResponse instance 52021 */ 52022 public static create(properties?: binlogdata.IStreamTablesResponse): binlogdata.StreamTablesResponse; 52023 52024 /** 52025 * Encodes the specified StreamTablesResponse message. Does not implicitly {@link binlogdata.StreamTablesResponse.verify|verify} messages. 52026 * @param message StreamTablesResponse message or plain object to encode 52027 * @param [writer] Writer to encode to 52028 * @returns Writer 52029 */ 52030 public static encode(message: binlogdata.IStreamTablesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 52031 52032 /** 52033 * Encodes the specified StreamTablesResponse message, length delimited. Does not implicitly {@link binlogdata.StreamTablesResponse.verify|verify} messages. 52034 * @param message StreamTablesResponse message or plain object to encode 52035 * @param [writer] Writer to encode to 52036 * @returns Writer 52037 */ 52038 public static encodeDelimited(message: binlogdata.IStreamTablesResponse, writer?: $protobuf.Writer): $protobuf.Writer; 52039 52040 /** 52041 * Decodes a StreamTablesResponse message from the specified reader or buffer. 52042 * @param reader Reader or buffer to decode from 52043 * @param [length] Message length if known beforehand 52044 * @returns StreamTablesResponse 52045 * @throws {Error} If the payload is not a reader or valid buffer 52046 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52047 */ 52048 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.StreamTablesResponse; 52049 52050 /** 52051 * Decodes a StreamTablesResponse message from the specified reader or buffer, length delimited. 52052 * @param reader Reader or buffer to decode from 52053 * @returns StreamTablesResponse 52054 * @throws {Error} If the payload is not a reader or valid buffer 52055 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52056 */ 52057 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.StreamTablesResponse; 52058 52059 /** 52060 * Verifies a StreamTablesResponse message. 52061 * @param message Plain object to verify 52062 * @returns `null` if valid, otherwise the reason why it is not 52063 */ 52064 public static verify(message: { [k: string]: any }): (string|null); 52065 52066 /** 52067 * Creates a StreamTablesResponse message from a plain object. Also converts values to their respective internal types. 52068 * @param object Plain object 52069 * @returns StreamTablesResponse 52070 */ 52071 public static fromObject(object: { [k: string]: any }): binlogdata.StreamTablesResponse; 52072 52073 /** 52074 * Creates a plain object from a StreamTablesResponse message. Also converts values to other types if specified. 52075 * @param message StreamTablesResponse 52076 * @param [options] Conversion options 52077 * @returns Plain object 52078 */ 52079 public static toObject(message: binlogdata.StreamTablesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 52080 52081 /** 52082 * Converts this StreamTablesResponse to JSON. 52083 * @returns JSON object 52084 */ 52085 public toJSON(): { [k: string]: any }; 52086 } 52087 52088 /** Properties of a CharsetConversion. */ 52089 interface ICharsetConversion { 52090 52091 /** CharsetConversion from_charset */ 52092 from_charset?: (string|null); 52093 52094 /** CharsetConversion to_charset */ 52095 to_charset?: (string|null); 52096 } 52097 52098 /** Represents a CharsetConversion. */ 52099 class CharsetConversion implements ICharsetConversion { 52100 52101 /** 52102 * Constructs a new CharsetConversion. 52103 * @param [properties] Properties to set 52104 */ 52105 constructor(properties?: binlogdata.ICharsetConversion); 52106 52107 /** CharsetConversion from_charset. */ 52108 public from_charset: string; 52109 52110 /** CharsetConversion to_charset. */ 52111 public to_charset: string; 52112 52113 /** 52114 * Creates a new CharsetConversion instance using the specified properties. 52115 * @param [properties] Properties to set 52116 * @returns CharsetConversion instance 52117 */ 52118 public static create(properties?: binlogdata.ICharsetConversion): binlogdata.CharsetConversion; 52119 52120 /** 52121 * Encodes the specified CharsetConversion message. Does not implicitly {@link binlogdata.CharsetConversion.verify|verify} messages. 52122 * @param message CharsetConversion message or plain object to encode 52123 * @param [writer] Writer to encode to 52124 * @returns Writer 52125 */ 52126 public static encode(message: binlogdata.ICharsetConversion, writer?: $protobuf.Writer): $protobuf.Writer; 52127 52128 /** 52129 * Encodes the specified CharsetConversion message, length delimited. Does not implicitly {@link binlogdata.CharsetConversion.verify|verify} messages. 52130 * @param message CharsetConversion message or plain object to encode 52131 * @param [writer] Writer to encode to 52132 * @returns Writer 52133 */ 52134 public static encodeDelimited(message: binlogdata.ICharsetConversion, writer?: $protobuf.Writer): $protobuf.Writer; 52135 52136 /** 52137 * Decodes a CharsetConversion message from the specified reader or buffer. 52138 * @param reader Reader or buffer to decode from 52139 * @param [length] Message length if known beforehand 52140 * @returns CharsetConversion 52141 * @throws {Error} If the payload is not a reader or valid buffer 52142 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52143 */ 52144 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.CharsetConversion; 52145 52146 /** 52147 * Decodes a CharsetConversion message from the specified reader or buffer, length delimited. 52148 * @param reader Reader or buffer to decode from 52149 * @returns CharsetConversion 52150 * @throws {Error} If the payload is not a reader or valid buffer 52151 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52152 */ 52153 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.CharsetConversion; 52154 52155 /** 52156 * Verifies a CharsetConversion message. 52157 * @param message Plain object to verify 52158 * @returns `null` if valid, otherwise the reason why it is not 52159 */ 52160 public static verify(message: { [k: string]: any }): (string|null); 52161 52162 /** 52163 * Creates a CharsetConversion message from a plain object. Also converts values to their respective internal types. 52164 * @param object Plain object 52165 * @returns CharsetConversion 52166 */ 52167 public static fromObject(object: { [k: string]: any }): binlogdata.CharsetConversion; 52168 52169 /** 52170 * Creates a plain object from a CharsetConversion message. Also converts values to other types if specified. 52171 * @param message CharsetConversion 52172 * @param [options] Conversion options 52173 * @returns Plain object 52174 */ 52175 public static toObject(message: binlogdata.CharsetConversion, options?: $protobuf.IConversionOptions): { [k: string]: any }; 52176 52177 /** 52178 * Converts this CharsetConversion to JSON. 52179 * @returns JSON object 52180 */ 52181 public toJSON(): { [k: string]: any }; 52182 } 52183 52184 /** Properties of a Rule. */ 52185 interface IRule { 52186 52187 /** Rule match */ 52188 match?: (string|null); 52189 52190 /** Rule filter */ 52191 filter?: (string|null); 52192 52193 /** Rule convert_enum_to_text */ 52194 convert_enum_to_text?: ({ [k: string]: string }|null); 52195 52196 /** Rule convert_charset */ 52197 convert_charset?: ({ [k: string]: binlogdata.ICharsetConversion }|null); 52198 52199 /** Rule source_unique_key_columns */ 52200 source_unique_key_columns?: (string|null); 52201 52202 /** Rule target_unique_key_columns */ 52203 target_unique_key_columns?: (string|null); 52204 52205 /** Rule source_unique_key_target_columns */ 52206 source_unique_key_target_columns?: (string|null); 52207 52208 /** Rule convert_int_to_enum */ 52209 convert_int_to_enum?: ({ [k: string]: boolean }|null); 52210 } 52211 52212 /** Represents a Rule. */ 52213 class Rule implements IRule { 52214 52215 /** 52216 * Constructs a new Rule. 52217 * @param [properties] Properties to set 52218 */ 52219 constructor(properties?: binlogdata.IRule); 52220 52221 /** Rule match. */ 52222 public match: string; 52223 52224 /** Rule filter. */ 52225 public filter: string; 52226 52227 /** Rule convert_enum_to_text. */ 52228 public convert_enum_to_text: { [k: string]: string }; 52229 52230 /** Rule convert_charset. */ 52231 public convert_charset: { [k: string]: binlogdata.ICharsetConversion }; 52232 52233 /** Rule source_unique_key_columns. */ 52234 public source_unique_key_columns: string; 52235 52236 /** Rule target_unique_key_columns. */ 52237 public target_unique_key_columns: string; 52238 52239 /** Rule source_unique_key_target_columns. */ 52240 public source_unique_key_target_columns: string; 52241 52242 /** Rule convert_int_to_enum. */ 52243 public convert_int_to_enum: { [k: string]: boolean }; 52244 52245 /** 52246 * Creates a new Rule instance using the specified properties. 52247 * @param [properties] Properties to set 52248 * @returns Rule instance 52249 */ 52250 public static create(properties?: binlogdata.IRule): binlogdata.Rule; 52251 52252 /** 52253 * Encodes the specified Rule message. Does not implicitly {@link binlogdata.Rule.verify|verify} messages. 52254 * @param message Rule message or plain object to encode 52255 * @param [writer] Writer to encode to 52256 * @returns Writer 52257 */ 52258 public static encode(message: binlogdata.IRule, writer?: $protobuf.Writer): $protobuf.Writer; 52259 52260 /** 52261 * Encodes the specified Rule message, length delimited. Does not implicitly {@link binlogdata.Rule.verify|verify} messages. 52262 * @param message Rule message or plain object to encode 52263 * @param [writer] Writer to encode to 52264 * @returns Writer 52265 */ 52266 public static encodeDelimited(message: binlogdata.IRule, writer?: $protobuf.Writer): $protobuf.Writer; 52267 52268 /** 52269 * Decodes a Rule message from the specified reader or buffer. 52270 * @param reader Reader or buffer to decode from 52271 * @param [length] Message length if known beforehand 52272 * @returns Rule 52273 * @throws {Error} If the payload is not a reader or valid buffer 52274 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52275 */ 52276 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.Rule; 52277 52278 /** 52279 * Decodes a Rule message from the specified reader or buffer, length delimited. 52280 * @param reader Reader or buffer to decode from 52281 * @returns Rule 52282 * @throws {Error} If the payload is not a reader or valid buffer 52283 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52284 */ 52285 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.Rule; 52286 52287 /** 52288 * Verifies a Rule message. 52289 * @param message Plain object to verify 52290 * @returns `null` if valid, otherwise the reason why it is not 52291 */ 52292 public static verify(message: { [k: string]: any }): (string|null); 52293 52294 /** 52295 * Creates a Rule message from a plain object. Also converts values to their respective internal types. 52296 * @param object Plain object 52297 * @returns Rule 52298 */ 52299 public static fromObject(object: { [k: string]: any }): binlogdata.Rule; 52300 52301 /** 52302 * Creates a plain object from a Rule message. Also converts values to other types if specified. 52303 * @param message Rule 52304 * @param [options] Conversion options 52305 * @returns Plain object 52306 */ 52307 public static toObject(message: binlogdata.Rule, options?: $protobuf.IConversionOptions): { [k: string]: any }; 52308 52309 /** 52310 * Converts this Rule to JSON. 52311 * @returns JSON object 52312 */ 52313 public toJSON(): { [k: string]: any }; 52314 } 52315 52316 /** Properties of a Filter. */ 52317 interface IFilter { 52318 52319 /** Filter rules */ 52320 rules?: (binlogdata.IRule[]|null); 52321 52322 /** Filter field_event_mode */ 52323 field_event_mode?: (binlogdata.Filter.FieldEventMode|null); 52324 52325 /** Filter workflow_type */ 52326 workflow_type?: (number|Long|null); 52327 52328 /** Filter workflow_name */ 52329 workflow_name?: (string|null); 52330 } 52331 52332 /** Represents a Filter. */ 52333 class Filter implements IFilter { 52334 52335 /** 52336 * Constructs a new Filter. 52337 * @param [properties] Properties to set 52338 */ 52339 constructor(properties?: binlogdata.IFilter); 52340 52341 /** Filter rules. */ 52342 public rules: binlogdata.IRule[]; 52343 52344 /** Filter field_event_mode. */ 52345 public field_event_mode: binlogdata.Filter.FieldEventMode; 52346 52347 /** Filter workflow_type. */ 52348 public workflow_type: (number|Long); 52349 52350 /** Filter workflow_name. */ 52351 public workflow_name: string; 52352 52353 /** 52354 * Creates a new Filter instance using the specified properties. 52355 * @param [properties] Properties to set 52356 * @returns Filter instance 52357 */ 52358 public static create(properties?: binlogdata.IFilter): binlogdata.Filter; 52359 52360 /** 52361 * Encodes the specified Filter message. Does not implicitly {@link binlogdata.Filter.verify|verify} messages. 52362 * @param message Filter message or plain object to encode 52363 * @param [writer] Writer to encode to 52364 * @returns Writer 52365 */ 52366 public static encode(message: binlogdata.IFilter, writer?: $protobuf.Writer): $protobuf.Writer; 52367 52368 /** 52369 * Encodes the specified Filter message, length delimited. Does not implicitly {@link binlogdata.Filter.verify|verify} messages. 52370 * @param message Filter message or plain object to encode 52371 * @param [writer] Writer to encode to 52372 * @returns Writer 52373 */ 52374 public static encodeDelimited(message: binlogdata.IFilter, writer?: $protobuf.Writer): $protobuf.Writer; 52375 52376 /** 52377 * Decodes a Filter message from the specified reader or buffer. 52378 * @param reader Reader or buffer to decode from 52379 * @param [length] Message length if known beforehand 52380 * @returns Filter 52381 * @throws {Error} If the payload is not a reader or valid buffer 52382 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52383 */ 52384 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.Filter; 52385 52386 /** 52387 * Decodes a Filter message from the specified reader or buffer, length delimited. 52388 * @param reader Reader or buffer to decode from 52389 * @returns Filter 52390 * @throws {Error} If the payload is not a reader or valid buffer 52391 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52392 */ 52393 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.Filter; 52394 52395 /** 52396 * Verifies a Filter message. 52397 * @param message Plain object to verify 52398 * @returns `null` if valid, otherwise the reason why it is not 52399 */ 52400 public static verify(message: { [k: string]: any }): (string|null); 52401 52402 /** 52403 * Creates a Filter message from a plain object. Also converts values to their respective internal types. 52404 * @param object Plain object 52405 * @returns Filter 52406 */ 52407 public static fromObject(object: { [k: string]: any }): binlogdata.Filter; 52408 52409 /** 52410 * Creates a plain object from a Filter message. Also converts values to other types if specified. 52411 * @param message Filter 52412 * @param [options] Conversion options 52413 * @returns Plain object 52414 */ 52415 public static toObject(message: binlogdata.Filter, options?: $protobuf.IConversionOptions): { [k: string]: any }; 52416 52417 /** 52418 * Converts this Filter to JSON. 52419 * @returns JSON object 52420 */ 52421 public toJSON(): { [k: string]: any }; 52422 } 52423 52424 namespace Filter { 52425 52426 /** FieldEventMode enum. */ 52427 enum FieldEventMode { 52428 ERR_ON_MISMATCH = 0, 52429 BEST_EFFORT = 1 52430 } 52431 } 52432 52433 /** OnDDLAction enum. */ 52434 enum OnDDLAction { 52435 IGNORE = 0, 52436 STOP = 1, 52437 EXEC = 2, 52438 EXEC_IGNORE = 3 52439 } 52440 52441 /** VReplicationWorkflowType enum. */ 52442 enum VReplicationWorkflowType { 52443 Materialize = 0, 52444 MoveTables = 1, 52445 CreateLookupIndex = 2, 52446 Migrate = 3, 52447 Reshard = 4, 52448 OnlineDDL = 5 52449 } 52450 52451 /** VReplicationWorkflowSubType enum. */ 52452 enum VReplicationWorkflowSubType { 52453 None = 0, 52454 Partial = 1 52455 } 52456 52457 /** Properties of a BinlogSource. */ 52458 interface IBinlogSource { 52459 52460 /** BinlogSource keyspace */ 52461 keyspace?: (string|null); 52462 52463 /** BinlogSource shard */ 52464 shard?: (string|null); 52465 52466 /** BinlogSource tablet_type */ 52467 tablet_type?: (topodata.TabletType|null); 52468 52469 /** BinlogSource key_range */ 52470 key_range?: (topodata.IKeyRange|null); 52471 52472 /** BinlogSource tables */ 52473 tables?: (string[]|null); 52474 52475 /** BinlogSource filter */ 52476 filter?: (binlogdata.IFilter|null); 52477 52478 /** BinlogSource on_ddl */ 52479 on_ddl?: (binlogdata.OnDDLAction|null); 52480 52481 /** BinlogSource external_mysql */ 52482 external_mysql?: (string|null); 52483 52484 /** BinlogSource stop_after_copy */ 52485 stop_after_copy?: (boolean|null); 52486 52487 /** BinlogSource external_cluster */ 52488 external_cluster?: (string|null); 52489 52490 /** BinlogSource source_time_zone */ 52491 source_time_zone?: (string|null); 52492 52493 /** BinlogSource target_time_zone */ 52494 target_time_zone?: (string|null); 52495 } 52496 52497 /** Represents a BinlogSource. */ 52498 class BinlogSource implements IBinlogSource { 52499 52500 /** 52501 * Constructs a new BinlogSource. 52502 * @param [properties] Properties to set 52503 */ 52504 constructor(properties?: binlogdata.IBinlogSource); 52505 52506 /** BinlogSource keyspace. */ 52507 public keyspace: string; 52508 52509 /** BinlogSource shard. */ 52510 public shard: string; 52511 52512 /** BinlogSource tablet_type. */ 52513 public tablet_type: topodata.TabletType; 52514 52515 /** BinlogSource key_range. */ 52516 public key_range?: (topodata.IKeyRange|null); 52517 52518 /** BinlogSource tables. */ 52519 public tables: string[]; 52520 52521 /** BinlogSource filter. */ 52522 public filter?: (binlogdata.IFilter|null); 52523 52524 /** BinlogSource on_ddl. */ 52525 public on_ddl: binlogdata.OnDDLAction; 52526 52527 /** BinlogSource external_mysql. */ 52528 public external_mysql: string; 52529 52530 /** BinlogSource stop_after_copy. */ 52531 public stop_after_copy: boolean; 52532 52533 /** BinlogSource external_cluster. */ 52534 public external_cluster: string; 52535 52536 /** BinlogSource source_time_zone. */ 52537 public source_time_zone: string; 52538 52539 /** BinlogSource target_time_zone. */ 52540 public target_time_zone: string; 52541 52542 /** 52543 * Creates a new BinlogSource instance using the specified properties. 52544 * @param [properties] Properties to set 52545 * @returns BinlogSource instance 52546 */ 52547 public static create(properties?: binlogdata.IBinlogSource): binlogdata.BinlogSource; 52548 52549 /** 52550 * Encodes the specified BinlogSource message. Does not implicitly {@link binlogdata.BinlogSource.verify|verify} messages. 52551 * @param message BinlogSource message or plain object to encode 52552 * @param [writer] Writer to encode to 52553 * @returns Writer 52554 */ 52555 public static encode(message: binlogdata.IBinlogSource, writer?: $protobuf.Writer): $protobuf.Writer; 52556 52557 /** 52558 * Encodes the specified BinlogSource message, length delimited. Does not implicitly {@link binlogdata.BinlogSource.verify|verify} messages. 52559 * @param message BinlogSource message or plain object to encode 52560 * @param [writer] Writer to encode to 52561 * @returns Writer 52562 */ 52563 public static encodeDelimited(message: binlogdata.IBinlogSource, writer?: $protobuf.Writer): $protobuf.Writer; 52564 52565 /** 52566 * Decodes a BinlogSource message from the specified reader or buffer. 52567 * @param reader Reader or buffer to decode from 52568 * @param [length] Message length if known beforehand 52569 * @returns BinlogSource 52570 * @throws {Error} If the payload is not a reader or valid buffer 52571 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52572 */ 52573 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.BinlogSource; 52574 52575 /** 52576 * Decodes a BinlogSource message from the specified reader or buffer, length delimited. 52577 * @param reader Reader or buffer to decode from 52578 * @returns BinlogSource 52579 * @throws {Error} If the payload is not a reader or valid buffer 52580 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52581 */ 52582 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.BinlogSource; 52583 52584 /** 52585 * Verifies a BinlogSource message. 52586 * @param message Plain object to verify 52587 * @returns `null` if valid, otherwise the reason why it is not 52588 */ 52589 public static verify(message: { [k: string]: any }): (string|null); 52590 52591 /** 52592 * Creates a BinlogSource message from a plain object. Also converts values to their respective internal types. 52593 * @param object Plain object 52594 * @returns BinlogSource 52595 */ 52596 public static fromObject(object: { [k: string]: any }): binlogdata.BinlogSource; 52597 52598 /** 52599 * Creates a plain object from a BinlogSource message. Also converts values to other types if specified. 52600 * @param message BinlogSource 52601 * @param [options] Conversion options 52602 * @returns Plain object 52603 */ 52604 public static toObject(message: binlogdata.BinlogSource, options?: $protobuf.IConversionOptions): { [k: string]: any }; 52605 52606 /** 52607 * Converts this BinlogSource to JSON. 52608 * @returns JSON object 52609 */ 52610 public toJSON(): { [k: string]: any }; 52611 } 52612 52613 /** VEventType enum. */ 52614 enum VEventType { 52615 UNKNOWN = 0, 52616 GTID = 1, 52617 BEGIN = 2, 52618 COMMIT = 3, 52619 ROLLBACK = 4, 52620 DDL = 5, 52621 INSERT = 6, 52622 REPLACE = 7, 52623 UPDATE = 8, 52624 DELETE = 9, 52625 SET = 10, 52626 OTHER = 11, 52627 ROW = 12, 52628 FIELD = 13, 52629 HEARTBEAT = 14, 52630 VGTID = 15, 52631 JOURNAL = 16, 52632 VERSION = 17, 52633 LASTPK = 18, 52634 SAVEPOINT = 19, 52635 COPY_COMPLETED = 20 52636 } 52637 52638 /** Properties of a RowChange. */ 52639 interface IRowChange { 52640 52641 /** RowChange before */ 52642 before?: (query.IRow|null); 52643 52644 /** RowChange after */ 52645 after?: (query.IRow|null); 52646 } 52647 52648 /** Represents a RowChange. */ 52649 class RowChange implements IRowChange { 52650 52651 /** 52652 * Constructs a new RowChange. 52653 * @param [properties] Properties to set 52654 */ 52655 constructor(properties?: binlogdata.IRowChange); 52656 52657 /** RowChange before. */ 52658 public before?: (query.IRow|null); 52659 52660 /** RowChange after. */ 52661 public after?: (query.IRow|null); 52662 52663 /** 52664 * Creates a new RowChange instance using the specified properties. 52665 * @param [properties] Properties to set 52666 * @returns RowChange instance 52667 */ 52668 public static create(properties?: binlogdata.IRowChange): binlogdata.RowChange; 52669 52670 /** 52671 * Encodes the specified RowChange message. Does not implicitly {@link binlogdata.RowChange.verify|verify} messages. 52672 * @param message RowChange message or plain object to encode 52673 * @param [writer] Writer to encode to 52674 * @returns Writer 52675 */ 52676 public static encode(message: binlogdata.IRowChange, writer?: $protobuf.Writer): $protobuf.Writer; 52677 52678 /** 52679 * Encodes the specified RowChange message, length delimited. Does not implicitly {@link binlogdata.RowChange.verify|verify} messages. 52680 * @param message RowChange message or plain object to encode 52681 * @param [writer] Writer to encode to 52682 * @returns Writer 52683 */ 52684 public static encodeDelimited(message: binlogdata.IRowChange, writer?: $protobuf.Writer): $protobuf.Writer; 52685 52686 /** 52687 * Decodes a RowChange message from the specified reader or buffer. 52688 * @param reader Reader or buffer to decode from 52689 * @param [length] Message length if known beforehand 52690 * @returns RowChange 52691 * @throws {Error} If the payload is not a reader or valid buffer 52692 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52693 */ 52694 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.RowChange; 52695 52696 /** 52697 * Decodes a RowChange message from the specified reader or buffer, length delimited. 52698 * @param reader Reader or buffer to decode from 52699 * @returns RowChange 52700 * @throws {Error} If the payload is not a reader or valid buffer 52701 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52702 */ 52703 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.RowChange; 52704 52705 /** 52706 * Verifies a RowChange message. 52707 * @param message Plain object to verify 52708 * @returns `null` if valid, otherwise the reason why it is not 52709 */ 52710 public static verify(message: { [k: string]: any }): (string|null); 52711 52712 /** 52713 * Creates a RowChange message from a plain object. Also converts values to their respective internal types. 52714 * @param object Plain object 52715 * @returns RowChange 52716 */ 52717 public static fromObject(object: { [k: string]: any }): binlogdata.RowChange; 52718 52719 /** 52720 * Creates a plain object from a RowChange message. Also converts values to other types if specified. 52721 * @param message RowChange 52722 * @param [options] Conversion options 52723 * @returns Plain object 52724 */ 52725 public static toObject(message: binlogdata.RowChange, options?: $protobuf.IConversionOptions): { [k: string]: any }; 52726 52727 /** 52728 * Converts this RowChange to JSON. 52729 * @returns JSON object 52730 */ 52731 public toJSON(): { [k: string]: any }; 52732 } 52733 52734 /** Properties of a RowEvent. */ 52735 interface IRowEvent { 52736 52737 /** RowEvent table_name */ 52738 table_name?: (string|null); 52739 52740 /** RowEvent row_changes */ 52741 row_changes?: (binlogdata.IRowChange[]|null); 52742 52743 /** RowEvent keyspace */ 52744 keyspace?: (string|null); 52745 52746 /** RowEvent shard */ 52747 shard?: (string|null); 52748 } 52749 52750 /** Represents a RowEvent. */ 52751 class RowEvent implements IRowEvent { 52752 52753 /** 52754 * Constructs a new RowEvent. 52755 * @param [properties] Properties to set 52756 */ 52757 constructor(properties?: binlogdata.IRowEvent); 52758 52759 /** RowEvent table_name. */ 52760 public table_name: string; 52761 52762 /** RowEvent row_changes. */ 52763 public row_changes: binlogdata.IRowChange[]; 52764 52765 /** RowEvent keyspace. */ 52766 public keyspace: string; 52767 52768 /** RowEvent shard. */ 52769 public shard: string; 52770 52771 /** 52772 * Creates a new RowEvent instance using the specified properties. 52773 * @param [properties] Properties to set 52774 * @returns RowEvent instance 52775 */ 52776 public static create(properties?: binlogdata.IRowEvent): binlogdata.RowEvent; 52777 52778 /** 52779 * Encodes the specified RowEvent message. Does not implicitly {@link binlogdata.RowEvent.verify|verify} messages. 52780 * @param message RowEvent message or plain object to encode 52781 * @param [writer] Writer to encode to 52782 * @returns Writer 52783 */ 52784 public static encode(message: binlogdata.IRowEvent, writer?: $protobuf.Writer): $protobuf.Writer; 52785 52786 /** 52787 * Encodes the specified RowEvent message, length delimited. Does not implicitly {@link binlogdata.RowEvent.verify|verify} messages. 52788 * @param message RowEvent message or plain object to encode 52789 * @param [writer] Writer to encode to 52790 * @returns Writer 52791 */ 52792 public static encodeDelimited(message: binlogdata.IRowEvent, writer?: $protobuf.Writer): $protobuf.Writer; 52793 52794 /** 52795 * Decodes a RowEvent message from the specified reader or buffer. 52796 * @param reader Reader or buffer to decode from 52797 * @param [length] Message length if known beforehand 52798 * @returns RowEvent 52799 * @throws {Error} If the payload is not a reader or valid buffer 52800 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52801 */ 52802 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.RowEvent; 52803 52804 /** 52805 * Decodes a RowEvent message from the specified reader or buffer, length delimited. 52806 * @param reader Reader or buffer to decode from 52807 * @returns RowEvent 52808 * @throws {Error} If the payload is not a reader or valid buffer 52809 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52810 */ 52811 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.RowEvent; 52812 52813 /** 52814 * Verifies a RowEvent message. 52815 * @param message Plain object to verify 52816 * @returns `null` if valid, otherwise the reason why it is not 52817 */ 52818 public static verify(message: { [k: string]: any }): (string|null); 52819 52820 /** 52821 * Creates a RowEvent message from a plain object. Also converts values to their respective internal types. 52822 * @param object Plain object 52823 * @returns RowEvent 52824 */ 52825 public static fromObject(object: { [k: string]: any }): binlogdata.RowEvent; 52826 52827 /** 52828 * Creates a plain object from a RowEvent message. Also converts values to other types if specified. 52829 * @param message RowEvent 52830 * @param [options] Conversion options 52831 * @returns Plain object 52832 */ 52833 public static toObject(message: binlogdata.RowEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; 52834 52835 /** 52836 * Converts this RowEvent to JSON. 52837 * @returns JSON object 52838 */ 52839 public toJSON(): { [k: string]: any }; 52840 } 52841 52842 /** Properties of a FieldEvent. */ 52843 interface IFieldEvent { 52844 52845 /** FieldEvent table_name */ 52846 table_name?: (string|null); 52847 52848 /** FieldEvent fields */ 52849 fields?: (query.IField[]|null); 52850 52851 /** FieldEvent keyspace */ 52852 keyspace?: (string|null); 52853 52854 /** FieldEvent shard */ 52855 shard?: (string|null); 52856 } 52857 52858 /** Represents a FieldEvent. */ 52859 class FieldEvent implements IFieldEvent { 52860 52861 /** 52862 * Constructs a new FieldEvent. 52863 * @param [properties] Properties to set 52864 */ 52865 constructor(properties?: binlogdata.IFieldEvent); 52866 52867 /** FieldEvent table_name. */ 52868 public table_name: string; 52869 52870 /** FieldEvent fields. */ 52871 public fields: query.IField[]; 52872 52873 /** FieldEvent keyspace. */ 52874 public keyspace: string; 52875 52876 /** FieldEvent shard. */ 52877 public shard: string; 52878 52879 /** 52880 * Creates a new FieldEvent instance using the specified properties. 52881 * @param [properties] Properties to set 52882 * @returns FieldEvent instance 52883 */ 52884 public static create(properties?: binlogdata.IFieldEvent): binlogdata.FieldEvent; 52885 52886 /** 52887 * Encodes the specified FieldEvent message. Does not implicitly {@link binlogdata.FieldEvent.verify|verify} messages. 52888 * @param message FieldEvent message or plain object to encode 52889 * @param [writer] Writer to encode to 52890 * @returns Writer 52891 */ 52892 public static encode(message: binlogdata.IFieldEvent, writer?: $protobuf.Writer): $protobuf.Writer; 52893 52894 /** 52895 * Encodes the specified FieldEvent message, length delimited. Does not implicitly {@link binlogdata.FieldEvent.verify|verify} messages. 52896 * @param message FieldEvent message or plain object to encode 52897 * @param [writer] Writer to encode to 52898 * @returns Writer 52899 */ 52900 public static encodeDelimited(message: binlogdata.IFieldEvent, writer?: $protobuf.Writer): $protobuf.Writer; 52901 52902 /** 52903 * Decodes a FieldEvent message from the specified reader or buffer. 52904 * @param reader Reader or buffer to decode from 52905 * @param [length] Message length if known beforehand 52906 * @returns FieldEvent 52907 * @throws {Error} If the payload is not a reader or valid buffer 52908 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52909 */ 52910 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.FieldEvent; 52911 52912 /** 52913 * Decodes a FieldEvent message from the specified reader or buffer, length delimited. 52914 * @param reader Reader or buffer to decode from 52915 * @returns FieldEvent 52916 * @throws {Error} If the payload is not a reader or valid buffer 52917 * @throws {$protobuf.util.ProtocolError} If required fields are missing 52918 */ 52919 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.FieldEvent; 52920 52921 /** 52922 * Verifies a FieldEvent message. 52923 * @param message Plain object to verify 52924 * @returns `null` if valid, otherwise the reason why it is not 52925 */ 52926 public static verify(message: { [k: string]: any }): (string|null); 52927 52928 /** 52929 * Creates a FieldEvent message from a plain object. Also converts values to their respective internal types. 52930 * @param object Plain object 52931 * @returns FieldEvent 52932 */ 52933 public static fromObject(object: { [k: string]: any }): binlogdata.FieldEvent; 52934 52935 /** 52936 * Creates a plain object from a FieldEvent message. Also converts values to other types if specified. 52937 * @param message FieldEvent 52938 * @param [options] Conversion options 52939 * @returns Plain object 52940 */ 52941 public static toObject(message: binlogdata.FieldEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; 52942 52943 /** 52944 * Converts this FieldEvent to JSON. 52945 * @returns JSON object 52946 */ 52947 public toJSON(): { [k: string]: any }; 52948 } 52949 52950 /** Properties of a ShardGtid. */ 52951 interface IShardGtid { 52952 52953 /** ShardGtid keyspace */ 52954 keyspace?: (string|null); 52955 52956 /** ShardGtid shard */ 52957 shard?: (string|null); 52958 52959 /** ShardGtid gtid */ 52960 gtid?: (string|null); 52961 52962 /** ShardGtid table_p_ks */ 52963 table_p_ks?: (binlogdata.ITableLastPK[]|null); 52964 } 52965 52966 /** Represents a ShardGtid. */ 52967 class ShardGtid implements IShardGtid { 52968 52969 /** 52970 * Constructs a new ShardGtid. 52971 * @param [properties] Properties to set 52972 */ 52973 constructor(properties?: binlogdata.IShardGtid); 52974 52975 /** ShardGtid keyspace. */ 52976 public keyspace: string; 52977 52978 /** ShardGtid shard. */ 52979 public shard: string; 52980 52981 /** ShardGtid gtid. */ 52982 public gtid: string; 52983 52984 /** ShardGtid table_p_ks. */ 52985 public table_p_ks: binlogdata.ITableLastPK[]; 52986 52987 /** 52988 * Creates a new ShardGtid instance using the specified properties. 52989 * @param [properties] Properties to set 52990 * @returns ShardGtid instance 52991 */ 52992 public static create(properties?: binlogdata.IShardGtid): binlogdata.ShardGtid; 52993 52994 /** 52995 * Encodes the specified ShardGtid message. Does not implicitly {@link binlogdata.ShardGtid.verify|verify} messages. 52996 * @param message ShardGtid message or plain object to encode 52997 * @param [writer] Writer to encode to 52998 * @returns Writer 52999 */ 53000 public static encode(message: binlogdata.IShardGtid, writer?: $protobuf.Writer): $protobuf.Writer; 53001 53002 /** 53003 * Encodes the specified ShardGtid message, length delimited. Does not implicitly {@link binlogdata.ShardGtid.verify|verify} messages. 53004 * @param message ShardGtid message or plain object to encode 53005 * @param [writer] Writer to encode to 53006 * @returns Writer 53007 */ 53008 public static encodeDelimited(message: binlogdata.IShardGtid, writer?: $protobuf.Writer): $protobuf.Writer; 53009 53010 /** 53011 * Decodes a ShardGtid message from the specified reader or buffer. 53012 * @param reader Reader or buffer to decode from 53013 * @param [length] Message length if known beforehand 53014 * @returns ShardGtid 53015 * @throws {Error} If the payload is not a reader or valid buffer 53016 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53017 */ 53018 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.ShardGtid; 53019 53020 /** 53021 * Decodes a ShardGtid message from the specified reader or buffer, length delimited. 53022 * @param reader Reader or buffer to decode from 53023 * @returns ShardGtid 53024 * @throws {Error} If the payload is not a reader or valid buffer 53025 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53026 */ 53027 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.ShardGtid; 53028 53029 /** 53030 * Verifies a ShardGtid message. 53031 * @param message Plain object to verify 53032 * @returns `null` if valid, otherwise the reason why it is not 53033 */ 53034 public static verify(message: { [k: string]: any }): (string|null); 53035 53036 /** 53037 * Creates a ShardGtid message from a plain object. Also converts values to their respective internal types. 53038 * @param object Plain object 53039 * @returns ShardGtid 53040 */ 53041 public static fromObject(object: { [k: string]: any }): binlogdata.ShardGtid; 53042 53043 /** 53044 * Creates a plain object from a ShardGtid message. Also converts values to other types if specified. 53045 * @param message ShardGtid 53046 * @param [options] Conversion options 53047 * @returns Plain object 53048 */ 53049 public static toObject(message: binlogdata.ShardGtid, options?: $protobuf.IConversionOptions): { [k: string]: any }; 53050 53051 /** 53052 * Converts this ShardGtid to JSON. 53053 * @returns JSON object 53054 */ 53055 public toJSON(): { [k: string]: any }; 53056 } 53057 53058 /** Properties of a VGtid. */ 53059 interface IVGtid { 53060 53061 /** VGtid shard_gtids */ 53062 shard_gtids?: (binlogdata.IShardGtid[]|null); 53063 } 53064 53065 /** Represents a VGtid. */ 53066 class VGtid implements IVGtid { 53067 53068 /** 53069 * Constructs a new VGtid. 53070 * @param [properties] Properties to set 53071 */ 53072 constructor(properties?: binlogdata.IVGtid); 53073 53074 /** VGtid shard_gtids. */ 53075 public shard_gtids: binlogdata.IShardGtid[]; 53076 53077 /** 53078 * Creates a new VGtid instance using the specified properties. 53079 * @param [properties] Properties to set 53080 * @returns VGtid instance 53081 */ 53082 public static create(properties?: binlogdata.IVGtid): binlogdata.VGtid; 53083 53084 /** 53085 * Encodes the specified VGtid message. Does not implicitly {@link binlogdata.VGtid.verify|verify} messages. 53086 * @param message VGtid message or plain object to encode 53087 * @param [writer] Writer to encode to 53088 * @returns Writer 53089 */ 53090 public static encode(message: binlogdata.IVGtid, writer?: $protobuf.Writer): $protobuf.Writer; 53091 53092 /** 53093 * Encodes the specified VGtid message, length delimited. Does not implicitly {@link binlogdata.VGtid.verify|verify} messages. 53094 * @param message VGtid message or plain object to encode 53095 * @param [writer] Writer to encode to 53096 * @returns Writer 53097 */ 53098 public static encodeDelimited(message: binlogdata.IVGtid, writer?: $protobuf.Writer): $protobuf.Writer; 53099 53100 /** 53101 * Decodes a VGtid message from the specified reader or buffer. 53102 * @param reader Reader or buffer to decode from 53103 * @param [length] Message length if known beforehand 53104 * @returns VGtid 53105 * @throws {Error} If the payload is not a reader or valid buffer 53106 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53107 */ 53108 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.VGtid; 53109 53110 /** 53111 * Decodes a VGtid message from the specified reader or buffer, length delimited. 53112 * @param reader Reader or buffer to decode from 53113 * @returns VGtid 53114 * @throws {Error} If the payload is not a reader or valid buffer 53115 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53116 */ 53117 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.VGtid; 53118 53119 /** 53120 * Verifies a VGtid message. 53121 * @param message Plain object to verify 53122 * @returns `null` if valid, otherwise the reason why it is not 53123 */ 53124 public static verify(message: { [k: string]: any }): (string|null); 53125 53126 /** 53127 * Creates a VGtid message from a plain object. Also converts values to their respective internal types. 53128 * @param object Plain object 53129 * @returns VGtid 53130 */ 53131 public static fromObject(object: { [k: string]: any }): binlogdata.VGtid; 53132 53133 /** 53134 * Creates a plain object from a VGtid message. Also converts values to other types if specified. 53135 * @param message VGtid 53136 * @param [options] Conversion options 53137 * @returns Plain object 53138 */ 53139 public static toObject(message: binlogdata.VGtid, options?: $protobuf.IConversionOptions): { [k: string]: any }; 53140 53141 /** 53142 * Converts this VGtid to JSON. 53143 * @returns JSON object 53144 */ 53145 public toJSON(): { [k: string]: any }; 53146 } 53147 53148 /** Properties of a KeyspaceShard. */ 53149 interface IKeyspaceShard { 53150 53151 /** KeyspaceShard keyspace */ 53152 keyspace?: (string|null); 53153 53154 /** KeyspaceShard shard */ 53155 shard?: (string|null); 53156 } 53157 53158 /** Represents a KeyspaceShard. */ 53159 class KeyspaceShard implements IKeyspaceShard { 53160 53161 /** 53162 * Constructs a new KeyspaceShard. 53163 * @param [properties] Properties to set 53164 */ 53165 constructor(properties?: binlogdata.IKeyspaceShard); 53166 53167 /** KeyspaceShard keyspace. */ 53168 public keyspace: string; 53169 53170 /** KeyspaceShard shard. */ 53171 public shard: string; 53172 53173 /** 53174 * Creates a new KeyspaceShard instance using the specified properties. 53175 * @param [properties] Properties to set 53176 * @returns KeyspaceShard instance 53177 */ 53178 public static create(properties?: binlogdata.IKeyspaceShard): binlogdata.KeyspaceShard; 53179 53180 /** 53181 * Encodes the specified KeyspaceShard message. Does not implicitly {@link binlogdata.KeyspaceShard.verify|verify} messages. 53182 * @param message KeyspaceShard message or plain object to encode 53183 * @param [writer] Writer to encode to 53184 * @returns Writer 53185 */ 53186 public static encode(message: binlogdata.IKeyspaceShard, writer?: $protobuf.Writer): $protobuf.Writer; 53187 53188 /** 53189 * Encodes the specified KeyspaceShard message, length delimited. Does not implicitly {@link binlogdata.KeyspaceShard.verify|verify} messages. 53190 * @param message KeyspaceShard message or plain object to encode 53191 * @param [writer] Writer to encode to 53192 * @returns Writer 53193 */ 53194 public static encodeDelimited(message: binlogdata.IKeyspaceShard, writer?: $protobuf.Writer): $protobuf.Writer; 53195 53196 /** 53197 * Decodes a KeyspaceShard message from the specified reader or buffer. 53198 * @param reader Reader or buffer to decode from 53199 * @param [length] Message length if known beforehand 53200 * @returns KeyspaceShard 53201 * @throws {Error} If the payload is not a reader or valid buffer 53202 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53203 */ 53204 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.KeyspaceShard; 53205 53206 /** 53207 * Decodes a KeyspaceShard message from the specified reader or buffer, length delimited. 53208 * @param reader Reader or buffer to decode from 53209 * @returns KeyspaceShard 53210 * @throws {Error} If the payload is not a reader or valid buffer 53211 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53212 */ 53213 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.KeyspaceShard; 53214 53215 /** 53216 * Verifies a KeyspaceShard message. 53217 * @param message Plain object to verify 53218 * @returns `null` if valid, otherwise the reason why it is not 53219 */ 53220 public static verify(message: { [k: string]: any }): (string|null); 53221 53222 /** 53223 * Creates a KeyspaceShard message from a plain object. Also converts values to their respective internal types. 53224 * @param object Plain object 53225 * @returns KeyspaceShard 53226 */ 53227 public static fromObject(object: { [k: string]: any }): binlogdata.KeyspaceShard; 53228 53229 /** 53230 * Creates a plain object from a KeyspaceShard message. Also converts values to other types if specified. 53231 * @param message KeyspaceShard 53232 * @param [options] Conversion options 53233 * @returns Plain object 53234 */ 53235 public static toObject(message: binlogdata.KeyspaceShard, options?: $protobuf.IConversionOptions): { [k: string]: any }; 53236 53237 /** 53238 * Converts this KeyspaceShard to JSON. 53239 * @returns JSON object 53240 */ 53241 public toJSON(): { [k: string]: any }; 53242 } 53243 53244 /** MigrationType enum. */ 53245 enum MigrationType { 53246 TABLES = 0, 53247 SHARDS = 1 53248 } 53249 53250 /** Properties of a Journal. */ 53251 interface IJournal { 53252 53253 /** Journal id */ 53254 id?: (number|Long|null); 53255 53256 /** Journal migration_type */ 53257 migration_type?: (binlogdata.MigrationType|null); 53258 53259 /** Journal tables */ 53260 tables?: (string[]|null); 53261 53262 /** Journal local_position */ 53263 local_position?: (string|null); 53264 53265 /** Journal shard_gtids */ 53266 shard_gtids?: (binlogdata.IShardGtid[]|null); 53267 53268 /** Journal participants */ 53269 participants?: (binlogdata.IKeyspaceShard[]|null); 53270 53271 /** Journal source_workflows */ 53272 source_workflows?: (string[]|null); 53273 } 53274 53275 /** Represents a Journal. */ 53276 class Journal implements IJournal { 53277 53278 /** 53279 * Constructs a new Journal. 53280 * @param [properties] Properties to set 53281 */ 53282 constructor(properties?: binlogdata.IJournal); 53283 53284 /** Journal id. */ 53285 public id: (number|Long); 53286 53287 /** Journal migration_type. */ 53288 public migration_type: binlogdata.MigrationType; 53289 53290 /** Journal tables. */ 53291 public tables: string[]; 53292 53293 /** Journal local_position. */ 53294 public local_position: string; 53295 53296 /** Journal shard_gtids. */ 53297 public shard_gtids: binlogdata.IShardGtid[]; 53298 53299 /** Journal participants. */ 53300 public participants: binlogdata.IKeyspaceShard[]; 53301 53302 /** Journal source_workflows. */ 53303 public source_workflows: string[]; 53304 53305 /** 53306 * Creates a new Journal instance using the specified properties. 53307 * @param [properties] Properties to set 53308 * @returns Journal instance 53309 */ 53310 public static create(properties?: binlogdata.IJournal): binlogdata.Journal; 53311 53312 /** 53313 * Encodes the specified Journal message. Does not implicitly {@link binlogdata.Journal.verify|verify} messages. 53314 * @param message Journal message or plain object to encode 53315 * @param [writer] Writer to encode to 53316 * @returns Writer 53317 */ 53318 public static encode(message: binlogdata.IJournal, writer?: $protobuf.Writer): $protobuf.Writer; 53319 53320 /** 53321 * Encodes the specified Journal message, length delimited. Does not implicitly {@link binlogdata.Journal.verify|verify} messages. 53322 * @param message Journal message or plain object to encode 53323 * @param [writer] Writer to encode to 53324 * @returns Writer 53325 */ 53326 public static encodeDelimited(message: binlogdata.IJournal, writer?: $protobuf.Writer): $protobuf.Writer; 53327 53328 /** 53329 * Decodes a Journal message from the specified reader or buffer. 53330 * @param reader Reader or buffer to decode from 53331 * @param [length] Message length if known beforehand 53332 * @returns Journal 53333 * @throws {Error} If the payload is not a reader or valid buffer 53334 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53335 */ 53336 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.Journal; 53337 53338 /** 53339 * Decodes a Journal message from the specified reader or buffer, length delimited. 53340 * @param reader Reader or buffer to decode from 53341 * @returns Journal 53342 * @throws {Error} If the payload is not a reader or valid buffer 53343 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53344 */ 53345 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.Journal; 53346 53347 /** 53348 * Verifies a Journal message. 53349 * @param message Plain object to verify 53350 * @returns `null` if valid, otherwise the reason why it is not 53351 */ 53352 public static verify(message: { [k: string]: any }): (string|null); 53353 53354 /** 53355 * Creates a Journal message from a plain object. Also converts values to their respective internal types. 53356 * @param object Plain object 53357 * @returns Journal 53358 */ 53359 public static fromObject(object: { [k: string]: any }): binlogdata.Journal; 53360 53361 /** 53362 * Creates a plain object from a Journal message. Also converts values to other types if specified. 53363 * @param message Journal 53364 * @param [options] Conversion options 53365 * @returns Plain object 53366 */ 53367 public static toObject(message: binlogdata.Journal, options?: $protobuf.IConversionOptions): { [k: string]: any }; 53368 53369 /** 53370 * Converts this Journal to JSON. 53371 * @returns JSON object 53372 */ 53373 public toJSON(): { [k: string]: any }; 53374 } 53375 53376 /** Properties of a VEvent. */ 53377 interface IVEvent { 53378 53379 /** VEvent type */ 53380 type?: (binlogdata.VEventType|null); 53381 53382 /** VEvent timestamp */ 53383 timestamp?: (number|Long|null); 53384 53385 /** VEvent gtid */ 53386 gtid?: (string|null); 53387 53388 /** VEvent statement */ 53389 statement?: (string|null); 53390 53391 /** VEvent row_event */ 53392 row_event?: (binlogdata.IRowEvent|null); 53393 53394 /** VEvent field_event */ 53395 field_event?: (binlogdata.IFieldEvent|null); 53396 53397 /** VEvent vgtid */ 53398 vgtid?: (binlogdata.IVGtid|null); 53399 53400 /** VEvent journal */ 53401 journal?: (binlogdata.IJournal|null); 53402 53403 /** VEvent dml */ 53404 dml?: (string|null); 53405 53406 /** VEvent current_time */ 53407 current_time?: (number|Long|null); 53408 53409 /** VEvent last_p_k_event */ 53410 last_p_k_event?: (binlogdata.ILastPKEvent|null); 53411 53412 /** VEvent keyspace */ 53413 keyspace?: (string|null); 53414 53415 /** VEvent shard */ 53416 shard?: (string|null); 53417 53418 /** VEvent throttled */ 53419 throttled?: (boolean|null); 53420 } 53421 53422 /** Represents a VEvent. */ 53423 class VEvent implements IVEvent { 53424 53425 /** 53426 * Constructs a new VEvent. 53427 * @param [properties] Properties to set 53428 */ 53429 constructor(properties?: binlogdata.IVEvent); 53430 53431 /** VEvent type. */ 53432 public type: binlogdata.VEventType; 53433 53434 /** VEvent timestamp. */ 53435 public timestamp: (number|Long); 53436 53437 /** VEvent gtid. */ 53438 public gtid: string; 53439 53440 /** VEvent statement. */ 53441 public statement: string; 53442 53443 /** VEvent row_event. */ 53444 public row_event?: (binlogdata.IRowEvent|null); 53445 53446 /** VEvent field_event. */ 53447 public field_event?: (binlogdata.IFieldEvent|null); 53448 53449 /** VEvent vgtid. */ 53450 public vgtid?: (binlogdata.IVGtid|null); 53451 53452 /** VEvent journal. */ 53453 public journal?: (binlogdata.IJournal|null); 53454 53455 /** VEvent dml. */ 53456 public dml: string; 53457 53458 /** VEvent current_time. */ 53459 public current_time: (number|Long); 53460 53461 /** VEvent last_p_k_event. */ 53462 public last_p_k_event?: (binlogdata.ILastPKEvent|null); 53463 53464 /** VEvent keyspace. */ 53465 public keyspace: string; 53466 53467 /** VEvent shard. */ 53468 public shard: string; 53469 53470 /** VEvent throttled. */ 53471 public throttled: boolean; 53472 53473 /** 53474 * Creates a new VEvent instance using the specified properties. 53475 * @param [properties] Properties to set 53476 * @returns VEvent instance 53477 */ 53478 public static create(properties?: binlogdata.IVEvent): binlogdata.VEvent; 53479 53480 /** 53481 * Encodes the specified VEvent message. Does not implicitly {@link binlogdata.VEvent.verify|verify} messages. 53482 * @param message VEvent message or plain object to encode 53483 * @param [writer] Writer to encode to 53484 * @returns Writer 53485 */ 53486 public static encode(message: binlogdata.IVEvent, writer?: $protobuf.Writer): $protobuf.Writer; 53487 53488 /** 53489 * Encodes the specified VEvent message, length delimited. Does not implicitly {@link binlogdata.VEvent.verify|verify} messages. 53490 * @param message VEvent message or plain object to encode 53491 * @param [writer] Writer to encode to 53492 * @returns Writer 53493 */ 53494 public static encodeDelimited(message: binlogdata.IVEvent, writer?: $protobuf.Writer): $protobuf.Writer; 53495 53496 /** 53497 * Decodes a VEvent message from the specified reader or buffer. 53498 * @param reader Reader or buffer to decode from 53499 * @param [length] Message length if known beforehand 53500 * @returns VEvent 53501 * @throws {Error} If the payload is not a reader or valid buffer 53502 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53503 */ 53504 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.VEvent; 53505 53506 /** 53507 * Decodes a VEvent message from the specified reader or buffer, length delimited. 53508 * @param reader Reader or buffer to decode from 53509 * @returns VEvent 53510 * @throws {Error} If the payload is not a reader or valid buffer 53511 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53512 */ 53513 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.VEvent; 53514 53515 /** 53516 * Verifies a VEvent message. 53517 * @param message Plain object to verify 53518 * @returns `null` if valid, otherwise the reason why it is not 53519 */ 53520 public static verify(message: { [k: string]: any }): (string|null); 53521 53522 /** 53523 * Creates a VEvent message from a plain object. Also converts values to their respective internal types. 53524 * @param object Plain object 53525 * @returns VEvent 53526 */ 53527 public static fromObject(object: { [k: string]: any }): binlogdata.VEvent; 53528 53529 /** 53530 * Creates a plain object from a VEvent message. Also converts values to other types if specified. 53531 * @param message VEvent 53532 * @param [options] Conversion options 53533 * @returns Plain object 53534 */ 53535 public static toObject(message: binlogdata.VEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; 53536 53537 /** 53538 * Converts this VEvent to JSON. 53539 * @returns JSON object 53540 */ 53541 public toJSON(): { [k: string]: any }; 53542 } 53543 53544 /** Properties of a MinimalTable. */ 53545 interface IMinimalTable { 53546 53547 /** MinimalTable name */ 53548 name?: (string|null); 53549 53550 /** MinimalTable fields */ 53551 fields?: (query.IField[]|null); 53552 53553 /** MinimalTable p_k_columns */ 53554 p_k_columns?: ((number|Long)[]|null); 53555 } 53556 53557 /** Represents a MinimalTable. */ 53558 class MinimalTable implements IMinimalTable { 53559 53560 /** 53561 * Constructs a new MinimalTable. 53562 * @param [properties] Properties to set 53563 */ 53564 constructor(properties?: binlogdata.IMinimalTable); 53565 53566 /** MinimalTable name. */ 53567 public name: string; 53568 53569 /** MinimalTable fields. */ 53570 public fields: query.IField[]; 53571 53572 /** MinimalTable p_k_columns. */ 53573 public p_k_columns: (number|Long)[]; 53574 53575 /** 53576 * Creates a new MinimalTable instance using the specified properties. 53577 * @param [properties] Properties to set 53578 * @returns MinimalTable instance 53579 */ 53580 public static create(properties?: binlogdata.IMinimalTable): binlogdata.MinimalTable; 53581 53582 /** 53583 * Encodes the specified MinimalTable message. Does not implicitly {@link binlogdata.MinimalTable.verify|verify} messages. 53584 * @param message MinimalTable message or plain object to encode 53585 * @param [writer] Writer to encode to 53586 * @returns Writer 53587 */ 53588 public static encode(message: binlogdata.IMinimalTable, writer?: $protobuf.Writer): $protobuf.Writer; 53589 53590 /** 53591 * Encodes the specified MinimalTable message, length delimited. Does not implicitly {@link binlogdata.MinimalTable.verify|verify} messages. 53592 * @param message MinimalTable message or plain object to encode 53593 * @param [writer] Writer to encode to 53594 * @returns Writer 53595 */ 53596 public static encodeDelimited(message: binlogdata.IMinimalTable, writer?: $protobuf.Writer): $protobuf.Writer; 53597 53598 /** 53599 * Decodes a MinimalTable message from the specified reader or buffer. 53600 * @param reader Reader or buffer to decode from 53601 * @param [length] Message length if known beforehand 53602 * @returns MinimalTable 53603 * @throws {Error} If the payload is not a reader or valid buffer 53604 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53605 */ 53606 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.MinimalTable; 53607 53608 /** 53609 * Decodes a MinimalTable message from the specified reader or buffer, length delimited. 53610 * @param reader Reader or buffer to decode from 53611 * @returns MinimalTable 53612 * @throws {Error} If the payload is not a reader or valid buffer 53613 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53614 */ 53615 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.MinimalTable; 53616 53617 /** 53618 * Verifies a MinimalTable message. 53619 * @param message Plain object to verify 53620 * @returns `null` if valid, otherwise the reason why it is not 53621 */ 53622 public static verify(message: { [k: string]: any }): (string|null); 53623 53624 /** 53625 * Creates a MinimalTable message from a plain object. Also converts values to their respective internal types. 53626 * @param object Plain object 53627 * @returns MinimalTable 53628 */ 53629 public static fromObject(object: { [k: string]: any }): binlogdata.MinimalTable; 53630 53631 /** 53632 * Creates a plain object from a MinimalTable message. Also converts values to other types if specified. 53633 * @param message MinimalTable 53634 * @param [options] Conversion options 53635 * @returns Plain object 53636 */ 53637 public static toObject(message: binlogdata.MinimalTable, options?: $protobuf.IConversionOptions): { [k: string]: any }; 53638 53639 /** 53640 * Converts this MinimalTable to JSON. 53641 * @returns JSON object 53642 */ 53643 public toJSON(): { [k: string]: any }; 53644 } 53645 53646 /** Properties of a MinimalSchema. */ 53647 interface IMinimalSchema { 53648 53649 /** MinimalSchema tables */ 53650 tables?: (binlogdata.IMinimalTable[]|null); 53651 } 53652 53653 /** Represents a MinimalSchema. */ 53654 class MinimalSchema implements IMinimalSchema { 53655 53656 /** 53657 * Constructs a new MinimalSchema. 53658 * @param [properties] Properties to set 53659 */ 53660 constructor(properties?: binlogdata.IMinimalSchema); 53661 53662 /** MinimalSchema tables. */ 53663 public tables: binlogdata.IMinimalTable[]; 53664 53665 /** 53666 * Creates a new MinimalSchema instance using the specified properties. 53667 * @param [properties] Properties to set 53668 * @returns MinimalSchema instance 53669 */ 53670 public static create(properties?: binlogdata.IMinimalSchema): binlogdata.MinimalSchema; 53671 53672 /** 53673 * Encodes the specified MinimalSchema message. Does not implicitly {@link binlogdata.MinimalSchema.verify|verify} messages. 53674 * @param message MinimalSchema message or plain object to encode 53675 * @param [writer] Writer to encode to 53676 * @returns Writer 53677 */ 53678 public static encode(message: binlogdata.IMinimalSchema, writer?: $protobuf.Writer): $protobuf.Writer; 53679 53680 /** 53681 * Encodes the specified MinimalSchema message, length delimited. Does not implicitly {@link binlogdata.MinimalSchema.verify|verify} messages. 53682 * @param message MinimalSchema message or plain object to encode 53683 * @param [writer] Writer to encode to 53684 * @returns Writer 53685 */ 53686 public static encodeDelimited(message: binlogdata.IMinimalSchema, writer?: $protobuf.Writer): $protobuf.Writer; 53687 53688 /** 53689 * Decodes a MinimalSchema message from the specified reader or buffer. 53690 * @param reader Reader or buffer to decode from 53691 * @param [length] Message length if known beforehand 53692 * @returns MinimalSchema 53693 * @throws {Error} If the payload is not a reader or valid buffer 53694 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53695 */ 53696 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.MinimalSchema; 53697 53698 /** 53699 * Decodes a MinimalSchema message from the specified reader or buffer, length delimited. 53700 * @param reader Reader or buffer to decode from 53701 * @returns MinimalSchema 53702 * @throws {Error} If the payload is not a reader or valid buffer 53703 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53704 */ 53705 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.MinimalSchema; 53706 53707 /** 53708 * Verifies a MinimalSchema message. 53709 * @param message Plain object to verify 53710 * @returns `null` if valid, otherwise the reason why it is not 53711 */ 53712 public static verify(message: { [k: string]: any }): (string|null); 53713 53714 /** 53715 * Creates a MinimalSchema message from a plain object. Also converts values to their respective internal types. 53716 * @param object Plain object 53717 * @returns MinimalSchema 53718 */ 53719 public static fromObject(object: { [k: string]: any }): binlogdata.MinimalSchema; 53720 53721 /** 53722 * Creates a plain object from a MinimalSchema message. Also converts values to other types if specified. 53723 * @param message MinimalSchema 53724 * @param [options] Conversion options 53725 * @returns Plain object 53726 */ 53727 public static toObject(message: binlogdata.MinimalSchema, options?: $protobuf.IConversionOptions): { [k: string]: any }; 53728 53729 /** 53730 * Converts this MinimalSchema to JSON. 53731 * @returns JSON object 53732 */ 53733 public toJSON(): { [k: string]: any }; 53734 } 53735 53736 /** Properties of a VStreamRequest. */ 53737 interface IVStreamRequest { 53738 53739 /** VStreamRequest effective_caller_id */ 53740 effective_caller_id?: (vtrpc.ICallerID|null); 53741 53742 /** VStreamRequest immediate_caller_id */ 53743 immediate_caller_id?: (query.IVTGateCallerID|null); 53744 53745 /** VStreamRequest target */ 53746 target?: (query.ITarget|null); 53747 53748 /** VStreamRequest position */ 53749 position?: (string|null); 53750 53751 /** VStreamRequest filter */ 53752 filter?: (binlogdata.IFilter|null); 53753 53754 /** VStreamRequest table_last_p_ks */ 53755 table_last_p_ks?: (binlogdata.ITableLastPK[]|null); 53756 } 53757 53758 /** Represents a VStreamRequest. */ 53759 class VStreamRequest implements IVStreamRequest { 53760 53761 /** 53762 * Constructs a new VStreamRequest. 53763 * @param [properties] Properties to set 53764 */ 53765 constructor(properties?: binlogdata.IVStreamRequest); 53766 53767 /** VStreamRequest effective_caller_id. */ 53768 public effective_caller_id?: (vtrpc.ICallerID|null); 53769 53770 /** VStreamRequest immediate_caller_id. */ 53771 public immediate_caller_id?: (query.IVTGateCallerID|null); 53772 53773 /** VStreamRequest target. */ 53774 public target?: (query.ITarget|null); 53775 53776 /** VStreamRequest position. */ 53777 public position: string; 53778 53779 /** VStreamRequest filter. */ 53780 public filter?: (binlogdata.IFilter|null); 53781 53782 /** VStreamRequest table_last_p_ks. */ 53783 public table_last_p_ks: binlogdata.ITableLastPK[]; 53784 53785 /** 53786 * Creates a new VStreamRequest instance using the specified properties. 53787 * @param [properties] Properties to set 53788 * @returns VStreamRequest instance 53789 */ 53790 public static create(properties?: binlogdata.IVStreamRequest): binlogdata.VStreamRequest; 53791 53792 /** 53793 * Encodes the specified VStreamRequest message. Does not implicitly {@link binlogdata.VStreamRequest.verify|verify} messages. 53794 * @param message VStreamRequest message or plain object to encode 53795 * @param [writer] Writer to encode to 53796 * @returns Writer 53797 */ 53798 public static encode(message: binlogdata.IVStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer; 53799 53800 /** 53801 * Encodes the specified VStreamRequest message, length delimited. Does not implicitly {@link binlogdata.VStreamRequest.verify|verify} messages. 53802 * @param message VStreamRequest message or plain object to encode 53803 * @param [writer] Writer to encode to 53804 * @returns Writer 53805 */ 53806 public static encodeDelimited(message: binlogdata.IVStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer; 53807 53808 /** 53809 * Decodes a VStreamRequest message from the specified reader or buffer. 53810 * @param reader Reader or buffer to decode from 53811 * @param [length] Message length if known beforehand 53812 * @returns VStreamRequest 53813 * @throws {Error} If the payload is not a reader or valid buffer 53814 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53815 */ 53816 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.VStreamRequest; 53817 53818 /** 53819 * Decodes a VStreamRequest message from the specified reader or buffer, length delimited. 53820 * @param reader Reader or buffer to decode from 53821 * @returns VStreamRequest 53822 * @throws {Error} If the payload is not a reader or valid buffer 53823 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53824 */ 53825 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.VStreamRequest; 53826 53827 /** 53828 * Verifies a VStreamRequest message. 53829 * @param message Plain object to verify 53830 * @returns `null` if valid, otherwise the reason why it is not 53831 */ 53832 public static verify(message: { [k: string]: any }): (string|null); 53833 53834 /** 53835 * Creates a VStreamRequest message from a plain object. Also converts values to their respective internal types. 53836 * @param object Plain object 53837 * @returns VStreamRequest 53838 */ 53839 public static fromObject(object: { [k: string]: any }): binlogdata.VStreamRequest; 53840 53841 /** 53842 * Creates a plain object from a VStreamRequest message. Also converts values to other types if specified. 53843 * @param message VStreamRequest 53844 * @param [options] Conversion options 53845 * @returns Plain object 53846 */ 53847 public static toObject(message: binlogdata.VStreamRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 53848 53849 /** 53850 * Converts this VStreamRequest to JSON. 53851 * @returns JSON object 53852 */ 53853 public toJSON(): { [k: string]: any }; 53854 } 53855 53856 /** Properties of a VStreamResponse. */ 53857 interface IVStreamResponse { 53858 53859 /** VStreamResponse events */ 53860 events?: (binlogdata.IVEvent[]|null); 53861 } 53862 53863 /** Represents a VStreamResponse. */ 53864 class VStreamResponse implements IVStreamResponse { 53865 53866 /** 53867 * Constructs a new VStreamResponse. 53868 * @param [properties] Properties to set 53869 */ 53870 constructor(properties?: binlogdata.IVStreamResponse); 53871 53872 /** VStreamResponse events. */ 53873 public events: binlogdata.IVEvent[]; 53874 53875 /** 53876 * Creates a new VStreamResponse instance using the specified properties. 53877 * @param [properties] Properties to set 53878 * @returns VStreamResponse instance 53879 */ 53880 public static create(properties?: binlogdata.IVStreamResponse): binlogdata.VStreamResponse; 53881 53882 /** 53883 * Encodes the specified VStreamResponse message. Does not implicitly {@link binlogdata.VStreamResponse.verify|verify} messages. 53884 * @param message VStreamResponse message or plain object to encode 53885 * @param [writer] Writer to encode to 53886 * @returns Writer 53887 */ 53888 public static encode(message: binlogdata.IVStreamResponse, writer?: $protobuf.Writer): $protobuf.Writer; 53889 53890 /** 53891 * Encodes the specified VStreamResponse message, length delimited. Does not implicitly {@link binlogdata.VStreamResponse.verify|verify} messages. 53892 * @param message VStreamResponse message or plain object to encode 53893 * @param [writer] Writer to encode to 53894 * @returns Writer 53895 */ 53896 public static encodeDelimited(message: binlogdata.IVStreamResponse, writer?: $protobuf.Writer): $protobuf.Writer; 53897 53898 /** 53899 * Decodes a VStreamResponse message from the specified reader or buffer. 53900 * @param reader Reader or buffer to decode from 53901 * @param [length] Message length if known beforehand 53902 * @returns VStreamResponse 53903 * @throws {Error} If the payload is not a reader or valid buffer 53904 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53905 */ 53906 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.VStreamResponse; 53907 53908 /** 53909 * Decodes a VStreamResponse message from the specified reader or buffer, length delimited. 53910 * @param reader Reader or buffer to decode from 53911 * @returns VStreamResponse 53912 * @throws {Error} If the payload is not a reader or valid buffer 53913 * @throws {$protobuf.util.ProtocolError} If required fields are missing 53914 */ 53915 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.VStreamResponse; 53916 53917 /** 53918 * Verifies a VStreamResponse message. 53919 * @param message Plain object to verify 53920 * @returns `null` if valid, otherwise the reason why it is not 53921 */ 53922 public static verify(message: { [k: string]: any }): (string|null); 53923 53924 /** 53925 * Creates a VStreamResponse message from a plain object. Also converts values to their respective internal types. 53926 * @param object Plain object 53927 * @returns VStreamResponse 53928 */ 53929 public static fromObject(object: { [k: string]: any }): binlogdata.VStreamResponse; 53930 53931 /** 53932 * Creates a plain object from a VStreamResponse message. Also converts values to other types if specified. 53933 * @param message VStreamResponse 53934 * @param [options] Conversion options 53935 * @returns Plain object 53936 */ 53937 public static toObject(message: binlogdata.VStreamResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 53938 53939 /** 53940 * Converts this VStreamResponse to JSON. 53941 * @returns JSON object 53942 */ 53943 public toJSON(): { [k: string]: any }; 53944 } 53945 53946 /** Properties of a VStreamRowsRequest. */ 53947 interface IVStreamRowsRequest { 53948 53949 /** VStreamRowsRequest effective_caller_id */ 53950 effective_caller_id?: (vtrpc.ICallerID|null); 53951 53952 /** VStreamRowsRequest immediate_caller_id */ 53953 immediate_caller_id?: (query.IVTGateCallerID|null); 53954 53955 /** VStreamRowsRequest target */ 53956 target?: (query.ITarget|null); 53957 53958 /** VStreamRowsRequest query */ 53959 query?: (string|null); 53960 53961 /** VStreamRowsRequest lastpk */ 53962 lastpk?: (query.IQueryResult|null); 53963 } 53964 53965 /** Represents a VStreamRowsRequest. */ 53966 class VStreamRowsRequest implements IVStreamRowsRequest { 53967 53968 /** 53969 * Constructs a new VStreamRowsRequest. 53970 * @param [properties] Properties to set 53971 */ 53972 constructor(properties?: binlogdata.IVStreamRowsRequest); 53973 53974 /** VStreamRowsRequest effective_caller_id. */ 53975 public effective_caller_id?: (vtrpc.ICallerID|null); 53976 53977 /** VStreamRowsRequest immediate_caller_id. */ 53978 public immediate_caller_id?: (query.IVTGateCallerID|null); 53979 53980 /** VStreamRowsRequest target. */ 53981 public target?: (query.ITarget|null); 53982 53983 /** VStreamRowsRequest query. */ 53984 public query: string; 53985 53986 /** VStreamRowsRequest lastpk. */ 53987 public lastpk?: (query.IQueryResult|null); 53988 53989 /** 53990 * Creates a new VStreamRowsRequest instance using the specified properties. 53991 * @param [properties] Properties to set 53992 * @returns VStreamRowsRequest instance 53993 */ 53994 public static create(properties?: binlogdata.IVStreamRowsRequest): binlogdata.VStreamRowsRequest; 53995 53996 /** 53997 * Encodes the specified VStreamRowsRequest message. Does not implicitly {@link binlogdata.VStreamRowsRequest.verify|verify} messages. 53998 * @param message VStreamRowsRequest message or plain object to encode 53999 * @param [writer] Writer to encode to 54000 * @returns Writer 54001 */ 54002 public static encode(message: binlogdata.IVStreamRowsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 54003 54004 /** 54005 * Encodes the specified VStreamRowsRequest message, length delimited. Does not implicitly {@link binlogdata.VStreamRowsRequest.verify|verify} messages. 54006 * @param message VStreamRowsRequest message or plain object to encode 54007 * @param [writer] Writer to encode to 54008 * @returns Writer 54009 */ 54010 public static encodeDelimited(message: binlogdata.IVStreamRowsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 54011 54012 /** 54013 * Decodes a VStreamRowsRequest message from the specified reader or buffer. 54014 * @param reader Reader or buffer to decode from 54015 * @param [length] Message length if known beforehand 54016 * @returns VStreamRowsRequest 54017 * @throws {Error} If the payload is not a reader or valid buffer 54018 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54019 */ 54020 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.VStreamRowsRequest; 54021 54022 /** 54023 * Decodes a VStreamRowsRequest message from the specified reader or buffer, length delimited. 54024 * @param reader Reader or buffer to decode from 54025 * @returns VStreamRowsRequest 54026 * @throws {Error} If the payload is not a reader or valid buffer 54027 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54028 */ 54029 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.VStreamRowsRequest; 54030 54031 /** 54032 * Verifies a VStreamRowsRequest message. 54033 * @param message Plain object to verify 54034 * @returns `null` if valid, otherwise the reason why it is not 54035 */ 54036 public static verify(message: { [k: string]: any }): (string|null); 54037 54038 /** 54039 * Creates a VStreamRowsRequest message from a plain object. Also converts values to their respective internal types. 54040 * @param object Plain object 54041 * @returns VStreamRowsRequest 54042 */ 54043 public static fromObject(object: { [k: string]: any }): binlogdata.VStreamRowsRequest; 54044 54045 /** 54046 * Creates a plain object from a VStreamRowsRequest message. Also converts values to other types if specified. 54047 * @param message VStreamRowsRequest 54048 * @param [options] Conversion options 54049 * @returns Plain object 54050 */ 54051 public static toObject(message: binlogdata.VStreamRowsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 54052 54053 /** 54054 * Converts this VStreamRowsRequest to JSON. 54055 * @returns JSON object 54056 */ 54057 public toJSON(): { [k: string]: any }; 54058 } 54059 54060 /** Properties of a VStreamRowsResponse. */ 54061 interface IVStreamRowsResponse { 54062 54063 /** VStreamRowsResponse fields */ 54064 fields?: (query.IField[]|null); 54065 54066 /** VStreamRowsResponse pkfields */ 54067 pkfields?: (query.IField[]|null); 54068 54069 /** VStreamRowsResponse gtid */ 54070 gtid?: (string|null); 54071 54072 /** VStreamRowsResponse rows */ 54073 rows?: (query.IRow[]|null); 54074 54075 /** VStreamRowsResponse lastpk */ 54076 lastpk?: (query.IRow|null); 54077 54078 /** VStreamRowsResponse throttled */ 54079 throttled?: (boolean|null); 54080 54081 /** VStreamRowsResponse heartbeat */ 54082 heartbeat?: (boolean|null); 54083 } 54084 54085 /** Represents a VStreamRowsResponse. */ 54086 class VStreamRowsResponse implements IVStreamRowsResponse { 54087 54088 /** 54089 * Constructs a new VStreamRowsResponse. 54090 * @param [properties] Properties to set 54091 */ 54092 constructor(properties?: binlogdata.IVStreamRowsResponse); 54093 54094 /** VStreamRowsResponse fields. */ 54095 public fields: query.IField[]; 54096 54097 /** VStreamRowsResponse pkfields. */ 54098 public pkfields: query.IField[]; 54099 54100 /** VStreamRowsResponse gtid. */ 54101 public gtid: string; 54102 54103 /** VStreamRowsResponse rows. */ 54104 public rows: query.IRow[]; 54105 54106 /** VStreamRowsResponse lastpk. */ 54107 public lastpk?: (query.IRow|null); 54108 54109 /** VStreamRowsResponse throttled. */ 54110 public throttled: boolean; 54111 54112 /** VStreamRowsResponse heartbeat. */ 54113 public heartbeat: boolean; 54114 54115 /** 54116 * Creates a new VStreamRowsResponse instance using the specified properties. 54117 * @param [properties] Properties to set 54118 * @returns VStreamRowsResponse instance 54119 */ 54120 public static create(properties?: binlogdata.IVStreamRowsResponse): binlogdata.VStreamRowsResponse; 54121 54122 /** 54123 * Encodes the specified VStreamRowsResponse message. Does not implicitly {@link binlogdata.VStreamRowsResponse.verify|verify} messages. 54124 * @param message VStreamRowsResponse message or plain object to encode 54125 * @param [writer] Writer to encode to 54126 * @returns Writer 54127 */ 54128 public static encode(message: binlogdata.IVStreamRowsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 54129 54130 /** 54131 * Encodes the specified VStreamRowsResponse message, length delimited. Does not implicitly {@link binlogdata.VStreamRowsResponse.verify|verify} messages. 54132 * @param message VStreamRowsResponse message or plain object to encode 54133 * @param [writer] Writer to encode to 54134 * @returns Writer 54135 */ 54136 public static encodeDelimited(message: binlogdata.IVStreamRowsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 54137 54138 /** 54139 * Decodes a VStreamRowsResponse message from the specified reader or buffer. 54140 * @param reader Reader or buffer to decode from 54141 * @param [length] Message length if known beforehand 54142 * @returns VStreamRowsResponse 54143 * @throws {Error} If the payload is not a reader or valid buffer 54144 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54145 */ 54146 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.VStreamRowsResponse; 54147 54148 /** 54149 * Decodes a VStreamRowsResponse message from the specified reader or buffer, length delimited. 54150 * @param reader Reader or buffer to decode from 54151 * @returns VStreamRowsResponse 54152 * @throws {Error} If the payload is not a reader or valid buffer 54153 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54154 */ 54155 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.VStreamRowsResponse; 54156 54157 /** 54158 * Verifies a VStreamRowsResponse message. 54159 * @param message Plain object to verify 54160 * @returns `null` if valid, otherwise the reason why it is not 54161 */ 54162 public static verify(message: { [k: string]: any }): (string|null); 54163 54164 /** 54165 * Creates a VStreamRowsResponse message from a plain object. Also converts values to their respective internal types. 54166 * @param object Plain object 54167 * @returns VStreamRowsResponse 54168 */ 54169 public static fromObject(object: { [k: string]: any }): binlogdata.VStreamRowsResponse; 54170 54171 /** 54172 * Creates a plain object from a VStreamRowsResponse message. Also converts values to other types if specified. 54173 * @param message VStreamRowsResponse 54174 * @param [options] Conversion options 54175 * @returns Plain object 54176 */ 54177 public static toObject(message: binlogdata.VStreamRowsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 54178 54179 /** 54180 * Converts this VStreamRowsResponse to JSON. 54181 * @returns JSON object 54182 */ 54183 public toJSON(): { [k: string]: any }; 54184 } 54185 54186 /** Properties of a LastPKEvent. */ 54187 interface ILastPKEvent { 54188 54189 /** LastPKEvent table_last_p_k */ 54190 table_last_p_k?: (binlogdata.ITableLastPK|null); 54191 54192 /** LastPKEvent completed */ 54193 completed?: (boolean|null); 54194 } 54195 54196 /** Represents a LastPKEvent. */ 54197 class LastPKEvent implements ILastPKEvent { 54198 54199 /** 54200 * Constructs a new LastPKEvent. 54201 * @param [properties] Properties to set 54202 */ 54203 constructor(properties?: binlogdata.ILastPKEvent); 54204 54205 /** LastPKEvent table_last_p_k. */ 54206 public table_last_p_k?: (binlogdata.ITableLastPK|null); 54207 54208 /** LastPKEvent completed. */ 54209 public completed: boolean; 54210 54211 /** 54212 * Creates a new LastPKEvent instance using the specified properties. 54213 * @param [properties] Properties to set 54214 * @returns LastPKEvent instance 54215 */ 54216 public static create(properties?: binlogdata.ILastPKEvent): binlogdata.LastPKEvent; 54217 54218 /** 54219 * Encodes the specified LastPKEvent message. Does not implicitly {@link binlogdata.LastPKEvent.verify|verify} messages. 54220 * @param message LastPKEvent message or plain object to encode 54221 * @param [writer] Writer to encode to 54222 * @returns Writer 54223 */ 54224 public static encode(message: binlogdata.ILastPKEvent, writer?: $protobuf.Writer): $protobuf.Writer; 54225 54226 /** 54227 * Encodes the specified LastPKEvent message, length delimited. Does not implicitly {@link binlogdata.LastPKEvent.verify|verify} messages. 54228 * @param message LastPKEvent message or plain object to encode 54229 * @param [writer] Writer to encode to 54230 * @returns Writer 54231 */ 54232 public static encodeDelimited(message: binlogdata.ILastPKEvent, writer?: $protobuf.Writer): $protobuf.Writer; 54233 54234 /** 54235 * Decodes a LastPKEvent message from the specified reader or buffer. 54236 * @param reader Reader or buffer to decode from 54237 * @param [length] Message length if known beforehand 54238 * @returns LastPKEvent 54239 * @throws {Error} If the payload is not a reader or valid buffer 54240 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54241 */ 54242 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.LastPKEvent; 54243 54244 /** 54245 * Decodes a LastPKEvent message from the specified reader or buffer, length delimited. 54246 * @param reader Reader or buffer to decode from 54247 * @returns LastPKEvent 54248 * @throws {Error} If the payload is not a reader or valid buffer 54249 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54250 */ 54251 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.LastPKEvent; 54252 54253 /** 54254 * Verifies a LastPKEvent message. 54255 * @param message Plain object to verify 54256 * @returns `null` if valid, otherwise the reason why it is not 54257 */ 54258 public static verify(message: { [k: string]: any }): (string|null); 54259 54260 /** 54261 * Creates a LastPKEvent message from a plain object. Also converts values to their respective internal types. 54262 * @param object Plain object 54263 * @returns LastPKEvent 54264 */ 54265 public static fromObject(object: { [k: string]: any }): binlogdata.LastPKEvent; 54266 54267 /** 54268 * Creates a plain object from a LastPKEvent message. Also converts values to other types if specified. 54269 * @param message LastPKEvent 54270 * @param [options] Conversion options 54271 * @returns Plain object 54272 */ 54273 public static toObject(message: binlogdata.LastPKEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; 54274 54275 /** 54276 * Converts this LastPKEvent to JSON. 54277 * @returns JSON object 54278 */ 54279 public toJSON(): { [k: string]: any }; 54280 } 54281 54282 /** Properties of a TableLastPK. */ 54283 interface ITableLastPK { 54284 54285 /** TableLastPK table_name */ 54286 table_name?: (string|null); 54287 54288 /** TableLastPK lastpk */ 54289 lastpk?: (query.IQueryResult|null); 54290 } 54291 54292 /** Represents a TableLastPK. */ 54293 class TableLastPK implements ITableLastPK { 54294 54295 /** 54296 * Constructs a new TableLastPK. 54297 * @param [properties] Properties to set 54298 */ 54299 constructor(properties?: binlogdata.ITableLastPK); 54300 54301 /** TableLastPK table_name. */ 54302 public table_name: string; 54303 54304 /** TableLastPK lastpk. */ 54305 public lastpk?: (query.IQueryResult|null); 54306 54307 /** 54308 * Creates a new TableLastPK instance using the specified properties. 54309 * @param [properties] Properties to set 54310 * @returns TableLastPK instance 54311 */ 54312 public static create(properties?: binlogdata.ITableLastPK): binlogdata.TableLastPK; 54313 54314 /** 54315 * Encodes the specified TableLastPK message. Does not implicitly {@link binlogdata.TableLastPK.verify|verify} messages. 54316 * @param message TableLastPK message or plain object to encode 54317 * @param [writer] Writer to encode to 54318 * @returns Writer 54319 */ 54320 public static encode(message: binlogdata.ITableLastPK, writer?: $protobuf.Writer): $protobuf.Writer; 54321 54322 /** 54323 * Encodes the specified TableLastPK message, length delimited. Does not implicitly {@link binlogdata.TableLastPK.verify|verify} messages. 54324 * @param message TableLastPK message or plain object to encode 54325 * @param [writer] Writer to encode to 54326 * @returns Writer 54327 */ 54328 public static encodeDelimited(message: binlogdata.ITableLastPK, writer?: $protobuf.Writer): $protobuf.Writer; 54329 54330 /** 54331 * Decodes a TableLastPK message from the specified reader or buffer. 54332 * @param reader Reader or buffer to decode from 54333 * @param [length] Message length if known beforehand 54334 * @returns TableLastPK 54335 * @throws {Error} If the payload is not a reader or valid buffer 54336 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54337 */ 54338 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.TableLastPK; 54339 54340 /** 54341 * Decodes a TableLastPK message from the specified reader or buffer, length delimited. 54342 * @param reader Reader or buffer to decode from 54343 * @returns TableLastPK 54344 * @throws {Error} If the payload is not a reader or valid buffer 54345 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54346 */ 54347 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.TableLastPK; 54348 54349 /** 54350 * Verifies a TableLastPK message. 54351 * @param message Plain object to verify 54352 * @returns `null` if valid, otherwise the reason why it is not 54353 */ 54354 public static verify(message: { [k: string]: any }): (string|null); 54355 54356 /** 54357 * Creates a TableLastPK message from a plain object. Also converts values to their respective internal types. 54358 * @param object Plain object 54359 * @returns TableLastPK 54360 */ 54361 public static fromObject(object: { [k: string]: any }): binlogdata.TableLastPK; 54362 54363 /** 54364 * Creates a plain object from a TableLastPK message. Also converts values to other types if specified. 54365 * @param message TableLastPK 54366 * @param [options] Conversion options 54367 * @returns Plain object 54368 */ 54369 public static toObject(message: binlogdata.TableLastPK, options?: $protobuf.IConversionOptions): { [k: string]: any }; 54370 54371 /** 54372 * Converts this TableLastPK to JSON. 54373 * @returns JSON object 54374 */ 54375 public toJSON(): { [k: string]: any }; 54376 } 54377 54378 /** Properties of a VStreamResultsRequest. */ 54379 interface IVStreamResultsRequest { 54380 54381 /** VStreamResultsRequest effective_caller_id */ 54382 effective_caller_id?: (vtrpc.ICallerID|null); 54383 54384 /** VStreamResultsRequest immediate_caller_id */ 54385 immediate_caller_id?: (query.IVTGateCallerID|null); 54386 54387 /** VStreamResultsRequest target */ 54388 target?: (query.ITarget|null); 54389 54390 /** VStreamResultsRequest query */ 54391 query?: (string|null); 54392 } 54393 54394 /** Represents a VStreamResultsRequest. */ 54395 class VStreamResultsRequest implements IVStreamResultsRequest { 54396 54397 /** 54398 * Constructs a new VStreamResultsRequest. 54399 * @param [properties] Properties to set 54400 */ 54401 constructor(properties?: binlogdata.IVStreamResultsRequest); 54402 54403 /** VStreamResultsRequest effective_caller_id. */ 54404 public effective_caller_id?: (vtrpc.ICallerID|null); 54405 54406 /** VStreamResultsRequest immediate_caller_id. */ 54407 public immediate_caller_id?: (query.IVTGateCallerID|null); 54408 54409 /** VStreamResultsRequest target. */ 54410 public target?: (query.ITarget|null); 54411 54412 /** VStreamResultsRequest query. */ 54413 public query: string; 54414 54415 /** 54416 * Creates a new VStreamResultsRequest instance using the specified properties. 54417 * @param [properties] Properties to set 54418 * @returns VStreamResultsRequest instance 54419 */ 54420 public static create(properties?: binlogdata.IVStreamResultsRequest): binlogdata.VStreamResultsRequest; 54421 54422 /** 54423 * Encodes the specified VStreamResultsRequest message. Does not implicitly {@link binlogdata.VStreamResultsRequest.verify|verify} messages. 54424 * @param message VStreamResultsRequest message or plain object to encode 54425 * @param [writer] Writer to encode to 54426 * @returns Writer 54427 */ 54428 public static encode(message: binlogdata.IVStreamResultsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 54429 54430 /** 54431 * Encodes the specified VStreamResultsRequest message, length delimited. Does not implicitly {@link binlogdata.VStreamResultsRequest.verify|verify} messages. 54432 * @param message VStreamResultsRequest message or plain object to encode 54433 * @param [writer] Writer to encode to 54434 * @returns Writer 54435 */ 54436 public static encodeDelimited(message: binlogdata.IVStreamResultsRequest, writer?: $protobuf.Writer): $protobuf.Writer; 54437 54438 /** 54439 * Decodes a VStreamResultsRequest message from the specified reader or buffer. 54440 * @param reader Reader or buffer to decode from 54441 * @param [length] Message length if known beforehand 54442 * @returns VStreamResultsRequest 54443 * @throws {Error} If the payload is not a reader or valid buffer 54444 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54445 */ 54446 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.VStreamResultsRequest; 54447 54448 /** 54449 * Decodes a VStreamResultsRequest message from the specified reader or buffer, length delimited. 54450 * @param reader Reader or buffer to decode from 54451 * @returns VStreamResultsRequest 54452 * @throws {Error} If the payload is not a reader or valid buffer 54453 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54454 */ 54455 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.VStreamResultsRequest; 54456 54457 /** 54458 * Verifies a VStreamResultsRequest message. 54459 * @param message Plain object to verify 54460 * @returns `null` if valid, otherwise the reason why it is not 54461 */ 54462 public static verify(message: { [k: string]: any }): (string|null); 54463 54464 /** 54465 * Creates a VStreamResultsRequest message from a plain object. Also converts values to their respective internal types. 54466 * @param object Plain object 54467 * @returns VStreamResultsRequest 54468 */ 54469 public static fromObject(object: { [k: string]: any }): binlogdata.VStreamResultsRequest; 54470 54471 /** 54472 * Creates a plain object from a VStreamResultsRequest message. Also converts values to other types if specified. 54473 * @param message VStreamResultsRequest 54474 * @param [options] Conversion options 54475 * @returns Plain object 54476 */ 54477 public static toObject(message: binlogdata.VStreamResultsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; 54478 54479 /** 54480 * Converts this VStreamResultsRequest to JSON. 54481 * @returns JSON object 54482 */ 54483 public toJSON(): { [k: string]: any }; 54484 } 54485 54486 /** Properties of a VStreamResultsResponse. */ 54487 interface IVStreamResultsResponse { 54488 54489 /** VStreamResultsResponse fields */ 54490 fields?: (query.IField[]|null); 54491 54492 /** VStreamResultsResponse gtid */ 54493 gtid?: (string|null); 54494 54495 /** VStreamResultsResponse rows */ 54496 rows?: (query.IRow[]|null); 54497 } 54498 54499 /** Represents a VStreamResultsResponse. */ 54500 class VStreamResultsResponse implements IVStreamResultsResponse { 54501 54502 /** 54503 * Constructs a new VStreamResultsResponse. 54504 * @param [properties] Properties to set 54505 */ 54506 constructor(properties?: binlogdata.IVStreamResultsResponse); 54507 54508 /** VStreamResultsResponse fields. */ 54509 public fields: query.IField[]; 54510 54511 /** VStreamResultsResponse gtid. */ 54512 public gtid: string; 54513 54514 /** VStreamResultsResponse rows. */ 54515 public rows: query.IRow[]; 54516 54517 /** 54518 * Creates a new VStreamResultsResponse instance using the specified properties. 54519 * @param [properties] Properties to set 54520 * @returns VStreamResultsResponse instance 54521 */ 54522 public static create(properties?: binlogdata.IVStreamResultsResponse): binlogdata.VStreamResultsResponse; 54523 54524 /** 54525 * Encodes the specified VStreamResultsResponse message. Does not implicitly {@link binlogdata.VStreamResultsResponse.verify|verify} messages. 54526 * @param message VStreamResultsResponse message or plain object to encode 54527 * @param [writer] Writer to encode to 54528 * @returns Writer 54529 */ 54530 public static encode(message: binlogdata.IVStreamResultsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 54531 54532 /** 54533 * Encodes the specified VStreamResultsResponse message, length delimited. Does not implicitly {@link binlogdata.VStreamResultsResponse.verify|verify} messages. 54534 * @param message VStreamResultsResponse message or plain object to encode 54535 * @param [writer] Writer to encode to 54536 * @returns Writer 54537 */ 54538 public static encodeDelimited(message: binlogdata.IVStreamResultsResponse, writer?: $protobuf.Writer): $protobuf.Writer; 54539 54540 /** 54541 * Decodes a VStreamResultsResponse message from the specified reader or buffer. 54542 * @param reader Reader or buffer to decode from 54543 * @param [length] Message length if known beforehand 54544 * @returns VStreamResultsResponse 54545 * @throws {Error} If the payload is not a reader or valid buffer 54546 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54547 */ 54548 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): binlogdata.VStreamResultsResponse; 54549 54550 /** 54551 * Decodes a VStreamResultsResponse message from the specified reader or buffer, length delimited. 54552 * @param reader Reader or buffer to decode from 54553 * @returns VStreamResultsResponse 54554 * @throws {Error} If the payload is not a reader or valid buffer 54555 * @throws {$protobuf.util.ProtocolError} If required fields are missing 54556 */ 54557 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): binlogdata.VStreamResultsResponse; 54558 54559 /** 54560 * Verifies a VStreamResultsResponse message. 54561 * @param message Plain object to verify 54562 * @returns `null` if valid, otherwise the reason why it is not 54563 */ 54564 public static verify(message: { [k: string]: any }): (string|null); 54565 54566 /** 54567 * Creates a VStreamResultsResponse message from a plain object. Also converts values to their respective internal types. 54568 * @param object Plain object 54569 * @returns VStreamResultsResponse 54570 */ 54571 public static fromObject(object: { [k: string]: any }): binlogdata.VStreamResultsResponse; 54572 54573 /** 54574 * Creates a plain object from a VStreamResultsResponse message. Also converts values to other types if specified. 54575 * @param message VStreamResultsResponse 54576 * @param [options] Conversion options 54577 * @returns Plain object 54578 */ 54579 public static toObject(message: binlogdata.VStreamResultsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; 54580 54581 /** 54582 * Converts this VStreamResultsResponse to JSON. 54583 * @returns JSON object 54584 */ 54585 public toJSON(): { [k: string]: any }; 54586 } 54587 }