From 93b5418343e029c25fe84680289b37bb268b588d Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Fri, 4 Oct 2024 14:57:58 +0200 Subject: [PATCH 1/3] `slack-15.0`: backport PR #16852 Signed-off-by: Tim Vaillancourt --- go/cmd/vtctldclient/command/reparents.go | 32 +- go/vt/proto/vtctldata/vtctldata.pb.go | 1999 +- go/vt/proto/vtctldata/vtctldata_vtproto.pb.go | 100 + go/vt/vtctl/grpcvtctldserver/server.go | 12 +- .../reparentutil/emergency_reparenter.go | 8 + .../reparentutil/emergency_reparenter_test.go | 51 +- .../vtctl/reparentutil/planned_reparenter.go | 14 +- .../planned_reparenter_flaky_test.go | 65 +- proto/vtctldata.proto | 6 + web/vtadmin/src/proto/vtadmin.d.ts | 39197 ++++++++++++++++ web/vtadmin/src/proto/vtadmin.js | 224 + 11 files changed, 40708 insertions(+), 1000 deletions(-) diff --git a/go/cmd/vtctldclient/command/reparents.go b/go/cmd/vtctldclient/command/reparents.go index f755c051bee..6168fa9d85c 100644 --- a/go/cmd/vtctldclient/command/reparents.go +++ b/go/cmd/vtctldclient/command/reparents.go @@ -92,6 +92,7 @@ var emergencyReparentShardOptions = struct { Force bool WaitReplicasTimeout time.Duration NewPrimaryAliasStr string + ExpectedPrimaryAliasStr string IgnoreReplicaAliasStrList []string PreventCrossCellPromotion bool }{} @@ -104,6 +105,7 @@ func commandEmergencyReparentShard(cmd *cobra.Command, args []string) error { var ( newPrimaryAlias *topodatapb.TabletAlias + expectedPrimaryAlias *topodatapb.TabletAlias ignoreReplicaAliases = make([]*topodatapb.TabletAlias, len(emergencyReparentShardOptions.IgnoreReplicaAliasStrList)) ) @@ -114,6 +116,13 @@ func commandEmergencyReparentShard(cmd *cobra.Command, args []string) error { } } + if emergencyReparentShardOptions.ExpectedPrimaryAliasStr != "" { + expectedPrimaryAlias, err = topoproto.ParseTabletAlias(emergencyReparentShardOptions.ExpectedPrimaryAliasStr) + if err != nil { + return err + } + } + for i, aliasStr := range emergencyReparentShardOptions.IgnoreReplicaAliasStrList { alias, err := topoproto.ParseTabletAlias(aliasStr) if err != nil { @@ -129,6 +138,7 @@ func commandEmergencyReparentShard(cmd *cobra.Command, args []string) error { Keyspace: keyspace, Shard: shard, NewPrimary: newPrimaryAlias, + ExpectedPrimary: expectedPrimaryAlias, IgnoreReplicas: ignoreReplicaAliases, WaitReplicasTimeout: protoutil.DurationToProto(emergencyReparentShardOptions.WaitReplicasTimeout), PreventCrossCellPromotion: emergencyReparentShardOptions.PreventCrossCellPromotion, @@ -181,9 +191,10 @@ func commandInitShardPrimary(cmd *cobra.Command, args []string) error { } var plannedReparentShardOptions = struct { - NewPrimaryAliasStr string - AvoidPrimaryAliasStr string - WaitReplicasTimeout time.Duration + NewPrimaryAliasStr string + AvoidPrimaryAliasStr string + ExpectedPrimaryAliasStr string + WaitReplicasTimeout time.Duration }{} func commandPlannedReparentShard(cmd *cobra.Command, args []string) error { @@ -193,8 +204,9 @@ func commandPlannedReparentShard(cmd *cobra.Command, args []string) error { } var ( - newPrimaryAlias *topodatapb.TabletAlias - avoidPrimaryAlias *topodatapb.TabletAlias + newPrimaryAlias *topodatapb.TabletAlias + avoidPrimaryAlias *topodatapb.TabletAlias + expectedPrimaryAlias *topodatapb.TabletAlias ) if plannedReparentShardOptions.NewPrimaryAliasStr != "" { @@ -211,6 +223,13 @@ func commandPlannedReparentShard(cmd *cobra.Command, args []string) error { } } + if plannedReparentShardOptions.ExpectedPrimaryAliasStr != "" { + expectedPrimaryAlias, err = topoproto.ParseTabletAlias(plannedReparentShardOptions.ExpectedPrimaryAliasStr) + if err != nil { + return err + } + } + cli.FinishedParsing(cmd) resp, err := client.PlannedReparentShard(commandCtx, &vtctldatapb.PlannedReparentShardRequest{ @@ -218,6 +237,7 @@ func commandPlannedReparentShard(cmd *cobra.Command, args []string) error { Shard: shard, NewPrimary: newPrimaryAlias, AvoidPrimary: avoidPrimaryAlias, + ExpectedPrimary: expectedPrimaryAlias, WaitReplicasTimeout: protoutil.DurationToProto(plannedReparentShardOptions.WaitReplicasTimeout), }) if err != nil { @@ -280,6 +300,7 @@ func commandTabletExternallyReparented(cmd *cobra.Command, args []string) error func init() { EmergencyReparentShard.Flags().DurationVar(&emergencyReparentShardOptions.WaitReplicasTimeout, "wait-replicas-timeout", topo.RemoteOperationTimeout, "Time to wait for replicas to catch up in reparenting.") EmergencyReparentShard.Flags().StringVar(&emergencyReparentShardOptions.NewPrimaryAliasStr, "new-primary", "", "Alias of a tablet that should be the new primary. If not specified, the vtctld will select the best candidate to promote.") + EmergencyReparentShard.Flags().StringVar(&emergencyReparentShardOptions.ExpectedPrimaryAliasStr, "expected-primary", "", "Alias of a tablet that must be the current primary in order for the reparent to be processed.") EmergencyReparentShard.Flags().BoolVar(&emergencyReparentShardOptions.PreventCrossCellPromotion, "prevent-cross-cell-promotion", false, "Only promotes a new primary from the same cell as the previous primary.") EmergencyReparentShard.Flags().StringSliceVarP(&emergencyReparentShardOptions.IgnoreReplicaAliasStrList, "ignore-replicas", "i", nil, "Comma-separated, repeated list of replica tablet aliases to ignore during the emergency reparent.") Root.AddCommand(EmergencyReparentShard) @@ -291,6 +312,7 @@ func init() { PlannedReparentShard.Flags().DurationVar(&plannedReparentShardOptions.WaitReplicasTimeout, "wait-replicas-timeout", topo.RemoteOperationTimeout, "Time to wait for replicas to catch up on replication both before and after reparenting.") PlannedReparentShard.Flags().StringVar(&plannedReparentShardOptions.NewPrimaryAliasStr, "new-primary", "", "Alias of a tablet that should be the new primary.") PlannedReparentShard.Flags().StringVar(&plannedReparentShardOptions.AvoidPrimaryAliasStr, "avoid-primary", "", "Alias of a tablet that should not be the primary; i.e. \"reparent to any other tablet if this one is the primary\".") + PlannedReparentShard.Flags().StringVar(&plannedReparentShardOptions.ExpectedPrimaryAliasStr, "expected-primary", "", "Alias of a tablet that must be the current primary in order for the reparent to be processed.") Root.AddCommand(PlannedReparentShard) Root.AddCommand(ReparentTablet) diff --git a/go/vt/proto/vtctldata/vtctldata.pb.go b/go/vt/proto/vtctldata/vtctldata.pb.go index bee3b7c9dad..999d484d52f 100644 --- a/go/vt/proto/vtctldata/vtctldata.pb.go +++ b/go/vt/proto/vtctldata/vtctldata.pb.go @@ -2578,6 +2578,9 @@ type EmergencyReparentShardRequest struct { // PreventCrossCellPromotion is used to only promote the new primary from the same cell // as the failed primary. PreventCrossCellPromotion bool `protobuf:"varint,6,opt,name=prevent_cross_cell_promotion,json=preventCrossCellPromotion,proto3" json:"prevent_cross_cell_promotion,omitempty"` + // ExpectedPrimary is the optional alias we expect to be the current primary in order for + // the reparent operation to succeed. + ExpectedPrimary *topodata.TabletAlias `protobuf:"bytes,8,opt,name=expected_primary,json=expectedPrimary,proto3" json:"expected_primary,omitempty"` } func (x *EmergencyReparentShardRequest) Reset() { @@ -2654,6 +2657,13 @@ func (x *EmergencyReparentShardRequest) GetPreventCrossCellPromotion() bool { return false } +func (x *EmergencyReparentShardRequest) GetExpectedPrimary() *topodata.TabletAlias { + if x != nil { + return x.ExpectedPrimary + } + return nil +} + type EmergencyReparentShardResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5710,6 +5720,9 @@ type PlannedReparentShardRequest struct { // WaitReplicasTimeout time to catch up before the reparent, and an additional // WaitReplicasTimeout time to catch up after the reparent. WaitReplicasTimeout *vttime.Duration `protobuf:"bytes,5,opt,name=wait_replicas_timeout,json=waitReplicasTimeout,proto3" json:"wait_replicas_timeout,omitempty"` + // ExpectedPrimary is the optional alias we expect to be the current primary in order for + // the reparent operation to succeed. + ExpectedPrimary *topodata.TabletAlias `protobuf:"bytes,8,opt,name=expected_primary,json=expectedPrimary,proto3" json:"expected_primary,omitempty"` } func (x *PlannedReparentShardRequest) Reset() { @@ -5779,6 +5792,13 @@ func (x *PlannedReparentShardRequest) GetWaitReplicasTimeout() *vttime.Duration return nil } +func (x *PlannedReparentShardRequest) GetExpectedPrimary() *topodata.TabletAlias { + if x != nil { + return x.ExpectedPrimary + } + return nil +} + type PlannedReparentShardResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -10907,7 +10927,7 @@ var file_vtctldata_proto_rawDesc = []byte{ 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xd0, 0x02, 0x0a, + 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x92, 0x03, 0x0a, 0x1d, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, @@ -10928,901 +10948,814 @@ var file_vtctldata_proto_rawDesc = []byte{ 0x0a, 0x1c, 0x70, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19, 0x70, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x6f, - 0x73, 0x73, 0x43, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0xbc, 0x01, 0x0a, 0x1e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x65, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x12, 0x40, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, - 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x50, - 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, - 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa0, - 0x01, 0x0a, 0x18, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, - 0x73, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6d, - 0x61, 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, - 0x61, 0x78, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x70, 0x6f, - 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x50, 0x6f, 0x6f, - 0x6c, 0x22, 0x47, 0x0a, 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, - 0x68, 0x41, 0x73, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, - 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xd3, 0x01, 0x0a, 0x18, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x42, 0x41, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, - 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, - 0x73, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, - 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x52, 0x6f, - 0x77, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x69, - 0x6e, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x73, - 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, - 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x22, 0x47, 0x0a, 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, - 0x41, 0x73, 0x44, 0x42, 0x41, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xa5, 0x01, 0x0a, 0x12, 0x45, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x55, 0x0a, 0x13, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x11, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x5e, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x68, 0x6f, 0x6f, 0x6b, - 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x22, 0x3c, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x73, 0x49, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, - 0xbe, 0x01, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x73, 0x49, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x49, 0x6e, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x73, 0x1a, 0x4b, 0x0a, 0x0b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0x9e, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x08, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0d, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x22, 0x44, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, - 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, - 0x63, 0x74, 0x6c, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, - 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x22, 0x28, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x65, - 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x6c, - 0x6c, 0x22, 0x46, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, - 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x6f, - 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x08, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, - 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x30, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, - 0x6e, 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, - 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0xb6, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x07, - 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, - 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, - 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x1a, 0x50, 0x0a, 0x0c, 0x41, 0x6c, 0x69, 0x61, 0x73, - 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x50, 0x0a, 0x14, 0x47, 0x65, 0x74, - 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x4c, 0x0a, 0x15, 0x47, - 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x47, 0x65, 0x74, - 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x49, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x22, 0x30, 0x0a, 0x12, 0x47, - 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x46, 0x0a, - 0x13, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x51, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, - 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x5a, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, - 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x55, - 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0d, 0x72, 0x6f, 0x75, - 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, - 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, - 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0xb0, 0x02, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, - 0x6c, 0x69, 0x61, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, - 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x76, - 0x69, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x63, 0x6c, - 0x75, 0x64, 0x65, 0x56, 0x69, 0x65, 0x77, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4f, 0x6e, - 0x6c, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x11, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6f, 0x6e, 0x6c, - 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x50, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, - 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x4c, 0x0a, 0x0f, 0x47, 0x65, - 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, - 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, - 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x22, 0x1d, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x6a, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, - 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x13, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x72, 0x6f, 0x75, - 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x11, 0x73, 0x68, - 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, - 0x32, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, - 0x6c, 0x6c, 0x73, 0x22, 0xf3, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, - 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x1a, 0x69, 0x0a, 0x0a, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x45, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x20, 0x0a, 0x08, 0x4e, 0x61, 0x6d, 0x65, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x4a, 0x0a, 0x16, 0x47, 0x65, 0x74, - 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, - 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0xcc, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, - 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x59, 0x0a, 0x0d, 0x73, 0x72, 0x76, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x72, 0x76, - 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, - 0x73, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x1a, 0x56, 0x0a, 0x11, - 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x72, - 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, - 0x22, 0x4e, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x73, 0x72, 0x76, - 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x13, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x52, 0x0a, 0x73, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x22, 0x2d, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, - 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, - 0xc5, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x73, 0x72, - 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, - 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x73, 0x1a, 0x53, 0x0a, 0x10, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4c, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x3d, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x6f, 0x70, - 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x22, 0xe8, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, - 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x12, 0x3c, 0x0a, 0x0e, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, - 0x40, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x73, 0x22, 0x2c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, - 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, - 0x46, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, - 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x63, 0x65, - 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x43, 0x65, 0x6c, - 0x6c, 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x22, 0x66, 0x0a, 0x0c, 0x54, 0x6f, 0x70, 0x6f, 0x6c, - 0x6f, 0x67, 0x79, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, - 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x22, - 0x2f, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x73, 0x43, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x40, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, + 0x52, 0x0f, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x22, 0xbc, 0x01, 0x0a, 0x1e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x52, + 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x22, 0x4d, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, - 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, - 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, - 0x2e, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, - 0x42, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x22, 0x52, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x49, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x31, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x73, 0x22, 0xfb, 0x01, 0x0a, 0x17, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, - 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, - 0x12, 0x52, 0x0a, 0x1a, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x17, 0x70, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x45, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, - 0x6c, 0x69, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x15, 0x77, 0x61, - 0x69, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x74, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x77, 0x61, 0x69, - 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, - 0x22, 0x42, 0x0a, 0x18, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x50, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x06, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, - 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x22, 0x4d, 0x0a, 0x11, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x40, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, + 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, + 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, + 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x22, 0xa0, 0x01, 0x0a, 0x18, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, + 0x68, 0x41, 0x73, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x19, 0x0a, + 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x07, 0x6d, 0x61, 0x78, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, + 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x50, + 0x6f, 0x6f, 0x6c, 0x22, 0x47, 0x0a, 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, + 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xd3, 0x01, 0x0a, + 0x18, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, + 0x42, 0x41, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, - 0x69, 0x61, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x89, 0x02, 0x0a, 0x1b, 0x50, 0x6c, - 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x36, 0x0a, 0x0b, 0x6e, - 0x65, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x50, 0x72, 0x69, 0x6d, - 0x61, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x0d, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, - 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, - 0x73, 0x52, 0x0c, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, - 0x44, 0x0a, 0x15, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, - 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x54, 0x69, - 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0xba, 0x01, 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, - 0x64, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x40, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d, - 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, - 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x06, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67, - 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x22, 0x74, 0x0a, 0x1b, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, - 0x6c, 0x6c, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x61, 0x72, - 0x74, 0x69, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, - 0x77, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x22, 0x1e, 0x0a, 0x1c, 0x52, 0x65, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x0a, 0x1a, 0x52, 0x65, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x1d, 0x0a, 0x1b, - 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, - 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4f, 0x0a, 0x13, 0x52, - 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x69, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, + 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, + 0x52, 0x6f, 0x77, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x23, 0x0a, + 0x0d, 0x72, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x22, 0x47, 0x0a, 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, + 0x63, 0x68, 0x41, 0x73, 0x44, 0x42, 0x41, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xa5, 0x01, 0x0a, 0x12, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, - 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x16, 0x0a, 0x14, - 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x64, 0x0a, 0x1a, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x83, 0x01, 0x0a, 0x1b, 0x52, - 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x79, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x69, 0x73, - 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, - 0x6c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x36, 0x0a, 0x17, 0x70, 0x61, 0x72, 0x74, - 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x64, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x70, 0x61, 0x72, 0x74, 0x69, - 0x61, 0x6c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, - 0x22, 0x4f, 0x0a, 0x13, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, - 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, - 0x73, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x1b, 0x52, 0x65, - 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x61, - 0x69, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, - 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x72, 0x69, 0x6d, - 0x61, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, - 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, - 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x46, 0x0a, 0x1c, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xbc, 0x01, - 0x0a, 0x18, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x23, 0x0a, 0x0d, - 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x70, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, - 0x75, 0x64, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, - 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x43, 0x0a, 0x19, - 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67, 0x75, - 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x22, 0x5b, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, - 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, + 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x55, 0x0a, 0x13, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x5e, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, + 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x68, 0x6f, + 0x6f, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x22, 0x3c, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x73, 0x49, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x73, 0x49, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x49, + 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x73, 0x1a, 0x4b, 0x0a, 0x0b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x9e, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x16, - 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7f, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, + 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x22, 0x44, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x62, 0x61, 0x63, + 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x79, 0x73, + 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x22, 0x28, 0x0a, 0x12, 0x47, 0x65, 0x74, + 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, + 0x65, 0x6c, 0x6c, 0x22, 0x46, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x65, + 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x08, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x19, 0x0a, 0x17, 0x47, + 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x30, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, + 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0xb6, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, + 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, + 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2f, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, + 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x1a, 0x50, 0x0a, 0x0c, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x50, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, + 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, + 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x4c, 0x0a, + 0x15, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x49, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x09, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x22, 0x30, 0x0a, + 0x12, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, - 0x65, 0x6c, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, - 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, - 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, - 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, - 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x12, - 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, - 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, - 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, - 0x69, 0x76, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, - 0x0a, 0x15, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0x7b, 0x0a, 0x16, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, - 0x61, 0x72, 0x79, 0x22, 0x83, 0x01, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, - 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, + 0x46, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x51, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x2d, 0x0a, 0x0b, 0x62, 0x61, - 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0c, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0a, 0x62, - 0x61, 0x63, 0x6b, 0x75, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xad, 0x01, 0x0a, 0x19, 0x52, 0x65, - 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x5a, 0x0a, 0x16, 0x47, 0x65, + 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, + 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x55, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, + 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0d, 0x72, + 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x52, 0x6f, 0x75, + 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x69, + 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0xb0, 0x02, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, + 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x56, 0x69, 0x65, 0x77, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x2a, + 0x0a, 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6f, + 0x6e, 0x6c, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x50, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3b, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x4c, 0x0a, 0x0f, + 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x73, 0x68, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x0a, 0x10, 0x47, 0x65, + 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, + 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, + 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x1d, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x6a, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x13, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x72, + 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x11, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, + 0x73, 0x22, 0x32, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, + 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0xf3, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x1a, 0x69, + 0x0a, 0x0a, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x45, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x20, 0x0a, 0x08, 0x4e, 0x61, 0x6d, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x4a, 0x0a, 0x16, 0x47, + 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0xcc, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x53, + 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0d, 0x73, 0x72, 0x76, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, + 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0c, 0x73, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x1a, 0x56, + 0x0a, 0x11, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, + 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, + 0x6c, 0x6c, 0x22, 0x4e, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x73, + 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x72, 0x76, 0x56, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x0a, 0x73, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x22, 0x2d, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, + 0x73, 0x22, 0xc5, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, + 0x73, 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x73, 0x1a, 0x53, 0x0a, 0x10, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4c, 0x0a, 0x10, 0x47, 0x65, 0x74, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x3d, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x06, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x06, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0xe8, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, + 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, + 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x12, 0x3c, 0x0a, 0x0e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0d, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x0b, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x22, 0x40, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x73, 0x22, 0x2c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, + 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x22, 0x46, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, + 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x04, + 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x43, + 0x65, 0x6c, 0x6c, 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x22, 0x66, 0x0a, 0x0c, 0x54, 0x6f, 0x70, + 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, + 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, + 0x6e, 0x22, 0x2f, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x22, 0x4d, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, - 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, - 0x61, 0x72, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x51, 0x0a, 0x15, 0x52, 0x75, 0x6e, - 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, - 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, - 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x18, 0x0a, 0x16, - 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6d, 0x0a, 0x22, 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x73, 0x22, 0x2e, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x22, 0x42, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x76, 0x5f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x52, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x75, 0x72, 0x61, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x55, 0x0a, 0x23, 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x08, - 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xc8, 0x01, 0x0a, - 0x1c, 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, - 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x27, - 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x4f, 0x0a, 0x1d, 0x53, 0x65, 0x74, 0x4b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x6f, 0x70, - 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, - 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x5e, 0x0a, 0x1e, 0x53, 0x65, 0x74, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4a, 0x04, 0x08, 0x02, - 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x51, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x08, 0x6b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x72, 0x0a, 0x1f, 0x53, - 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, - 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, - 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x22, - 0x49, 0x0a, 0x20, 0x53, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x73, 0x50, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x8e, 0x02, 0x0a, 0x1c, 0x53, - 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x49, 0x0a, 0x14, 0x47, 0x65, 0x74, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x31, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x73, 0x22, 0xfb, 0x01, 0x0a, 0x17, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, + 0x72, 0x64, 0x12, 0x52, 0x0a, 0x1a, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x17, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x45, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x15, + 0x77, 0x61, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x74, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x77, + 0x61, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x6f, + 0x75, 0x74, 0x22, 0x42, 0x0a, 0x18, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x50, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, + 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x4d, 0x0a, 0x11, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xcb, 0x02, 0x0a, 0x1b, + 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x35, 0x0a, - 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, - 0x6e, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0c, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, - 0x32, 0x0a, 0x15, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, - 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x22, 0x46, 0x0a, 0x1d, 0x53, - 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, - 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x6f, - 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, - 0x61, 0x72, 0x64, 0x22, 0x6a, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, - 0x69, 0x61, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x77, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x22, - 0x15, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x1a, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x52, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x36, 0x0a, + 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x50, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x0d, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x5f, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x52, 0x0c, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x12, 0x44, 0x0a, 0x15, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x10, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, + 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x40, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x65, 0x63, + 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0f, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, + 0x65, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0xba, 0x01, 0x0a, 0x1c, 0x50, 0x6c, + 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x40, 0x0a, 0x10, + 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0f, 0x70, + 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x26, + 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x74, 0x0a, 0x1b, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, + 0x64, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, - 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, - 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x62, 0x0a, 0x1a, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x22, 0x1e, 0x0a, 0x1c, + 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x47, + 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x0a, 0x1a, + 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, + 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, + 0x6c, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, + 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x4f, 0x0a, 0x13, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, + 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x64, 0x0a, 0x1a, 0x52, 0x65, 0x66, 0x72, + 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x83, + 0x01, 0x0a, 0x1b, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, + 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, + 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x50, 0x61, + 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x36, 0x0a, 0x17, + 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, + 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x22, 0x4f, 0x0a, 0x13, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa9, 0x01, + 0x0a, 0x1b, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x61, 0x69, + 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, + 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, + 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x46, 0x0a, 0x1c, 0x52, 0x65, 0x6c, + 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67, 0x75, + 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x22, 0xbc, 0x01, 0x0a, 0x18, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x63, 0x65, 0x6c, 0x6c, 0x22, 0x54, 0x0a, 0x1b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x54, 0x0a, 0x20, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, + 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x50, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, + 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x20, + 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, + 0x22, 0x43, 0x0a, 0x19, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, + 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x5b, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7f, 0x0a, 0x19, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x65, 0x6c, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x65, 0x6c, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x16, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, + 0x65, 0x6c, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, + 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, + 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x46, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0x7b, 0x0a, 0x16, 0x52, 0x65, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, + 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x83, 0x01, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x74, + 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, + 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x2d, + 0x0a, 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xad, 0x01, + 0x0a, 0x19, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, + 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0c, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, + 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x51, 0x0a, + 0x15, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, + 0x22, 0x18, 0x0a, 0x16, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6d, 0x0a, 0x22, 0x53, 0x65, + 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, + 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x55, 0x0a, 0x23, 0x53, 0x65, 0x74, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2e, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x22, 0xc8, 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, + 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x4f, 0x0a, 0x1d, 0x53, + 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, + 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x08, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x5e, 0x0a, 0x1e, + 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, - 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, - 0x22, 0xaa, 0x03, 0x0a, 0x21, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, - 0x12, 0x5a, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x1a, 0x5f, 0x0a, 0x18, - 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x72, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4e, 0x0a, - 0x0e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x10, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8b, 0x01, - 0x0a, 0x1d, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, + 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, + 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x51, 0x0a, 0x1f, + 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2e, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, + 0x72, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x73, 0x50, 0x72, 0x69, + 0x6d, 0x61, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x6e, 0x67, 0x22, 0x49, 0x0a, 0x20, 0x53, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, + 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x8e, + 0x02, 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, - 0x64, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7c, 0x0a, - 0x12, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, - 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, - 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x2c, 0x0a, - 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x10, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x15, 0x0a, 0x13, 0x53, - 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0xf0, 0x01, 0x0a, 0x15, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, - 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, - 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2f, 0x0a, 0x09, - 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x61, - 0x6e, 0x67, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x16, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, - 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x5e, 0x0a, 0x18, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x64, 0x12, 0x35, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x23, + 0x0a, 0x0d, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x22, + 0x46, 0x0a, 0x1d, 0x53, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x6a, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x57, 0x72, + 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x72, 0x69, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x77, 0x72, 0x69, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x1a, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, + 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x38, 0x0a, 0x0c, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x1a, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x42, 0x0a, 0x19, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x53, 0x0a, 0x17, 0x53, 0x74, - 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, - 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, - 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, - 0x1a, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, 0x16, 0x53, - 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, - 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, + 0x68, 0x61, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x22, 0x54, 0x0a, 0x1b, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x78, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x54, + 0x0a, 0x20, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x22, 0xaa, 0x03, 0x0a, 0x21, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x14, 0x72, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x13, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x6d, + 0x61, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x4d, 0x61, 0x70, + 0x1a, 0x5f, 0x0a, 0x18, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0x4e, 0x0a, 0x0e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x8b, 0x01, 0x0a, 0x1d, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, + 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, - 0x19, 0x0a, 0x17, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, 0x21, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x52, 0x65, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x2d, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0xc6, - 0x01, 0x0a, 0x22, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6c, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x36, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x70, - 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, - 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, - 0x69, 0x61, 0x73, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, - 0x36, 0x0a, 0x0b, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0a, 0x6f, 0x6c, 0x64, - 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x5c, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, - 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x65, 0x6c, - 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x5d, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, - 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x65, 0x6c, 0x6c, - 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x64, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, - 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x5f, 0x61, 0x6c, 0x69, - 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0a, - 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x65, 0x0a, 0x18, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x65, - 0x6c, 0x6c, 0x73, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x73, - 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, - 0x73, 0x22, 0x34, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x69, 0x6e, 0x67, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x22, 0xfb, 0x01, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x62, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, - 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x1a, 0x69, 0x0a, 0x16, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x58, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, - 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0b, 0x70, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x22, - 0xfc, 0x01, 0x0a, 0x18, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x61, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x37, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x63, 0x0a, 0x13, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd8, - 0x01, 0x0a, 0x1d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x20, 0x0a, 0x1e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x7c, 0x0a, 0x12, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, + 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x12, 0x2c, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x44, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x15, 0x0a, 0x13, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf0, 0x01, 0x0a, 0x15, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, - 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x76, - 0x69, 0x65, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x63, 0x6c, - 0x75, 0x64, 0x65, 0x56, 0x69, 0x65, 0x77, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x6b, 0x69, 0x70, - 0x5f, 0x6e, 0x6f, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0d, 0x73, 0x6b, 0x69, 0x70, 0x4e, 0x6f, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, - 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x76, 0x73, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, - 0x64, 0x65, 0x56, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x88, 0x02, 0x0a, 0x1e, 0x56, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x67, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x3d, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x0e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, - 0x63, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x6b, 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, - 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x21, - 0x0a, 0x0c, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x73, 0x22, 0x31, 0x0a, 0x15, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x73, 0x22, 0x3c, 0x0a, 0x1e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, + 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x75, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, + 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x12, 0x2f, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4b, + 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x16, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x5e, 0x0a, 0x18, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x22, 0x8a, 0x02, 0x0a, 0x1f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, - 0x12, 0x68, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x63, 0x0a, 0x13, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x4f, 0x0a, 0x1b, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, - 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, - 0x22, 0x38, 0x0a, 0x1c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x42, 0x0a, 0x19, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x53, + 0x0a, 0x17, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x52, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, + 0x0a, 0x21, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x6c, 0x79, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x22, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x65, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x36, 0x0a, 0x0b, 0x6e, + 0x65, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x50, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x12, 0x36, 0x0a, 0x0b, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, + 0x0a, 0x6f, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x5c, 0x0a, 0x15, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x08, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x5d, 0x0a, 0x16, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, + 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x64, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x65, 0x6c, 0x6c, 0x73, + 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x52, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x65, + 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, + 0x0a, 0x0b, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, + 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x73, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x34, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x69, 0x6e, 0x67, + 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, + 0x70, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x22, 0xfb, 0x01, 0x0a, 0x10, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x98, 0x01, 0x0a, 0x16, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x63, - 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, - 0x56, 0x69, 0x65, 0x77, 0x73, 0x22, 0xfa, 0x01, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x65, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x60, 0x0a, 0x10, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x62, 0x0a, 0x13, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x4b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x1a, 0x69, + 0x0a, 0x16, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x39, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x58, 0x0a, 0x17, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x73, 0x22, 0xfc, 0x01, 0x0a, 0x18, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x61, 0x0a, 0x10, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x63, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, @@ -11831,14 +11764,110 @@ var file_vtctldata_proto_rawDesc = []byte{ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x2a, 0x4a, 0x0a, 0x15, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x0a, 0x0a, 0x06, 0x43, - 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x4f, 0x56, 0x45, 0x54, - 0x41, 0x42, 0x4c, 0x45, 0x53, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x52, 0x45, 0x41, 0x54, - 0x45, 0x4c, 0x4f, 0x4f, 0x4b, 0x55, 0x50, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x10, 0x02, 0x42, 0x28, - 0x5a, 0x26, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x38, 0x01, 0x22, 0xd8, 0x01, 0x0a, 0x1d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, + 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x56, 0x69, 0x65, 0x77, 0x73, 0x12, 0x26, 0x0a, 0x0f, + 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x6e, 0x6f, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x6b, 0x69, 0x70, 0x4e, 0x6f, 0x50, 0x72, 0x69, + 0x6d, 0x61, 0x72, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, + 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, + 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x56, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x88, 0x02, + 0x0a, 0x1e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x67, 0x0a, 0x10, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x1a, 0x63, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x6b, 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, + 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x69, 0x6e, 0x67, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x73, 0x22, 0x31, 0x0a, 0x15, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x3c, 0x0a, 0x1e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x8a, 0x02, 0x0a, 0x1f, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x73, 0x12, 0x68, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x5f, + 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x63, + 0x0a, 0x13, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x4f, 0x0a, 0x1b, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x22, 0x38, 0x0a, 0x1c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x98, + 0x01, 0x0a, 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x25, 0x0a, + 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, + 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x63, + 0x6c, 0x75, 0x64, 0x65, 0x56, 0x69, 0x65, 0x77, 0x73, 0x22, 0xfa, 0x01, 0x0a, 0x17, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, + 0x60, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x1a, 0x63, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x79, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x4a, 0x0a, 0x15, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, + 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, + 0x0a, 0x0a, 0x06, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, + 0x4f, 0x56, 0x45, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x53, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x43, + 0x52, 0x45, 0x41, 0x54, 0x45, 0x4c, 0x4f, 0x4f, 0x4b, 0x55, 0x50, 0x49, 0x4e, 0x44, 0x45, 0x58, + 0x10, 0x02, 0x42, 0x28, 0x5a, 0x26, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x69, 0x6f, 0x2f, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x74, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -12118,123 +12147,125 @@ var file_vtctldata_proto_depIdxs = []int32{ 206, // 30: vtctldata.EmergencyReparentShardRequest.new_primary:type_name -> topodata.TabletAlias 206, // 31: vtctldata.EmergencyReparentShardRequest.ignore_replicas:type_name -> topodata.TabletAlias 203, // 32: vtctldata.EmergencyReparentShardRequest.wait_replicas_timeout:type_name -> vttime.Duration - 206, // 33: vtctldata.EmergencyReparentShardResponse.promoted_primary:type_name -> topodata.TabletAlias - 197, // 34: vtctldata.EmergencyReparentShardResponse.events:type_name -> logutil.Event - 206, // 35: vtctldata.ExecuteFetchAsAppRequest.tablet_alias:type_name -> topodata.TabletAlias - 212, // 36: vtctldata.ExecuteFetchAsAppResponse.result:type_name -> query.QueryResult - 206, // 37: vtctldata.ExecuteFetchAsDBARequest.tablet_alias:type_name -> topodata.TabletAlias - 212, // 38: vtctldata.ExecuteFetchAsDBAResponse.result:type_name -> query.QueryResult - 206, // 39: vtctldata.ExecuteHookRequest.tablet_alias:type_name -> topodata.TabletAlias - 213, // 40: vtctldata.ExecuteHookRequest.tablet_hook_request:type_name -> tabletmanagerdata.ExecuteHookRequest - 214, // 41: vtctldata.ExecuteHookResponse.hook_result:type_name -> tabletmanagerdata.ExecuteHookResponse - 184, // 42: vtctldata.FindAllShardsInKeyspaceResponse.shards:type_name -> vtctldata.FindAllShardsInKeyspaceResponse.ShardsEntry - 215, // 43: vtctldata.GetBackupsResponse.backups:type_name -> mysqlctl.BackupInfo - 200, // 44: vtctldata.GetCellInfoResponse.cell_info:type_name -> topodata.CellInfo - 185, // 45: vtctldata.GetCellsAliasesResponse.aliases:type_name -> vtctldata.GetCellsAliasesResponse.AliasesEntry - 206, // 46: vtctldata.GetFullStatusRequest.tablet_alias:type_name -> topodata.TabletAlias - 216, // 47: vtctldata.GetFullStatusResponse.status:type_name -> replicationdata.FullStatus - 5, // 48: vtctldata.GetKeyspacesResponse.keyspaces:type_name -> vtctldata.Keyspace - 5, // 49: vtctldata.GetKeyspaceResponse.keyspace:type_name -> vtctldata.Keyspace - 206, // 50: vtctldata.GetPermissionsRequest.tablet_alias:type_name -> topodata.TabletAlias - 217, // 51: vtctldata.GetPermissionsResponse.permissions:type_name -> tabletmanagerdata.Permissions - 201, // 52: vtctldata.GetRoutingRulesResponse.routing_rules:type_name -> vschema.RoutingRules - 206, // 53: vtctldata.GetSchemaRequest.tablet_alias:type_name -> topodata.TabletAlias - 218, // 54: vtctldata.GetSchemaResponse.schema:type_name -> tabletmanagerdata.SchemaDefinition - 6, // 55: vtctldata.GetShardResponse.shard:type_name -> vtctldata.Shard - 202, // 56: vtctldata.GetShardRoutingRulesResponse.shard_routing_rules:type_name -> vschema.ShardRoutingRules - 186, // 57: vtctldata.GetSrvKeyspaceNamesResponse.names:type_name -> vtctldata.GetSrvKeyspaceNamesResponse.NamesEntry - 188, // 58: vtctldata.GetSrvKeyspacesResponse.srv_keyspaces:type_name -> vtctldata.GetSrvKeyspacesResponse.SrvKeyspacesEntry - 219, // 59: vtctldata.GetSrvVSchemaResponse.srv_v_schema:type_name -> vschema.SrvVSchema - 189, // 60: vtctldata.GetSrvVSchemasResponse.srv_v_schemas:type_name -> vtctldata.GetSrvVSchemasResponse.SrvVSchemasEntry - 206, // 61: vtctldata.GetTabletRequest.tablet_alias:type_name -> topodata.TabletAlias - 208, // 62: vtctldata.GetTabletResponse.tablet:type_name -> topodata.Tablet - 206, // 63: vtctldata.GetTabletsRequest.tablet_aliases:type_name -> topodata.TabletAlias - 207, // 64: vtctldata.GetTabletsRequest.tablet_type:type_name -> topodata.TabletType - 208, // 65: vtctldata.GetTabletsResponse.tablets:type_name -> topodata.Tablet - 89, // 66: vtctldata.GetTopologyPathResponse.cell:type_name -> vtctldata.TopologyCell - 206, // 67: vtctldata.GetVersionRequest.tablet_alias:type_name -> topodata.TabletAlias - 205, // 68: vtctldata.GetVSchemaResponse.v_schema:type_name -> vschema.Keyspace - 7, // 69: vtctldata.GetWorkflowsResponse.workflows:type_name -> vtctldata.Workflow - 206, // 70: vtctldata.InitShardPrimaryRequest.primary_elect_tablet_alias:type_name -> topodata.TabletAlias - 203, // 71: vtctldata.InitShardPrimaryRequest.wait_replicas_timeout:type_name -> vttime.Duration - 197, // 72: vtctldata.InitShardPrimaryResponse.events:type_name -> logutil.Event - 206, // 73: vtctldata.PingTabletRequest.tablet_alias:type_name -> topodata.TabletAlias - 206, // 74: vtctldata.PlannedReparentShardRequest.new_primary:type_name -> topodata.TabletAlias - 206, // 75: vtctldata.PlannedReparentShardRequest.avoid_primary:type_name -> topodata.TabletAlias - 203, // 76: vtctldata.PlannedReparentShardRequest.wait_replicas_timeout:type_name -> vttime.Duration - 206, // 77: vtctldata.PlannedReparentShardResponse.promoted_primary:type_name -> topodata.TabletAlias - 197, // 78: vtctldata.PlannedReparentShardResponse.events:type_name -> logutil.Event - 206, // 79: vtctldata.RefreshStateRequest.tablet_alias:type_name -> topodata.TabletAlias - 206, // 80: vtctldata.ReloadSchemaRequest.tablet_alias:type_name -> topodata.TabletAlias - 197, // 81: vtctldata.ReloadSchemaKeyspaceResponse.events:type_name -> logutil.Event - 197, // 82: vtctldata.ReloadSchemaShardResponse.events:type_name -> logutil.Event - 206, // 83: vtctldata.ReparentTabletRequest.tablet:type_name -> topodata.TabletAlias - 206, // 84: vtctldata.ReparentTabletResponse.primary:type_name -> topodata.TabletAlias - 206, // 85: vtctldata.RestoreFromBackupRequest.tablet_alias:type_name -> topodata.TabletAlias - 211, // 86: vtctldata.RestoreFromBackupRequest.backup_time:type_name -> vttime.Time - 206, // 87: vtctldata.RestoreFromBackupResponse.tablet_alias:type_name -> topodata.TabletAlias - 197, // 88: vtctldata.RestoreFromBackupResponse.event:type_name -> logutil.Event - 206, // 89: vtctldata.RunHealthCheckRequest.tablet_alias:type_name -> topodata.TabletAlias - 198, // 90: vtctldata.SetKeyspaceDurabilityPolicyResponse.keyspace:type_name -> topodata.Keyspace - 207, // 91: vtctldata.SetKeyspaceServedFromRequest.tablet_type:type_name -> topodata.TabletType - 198, // 92: vtctldata.SetKeyspaceServedFromResponse.keyspace:type_name -> topodata.Keyspace - 198, // 93: vtctldata.SetKeyspaceShardingInfoResponse.keyspace:type_name -> topodata.Keyspace - 199, // 94: vtctldata.SetShardIsPrimaryServingResponse.shard:type_name -> topodata.Shard - 207, // 95: vtctldata.SetShardTabletControlRequest.tablet_type:type_name -> topodata.TabletType - 199, // 96: vtctldata.SetShardTabletControlResponse.shard:type_name -> topodata.Shard - 206, // 97: vtctldata.SetWritableRequest.tablet_alias:type_name -> topodata.TabletAlias - 206, // 98: vtctldata.ShardReplicationAddRequest.tablet_alias:type_name -> topodata.TabletAlias - 220, // 99: vtctldata.ShardReplicationFixResponse.error:type_name -> topodata.ShardReplicationError - 190, // 100: vtctldata.ShardReplicationPositionsResponse.replication_statuses:type_name -> vtctldata.ShardReplicationPositionsResponse.ReplicationStatusesEntry - 191, // 101: vtctldata.ShardReplicationPositionsResponse.tablet_map:type_name -> vtctldata.ShardReplicationPositionsResponse.TabletMapEntry - 206, // 102: vtctldata.ShardReplicationRemoveRequest.tablet_alias:type_name -> topodata.TabletAlias - 206, // 103: vtctldata.SleepTabletRequest.tablet_alias:type_name -> topodata.TabletAlias - 203, // 104: vtctldata.SleepTabletRequest.duration:type_name -> vttime.Duration - 221, // 105: vtctldata.SourceShardAddRequest.key_range:type_name -> topodata.KeyRange - 199, // 106: vtctldata.SourceShardAddResponse.shard:type_name -> topodata.Shard - 199, // 107: vtctldata.SourceShardDeleteResponse.shard:type_name -> topodata.Shard - 206, // 108: vtctldata.StartReplicationRequest.tablet_alias:type_name -> topodata.TabletAlias - 206, // 109: vtctldata.StopReplicationRequest.tablet_alias:type_name -> topodata.TabletAlias - 206, // 110: vtctldata.TabletExternallyReparentedRequest.tablet:type_name -> topodata.TabletAlias - 206, // 111: vtctldata.TabletExternallyReparentedResponse.new_primary:type_name -> topodata.TabletAlias - 206, // 112: vtctldata.TabletExternallyReparentedResponse.old_primary:type_name -> topodata.TabletAlias - 200, // 113: vtctldata.UpdateCellInfoRequest.cell_info:type_name -> topodata.CellInfo - 200, // 114: vtctldata.UpdateCellInfoResponse.cell_info:type_name -> topodata.CellInfo - 222, // 115: vtctldata.UpdateCellsAliasRequest.cells_alias:type_name -> topodata.CellsAlias - 222, // 116: vtctldata.UpdateCellsAliasResponse.cells_alias:type_name -> topodata.CellsAlias - 192, // 117: vtctldata.ValidateResponse.results_by_keyspace:type_name -> vtctldata.ValidateResponse.ResultsByKeyspaceEntry - 193, // 118: vtctldata.ValidateKeyspaceResponse.results_by_shard:type_name -> vtctldata.ValidateKeyspaceResponse.ResultsByShardEntry - 194, // 119: vtctldata.ValidateSchemaKeyspaceResponse.results_by_shard:type_name -> vtctldata.ValidateSchemaKeyspaceResponse.ResultsByShardEntry - 195, // 120: vtctldata.ValidateVersionKeyspaceResponse.results_by_shard:type_name -> vtctldata.ValidateVersionKeyspaceResponse.ResultsByShardEntry - 196, // 121: vtctldata.ValidateVSchemaResponse.results_by_shard:type_name -> vtctldata.ValidateVSchemaResponse.ResultsByShardEntry - 180, // 122: vtctldata.Workflow.ShardStreamsEntry.value:type_name -> vtctldata.Workflow.ShardStream - 181, // 123: vtctldata.Workflow.ShardStream.streams:type_name -> vtctldata.Workflow.Stream - 223, // 124: vtctldata.Workflow.ShardStream.tablet_controls:type_name -> topodata.Shard.TabletControl - 206, // 125: vtctldata.Workflow.Stream.tablet:type_name -> topodata.TabletAlias - 224, // 126: vtctldata.Workflow.Stream.binlog_source:type_name -> binlogdata.BinlogSource - 211, // 127: vtctldata.Workflow.Stream.transaction_timestamp:type_name -> vttime.Time - 211, // 128: vtctldata.Workflow.Stream.time_updated:type_name -> vttime.Time - 182, // 129: vtctldata.Workflow.Stream.copy_states:type_name -> vtctldata.Workflow.Stream.CopyState - 183, // 130: vtctldata.Workflow.Stream.logs:type_name -> vtctldata.Workflow.Stream.Log - 211, // 131: vtctldata.Workflow.Stream.Log.created_at:type_name -> vttime.Time - 211, // 132: vtctldata.Workflow.Stream.Log.updated_at:type_name -> vttime.Time - 6, // 133: vtctldata.FindAllShardsInKeyspaceResponse.ShardsEntry.value:type_name -> vtctldata.Shard - 222, // 134: vtctldata.GetCellsAliasesResponse.AliasesEntry.value:type_name -> topodata.CellsAlias - 187, // 135: vtctldata.GetSrvKeyspaceNamesResponse.NamesEntry.value:type_name -> vtctldata.GetSrvKeyspaceNamesResponse.NameList - 225, // 136: vtctldata.GetSrvKeyspacesResponse.SrvKeyspacesEntry.value:type_name -> topodata.SrvKeyspace - 219, // 137: vtctldata.GetSrvVSchemasResponse.SrvVSchemasEntry.value:type_name -> vschema.SrvVSchema - 226, // 138: vtctldata.ShardReplicationPositionsResponse.ReplicationStatusesEntry.value:type_name -> replicationdata.Status - 208, // 139: vtctldata.ShardReplicationPositionsResponse.TabletMapEntry.value:type_name -> topodata.Tablet - 167, // 140: vtctldata.ValidateResponse.ResultsByKeyspaceEntry.value:type_name -> vtctldata.ValidateKeyspaceResponse - 171, // 141: vtctldata.ValidateKeyspaceResponse.ResultsByShardEntry.value:type_name -> vtctldata.ValidateShardResponse - 171, // 142: vtctldata.ValidateSchemaKeyspaceResponse.ResultsByShardEntry.value:type_name -> vtctldata.ValidateShardResponse - 171, // 143: vtctldata.ValidateVersionKeyspaceResponse.ResultsByShardEntry.value:type_name -> vtctldata.ValidateShardResponse - 171, // 144: vtctldata.ValidateVSchemaResponse.ResultsByShardEntry.value:type_name -> vtctldata.ValidateShardResponse - 145, // [145:145] is the sub-list for method output_type - 145, // [145:145] is the sub-list for method input_type - 145, // [145:145] is the sub-list for extension type_name - 145, // [145:145] is the sub-list for extension extendee - 0, // [0:145] is the sub-list for field type_name + 206, // 33: vtctldata.EmergencyReparentShardRequest.expected_primary:type_name -> topodata.TabletAlias + 206, // 34: vtctldata.EmergencyReparentShardResponse.promoted_primary:type_name -> topodata.TabletAlias + 197, // 35: vtctldata.EmergencyReparentShardResponse.events:type_name -> logutil.Event + 206, // 36: vtctldata.ExecuteFetchAsAppRequest.tablet_alias:type_name -> topodata.TabletAlias + 212, // 37: vtctldata.ExecuteFetchAsAppResponse.result:type_name -> query.QueryResult + 206, // 38: vtctldata.ExecuteFetchAsDBARequest.tablet_alias:type_name -> topodata.TabletAlias + 212, // 39: vtctldata.ExecuteFetchAsDBAResponse.result:type_name -> query.QueryResult + 206, // 40: vtctldata.ExecuteHookRequest.tablet_alias:type_name -> topodata.TabletAlias + 213, // 41: vtctldata.ExecuteHookRequest.tablet_hook_request:type_name -> tabletmanagerdata.ExecuteHookRequest + 214, // 42: vtctldata.ExecuteHookResponse.hook_result:type_name -> tabletmanagerdata.ExecuteHookResponse + 184, // 43: vtctldata.FindAllShardsInKeyspaceResponse.shards:type_name -> vtctldata.FindAllShardsInKeyspaceResponse.ShardsEntry + 215, // 44: vtctldata.GetBackupsResponse.backups:type_name -> mysqlctl.BackupInfo + 200, // 45: vtctldata.GetCellInfoResponse.cell_info:type_name -> topodata.CellInfo + 185, // 46: vtctldata.GetCellsAliasesResponse.aliases:type_name -> vtctldata.GetCellsAliasesResponse.AliasesEntry + 206, // 47: vtctldata.GetFullStatusRequest.tablet_alias:type_name -> topodata.TabletAlias + 216, // 48: vtctldata.GetFullStatusResponse.status:type_name -> replicationdata.FullStatus + 5, // 49: vtctldata.GetKeyspacesResponse.keyspaces:type_name -> vtctldata.Keyspace + 5, // 50: vtctldata.GetKeyspaceResponse.keyspace:type_name -> vtctldata.Keyspace + 206, // 51: vtctldata.GetPermissionsRequest.tablet_alias:type_name -> topodata.TabletAlias + 217, // 52: vtctldata.GetPermissionsResponse.permissions:type_name -> tabletmanagerdata.Permissions + 201, // 53: vtctldata.GetRoutingRulesResponse.routing_rules:type_name -> vschema.RoutingRules + 206, // 54: vtctldata.GetSchemaRequest.tablet_alias:type_name -> topodata.TabletAlias + 218, // 55: vtctldata.GetSchemaResponse.schema:type_name -> tabletmanagerdata.SchemaDefinition + 6, // 56: vtctldata.GetShardResponse.shard:type_name -> vtctldata.Shard + 202, // 57: vtctldata.GetShardRoutingRulesResponse.shard_routing_rules:type_name -> vschema.ShardRoutingRules + 186, // 58: vtctldata.GetSrvKeyspaceNamesResponse.names:type_name -> vtctldata.GetSrvKeyspaceNamesResponse.NamesEntry + 188, // 59: vtctldata.GetSrvKeyspacesResponse.srv_keyspaces:type_name -> vtctldata.GetSrvKeyspacesResponse.SrvKeyspacesEntry + 219, // 60: vtctldata.GetSrvVSchemaResponse.srv_v_schema:type_name -> vschema.SrvVSchema + 189, // 61: vtctldata.GetSrvVSchemasResponse.srv_v_schemas:type_name -> vtctldata.GetSrvVSchemasResponse.SrvVSchemasEntry + 206, // 62: vtctldata.GetTabletRequest.tablet_alias:type_name -> topodata.TabletAlias + 208, // 63: vtctldata.GetTabletResponse.tablet:type_name -> topodata.Tablet + 206, // 64: vtctldata.GetTabletsRequest.tablet_aliases:type_name -> topodata.TabletAlias + 207, // 65: vtctldata.GetTabletsRequest.tablet_type:type_name -> topodata.TabletType + 208, // 66: vtctldata.GetTabletsResponse.tablets:type_name -> topodata.Tablet + 89, // 67: vtctldata.GetTopologyPathResponse.cell:type_name -> vtctldata.TopologyCell + 206, // 68: vtctldata.GetVersionRequest.tablet_alias:type_name -> topodata.TabletAlias + 205, // 69: vtctldata.GetVSchemaResponse.v_schema:type_name -> vschema.Keyspace + 7, // 70: vtctldata.GetWorkflowsResponse.workflows:type_name -> vtctldata.Workflow + 206, // 71: vtctldata.InitShardPrimaryRequest.primary_elect_tablet_alias:type_name -> topodata.TabletAlias + 203, // 72: vtctldata.InitShardPrimaryRequest.wait_replicas_timeout:type_name -> vttime.Duration + 197, // 73: vtctldata.InitShardPrimaryResponse.events:type_name -> logutil.Event + 206, // 74: vtctldata.PingTabletRequest.tablet_alias:type_name -> topodata.TabletAlias + 206, // 75: vtctldata.PlannedReparentShardRequest.new_primary:type_name -> topodata.TabletAlias + 206, // 76: vtctldata.PlannedReparentShardRequest.avoid_primary:type_name -> topodata.TabletAlias + 203, // 77: vtctldata.PlannedReparentShardRequest.wait_replicas_timeout:type_name -> vttime.Duration + 206, // 78: vtctldata.PlannedReparentShardRequest.expected_primary:type_name -> topodata.TabletAlias + 206, // 79: vtctldata.PlannedReparentShardResponse.promoted_primary:type_name -> topodata.TabletAlias + 197, // 80: vtctldata.PlannedReparentShardResponse.events:type_name -> logutil.Event + 206, // 81: vtctldata.RefreshStateRequest.tablet_alias:type_name -> topodata.TabletAlias + 206, // 82: vtctldata.ReloadSchemaRequest.tablet_alias:type_name -> topodata.TabletAlias + 197, // 83: vtctldata.ReloadSchemaKeyspaceResponse.events:type_name -> logutil.Event + 197, // 84: vtctldata.ReloadSchemaShardResponse.events:type_name -> logutil.Event + 206, // 85: vtctldata.ReparentTabletRequest.tablet:type_name -> topodata.TabletAlias + 206, // 86: vtctldata.ReparentTabletResponse.primary:type_name -> topodata.TabletAlias + 206, // 87: vtctldata.RestoreFromBackupRequest.tablet_alias:type_name -> topodata.TabletAlias + 211, // 88: vtctldata.RestoreFromBackupRequest.backup_time:type_name -> vttime.Time + 206, // 89: vtctldata.RestoreFromBackupResponse.tablet_alias:type_name -> topodata.TabletAlias + 197, // 90: vtctldata.RestoreFromBackupResponse.event:type_name -> logutil.Event + 206, // 91: vtctldata.RunHealthCheckRequest.tablet_alias:type_name -> topodata.TabletAlias + 198, // 92: vtctldata.SetKeyspaceDurabilityPolicyResponse.keyspace:type_name -> topodata.Keyspace + 207, // 93: vtctldata.SetKeyspaceServedFromRequest.tablet_type:type_name -> topodata.TabletType + 198, // 94: vtctldata.SetKeyspaceServedFromResponse.keyspace:type_name -> topodata.Keyspace + 198, // 95: vtctldata.SetKeyspaceShardingInfoResponse.keyspace:type_name -> topodata.Keyspace + 199, // 96: vtctldata.SetShardIsPrimaryServingResponse.shard:type_name -> topodata.Shard + 207, // 97: vtctldata.SetShardTabletControlRequest.tablet_type:type_name -> topodata.TabletType + 199, // 98: vtctldata.SetShardTabletControlResponse.shard:type_name -> topodata.Shard + 206, // 99: vtctldata.SetWritableRequest.tablet_alias:type_name -> topodata.TabletAlias + 206, // 100: vtctldata.ShardReplicationAddRequest.tablet_alias:type_name -> topodata.TabletAlias + 220, // 101: vtctldata.ShardReplicationFixResponse.error:type_name -> topodata.ShardReplicationError + 190, // 102: vtctldata.ShardReplicationPositionsResponse.replication_statuses:type_name -> vtctldata.ShardReplicationPositionsResponse.ReplicationStatusesEntry + 191, // 103: vtctldata.ShardReplicationPositionsResponse.tablet_map:type_name -> vtctldata.ShardReplicationPositionsResponse.TabletMapEntry + 206, // 104: vtctldata.ShardReplicationRemoveRequest.tablet_alias:type_name -> topodata.TabletAlias + 206, // 105: vtctldata.SleepTabletRequest.tablet_alias:type_name -> topodata.TabletAlias + 203, // 106: vtctldata.SleepTabletRequest.duration:type_name -> vttime.Duration + 221, // 107: vtctldata.SourceShardAddRequest.key_range:type_name -> topodata.KeyRange + 199, // 108: vtctldata.SourceShardAddResponse.shard:type_name -> topodata.Shard + 199, // 109: vtctldata.SourceShardDeleteResponse.shard:type_name -> topodata.Shard + 206, // 110: vtctldata.StartReplicationRequest.tablet_alias:type_name -> topodata.TabletAlias + 206, // 111: vtctldata.StopReplicationRequest.tablet_alias:type_name -> topodata.TabletAlias + 206, // 112: vtctldata.TabletExternallyReparentedRequest.tablet:type_name -> topodata.TabletAlias + 206, // 113: vtctldata.TabletExternallyReparentedResponse.new_primary:type_name -> topodata.TabletAlias + 206, // 114: vtctldata.TabletExternallyReparentedResponse.old_primary:type_name -> topodata.TabletAlias + 200, // 115: vtctldata.UpdateCellInfoRequest.cell_info:type_name -> topodata.CellInfo + 200, // 116: vtctldata.UpdateCellInfoResponse.cell_info:type_name -> topodata.CellInfo + 222, // 117: vtctldata.UpdateCellsAliasRequest.cells_alias:type_name -> topodata.CellsAlias + 222, // 118: vtctldata.UpdateCellsAliasResponse.cells_alias:type_name -> topodata.CellsAlias + 192, // 119: vtctldata.ValidateResponse.results_by_keyspace:type_name -> vtctldata.ValidateResponse.ResultsByKeyspaceEntry + 193, // 120: vtctldata.ValidateKeyspaceResponse.results_by_shard:type_name -> vtctldata.ValidateKeyspaceResponse.ResultsByShardEntry + 194, // 121: vtctldata.ValidateSchemaKeyspaceResponse.results_by_shard:type_name -> vtctldata.ValidateSchemaKeyspaceResponse.ResultsByShardEntry + 195, // 122: vtctldata.ValidateVersionKeyspaceResponse.results_by_shard:type_name -> vtctldata.ValidateVersionKeyspaceResponse.ResultsByShardEntry + 196, // 123: vtctldata.ValidateVSchemaResponse.results_by_shard:type_name -> vtctldata.ValidateVSchemaResponse.ResultsByShardEntry + 180, // 124: vtctldata.Workflow.ShardStreamsEntry.value:type_name -> vtctldata.Workflow.ShardStream + 181, // 125: vtctldata.Workflow.ShardStream.streams:type_name -> vtctldata.Workflow.Stream + 223, // 126: vtctldata.Workflow.ShardStream.tablet_controls:type_name -> topodata.Shard.TabletControl + 206, // 127: vtctldata.Workflow.Stream.tablet:type_name -> topodata.TabletAlias + 224, // 128: vtctldata.Workflow.Stream.binlog_source:type_name -> binlogdata.BinlogSource + 211, // 129: vtctldata.Workflow.Stream.transaction_timestamp:type_name -> vttime.Time + 211, // 130: vtctldata.Workflow.Stream.time_updated:type_name -> vttime.Time + 182, // 131: vtctldata.Workflow.Stream.copy_states:type_name -> vtctldata.Workflow.Stream.CopyState + 183, // 132: vtctldata.Workflow.Stream.logs:type_name -> vtctldata.Workflow.Stream.Log + 211, // 133: vtctldata.Workflow.Stream.Log.created_at:type_name -> vttime.Time + 211, // 134: vtctldata.Workflow.Stream.Log.updated_at:type_name -> vttime.Time + 6, // 135: vtctldata.FindAllShardsInKeyspaceResponse.ShardsEntry.value:type_name -> vtctldata.Shard + 222, // 136: vtctldata.GetCellsAliasesResponse.AliasesEntry.value:type_name -> topodata.CellsAlias + 187, // 137: vtctldata.GetSrvKeyspaceNamesResponse.NamesEntry.value:type_name -> vtctldata.GetSrvKeyspaceNamesResponse.NameList + 225, // 138: vtctldata.GetSrvKeyspacesResponse.SrvKeyspacesEntry.value:type_name -> topodata.SrvKeyspace + 219, // 139: vtctldata.GetSrvVSchemasResponse.SrvVSchemasEntry.value:type_name -> vschema.SrvVSchema + 226, // 140: vtctldata.ShardReplicationPositionsResponse.ReplicationStatusesEntry.value:type_name -> replicationdata.Status + 208, // 141: vtctldata.ShardReplicationPositionsResponse.TabletMapEntry.value:type_name -> topodata.Tablet + 167, // 142: vtctldata.ValidateResponse.ResultsByKeyspaceEntry.value:type_name -> vtctldata.ValidateKeyspaceResponse + 171, // 143: vtctldata.ValidateKeyspaceResponse.ResultsByShardEntry.value:type_name -> vtctldata.ValidateShardResponse + 171, // 144: vtctldata.ValidateSchemaKeyspaceResponse.ResultsByShardEntry.value:type_name -> vtctldata.ValidateShardResponse + 171, // 145: vtctldata.ValidateVersionKeyspaceResponse.ResultsByShardEntry.value:type_name -> vtctldata.ValidateShardResponse + 171, // 146: vtctldata.ValidateVSchemaResponse.ResultsByShardEntry.value:type_name -> vtctldata.ValidateShardResponse + 147, // [147:147] is the sub-list for method output_type + 147, // [147:147] is the sub-list for method input_type + 147, // [147:147] is the sub-list for extension type_name + 147, // [147:147] is the sub-list for extension extendee + 0, // [0:147] is the sub-list for field type_name } func init() { file_vtctldata_proto_init() } diff --git a/go/vt/proto/vtctldata/vtctldata_vtproto.pb.go b/go/vt/proto/vtctldata/vtctldata_vtproto.pb.go index 929b09d1c3e..d0dd7c54176 100644 --- a/go/vt/proto/vtctldata/vtctldata_vtproto.pb.go +++ b/go/vt/proto/vtctldata/vtctldata_vtproto.pb.go @@ -2671,6 +2671,16 @@ func (m *EmergencyReparentShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.ExpectedPrimary != nil { + size, err := m.ExpectedPrimary.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x42 + } if m.PreventCrossCellPromotion { i-- if m.PreventCrossCellPromotion { @@ -5565,6 +5575,16 @@ func (m *PlannedReparentShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.ExpectedPrimary != nil { + size, err := m.ExpectedPrimary.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x42 + } if m.WaitReplicasTimeout != nil { size, err := m.WaitReplicasTimeout.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { @@ -10611,6 +10631,10 @@ func (m *EmergencyReparentShardRequest) SizeVT() (n int) { if m.PreventCrossCellPromotion { n += 2 } + if m.ExpectedPrimary != nil { + l = m.ExpectedPrimary.SizeVT() + n += 1 + l + sov(uint64(l)) + } if m.unknownFields != nil { n += len(m.unknownFields) } @@ -11768,6 +11792,10 @@ func (m *PlannedReparentShardRequest) SizeVT() (n int) { l = m.WaitReplicasTimeout.SizeVT() n += 1 + l + sov(uint64(l)) } + if m.ExpectedPrimary != nil { + l = m.ExpectedPrimary.SizeVT() + n += 1 + l + sov(uint64(l)) + } if m.unknownFields != nil { n += len(m.unknownFields) } @@ -19872,6 +19900,42 @@ func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { } } m.PreventCrossCellPromotion = bool(v != 0) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExpectedPrimary", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExpectedPrimary == nil { + m.ExpectedPrimary = &topodata.TabletAlias{} + } + if err := m.ExpectedPrimary.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -26366,6 +26430,42 @@ func (m *PlannedReparentShardRequest) UnmarshalVT(dAtA []byte) error { return err } iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExpectedPrimary", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExpectedPrimary == nil { + m.ExpectedPrimary = &topodata.TabletAlias{} + } + if err := m.ExpectedPrimary.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) diff --git a/go/vt/vtctl/grpcvtctldserver/server.go b/go/vt/vtctl/grpcvtctldserver/server.go index 7e82275a5a1..cbbce7a168a 100644 --- a/go/vt/vtctl/grpcvtctldserver/server.go +++ b/go/vt/vtctl/grpcvtctldserver/server.go @@ -995,6 +995,7 @@ func (s *VtctldServer) EmergencyReparentShard(ctx context.Context, req *vtctldat IgnoreReplicas: sets.NewString(ignoreReplicaAliases...), WaitReplicasTimeout: waitReplicasTimeout, PreventCrossCellPromotion: req.PreventCrossCellPromotion, + ExpectedPrimaryAlias: req.ExpectedPrimary, }, ) @@ -2222,6 +2223,10 @@ func (s *VtctldServer) PlannedReparentShard(ctx context.Context, req *vtctldatap span.Annotate("avoid_primary_alias", topoproto.TabletAliasString(req.AvoidPrimary)) } + if req.ExpectedPrimary != nil { + span.Annotate("expected_primary_alias", topoproto.TabletAliasString(req.ExpectedPrimary)) + } + if req.NewPrimary != nil { span.Annotate("new_primary_alias", topoproto.TabletAliasString(req.NewPrimary)) } @@ -2239,9 +2244,10 @@ func (s *VtctldServer) PlannedReparentShard(ctx context.Context, req *vtctldatap req.Keyspace, req.Shard, reparentutil.PlannedReparentOptions{ - AvoidPrimaryAlias: req.AvoidPrimary, - NewPrimaryAlias: req.NewPrimary, - WaitReplicasTimeout: waitReplicasTimeout, + AvoidPrimaryAlias: req.AvoidPrimary, + NewPrimaryAlias: req.NewPrimary, + ExpectedPrimaryAlias: req.ExpectedPrimary, + WaitReplicasTimeout: waitReplicasTimeout, }, ) diff --git a/go/vt/vtctl/reparentutil/emergency_reparenter.go b/go/vt/vtctl/reparentutil/emergency_reparenter.go index 9e4ac550a8f..f5d21730720 100644 --- a/go/vt/vtctl/reparentutil/emergency_reparenter.go +++ b/go/vt/vtctl/reparentutil/emergency_reparenter.go @@ -59,6 +59,7 @@ type EmergencyReparentOptions struct { IgnoreReplicas sets.String WaitReplicasTimeout time.Duration PreventCrossCellPromotion bool + ExpectedPrimaryAlias *topodatapb.TabletAlias // Private options managed internally. We use value passing to avoid leaking // these details back out. @@ -162,6 +163,13 @@ func (erp *EmergencyReparenter) reparentShardLocked(ctx context.Context, ev *eve } ev.ShardInfo = *shardInfo + if opts.ExpectedPrimaryAlias != nil && !topoproto.TabletAliasEqual(opts.ExpectedPrimaryAlias, shardInfo.PrimaryAlias) { + return vterrors.Errorf(vtrpc.Code_FAILED_PRECONDITION, "primary %s is not equal to expected alias %s", + topoproto.TabletAliasString(shardInfo.PrimaryAlias), + topoproto.TabletAliasString(opts.ExpectedPrimaryAlias), + ) + } + keyspaceDurability, err := erp.ts.GetKeyspaceDurability(ctx, keyspace) if err != nil { return err diff --git a/go/vt/vtctl/reparentutil/emergency_reparenter_test.go b/go/vt/vtctl/reparentutil/emergency_reparenter_test.go index 19d119a6ba2..93ea7defc7c 100644 --- a/go/vt/vtctl/reparentutil/emergency_reparenter_test.go +++ b/go/vt/vtctl/reparentutil/emergency_reparenter_test.go @@ -1895,6 +1895,55 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) { shouldErr: true, errShouldContain: "proposed primary zone1-0000000102 will not be able to make forward progress on being promoted", }, + { + name: "expected primary mismatch", + durability: "none", + emergencyReparentOps: EmergencyReparentOptions{ + ExpectedPrimaryAlias: &topodatapb.TabletAlias{ + Cell: "zone1", + Uid: 101, + }, + }, + tmc: &testutil.TabletManagerClient{}, + shards: []*vtctldatapb.Shard{ + { + Keyspace: "testkeyspace", + Name: "-", + Shard: &topodatapb.Shard{ + IsPrimaryServing: true, + PrimaryAlias: &topodatapb.TabletAlias{ + Cell: "zone1", + Uid: 100, + }, + }, + }, + }, + tablets: []*topodatapb.Tablet{ + { + Alias: &topodatapb.TabletAlias{ + Cell: "zone1", + Uid: 100, + }, + Type: topodatapb.TabletType_PRIMARY, + Keyspace: "testkeyspace", + Shard: "-", + }, + { + Alias: &topodatapb.TabletAlias{ + Cell: "zone1", + Uid: 101, + }, + Type: topodatapb.TabletType_REPLICA, + Keyspace: "testkeyspace", + Shard: "-", + }, + }, + keyspace: "testkeyspace", + shard: "-", + cells: []string{"zone1"}, + shouldErr: true, + errShouldContain: "primary zone1-0000000100 is not equal to expected alias zone1-0000000101", + }, } for _, tt := range tests { @@ -1934,7 +1983,7 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) { err := erp.reparentShardLocked(ctx, ev, tt.keyspace, tt.shard, tt.emergencyReparentOps) if tt.shouldErr { assert.Error(t, err) - assert.Contains(t, err.Error(), tt.errShouldContain) + assert.ErrorContains(t, err, tt.errShouldContain) return } diff --git a/go/vt/vtctl/reparentutil/planned_reparenter.go b/go/vt/vtctl/reparentutil/planned_reparenter.go index fc0e1c80a06..4f1579a07b9 100644 --- a/go/vt/vtctl/reparentutil/planned_reparenter.go +++ b/go/vt/vtctl/reparentutil/planned_reparenter.go @@ -50,9 +50,10 @@ type PlannedReparenter struct { // operations. Options are passed by value, so it is safe for callers to mutate // resue options structs for multiple calls. type PlannedReparentOptions struct { - NewPrimaryAlias *topodatapb.TabletAlias - AvoidPrimaryAlias *topodatapb.TabletAlias - WaitReplicasTimeout time.Duration + NewPrimaryAlias *topodatapb.TabletAlias + AvoidPrimaryAlias *topodatapb.TabletAlias + ExpectedPrimaryAlias *topodatapb.TabletAlias + WaitReplicasTimeout time.Duration // Private options managed internally. We use value-passing semantics to // set these options inside a PlannedReparent without leaking these details @@ -524,6 +525,13 @@ func (pr *PlannedReparenter) reparentShardLocked( return err } + if opts.ExpectedPrimaryAlias != nil && !topoproto.TabletAliasEqual(opts.ExpectedPrimaryAlias, shardInfo.PrimaryAlias) { + return vterrors.Errorf(vtrpc.Code_FAILED_PRECONDITION, "primary %s is not equal to expected alias %s", + topoproto.TabletAliasString(shardInfo.PrimaryAlias), + topoproto.TabletAliasString(opts.ExpectedPrimaryAlias), + ) + } + keyspaceDurability, err := pr.ts.GetKeyspaceDurability(ctx, keyspace) if err != nil { return err diff --git a/go/vt/vtctl/reparentutil/planned_reparenter_flaky_test.go b/go/vt/vtctl/reparentutil/planned_reparenter_flaky_test.go index 5c79caeadb7..9828bb17196 100644 --- a/go/vt/vtctl/reparentutil/planned_reparenter_flaky_test.go +++ b/go/vt/vtctl/reparentutil/planned_reparenter_flaky_test.go @@ -2616,6 +2616,7 @@ func TestPlannedReparenter_reparentShardLocked(t *testing.T) { ts *topo.Server tmc tmclient.TabletManagerClient tablets []*topodatapb.Tablet + shards []*vtctldatapb.Shard unlockTopo bool ev *events.Reparent @@ -2623,8 +2624,9 @@ func TestPlannedReparenter_reparentShardLocked(t *testing.T) { shard string opts PlannedReparentOptions - shouldErr bool - expectedEvent *events.Reparent + shouldErr bool + errShouldContain string + expectedEvent *events.Reparent }{ { name: "success: current primary cannot be determined", // "Case (1)" @@ -3274,6 +3276,57 @@ func TestPlannedReparenter_reparentShardLocked(t *testing.T) { }, }, }, + { + name: "expected primary mismatch", + tmc: &testutil.TabletManagerClient{}, + shards: []*vtctldatapb.Shard{ + { + Keyspace: "testkeyspace", + Name: "-", + Shard: &topodatapb.Shard{ + IsPrimaryServing: true, + PrimaryAlias: &topodatapb.TabletAlias{ + Cell: "zone1", + Uid: 100, + }, + }, + }, + }, + tablets: []*topodatapb.Tablet{ + { + Alias: &topodatapb.TabletAlias{ + Cell: "zone1", + Uid: 100, + }, + Type: topodatapb.TabletType_PRIMARY, + Keyspace: "testkeyspace", + Shard: "-", + }, + { + Alias: &topodatapb.TabletAlias{ + Cell: "zone1", + Uid: 200, + }, + Type: topodatapb.TabletType_REPLICA, + Keyspace: "testkeyspace", + Shard: "-", + }, + }, + + ev: &events.Reparent{}, + keyspace: "testkeyspace", + shard: "-", + opts: PlannedReparentOptions{ + // This is not the shard primary, so it should cause an error. + ExpectedPrimaryAlias: &topodatapb.TabletAlias{ + Cell: "zone1", + Uid: 200, + }, + }, + shouldErr: true, + errShouldContain: "primary zone1-0000000100 is not equal to expected alias zone1-0000000200", + expectedEvent: nil, + }, } ctx := context.Background() @@ -3290,9 +3343,13 @@ func TestPlannedReparenter_reparentShardLocked(t *testing.T) { testutil.AddTablets(ctx, t, tt.ts, &testutil.AddTabletOptions{ AlsoSetShardPrimary: true, ForceSetShardPrimary: true, // Some of our test cases count on having multiple primaries, so let the last one "win". - SkipShardCreation: false, + SkipShardCreation: len(tt.shards) > 0, }, tt.tablets...) + if len(tt.shards) > 0 { + testutil.AddShards(ctx, t, ts, tt.shards...) + } + if !tt.unlockTopo { lctx, unlock, err := tt.ts.LockShard(ctx, tt.keyspace, tt.shard, "locking for testing") require.NoError(t, err, "could not lock %s/%s for testing", tt.keyspace, tt.shard) @@ -3316,7 +3373,7 @@ func TestPlannedReparenter_reparentShardLocked(t *testing.T) { err := pr.reparentShardLocked(ctx, tt.ev, tt.keyspace, tt.shard, tt.opts) if tt.shouldErr { assert.Error(t, err) - + assert.ErrorContains(t, err, tt.errShouldContain) return } diff --git a/proto/vtctldata.proto b/proto/vtctldata.proto index 44094e2ad8d..f08220fa5e4 100644 --- a/proto/vtctldata.proto +++ b/proto/vtctldata.proto @@ -447,6 +447,9 @@ message EmergencyReparentShardRequest { // PreventCrossCellPromotion is used to only promote the new primary from the same cell // as the failed primary. bool prevent_cross_cell_promotion = 6; + // ExpectedPrimary is the optional alias we expect to be the current primary in order for + // the reparent operation to succeed. + topodata.TabletAlias expected_primary = 8; } message EmergencyReparentShardResponse { @@ -807,6 +810,9 @@ message PlannedReparentShardRequest { // WaitReplicasTimeout time to catch up before the reparent, and an additional // WaitReplicasTimeout time to catch up after the reparent. vttime.Duration wait_replicas_timeout = 5; + // ExpectedPrimary is the optional alias we expect to be the current primary in order for + // the reparent operation to succeed. + topodata.TabletAlias expected_primary = 8; } message PlannedReparentShardResponse { diff --git a/web/vtadmin/src/proto/vtadmin.d.ts b/web/vtadmin/src/proto/vtadmin.d.ts index 51a4d5f7301..6275eb413c3 100644 --- a/web/vtadmin/src/proto/vtadmin.d.ts +++ b/web/vtadmin/src/proto/vtadmin.d.ts @@ -53967,5 +53967,39202 @@ export namespace binlogdata { * @returns JSON object */ public toJSON(): { [k: string]: any }; +<<<<<<< HEAD +======= + + /** + * Gets the default type url for VStreamResultsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } +} + +/** Namespace query. */ +export namespace query { + + /** Properties of a Target. */ + interface ITarget { + + /** Target keyspace */ + keyspace?: (string|null); + + /** Target shard */ + shard?: (string|null); + + /** Target tablet_type */ + tablet_type?: (topodata.TabletType|null); + + /** Target cell */ + cell?: (string|null); + } + + /** Represents a Target. */ + class Target implements ITarget { + + /** + * Constructs a new Target. + * @param [properties] Properties to set + */ + constructor(properties?: query.ITarget); + + /** Target keyspace. */ + public keyspace: string; + + /** Target shard. */ + public shard: string; + + /** Target tablet_type. */ + public tablet_type: topodata.TabletType; + + /** Target cell. */ + public cell: string; + + /** + * Creates a new Target instance using the specified properties. + * @param [properties] Properties to set + * @returns Target instance + */ + public static create(properties?: query.ITarget): query.Target; + + /** + * Encodes the specified Target message. Does not implicitly {@link query.Target.verify|verify} messages. + * @param message Target message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.ITarget, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Target message, length delimited. Does not implicitly {@link query.Target.verify|verify} messages. + * @param message Target message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.ITarget, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Target message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Target + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Target; + + /** + * Decodes a Target message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Target + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Target; + + /** + * Verifies a Target message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Target message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Target + */ + public static fromObject(object: { [k: string]: any }): query.Target; + + /** + * Creates a plain object from a Target message. Also converts values to other types if specified. + * @param message Target + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.Target, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Target to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Target + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VTGateCallerID. */ + interface IVTGateCallerID { + + /** VTGateCallerID username */ + username?: (string|null); + + /** VTGateCallerID groups */ + groups?: (string[]|null); + } + + /** Represents a VTGateCallerID. */ + class VTGateCallerID implements IVTGateCallerID { + + /** + * Constructs a new VTGateCallerID. + * @param [properties] Properties to set + */ + constructor(properties?: query.IVTGateCallerID); + + /** VTGateCallerID username. */ + public username: string; + + /** VTGateCallerID groups. */ + public groups: string[]; + + /** + * Creates a new VTGateCallerID instance using the specified properties. + * @param [properties] Properties to set + * @returns VTGateCallerID instance + */ + public static create(properties?: query.IVTGateCallerID): query.VTGateCallerID; + + /** + * Encodes the specified VTGateCallerID message. Does not implicitly {@link query.VTGateCallerID.verify|verify} messages. + * @param message VTGateCallerID message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IVTGateCallerID, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VTGateCallerID message, length delimited. Does not implicitly {@link query.VTGateCallerID.verify|verify} messages. + * @param message VTGateCallerID message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IVTGateCallerID, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VTGateCallerID message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VTGateCallerID + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.VTGateCallerID; + + /** + * Decodes a VTGateCallerID message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VTGateCallerID + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.VTGateCallerID; + + /** + * Verifies a VTGateCallerID message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VTGateCallerID message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VTGateCallerID + */ + public static fromObject(object: { [k: string]: any }): query.VTGateCallerID; + + /** + * Creates a plain object from a VTGateCallerID message. Also converts values to other types if specified. + * @param message VTGateCallerID + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.VTGateCallerID, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VTGateCallerID to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VTGateCallerID + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an EventToken. */ + interface IEventToken { + + /** EventToken timestamp */ + timestamp?: (number|Long|null); + + /** EventToken shard */ + shard?: (string|null); + + /** EventToken position */ + position?: (string|null); + } + + /** Represents an EventToken. */ + class EventToken implements IEventToken { + + /** + * Constructs a new EventToken. + * @param [properties] Properties to set + */ + constructor(properties?: query.IEventToken); + + /** EventToken timestamp. */ + public timestamp: (number|Long); + + /** EventToken shard. */ + public shard: string; + + /** EventToken position. */ + public position: string; + + /** + * Creates a new EventToken instance using the specified properties. + * @param [properties] Properties to set + * @returns EventToken instance + */ + public static create(properties?: query.IEventToken): query.EventToken; + + /** + * Encodes the specified EventToken message. Does not implicitly {@link query.EventToken.verify|verify} messages. + * @param message EventToken message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IEventToken, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified EventToken message, length delimited. Does not implicitly {@link query.EventToken.verify|verify} messages. + * @param message EventToken message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IEventToken, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EventToken message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EventToken + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.EventToken; + + /** + * Decodes an EventToken message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns EventToken + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.EventToken; + + /** + * Verifies an EventToken message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an EventToken message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns EventToken + */ + public static fromObject(object: { [k: string]: any }): query.EventToken; + + /** + * Creates a plain object from an EventToken message. Also converts values to other types if specified. + * @param message EventToken + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.EventToken, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this EventToken to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EventToken + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** MySqlFlag enum. */ + enum MySqlFlag { + EMPTY = 0, + NOT_NULL_FLAG = 1, + PRI_KEY_FLAG = 2, + UNIQUE_KEY_FLAG = 4, + MULTIPLE_KEY_FLAG = 8, + BLOB_FLAG = 16, + UNSIGNED_FLAG = 32, + ZEROFILL_FLAG = 64, + BINARY_FLAG = 128, + ENUM_FLAG = 256, + AUTO_INCREMENT_FLAG = 512, + TIMESTAMP_FLAG = 1024, + SET_FLAG = 2048, + NO_DEFAULT_VALUE_FLAG = 4096, + ON_UPDATE_NOW_FLAG = 8192, + NUM_FLAG = 32768, + PART_KEY_FLAG = 16384, + GROUP_FLAG = 32768, + UNIQUE_FLAG = 65536, + BINCMP_FLAG = 131072 + } + + /** Flag enum. */ + enum Flag { + NONE = 0, + ISINTEGRAL = 256, + ISUNSIGNED = 512, + ISFLOAT = 1024, + ISQUOTED = 2048, + ISTEXT = 4096, + ISBINARY = 8192 + } + + /** Type enum. */ + enum Type { + NULL_TYPE = 0, + INT8 = 257, + UINT8 = 770, + INT16 = 259, + UINT16 = 772, + INT24 = 261, + UINT24 = 774, + INT32 = 263, + UINT32 = 776, + INT64 = 265, + UINT64 = 778, + FLOAT32 = 1035, + FLOAT64 = 1036, + TIMESTAMP = 2061, + DATE = 2062, + TIME = 2063, + DATETIME = 2064, + YEAR = 785, + DECIMAL = 18, + TEXT = 6163, + BLOB = 10260, + VARCHAR = 6165, + VARBINARY = 10262, + CHAR = 6167, + BINARY = 10264, + BIT = 2073, + ENUM = 2074, + SET = 2075, + TUPLE = 28, + GEOMETRY = 2077, + JSON = 2078, + EXPRESSION = 31, + HEXNUM = 4128, + HEXVAL = 4129, + BITNUM = 4130, + VECTOR = 2083, + RAW = 2084 + } + + /** Properties of a Value. */ + interface IValue { + + /** Value type */ + type?: (query.Type|null); + + /** Value value */ + value?: (Uint8Array|null); + } + + /** Represents a Value. */ + class Value implements IValue { + + /** + * Constructs a new Value. + * @param [properties] Properties to set + */ + constructor(properties?: query.IValue); + + /** Value type. */ + public type: query.Type; + + /** Value value. */ + public value: Uint8Array; + + /** + * Creates a new Value instance using the specified properties. + * @param [properties] Properties to set + * @returns Value instance + */ + public static create(properties?: query.IValue): query.Value; + + /** + * Encodes the specified Value message. Does not implicitly {@link query.Value.verify|verify} messages. + * @param message Value message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IValue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Value message, length delimited. Does not implicitly {@link query.Value.verify|verify} messages. + * @param message Value message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IValue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Value message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Value + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Value; + + /** + * Decodes a Value message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Value + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Value; + + /** + * Verifies a Value message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Value message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Value + */ + public static fromObject(object: { [k: string]: any }): query.Value; + + /** + * Creates a plain object from a Value message. Also converts values to other types if specified. + * @param message Value + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Value to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Value + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BindVariable. */ + interface IBindVariable { + + /** BindVariable type */ + type?: (query.Type|null); + + /** BindVariable value */ + value?: (Uint8Array|null); + + /** BindVariable values */ + values?: (query.IValue[]|null); + } + + /** Represents a BindVariable. */ + class BindVariable implements IBindVariable { + + /** + * Constructs a new BindVariable. + * @param [properties] Properties to set + */ + constructor(properties?: query.IBindVariable); + + /** BindVariable type. */ + public type: query.Type; + + /** BindVariable value. */ + public value: Uint8Array; + + /** BindVariable values. */ + public values: query.IValue[]; + + /** + * Creates a new BindVariable instance using the specified properties. + * @param [properties] Properties to set + * @returns BindVariable instance + */ + public static create(properties?: query.IBindVariable): query.BindVariable; + + /** + * Encodes the specified BindVariable message. Does not implicitly {@link query.BindVariable.verify|verify} messages. + * @param message BindVariable message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IBindVariable, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BindVariable message, length delimited. Does not implicitly {@link query.BindVariable.verify|verify} messages. + * @param message BindVariable message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IBindVariable, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BindVariable message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BindVariable + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BindVariable; + + /** + * Decodes a BindVariable message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BindVariable + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BindVariable; + + /** + * Verifies a BindVariable message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BindVariable message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BindVariable + */ + public static fromObject(object: { [k: string]: any }): query.BindVariable; + + /** + * Creates a plain object from a BindVariable message. Also converts values to other types if specified. + * @param message BindVariable + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.BindVariable, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BindVariable to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BindVariable + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BoundQuery. */ + interface IBoundQuery { + + /** BoundQuery sql */ + sql?: (string|null); + + /** BoundQuery bind_variables */ + bind_variables?: ({ [k: string]: query.IBindVariable }|null); + } + + /** Represents a BoundQuery. */ + class BoundQuery implements IBoundQuery { + + /** + * Constructs a new BoundQuery. + * @param [properties] Properties to set + */ + constructor(properties?: query.IBoundQuery); + + /** BoundQuery sql. */ + public sql: string; + + /** BoundQuery bind_variables. */ + public bind_variables: { [k: string]: query.IBindVariable }; + + /** + * Creates a new BoundQuery instance using the specified properties. + * @param [properties] Properties to set + * @returns BoundQuery instance + */ + public static create(properties?: query.IBoundQuery): query.BoundQuery; + + /** + * Encodes the specified BoundQuery message. Does not implicitly {@link query.BoundQuery.verify|verify} messages. + * @param message BoundQuery message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IBoundQuery, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BoundQuery message, length delimited. Does not implicitly {@link query.BoundQuery.verify|verify} messages. + * @param message BoundQuery message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IBoundQuery, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BoundQuery message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BoundQuery + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BoundQuery; + + /** + * Decodes a BoundQuery message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BoundQuery + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BoundQuery; + + /** + * Verifies a BoundQuery message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BoundQuery message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BoundQuery + */ + public static fromObject(object: { [k: string]: any }): query.BoundQuery; + + /** + * Creates a plain object from a BoundQuery message. Also converts values to other types if specified. + * @param message BoundQuery + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.BoundQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BoundQuery to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BoundQuery + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ExecuteOptions. */ + interface IExecuteOptions { + + /** ExecuteOptions included_fields */ + included_fields?: (query.ExecuteOptions.IncludedFields|null); + + /** ExecuteOptions client_found_rows */ + client_found_rows?: (boolean|null); + + /** ExecuteOptions workload */ + workload?: (query.ExecuteOptions.Workload|null); + + /** ExecuteOptions sql_select_limit */ + sql_select_limit?: (number|Long|null); + + /** ExecuteOptions transaction_isolation */ + transaction_isolation?: (query.ExecuteOptions.TransactionIsolation|null); + + /** ExecuteOptions skip_query_plan_cache */ + skip_query_plan_cache?: (boolean|null); + + /** ExecuteOptions planner_version */ + planner_version?: (query.ExecuteOptions.PlannerVersion|null); + + /** ExecuteOptions has_created_temp_tables */ + has_created_temp_tables?: (boolean|null); + + /** ExecuteOptions consolidator */ + consolidator?: (query.ExecuteOptions.Consolidator|null); + + /** ExecuteOptions transaction_access_mode */ + transaction_access_mode?: (query.ExecuteOptions.TransactionAccessMode[]|null); + + /** ExecuteOptions WorkloadName */ + WorkloadName?: (string|null); + + /** ExecuteOptions priority */ + priority?: (string|null); + + /** ExecuteOptions authoritative_timeout */ + authoritative_timeout?: (number|Long|null); + } + + /** Represents an ExecuteOptions. */ + class ExecuteOptions implements IExecuteOptions { + + /** + * Constructs a new ExecuteOptions. + * @param [properties] Properties to set + */ + constructor(properties?: query.IExecuteOptions); + + /** ExecuteOptions included_fields. */ + public included_fields: query.ExecuteOptions.IncludedFields; + + /** ExecuteOptions client_found_rows. */ + public client_found_rows: boolean; + + /** ExecuteOptions workload. */ + public workload: query.ExecuteOptions.Workload; + + /** ExecuteOptions sql_select_limit. */ + public sql_select_limit: (number|Long); + + /** ExecuteOptions transaction_isolation. */ + public transaction_isolation: query.ExecuteOptions.TransactionIsolation; + + /** ExecuteOptions skip_query_plan_cache. */ + public skip_query_plan_cache: boolean; + + /** ExecuteOptions planner_version. */ + public planner_version: query.ExecuteOptions.PlannerVersion; + + /** ExecuteOptions has_created_temp_tables. */ + public has_created_temp_tables: boolean; + + /** ExecuteOptions consolidator. */ + public consolidator: query.ExecuteOptions.Consolidator; + + /** ExecuteOptions transaction_access_mode. */ + public transaction_access_mode: query.ExecuteOptions.TransactionAccessMode[]; + + /** ExecuteOptions WorkloadName. */ + public WorkloadName: string; + + /** ExecuteOptions priority. */ + public priority: string; + + /** ExecuteOptions authoritative_timeout. */ + public authoritative_timeout?: (number|Long|null); + + /** ExecuteOptions timeout. */ + public timeout?: "authoritative_timeout"; + + /** + * Creates a new ExecuteOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteOptions instance + */ + public static create(properties?: query.IExecuteOptions): query.ExecuteOptions; + + /** + * Encodes the specified ExecuteOptions message. Does not implicitly {@link query.ExecuteOptions.verify|verify} messages. + * @param message ExecuteOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IExecuteOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteOptions message, length delimited. Does not implicitly {@link query.ExecuteOptions.verify|verify} messages. + * @param message ExecuteOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IExecuteOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ExecuteOptions; + + /** + * Decodes an ExecuteOptions message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ExecuteOptions; + + /** + * Verifies an ExecuteOptions message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteOptions message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteOptions + */ + public static fromObject(object: { [k: string]: any }): query.ExecuteOptions; + + /** + * Creates a plain object from an ExecuteOptions message. Also converts values to other types if specified. + * @param message ExecuteOptions + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ExecuteOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteOptions to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace ExecuteOptions { + + /** IncludedFields enum. */ + enum IncludedFields { + TYPE_AND_NAME = 0, + TYPE_ONLY = 1, + ALL = 2 + } + + /** Workload enum. */ + enum Workload { + UNSPECIFIED = 0, + OLTP = 1, + OLAP = 2, + DBA = 3 + } + + /** TransactionIsolation enum. */ + enum TransactionIsolation { + DEFAULT = 0, + REPEATABLE_READ = 1, + READ_COMMITTED = 2, + READ_UNCOMMITTED = 3, + SERIALIZABLE = 4, + CONSISTENT_SNAPSHOT_READ_ONLY = 5, + AUTOCOMMIT = 6 + } + + /** PlannerVersion enum. */ + enum PlannerVersion { + DEFAULT_PLANNER = 0, + V3 = 1, + Gen4 = 2, + Gen4Greedy = 3, + Gen4Left2Right = 4, + Gen4WithFallback = 5, + Gen4CompareV3 = 6, + V3Insert = 7 + } + + /** Consolidator enum. */ + enum Consolidator { + CONSOLIDATOR_UNSPECIFIED = 0, + CONSOLIDATOR_DISABLED = 1, + CONSOLIDATOR_ENABLED = 2, + CONSOLIDATOR_ENABLED_REPLICAS = 3 + } + + /** TransactionAccessMode enum. */ + enum TransactionAccessMode { + CONSISTENT_SNAPSHOT = 0, + READ_WRITE = 1, + READ_ONLY = 2 + } + } + + /** Properties of a Field. */ + interface IField { + + /** Field name */ + name?: (string|null); + + /** Field type */ + type?: (query.Type|null); + + /** Field table */ + table?: (string|null); + + /** Field org_table */ + org_table?: (string|null); + + /** Field database */ + database?: (string|null); + + /** Field org_name */ + org_name?: (string|null); + + /** Field column_length */ + column_length?: (number|null); + + /** Field charset */ + charset?: (number|null); + + /** Field decimals */ + decimals?: (number|null); + + /** Field flags */ + flags?: (number|null); + + /** Field column_type */ + column_type?: (string|null); + } + + /** Represents a Field. */ + class Field implements IField { + + /** + * Constructs a new Field. + * @param [properties] Properties to set + */ + constructor(properties?: query.IField); + + /** Field name. */ + public name: string; + + /** Field type. */ + public type: query.Type; + + /** Field table. */ + public table: string; + + /** Field org_table. */ + public org_table: string; + + /** Field database. */ + public database: string; + + /** Field org_name. */ + public org_name: string; + + /** Field column_length. */ + public column_length: number; + + /** Field charset. */ + public charset: number; + + /** Field decimals. */ + public decimals: number; + + /** Field flags. */ + public flags: number; + + /** Field column_type. */ + public column_type: string; + + /** + * Creates a new Field instance using the specified properties. + * @param [properties] Properties to set + * @returns Field instance + */ + public static create(properties?: query.IField): query.Field; + + /** + * Encodes the specified Field message. Does not implicitly {@link query.Field.verify|verify} messages. + * @param message Field message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IField, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Field message, length delimited. Does not implicitly {@link query.Field.verify|verify} messages. + * @param message Field message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IField, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Field message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Field + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Field; + + /** + * Decodes a Field message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Field + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Field; + + /** + * Verifies a Field message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Field message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Field + */ + public static fromObject(object: { [k: string]: any }): query.Field; + + /** + * Creates a plain object from a Field message. Also converts values to other types if specified. + * @param message Field + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.Field, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Field to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Field + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a Row. */ + interface IRow { + + /** Row lengths */ + lengths?: ((number|Long)[]|null); + + /** Row values */ + values?: (Uint8Array|null); + } + + /** Represents a Row. */ + class Row implements IRow { + + /** + * Constructs a new Row. + * @param [properties] Properties to set + */ + constructor(properties?: query.IRow); + + /** Row lengths. */ + public lengths: (number|Long)[]; + + /** Row values. */ + public values: Uint8Array; + + /** + * Creates a new Row instance using the specified properties. + * @param [properties] Properties to set + * @returns Row instance + */ + public static create(properties?: query.IRow): query.Row; + + /** + * Encodes the specified Row message. Does not implicitly {@link query.Row.verify|verify} messages. + * @param message Row message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IRow, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Row message, length delimited. Does not implicitly {@link query.Row.verify|verify} messages. + * @param message Row message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IRow, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Row message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Row + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Row; + + /** + * Decodes a Row message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Row + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Row; + + /** + * Verifies a Row message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Row message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Row + */ + public static fromObject(object: { [k: string]: any }): query.Row; + + /** + * Creates a plain object from a Row message. Also converts values to other types if specified. + * @param message Row + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.Row, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Row to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Row + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a QueryResult. */ + interface IQueryResult { + + /** QueryResult fields */ + fields?: (query.IField[]|null); + + /** QueryResult rows_affected */ + rows_affected?: (number|Long|null); + + /** QueryResult insert_id */ + insert_id?: (number|Long|null); + + /** QueryResult rows */ + rows?: (query.IRow[]|null); + + /** QueryResult info */ + info?: (string|null); + + /** QueryResult session_state_changes */ + session_state_changes?: (string|null); + } + + /** Represents a QueryResult. */ + class QueryResult implements IQueryResult { + + /** + * Constructs a new QueryResult. + * @param [properties] Properties to set + */ + constructor(properties?: query.IQueryResult); + + /** QueryResult fields. */ + public fields: query.IField[]; + + /** QueryResult rows_affected. */ + public rows_affected: (number|Long); + + /** QueryResult insert_id. */ + public insert_id: (number|Long); + + /** QueryResult rows. */ + public rows: query.IRow[]; + + /** QueryResult info. */ + public info: string; + + /** QueryResult session_state_changes. */ + public session_state_changes: string; + + /** + * Creates a new QueryResult instance using the specified properties. + * @param [properties] Properties to set + * @returns QueryResult instance + */ + public static create(properties?: query.IQueryResult): query.QueryResult; + + /** + * Encodes the specified QueryResult message. Does not implicitly {@link query.QueryResult.verify|verify} messages. + * @param message QueryResult message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified QueryResult message, length delimited. Does not implicitly {@link query.QueryResult.verify|verify} messages. + * @param message QueryResult message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a QueryResult message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns QueryResult + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.QueryResult; + + /** + * Decodes a QueryResult message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns QueryResult + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.QueryResult; + + /** + * Verifies a QueryResult message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a QueryResult message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns QueryResult + */ + public static fromObject(object: { [k: string]: any }): query.QueryResult; + + /** + * Creates a plain object from a QueryResult message. Also converts values to other types if specified. + * @param message QueryResult + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.QueryResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this QueryResult to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for QueryResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a QueryWarning. */ + interface IQueryWarning { + + /** QueryWarning code */ + code?: (number|null); + + /** QueryWarning message */ + message?: (string|null); + } + + /** Represents a QueryWarning. */ + class QueryWarning implements IQueryWarning { + + /** + * Constructs a new QueryWarning. + * @param [properties] Properties to set + */ + constructor(properties?: query.IQueryWarning); + + /** QueryWarning code. */ + public code: number; + + /** QueryWarning message. */ + public message: string; + + /** + * Creates a new QueryWarning instance using the specified properties. + * @param [properties] Properties to set + * @returns QueryWarning instance + */ + public static create(properties?: query.IQueryWarning): query.QueryWarning; + + /** + * Encodes the specified QueryWarning message. Does not implicitly {@link query.QueryWarning.verify|verify} messages. + * @param message QueryWarning message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IQueryWarning, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified QueryWarning message, length delimited. Does not implicitly {@link query.QueryWarning.verify|verify} messages. + * @param message QueryWarning message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IQueryWarning, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a QueryWarning message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns QueryWarning + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.QueryWarning; + + /** + * Decodes a QueryWarning message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns QueryWarning + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.QueryWarning; + + /** + * Verifies a QueryWarning message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a QueryWarning message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns QueryWarning + */ + public static fromObject(object: { [k: string]: any }): query.QueryWarning; + + /** + * Creates a plain object from a QueryWarning message. Also converts values to other types if specified. + * @param message QueryWarning + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.QueryWarning, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this QueryWarning to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for QueryWarning + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StreamEvent. */ + interface IStreamEvent { + + /** StreamEvent statements */ + statements?: (query.StreamEvent.IStatement[]|null); + + /** StreamEvent event_token */ + event_token?: (query.IEventToken|null); + } + + /** Represents a StreamEvent. */ + class StreamEvent implements IStreamEvent { + + /** + * Constructs a new StreamEvent. + * @param [properties] Properties to set + */ + constructor(properties?: query.IStreamEvent); + + /** StreamEvent statements. */ + public statements: query.StreamEvent.IStatement[]; + + /** StreamEvent event_token. */ + public event_token?: (query.IEventToken|null); + + /** + * Creates a new StreamEvent instance using the specified properties. + * @param [properties] Properties to set + * @returns StreamEvent instance + */ + public static create(properties?: query.IStreamEvent): query.StreamEvent; + + /** + * Encodes the specified StreamEvent message. Does not implicitly {@link query.StreamEvent.verify|verify} messages. + * @param message StreamEvent message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IStreamEvent, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StreamEvent message, length delimited. Does not implicitly {@link query.StreamEvent.verify|verify} messages. + * @param message StreamEvent message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IStreamEvent, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StreamEvent message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StreamEvent + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamEvent; + + /** + * Decodes a StreamEvent message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StreamEvent + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamEvent; + + /** + * Verifies a StreamEvent message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StreamEvent message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StreamEvent + */ + public static fromObject(object: { [k: string]: any }): query.StreamEvent; + + /** + * Creates a plain object from a StreamEvent message. Also converts values to other types if specified. + * @param message StreamEvent + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.StreamEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StreamEvent to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamEvent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace StreamEvent { + + /** Properties of a Statement. */ + interface IStatement { + + /** Statement category */ + category?: (query.StreamEvent.Statement.Category|null); + + /** Statement table_name */ + table_name?: (string|null); + + /** Statement primary_key_fields */ + primary_key_fields?: (query.IField[]|null); + + /** Statement primary_key_values */ + primary_key_values?: (query.IRow[]|null); + + /** Statement sql */ + sql?: (Uint8Array|null); + } + + /** Represents a Statement. */ + class Statement implements IStatement { + + /** + * Constructs a new Statement. + * @param [properties] Properties to set + */ + constructor(properties?: query.StreamEvent.IStatement); + + /** Statement category. */ + public category: query.StreamEvent.Statement.Category; + + /** Statement table_name. */ + public table_name: string; + + /** Statement primary_key_fields. */ + public primary_key_fields: query.IField[]; + + /** Statement primary_key_values. */ + public primary_key_values: query.IRow[]; + + /** Statement sql. */ + public sql: Uint8Array; + + /** + * Creates a new Statement instance using the specified properties. + * @param [properties] Properties to set + * @returns Statement instance + */ + public static create(properties?: query.StreamEvent.IStatement): query.StreamEvent.Statement; + + /** + * Encodes the specified Statement message. Does not implicitly {@link query.StreamEvent.Statement.verify|verify} messages. + * @param message Statement message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.StreamEvent.IStatement, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Statement message, length delimited. Does not implicitly {@link query.StreamEvent.Statement.verify|verify} messages. + * @param message Statement message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.StreamEvent.IStatement, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Statement message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Statement + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamEvent.Statement; + + /** + * Decodes a Statement message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Statement + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamEvent.Statement; + + /** + * Verifies a Statement message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Statement message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Statement + */ + public static fromObject(object: { [k: string]: any }): query.StreamEvent.Statement; + + /** + * Creates a plain object from a Statement message. Also converts values to other types if specified. + * @param message Statement + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.StreamEvent.Statement, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Statement to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Statement + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace Statement { + + /** Category enum. */ + enum Category { + Error = 0, + DML = 1, + DDL = 2 + } + } + } + + /** Properties of an ExecuteRequest. */ + interface IExecuteRequest { + + /** ExecuteRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** ExecuteRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ExecuteRequest target */ + target?: (query.ITarget|null); + + /** ExecuteRequest query */ + query?: (query.IBoundQuery|null); + + /** ExecuteRequest transaction_id */ + transaction_id?: (number|Long|null); + + /** ExecuteRequest options */ + options?: (query.IExecuteOptions|null); + + /** ExecuteRequest reserved_id */ + reserved_id?: (number|Long|null); + } + + /** Represents an ExecuteRequest. */ + class ExecuteRequest implements IExecuteRequest { + + /** + * Constructs a new ExecuteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IExecuteRequest); + + /** ExecuteRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** ExecuteRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ExecuteRequest target. */ + public target?: (query.ITarget|null); + + /** ExecuteRequest query. */ + public query?: (query.IBoundQuery|null); + + /** ExecuteRequest transaction_id. */ + public transaction_id: (number|Long); + + /** ExecuteRequest options. */ + public options?: (query.IExecuteOptions|null); + + /** ExecuteRequest reserved_id. */ + public reserved_id: (number|Long); + + /** + * Creates a new ExecuteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteRequest instance + */ + public static create(properties?: query.IExecuteRequest): query.ExecuteRequest; + + /** + * Encodes the specified ExecuteRequest message. Does not implicitly {@link query.ExecuteRequest.verify|verify} messages. + * @param message ExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteRequest message, length delimited. Does not implicitly {@link query.ExecuteRequest.verify|verify} messages. + * @param message ExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ExecuteRequest; + + /** + * Decodes an ExecuteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ExecuteRequest; + + /** + * Verifies an ExecuteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteRequest + */ + public static fromObject(object: { [k: string]: any }): query.ExecuteRequest; + + /** + * Creates a plain object from an ExecuteRequest message. Also converts values to other types if specified. + * @param message ExecuteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ExecuteResponse. */ + interface IExecuteResponse { + + /** ExecuteResponse result */ + result?: (query.IQueryResult|null); + } + + /** Represents an ExecuteResponse. */ + class ExecuteResponse implements IExecuteResponse { + + /** + * Constructs a new ExecuteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IExecuteResponse); + + /** ExecuteResponse result. */ + public result?: (query.IQueryResult|null); + + /** + * Creates a new ExecuteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteResponse instance + */ + public static create(properties?: query.IExecuteResponse): query.ExecuteResponse; + + /** + * Encodes the specified ExecuteResponse message. Does not implicitly {@link query.ExecuteResponse.verify|verify} messages. + * @param message ExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteResponse message, length delimited. Does not implicitly {@link query.ExecuteResponse.verify|verify} messages. + * @param message ExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ExecuteResponse; + + /** + * Decodes an ExecuteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ExecuteResponse; + + /** + * Verifies an ExecuteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteResponse + */ + public static fromObject(object: { [k: string]: any }): query.ExecuteResponse; + + /** + * Creates a plain object from an ExecuteResponse message. Also converts values to other types if specified. + * @param message ExecuteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ResultWithError. */ + interface IResultWithError { + + /** ResultWithError error */ + error?: (vtrpc.IRPCError|null); + + /** ResultWithError result */ + result?: (query.IQueryResult|null); + } + + /** Represents a ResultWithError. */ + class ResultWithError implements IResultWithError { + + /** + * Constructs a new ResultWithError. + * @param [properties] Properties to set + */ + constructor(properties?: query.IResultWithError); + + /** ResultWithError error. */ + public error?: (vtrpc.IRPCError|null); + + /** ResultWithError result. */ + public result?: (query.IQueryResult|null); + + /** + * Creates a new ResultWithError instance using the specified properties. + * @param [properties] Properties to set + * @returns ResultWithError instance + */ + public static create(properties?: query.IResultWithError): query.ResultWithError; + + /** + * Encodes the specified ResultWithError message. Does not implicitly {@link query.ResultWithError.verify|verify} messages. + * @param message ResultWithError message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IResultWithError, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResultWithError message, length delimited. Does not implicitly {@link query.ResultWithError.verify|verify} messages. + * @param message ResultWithError message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IResultWithError, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResultWithError message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResultWithError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ResultWithError; + + /** + * Decodes a ResultWithError message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResultWithError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ResultWithError; + + /** + * Verifies a ResultWithError message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResultWithError message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResultWithError + */ + public static fromObject(object: { [k: string]: any }): query.ResultWithError; + + /** + * Creates a plain object from a ResultWithError message. Also converts values to other types if specified. + * @param message ResultWithError + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ResultWithError, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResultWithError to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResultWithError + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StreamExecuteRequest. */ + interface IStreamExecuteRequest { + + /** StreamExecuteRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** StreamExecuteRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** StreamExecuteRequest target */ + target?: (query.ITarget|null); + + /** StreamExecuteRequest query */ + query?: (query.IBoundQuery|null); + + /** StreamExecuteRequest options */ + options?: (query.IExecuteOptions|null); + + /** StreamExecuteRequest transaction_id */ + transaction_id?: (number|Long|null); + + /** StreamExecuteRequest reserved_id */ + reserved_id?: (number|Long|null); + } + + /** Represents a StreamExecuteRequest. */ + class StreamExecuteRequest implements IStreamExecuteRequest { + + /** + * Constructs a new StreamExecuteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IStreamExecuteRequest); + + /** StreamExecuteRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** StreamExecuteRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** StreamExecuteRequest target. */ + public target?: (query.ITarget|null); + + /** StreamExecuteRequest query. */ + public query?: (query.IBoundQuery|null); + + /** StreamExecuteRequest options. */ + public options?: (query.IExecuteOptions|null); + + /** StreamExecuteRequest transaction_id. */ + public transaction_id: (number|Long); + + /** StreamExecuteRequest reserved_id. */ + public reserved_id: (number|Long); + + /** + * Creates a new StreamExecuteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns StreamExecuteRequest instance + */ + public static create(properties?: query.IStreamExecuteRequest): query.StreamExecuteRequest; + + /** + * Encodes the specified StreamExecuteRequest message. Does not implicitly {@link query.StreamExecuteRequest.verify|verify} messages. + * @param message StreamExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StreamExecuteRequest message, length delimited. Does not implicitly {@link query.StreamExecuteRequest.verify|verify} messages. + * @param message StreamExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StreamExecuteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StreamExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamExecuteRequest; + + /** + * Decodes a StreamExecuteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StreamExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamExecuteRequest; + + /** + * Verifies a StreamExecuteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StreamExecuteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StreamExecuteRequest + */ + public static fromObject(object: { [k: string]: any }): query.StreamExecuteRequest; + + /** + * Creates a plain object from a StreamExecuteRequest message. Also converts values to other types if specified. + * @param message StreamExecuteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.StreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StreamExecuteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamExecuteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StreamExecuteResponse. */ + interface IStreamExecuteResponse { + + /** StreamExecuteResponse result */ + result?: (query.IQueryResult|null); + } + + /** Represents a StreamExecuteResponse. */ + class StreamExecuteResponse implements IStreamExecuteResponse { + + /** + * Constructs a new StreamExecuteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IStreamExecuteResponse); + + /** StreamExecuteResponse result. */ + public result?: (query.IQueryResult|null); + + /** + * Creates a new StreamExecuteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns StreamExecuteResponse instance + */ + public static create(properties?: query.IStreamExecuteResponse): query.StreamExecuteResponse; + + /** + * Encodes the specified StreamExecuteResponse message. Does not implicitly {@link query.StreamExecuteResponse.verify|verify} messages. + * @param message StreamExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StreamExecuteResponse message, length delimited. Does not implicitly {@link query.StreamExecuteResponse.verify|verify} messages. + * @param message StreamExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StreamExecuteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StreamExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamExecuteResponse; + + /** + * Decodes a StreamExecuteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StreamExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamExecuteResponse; + + /** + * Verifies a StreamExecuteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StreamExecuteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StreamExecuteResponse + */ + public static fromObject(object: { [k: string]: any }): query.StreamExecuteResponse; + + /** + * Creates a plain object from a StreamExecuteResponse message. Also converts values to other types if specified. + * @param message StreamExecuteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.StreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StreamExecuteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamExecuteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BeginRequest. */ + interface IBeginRequest { + + /** BeginRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** BeginRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** BeginRequest target */ + target?: (query.ITarget|null); + + /** BeginRequest options */ + options?: (query.IExecuteOptions|null); + } + + /** Represents a BeginRequest. */ + class BeginRequest implements IBeginRequest { + + /** + * Constructs a new BeginRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IBeginRequest); + + /** BeginRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** BeginRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** BeginRequest target. */ + public target?: (query.ITarget|null); + + /** BeginRequest options. */ + public options?: (query.IExecuteOptions|null); + + /** + * Creates a new BeginRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns BeginRequest instance + */ + public static create(properties?: query.IBeginRequest): query.BeginRequest; + + /** + * Encodes the specified BeginRequest message. Does not implicitly {@link query.BeginRequest.verify|verify} messages. + * @param message BeginRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IBeginRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BeginRequest message, length delimited. Does not implicitly {@link query.BeginRequest.verify|verify} messages. + * @param message BeginRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IBeginRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BeginRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BeginRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginRequest; + + /** + * Decodes a BeginRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BeginRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginRequest; + + /** + * Verifies a BeginRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BeginRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BeginRequest + */ + public static fromObject(object: { [k: string]: any }): query.BeginRequest; + + /** + * Creates a plain object from a BeginRequest message. Also converts values to other types if specified. + * @param message BeginRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.BeginRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BeginRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BeginRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BeginResponse. */ + interface IBeginResponse { + + /** BeginResponse transaction_id */ + transaction_id?: (number|Long|null); + + /** BeginResponse tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** BeginResponse session_state_changes */ + session_state_changes?: (string|null); + } + + /** Represents a BeginResponse. */ + class BeginResponse implements IBeginResponse { + + /** + * Constructs a new BeginResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IBeginResponse); + + /** BeginResponse transaction_id. */ + public transaction_id: (number|Long); + + /** BeginResponse tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** BeginResponse session_state_changes. */ + public session_state_changes: string; + + /** + * Creates a new BeginResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns BeginResponse instance + */ + public static create(properties?: query.IBeginResponse): query.BeginResponse; + + /** + * Encodes the specified BeginResponse message. Does not implicitly {@link query.BeginResponse.verify|verify} messages. + * @param message BeginResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IBeginResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BeginResponse message, length delimited. Does not implicitly {@link query.BeginResponse.verify|verify} messages. + * @param message BeginResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IBeginResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BeginResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BeginResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginResponse; + + /** + * Decodes a BeginResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BeginResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginResponse; + + /** + * Verifies a BeginResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BeginResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BeginResponse + */ + public static fromObject(object: { [k: string]: any }): query.BeginResponse; + + /** + * Creates a plain object from a BeginResponse message. Also converts values to other types if specified. + * @param message BeginResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.BeginResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BeginResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BeginResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CommitRequest. */ + interface ICommitRequest { + + /** CommitRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** CommitRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** CommitRequest target */ + target?: (query.ITarget|null); + + /** CommitRequest transaction_id */ + transaction_id?: (number|Long|null); + } + + /** Represents a CommitRequest. */ + class CommitRequest implements ICommitRequest { + + /** + * Constructs a new CommitRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.ICommitRequest); + + /** CommitRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** CommitRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** CommitRequest target. */ + public target?: (query.ITarget|null); + + /** CommitRequest transaction_id. */ + public transaction_id: (number|Long); + + /** + * Creates a new CommitRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CommitRequest instance + */ + public static create(properties?: query.ICommitRequest): query.CommitRequest; + + /** + * Encodes the specified CommitRequest message. Does not implicitly {@link query.CommitRequest.verify|verify} messages. + * @param message CommitRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.ICommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CommitRequest message, length delimited. Does not implicitly {@link query.CommitRequest.verify|verify} messages. + * @param message CommitRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.ICommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CommitRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CommitRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitRequest; + + /** + * Decodes a CommitRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CommitRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitRequest; + + /** + * Verifies a CommitRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CommitRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CommitRequest + */ + public static fromObject(object: { [k: string]: any }): query.CommitRequest; + + /** + * Creates a plain object from a CommitRequest message. Also converts values to other types if specified. + * @param message CommitRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.CommitRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CommitRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CommitRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CommitResponse. */ + interface ICommitResponse { + + /** CommitResponse reserved_id */ + reserved_id?: (number|Long|null); + } + + /** Represents a CommitResponse. */ + class CommitResponse implements ICommitResponse { + + /** + * Constructs a new CommitResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.ICommitResponse); + + /** CommitResponse reserved_id. */ + public reserved_id: (number|Long); + + /** + * Creates a new CommitResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CommitResponse instance + */ + public static create(properties?: query.ICommitResponse): query.CommitResponse; + + /** + * Encodes the specified CommitResponse message. Does not implicitly {@link query.CommitResponse.verify|verify} messages. + * @param message CommitResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.ICommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CommitResponse message, length delimited. Does not implicitly {@link query.CommitResponse.verify|verify} messages. + * @param message CommitResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.ICommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CommitResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CommitResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitResponse; + + /** + * Decodes a CommitResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CommitResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitResponse; + + /** + * Verifies a CommitResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CommitResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CommitResponse + */ + public static fromObject(object: { [k: string]: any }): query.CommitResponse; + + /** + * Creates a plain object from a CommitResponse message. Also converts values to other types if specified. + * @param message CommitResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.CommitResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CommitResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CommitResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RollbackRequest. */ + interface IRollbackRequest { + + /** RollbackRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** RollbackRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** RollbackRequest target */ + target?: (query.ITarget|null); + + /** RollbackRequest transaction_id */ + transaction_id?: (number|Long|null); + } + + /** Represents a RollbackRequest. */ + class RollbackRequest implements IRollbackRequest { + + /** + * Constructs a new RollbackRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IRollbackRequest); + + /** RollbackRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** RollbackRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** RollbackRequest target. */ + public target?: (query.ITarget|null); + + /** RollbackRequest transaction_id. */ + public transaction_id: (number|Long); + + /** + * Creates a new RollbackRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RollbackRequest instance + */ + public static create(properties?: query.IRollbackRequest): query.RollbackRequest; + + /** + * Encodes the specified RollbackRequest message. Does not implicitly {@link query.RollbackRequest.verify|verify} messages. + * @param message RollbackRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RollbackRequest message, length delimited. Does not implicitly {@link query.RollbackRequest.verify|verify} messages. + * @param message RollbackRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RollbackRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RollbackRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackRequest; + + /** + * Decodes a RollbackRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RollbackRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackRequest; + + /** + * Verifies a RollbackRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RollbackRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RollbackRequest + */ + public static fromObject(object: { [k: string]: any }): query.RollbackRequest; + + /** + * Creates a plain object from a RollbackRequest message. Also converts values to other types if specified. + * @param message RollbackRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.RollbackRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RollbackRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RollbackRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RollbackResponse. */ + interface IRollbackResponse { + + /** RollbackResponse reserved_id */ + reserved_id?: (number|Long|null); + } + + /** Represents a RollbackResponse. */ + class RollbackResponse implements IRollbackResponse { + + /** + * Constructs a new RollbackResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IRollbackResponse); + + /** RollbackResponse reserved_id. */ + public reserved_id: (number|Long); + + /** + * Creates a new RollbackResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RollbackResponse instance + */ + public static create(properties?: query.IRollbackResponse): query.RollbackResponse; + + /** + * Encodes the specified RollbackResponse message. Does not implicitly {@link query.RollbackResponse.verify|verify} messages. + * @param message RollbackResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RollbackResponse message, length delimited. Does not implicitly {@link query.RollbackResponse.verify|verify} messages. + * @param message RollbackResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RollbackResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RollbackResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackResponse; + + /** + * Decodes a RollbackResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RollbackResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackResponse; + + /** + * Verifies a RollbackResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RollbackResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RollbackResponse + */ + public static fromObject(object: { [k: string]: any }): query.RollbackResponse; + + /** + * Creates a plain object from a RollbackResponse message. Also converts values to other types if specified. + * @param message RollbackResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.RollbackResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RollbackResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RollbackResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a PrepareRequest. */ + interface IPrepareRequest { + + /** PrepareRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** PrepareRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** PrepareRequest target */ + target?: (query.ITarget|null); + + /** PrepareRequest transaction_id */ + transaction_id?: (number|Long|null); + + /** PrepareRequest dtid */ + dtid?: (string|null); + } + + /** Represents a PrepareRequest. */ + class PrepareRequest implements IPrepareRequest { + + /** + * Constructs a new PrepareRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IPrepareRequest); + + /** PrepareRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** PrepareRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** PrepareRequest target. */ + public target?: (query.ITarget|null); + + /** PrepareRequest transaction_id. */ + public transaction_id: (number|Long); + + /** PrepareRequest dtid. */ + public dtid: string; + + /** + * Creates a new PrepareRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns PrepareRequest instance + */ + public static create(properties?: query.IPrepareRequest): query.PrepareRequest; + + /** + * Encodes the specified PrepareRequest message. Does not implicitly {@link query.PrepareRequest.verify|verify} messages. + * @param message PrepareRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IPrepareRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified PrepareRequest message, length delimited. Does not implicitly {@link query.PrepareRequest.verify|verify} messages. + * @param message PrepareRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IPrepareRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PrepareRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PrepareRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.PrepareRequest; + + /** + * Decodes a PrepareRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns PrepareRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.PrepareRequest; + + /** + * Verifies a PrepareRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a PrepareRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns PrepareRequest + */ + public static fromObject(object: { [k: string]: any }): query.PrepareRequest; + + /** + * Creates a plain object from a PrepareRequest message. Also converts values to other types if specified. + * @param message PrepareRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.PrepareRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this PrepareRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PrepareRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a PrepareResponse. */ + interface IPrepareResponse { + } + + /** Represents a PrepareResponse. */ + class PrepareResponse implements IPrepareResponse { + + /** + * Constructs a new PrepareResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IPrepareResponse); + + /** + * Creates a new PrepareResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns PrepareResponse instance + */ + public static create(properties?: query.IPrepareResponse): query.PrepareResponse; + + /** + * Encodes the specified PrepareResponse message. Does not implicitly {@link query.PrepareResponse.verify|verify} messages. + * @param message PrepareResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IPrepareResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified PrepareResponse message, length delimited. Does not implicitly {@link query.PrepareResponse.verify|verify} messages. + * @param message PrepareResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IPrepareResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PrepareResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PrepareResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.PrepareResponse; + + /** + * Decodes a PrepareResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns PrepareResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.PrepareResponse; + + /** + * Verifies a PrepareResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a PrepareResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns PrepareResponse + */ + public static fromObject(object: { [k: string]: any }): query.PrepareResponse; + + /** + * Creates a plain object from a PrepareResponse message. Also converts values to other types if specified. + * @param message PrepareResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.PrepareResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this PrepareResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PrepareResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CommitPreparedRequest. */ + interface ICommitPreparedRequest { + + /** CommitPreparedRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** CommitPreparedRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** CommitPreparedRequest target */ + target?: (query.ITarget|null); + + /** CommitPreparedRequest dtid */ + dtid?: (string|null); + } + + /** Represents a CommitPreparedRequest. */ + class CommitPreparedRequest implements ICommitPreparedRequest { + + /** + * Constructs a new CommitPreparedRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.ICommitPreparedRequest); + + /** CommitPreparedRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** CommitPreparedRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** CommitPreparedRequest target. */ + public target?: (query.ITarget|null); + + /** CommitPreparedRequest dtid. */ + public dtid: string; + + /** + * Creates a new CommitPreparedRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CommitPreparedRequest instance + */ + public static create(properties?: query.ICommitPreparedRequest): query.CommitPreparedRequest; + + /** + * Encodes the specified CommitPreparedRequest message. Does not implicitly {@link query.CommitPreparedRequest.verify|verify} messages. + * @param message CommitPreparedRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.ICommitPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CommitPreparedRequest message, length delimited. Does not implicitly {@link query.CommitPreparedRequest.verify|verify} messages. + * @param message CommitPreparedRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.ICommitPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CommitPreparedRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CommitPreparedRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitPreparedRequest; + + /** + * Decodes a CommitPreparedRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CommitPreparedRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitPreparedRequest; + + /** + * Verifies a CommitPreparedRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CommitPreparedRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CommitPreparedRequest + */ + public static fromObject(object: { [k: string]: any }): query.CommitPreparedRequest; + + /** + * Creates a plain object from a CommitPreparedRequest message. Also converts values to other types if specified. + * @param message CommitPreparedRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.CommitPreparedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CommitPreparedRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CommitPreparedRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CommitPreparedResponse. */ + interface ICommitPreparedResponse { + } + + /** Represents a CommitPreparedResponse. */ + class CommitPreparedResponse implements ICommitPreparedResponse { + + /** + * Constructs a new CommitPreparedResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.ICommitPreparedResponse); + + /** + * Creates a new CommitPreparedResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CommitPreparedResponse instance + */ + public static create(properties?: query.ICommitPreparedResponse): query.CommitPreparedResponse; + + /** + * Encodes the specified CommitPreparedResponse message. Does not implicitly {@link query.CommitPreparedResponse.verify|verify} messages. + * @param message CommitPreparedResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.ICommitPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CommitPreparedResponse message, length delimited. Does not implicitly {@link query.CommitPreparedResponse.verify|verify} messages. + * @param message CommitPreparedResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.ICommitPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CommitPreparedResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CommitPreparedResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitPreparedResponse; + + /** + * Decodes a CommitPreparedResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CommitPreparedResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitPreparedResponse; + + /** + * Verifies a CommitPreparedResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CommitPreparedResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CommitPreparedResponse + */ + public static fromObject(object: { [k: string]: any }): query.CommitPreparedResponse; + + /** + * Creates a plain object from a CommitPreparedResponse message. Also converts values to other types if specified. + * @param message CommitPreparedResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.CommitPreparedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CommitPreparedResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CommitPreparedResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RollbackPreparedRequest. */ + interface IRollbackPreparedRequest { + + /** RollbackPreparedRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** RollbackPreparedRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** RollbackPreparedRequest target */ + target?: (query.ITarget|null); + + /** RollbackPreparedRequest transaction_id */ + transaction_id?: (number|Long|null); + + /** RollbackPreparedRequest dtid */ + dtid?: (string|null); + } + + /** Represents a RollbackPreparedRequest. */ + class RollbackPreparedRequest implements IRollbackPreparedRequest { + + /** + * Constructs a new RollbackPreparedRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IRollbackPreparedRequest); + + /** RollbackPreparedRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** RollbackPreparedRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** RollbackPreparedRequest target. */ + public target?: (query.ITarget|null); + + /** RollbackPreparedRequest transaction_id. */ + public transaction_id: (number|Long); + + /** RollbackPreparedRequest dtid. */ + public dtid: string; + + /** + * Creates a new RollbackPreparedRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RollbackPreparedRequest instance + */ + public static create(properties?: query.IRollbackPreparedRequest): query.RollbackPreparedRequest; + + /** + * Encodes the specified RollbackPreparedRequest message. Does not implicitly {@link query.RollbackPreparedRequest.verify|verify} messages. + * @param message RollbackPreparedRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IRollbackPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RollbackPreparedRequest message, length delimited. Does not implicitly {@link query.RollbackPreparedRequest.verify|verify} messages. + * @param message RollbackPreparedRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IRollbackPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RollbackPreparedRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RollbackPreparedRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackPreparedRequest; + + /** + * Decodes a RollbackPreparedRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RollbackPreparedRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackPreparedRequest; + + /** + * Verifies a RollbackPreparedRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RollbackPreparedRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RollbackPreparedRequest + */ + public static fromObject(object: { [k: string]: any }): query.RollbackPreparedRequest; + + /** + * Creates a plain object from a RollbackPreparedRequest message. Also converts values to other types if specified. + * @param message RollbackPreparedRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.RollbackPreparedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RollbackPreparedRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RollbackPreparedRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RollbackPreparedResponse. */ + interface IRollbackPreparedResponse { + } + + /** Represents a RollbackPreparedResponse. */ + class RollbackPreparedResponse implements IRollbackPreparedResponse { + + /** + * Constructs a new RollbackPreparedResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IRollbackPreparedResponse); + + /** + * Creates a new RollbackPreparedResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RollbackPreparedResponse instance + */ + public static create(properties?: query.IRollbackPreparedResponse): query.RollbackPreparedResponse; + + /** + * Encodes the specified RollbackPreparedResponse message. Does not implicitly {@link query.RollbackPreparedResponse.verify|verify} messages. + * @param message RollbackPreparedResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IRollbackPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RollbackPreparedResponse message, length delimited. Does not implicitly {@link query.RollbackPreparedResponse.verify|verify} messages. + * @param message RollbackPreparedResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IRollbackPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RollbackPreparedResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RollbackPreparedResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackPreparedResponse; + + /** + * Decodes a RollbackPreparedResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RollbackPreparedResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackPreparedResponse; + + /** + * Verifies a RollbackPreparedResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RollbackPreparedResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RollbackPreparedResponse + */ + public static fromObject(object: { [k: string]: any }): query.RollbackPreparedResponse; + + /** + * Creates a plain object from a RollbackPreparedResponse message. Also converts values to other types if specified. + * @param message RollbackPreparedResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.RollbackPreparedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RollbackPreparedResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RollbackPreparedResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CreateTransactionRequest. */ + interface ICreateTransactionRequest { + + /** CreateTransactionRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** CreateTransactionRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** CreateTransactionRequest target */ + target?: (query.ITarget|null); + + /** CreateTransactionRequest dtid */ + dtid?: (string|null); + + /** CreateTransactionRequest participants */ + participants?: (query.ITarget[]|null); + } + + /** Represents a CreateTransactionRequest. */ + class CreateTransactionRequest implements ICreateTransactionRequest { + + /** + * Constructs a new CreateTransactionRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.ICreateTransactionRequest); + + /** CreateTransactionRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** CreateTransactionRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** CreateTransactionRequest target. */ + public target?: (query.ITarget|null); + + /** CreateTransactionRequest dtid. */ + public dtid: string; + + /** CreateTransactionRequest participants. */ + public participants: query.ITarget[]; + + /** + * Creates a new CreateTransactionRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateTransactionRequest instance + */ + public static create(properties?: query.ICreateTransactionRequest): query.CreateTransactionRequest; + + /** + * Encodes the specified CreateTransactionRequest message. Does not implicitly {@link query.CreateTransactionRequest.verify|verify} messages. + * @param message CreateTransactionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.ICreateTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CreateTransactionRequest message, length delimited. Does not implicitly {@link query.CreateTransactionRequest.verify|verify} messages. + * @param message CreateTransactionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.ICreateTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateTransactionRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateTransactionRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CreateTransactionRequest; + + /** + * Decodes a CreateTransactionRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CreateTransactionRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CreateTransactionRequest; + + /** + * Verifies a CreateTransactionRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CreateTransactionRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CreateTransactionRequest + */ + public static fromObject(object: { [k: string]: any }): query.CreateTransactionRequest; + + /** + * Creates a plain object from a CreateTransactionRequest message. Also converts values to other types if specified. + * @param message CreateTransactionRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.CreateTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CreateTransactionRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateTransactionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CreateTransactionResponse. */ + interface ICreateTransactionResponse { + } + + /** Represents a CreateTransactionResponse. */ + class CreateTransactionResponse implements ICreateTransactionResponse { + + /** + * Constructs a new CreateTransactionResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.ICreateTransactionResponse); + + /** + * Creates a new CreateTransactionResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateTransactionResponse instance + */ + public static create(properties?: query.ICreateTransactionResponse): query.CreateTransactionResponse; + + /** + * Encodes the specified CreateTransactionResponse message. Does not implicitly {@link query.CreateTransactionResponse.verify|verify} messages. + * @param message CreateTransactionResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.ICreateTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CreateTransactionResponse message, length delimited. Does not implicitly {@link query.CreateTransactionResponse.verify|verify} messages. + * @param message CreateTransactionResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.ICreateTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateTransactionResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateTransactionResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CreateTransactionResponse; + + /** + * Decodes a CreateTransactionResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CreateTransactionResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CreateTransactionResponse; + + /** + * Verifies a CreateTransactionResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CreateTransactionResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CreateTransactionResponse + */ + public static fromObject(object: { [k: string]: any }): query.CreateTransactionResponse; + + /** + * Creates a plain object from a CreateTransactionResponse message. Also converts values to other types if specified. + * @param message CreateTransactionResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.CreateTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CreateTransactionResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateTransactionResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StartCommitRequest. */ + interface IStartCommitRequest { + + /** StartCommitRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** StartCommitRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** StartCommitRequest target */ + target?: (query.ITarget|null); + + /** StartCommitRequest transaction_id */ + transaction_id?: (number|Long|null); + + /** StartCommitRequest dtid */ + dtid?: (string|null); + } + + /** Represents a StartCommitRequest. */ + class StartCommitRequest implements IStartCommitRequest { + + /** + * Constructs a new StartCommitRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IStartCommitRequest); + + /** StartCommitRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** StartCommitRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** StartCommitRequest target. */ + public target?: (query.ITarget|null); + + /** StartCommitRequest transaction_id. */ + public transaction_id: (number|Long); + + /** StartCommitRequest dtid. */ + public dtid: string; + + /** + * Creates a new StartCommitRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns StartCommitRequest instance + */ + public static create(properties?: query.IStartCommitRequest): query.StartCommitRequest; + + /** + * Encodes the specified StartCommitRequest message. Does not implicitly {@link query.StartCommitRequest.verify|verify} messages. + * @param message StartCommitRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IStartCommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StartCommitRequest message, length delimited. Does not implicitly {@link query.StartCommitRequest.verify|verify} messages. + * @param message StartCommitRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IStartCommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StartCommitRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StartCommitRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StartCommitRequest; + + /** + * Decodes a StartCommitRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StartCommitRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StartCommitRequest; + + /** + * Verifies a StartCommitRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StartCommitRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StartCommitRequest + */ + public static fromObject(object: { [k: string]: any }): query.StartCommitRequest; + + /** + * Creates a plain object from a StartCommitRequest message. Also converts values to other types if specified. + * @param message StartCommitRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.StartCommitRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StartCommitRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StartCommitRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StartCommitResponse. */ + interface IStartCommitResponse { + } + + /** Represents a StartCommitResponse. */ + class StartCommitResponse implements IStartCommitResponse { + + /** + * Constructs a new StartCommitResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IStartCommitResponse); + + /** + * Creates a new StartCommitResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns StartCommitResponse instance + */ + public static create(properties?: query.IStartCommitResponse): query.StartCommitResponse; + + /** + * Encodes the specified StartCommitResponse message. Does not implicitly {@link query.StartCommitResponse.verify|verify} messages. + * @param message StartCommitResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IStartCommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StartCommitResponse message, length delimited. Does not implicitly {@link query.StartCommitResponse.verify|verify} messages. + * @param message StartCommitResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IStartCommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StartCommitResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StartCommitResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StartCommitResponse; + + /** + * Decodes a StartCommitResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StartCommitResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StartCommitResponse; + + /** + * Verifies a StartCommitResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StartCommitResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StartCommitResponse + */ + public static fromObject(object: { [k: string]: any }): query.StartCommitResponse; + + /** + * Creates a plain object from a StartCommitResponse message. Also converts values to other types if specified. + * @param message StartCommitResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.StartCommitResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StartCommitResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StartCommitResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetRollbackRequest. */ + interface ISetRollbackRequest { + + /** SetRollbackRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** SetRollbackRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** SetRollbackRequest target */ + target?: (query.ITarget|null); + + /** SetRollbackRequest transaction_id */ + transaction_id?: (number|Long|null); + + /** SetRollbackRequest dtid */ + dtid?: (string|null); + } + + /** Represents a SetRollbackRequest. */ + class SetRollbackRequest implements ISetRollbackRequest { + + /** + * Constructs a new SetRollbackRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.ISetRollbackRequest); + + /** SetRollbackRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** SetRollbackRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** SetRollbackRequest target. */ + public target?: (query.ITarget|null); + + /** SetRollbackRequest transaction_id. */ + public transaction_id: (number|Long); + + /** SetRollbackRequest dtid. */ + public dtid: string; + + /** + * Creates a new SetRollbackRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SetRollbackRequest instance + */ + public static create(properties?: query.ISetRollbackRequest): query.SetRollbackRequest; + + /** + * Encodes the specified SetRollbackRequest message. Does not implicitly {@link query.SetRollbackRequest.verify|verify} messages. + * @param message SetRollbackRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.ISetRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetRollbackRequest message, length delimited. Does not implicitly {@link query.SetRollbackRequest.verify|verify} messages. + * @param message SetRollbackRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.ISetRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetRollbackRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetRollbackRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.SetRollbackRequest; + + /** + * Decodes a SetRollbackRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetRollbackRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.SetRollbackRequest; + + /** + * Verifies a SetRollbackRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetRollbackRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetRollbackRequest + */ + public static fromObject(object: { [k: string]: any }): query.SetRollbackRequest; + + /** + * Creates a plain object from a SetRollbackRequest message. Also converts values to other types if specified. + * @param message SetRollbackRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.SetRollbackRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetRollbackRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetRollbackRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetRollbackResponse. */ + interface ISetRollbackResponse { + } + + /** Represents a SetRollbackResponse. */ + class SetRollbackResponse implements ISetRollbackResponse { + + /** + * Constructs a new SetRollbackResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.ISetRollbackResponse); + + /** + * Creates a new SetRollbackResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SetRollbackResponse instance + */ + public static create(properties?: query.ISetRollbackResponse): query.SetRollbackResponse; + + /** + * Encodes the specified SetRollbackResponse message. Does not implicitly {@link query.SetRollbackResponse.verify|verify} messages. + * @param message SetRollbackResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.ISetRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetRollbackResponse message, length delimited. Does not implicitly {@link query.SetRollbackResponse.verify|verify} messages. + * @param message SetRollbackResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.ISetRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetRollbackResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetRollbackResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.SetRollbackResponse; + + /** + * Decodes a SetRollbackResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetRollbackResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.SetRollbackResponse; + + /** + * Verifies a SetRollbackResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetRollbackResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetRollbackResponse + */ + public static fromObject(object: { [k: string]: any }): query.SetRollbackResponse; + + /** + * Creates a plain object from a SetRollbackResponse message. Also converts values to other types if specified. + * @param message SetRollbackResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.SetRollbackResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetRollbackResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetRollbackResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ConcludeTransactionRequest. */ + interface IConcludeTransactionRequest { + + /** ConcludeTransactionRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** ConcludeTransactionRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ConcludeTransactionRequest target */ + target?: (query.ITarget|null); + + /** ConcludeTransactionRequest dtid */ + dtid?: (string|null); + } + + /** Represents a ConcludeTransactionRequest. */ + class ConcludeTransactionRequest implements IConcludeTransactionRequest { + + /** + * Constructs a new ConcludeTransactionRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IConcludeTransactionRequest); + + /** ConcludeTransactionRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** ConcludeTransactionRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ConcludeTransactionRequest target. */ + public target?: (query.ITarget|null); + + /** ConcludeTransactionRequest dtid. */ + public dtid: string; + + /** + * Creates a new ConcludeTransactionRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ConcludeTransactionRequest instance + */ + public static create(properties?: query.IConcludeTransactionRequest): query.ConcludeTransactionRequest; + + /** + * Encodes the specified ConcludeTransactionRequest message. Does not implicitly {@link query.ConcludeTransactionRequest.verify|verify} messages. + * @param message ConcludeTransactionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IConcludeTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ConcludeTransactionRequest message, length delimited. Does not implicitly {@link query.ConcludeTransactionRequest.verify|verify} messages. + * @param message ConcludeTransactionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IConcludeTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ConcludeTransactionRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ConcludeTransactionRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ConcludeTransactionRequest; + + /** + * Decodes a ConcludeTransactionRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ConcludeTransactionRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ConcludeTransactionRequest; + + /** + * Verifies a ConcludeTransactionRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ConcludeTransactionRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ConcludeTransactionRequest + */ + public static fromObject(object: { [k: string]: any }): query.ConcludeTransactionRequest; + + /** + * Creates a plain object from a ConcludeTransactionRequest message. Also converts values to other types if specified. + * @param message ConcludeTransactionRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ConcludeTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ConcludeTransactionRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConcludeTransactionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ConcludeTransactionResponse. */ + interface IConcludeTransactionResponse { + } + + /** Represents a ConcludeTransactionResponse. */ + class ConcludeTransactionResponse implements IConcludeTransactionResponse { + + /** + * Constructs a new ConcludeTransactionResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IConcludeTransactionResponse); + + /** + * Creates a new ConcludeTransactionResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ConcludeTransactionResponse instance + */ + public static create(properties?: query.IConcludeTransactionResponse): query.ConcludeTransactionResponse; + + /** + * Encodes the specified ConcludeTransactionResponse message. Does not implicitly {@link query.ConcludeTransactionResponse.verify|verify} messages. + * @param message ConcludeTransactionResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IConcludeTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ConcludeTransactionResponse message, length delimited. Does not implicitly {@link query.ConcludeTransactionResponse.verify|verify} messages. + * @param message ConcludeTransactionResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IConcludeTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ConcludeTransactionResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ConcludeTransactionResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ConcludeTransactionResponse; + + /** + * Decodes a ConcludeTransactionResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ConcludeTransactionResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ConcludeTransactionResponse; + + /** + * Verifies a ConcludeTransactionResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ConcludeTransactionResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ConcludeTransactionResponse + */ + public static fromObject(object: { [k: string]: any }): query.ConcludeTransactionResponse; + + /** + * Creates a plain object from a ConcludeTransactionResponse message. Also converts values to other types if specified. + * @param message ConcludeTransactionResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ConcludeTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ConcludeTransactionResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConcludeTransactionResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReadTransactionRequest. */ + interface IReadTransactionRequest { + + /** ReadTransactionRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReadTransactionRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReadTransactionRequest target */ + target?: (query.ITarget|null); + + /** ReadTransactionRequest dtid */ + dtid?: (string|null); + } + + /** Represents a ReadTransactionRequest. */ + class ReadTransactionRequest implements IReadTransactionRequest { + + /** + * Constructs a new ReadTransactionRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReadTransactionRequest); + + /** ReadTransactionRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReadTransactionRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReadTransactionRequest target. */ + public target?: (query.ITarget|null); + + /** ReadTransactionRequest dtid. */ + public dtid: string; + + /** + * Creates a new ReadTransactionRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ReadTransactionRequest instance + */ + public static create(properties?: query.IReadTransactionRequest): query.ReadTransactionRequest; + + /** + * Encodes the specified ReadTransactionRequest message. Does not implicitly {@link query.ReadTransactionRequest.verify|verify} messages. + * @param message ReadTransactionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReadTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReadTransactionRequest message, length delimited. Does not implicitly {@link query.ReadTransactionRequest.verify|verify} messages. + * @param message ReadTransactionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReadTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReadTransactionRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReadTransactionRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReadTransactionRequest; + + /** + * Decodes a ReadTransactionRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReadTransactionRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReadTransactionRequest; + + /** + * Verifies a ReadTransactionRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReadTransactionRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReadTransactionRequest + */ + public static fromObject(object: { [k: string]: any }): query.ReadTransactionRequest; + + /** + * Creates a plain object from a ReadTransactionRequest message. Also converts values to other types if specified. + * @param message ReadTransactionRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReadTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReadTransactionRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReadTransactionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReadTransactionResponse. */ + interface IReadTransactionResponse { + + /** ReadTransactionResponse metadata */ + metadata?: (query.ITransactionMetadata|null); + } + + /** Represents a ReadTransactionResponse. */ + class ReadTransactionResponse implements IReadTransactionResponse { + + /** + * Constructs a new ReadTransactionResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReadTransactionResponse); + + /** ReadTransactionResponse metadata. */ + public metadata?: (query.ITransactionMetadata|null); + + /** + * Creates a new ReadTransactionResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReadTransactionResponse instance + */ + public static create(properties?: query.IReadTransactionResponse): query.ReadTransactionResponse; + + /** + * Encodes the specified ReadTransactionResponse message. Does not implicitly {@link query.ReadTransactionResponse.verify|verify} messages. + * @param message ReadTransactionResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReadTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReadTransactionResponse message, length delimited. Does not implicitly {@link query.ReadTransactionResponse.verify|verify} messages. + * @param message ReadTransactionResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReadTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReadTransactionResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReadTransactionResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReadTransactionResponse; + + /** + * Decodes a ReadTransactionResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReadTransactionResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReadTransactionResponse; + + /** + * Verifies a ReadTransactionResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReadTransactionResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReadTransactionResponse + */ + public static fromObject(object: { [k: string]: any }): query.ReadTransactionResponse; + + /** + * Creates a plain object from a ReadTransactionResponse message. Also converts values to other types if specified. + * @param message ReadTransactionResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReadTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReadTransactionResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReadTransactionResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an UnresolvedTransactionsRequest. */ + interface IUnresolvedTransactionsRequest { + + /** UnresolvedTransactionsRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** UnresolvedTransactionsRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** UnresolvedTransactionsRequest target */ + target?: (query.ITarget|null); + + /** UnresolvedTransactionsRequest abandon_age */ + abandon_age?: (number|Long|null); + } + + /** Represents an UnresolvedTransactionsRequest. */ + class UnresolvedTransactionsRequest implements IUnresolvedTransactionsRequest { + + /** + * Constructs a new UnresolvedTransactionsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IUnresolvedTransactionsRequest); + + /** UnresolvedTransactionsRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** UnresolvedTransactionsRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** UnresolvedTransactionsRequest target. */ + public target?: (query.ITarget|null); + + /** UnresolvedTransactionsRequest abandon_age. */ + public abandon_age: (number|Long); + + /** + * Creates a new UnresolvedTransactionsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns UnresolvedTransactionsRequest instance + */ + public static create(properties?: query.IUnresolvedTransactionsRequest): query.UnresolvedTransactionsRequest; + + /** + * Encodes the specified UnresolvedTransactionsRequest message. Does not implicitly {@link query.UnresolvedTransactionsRequest.verify|verify} messages. + * @param message UnresolvedTransactionsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IUnresolvedTransactionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified UnresolvedTransactionsRequest message, length delimited. Does not implicitly {@link query.UnresolvedTransactionsRequest.verify|verify} messages. + * @param message UnresolvedTransactionsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IUnresolvedTransactionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UnresolvedTransactionsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UnresolvedTransactionsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.UnresolvedTransactionsRequest; + + /** + * Decodes an UnresolvedTransactionsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns UnresolvedTransactionsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.UnresolvedTransactionsRequest; + + /** + * Verifies an UnresolvedTransactionsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an UnresolvedTransactionsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns UnresolvedTransactionsRequest + */ + public static fromObject(object: { [k: string]: any }): query.UnresolvedTransactionsRequest; + + /** + * Creates a plain object from an UnresolvedTransactionsRequest message. Also converts values to other types if specified. + * @param message UnresolvedTransactionsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.UnresolvedTransactionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this UnresolvedTransactionsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UnresolvedTransactionsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an UnresolvedTransactionsResponse. */ + interface IUnresolvedTransactionsResponse { + + /** UnresolvedTransactionsResponse transactions */ + transactions?: (query.ITransactionMetadata[]|null); + } + + /** Represents an UnresolvedTransactionsResponse. */ + class UnresolvedTransactionsResponse implements IUnresolvedTransactionsResponse { + + /** + * Constructs a new UnresolvedTransactionsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IUnresolvedTransactionsResponse); + + /** UnresolvedTransactionsResponse transactions. */ + public transactions: query.ITransactionMetadata[]; + + /** + * Creates a new UnresolvedTransactionsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns UnresolvedTransactionsResponse instance + */ + public static create(properties?: query.IUnresolvedTransactionsResponse): query.UnresolvedTransactionsResponse; + + /** + * Encodes the specified UnresolvedTransactionsResponse message. Does not implicitly {@link query.UnresolvedTransactionsResponse.verify|verify} messages. + * @param message UnresolvedTransactionsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IUnresolvedTransactionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified UnresolvedTransactionsResponse message, length delimited. Does not implicitly {@link query.UnresolvedTransactionsResponse.verify|verify} messages. + * @param message UnresolvedTransactionsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IUnresolvedTransactionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UnresolvedTransactionsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UnresolvedTransactionsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.UnresolvedTransactionsResponse; + + /** + * Decodes an UnresolvedTransactionsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns UnresolvedTransactionsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.UnresolvedTransactionsResponse; + + /** + * Verifies an UnresolvedTransactionsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an UnresolvedTransactionsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns UnresolvedTransactionsResponse + */ + public static fromObject(object: { [k: string]: any }): query.UnresolvedTransactionsResponse; + + /** + * Creates a plain object from an UnresolvedTransactionsResponse message. Also converts values to other types if specified. + * @param message UnresolvedTransactionsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.UnresolvedTransactionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this UnresolvedTransactionsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UnresolvedTransactionsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BeginExecuteRequest. */ + interface IBeginExecuteRequest { + + /** BeginExecuteRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** BeginExecuteRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** BeginExecuteRequest target */ + target?: (query.ITarget|null); + + /** BeginExecuteRequest query */ + query?: (query.IBoundQuery|null); + + /** BeginExecuteRequest options */ + options?: (query.IExecuteOptions|null); + + /** BeginExecuteRequest reserved_id */ + reserved_id?: (number|Long|null); + + /** BeginExecuteRequest pre_queries */ + pre_queries?: (string[]|null); + } + + /** Represents a BeginExecuteRequest. */ + class BeginExecuteRequest implements IBeginExecuteRequest { + + /** + * Constructs a new BeginExecuteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IBeginExecuteRequest); + + /** BeginExecuteRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** BeginExecuteRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** BeginExecuteRequest target. */ + public target?: (query.ITarget|null); + + /** BeginExecuteRequest query. */ + public query?: (query.IBoundQuery|null); + + /** BeginExecuteRequest options. */ + public options?: (query.IExecuteOptions|null); + + /** BeginExecuteRequest reserved_id. */ + public reserved_id: (number|Long); + + /** BeginExecuteRequest pre_queries. */ + public pre_queries: string[]; + + /** + * Creates a new BeginExecuteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns BeginExecuteRequest instance + */ + public static create(properties?: query.IBeginExecuteRequest): query.BeginExecuteRequest; + + /** + * Encodes the specified BeginExecuteRequest message. Does not implicitly {@link query.BeginExecuteRequest.verify|verify} messages. + * @param message BeginExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BeginExecuteRequest message, length delimited. Does not implicitly {@link query.BeginExecuteRequest.verify|verify} messages. + * @param message BeginExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BeginExecuteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BeginExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginExecuteRequest; + + /** + * Decodes a BeginExecuteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BeginExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginExecuteRequest; + + /** + * Verifies a BeginExecuteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BeginExecuteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BeginExecuteRequest + */ + public static fromObject(object: { [k: string]: any }): query.BeginExecuteRequest; + + /** + * Creates a plain object from a BeginExecuteRequest message. Also converts values to other types if specified. + * @param message BeginExecuteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.BeginExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BeginExecuteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BeginExecuteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BeginExecuteResponse. */ + interface IBeginExecuteResponse { + + /** BeginExecuteResponse error */ + error?: (vtrpc.IRPCError|null); + + /** BeginExecuteResponse result */ + result?: (query.IQueryResult|null); + + /** BeginExecuteResponse transaction_id */ + transaction_id?: (number|Long|null); + + /** BeginExecuteResponse tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** BeginExecuteResponse session_state_changes */ + session_state_changes?: (string|null); + } + + /** Represents a BeginExecuteResponse. */ + class BeginExecuteResponse implements IBeginExecuteResponse { + + /** + * Constructs a new BeginExecuteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IBeginExecuteResponse); + + /** BeginExecuteResponse error. */ + public error?: (vtrpc.IRPCError|null); + + /** BeginExecuteResponse result. */ + public result?: (query.IQueryResult|null); + + /** BeginExecuteResponse transaction_id. */ + public transaction_id: (number|Long); + + /** BeginExecuteResponse tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** BeginExecuteResponse session_state_changes. */ + public session_state_changes: string; + + /** + * Creates a new BeginExecuteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns BeginExecuteResponse instance + */ + public static create(properties?: query.IBeginExecuteResponse): query.BeginExecuteResponse; + + /** + * Encodes the specified BeginExecuteResponse message. Does not implicitly {@link query.BeginExecuteResponse.verify|verify} messages. + * @param message BeginExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BeginExecuteResponse message, length delimited. Does not implicitly {@link query.BeginExecuteResponse.verify|verify} messages. + * @param message BeginExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BeginExecuteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BeginExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginExecuteResponse; + + /** + * Decodes a BeginExecuteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BeginExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginExecuteResponse; + + /** + * Verifies a BeginExecuteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BeginExecuteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BeginExecuteResponse + */ + public static fromObject(object: { [k: string]: any }): query.BeginExecuteResponse; + + /** + * Creates a plain object from a BeginExecuteResponse message. Also converts values to other types if specified. + * @param message BeginExecuteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.BeginExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BeginExecuteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BeginExecuteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BeginStreamExecuteRequest. */ + interface IBeginStreamExecuteRequest { + + /** BeginStreamExecuteRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** BeginStreamExecuteRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** BeginStreamExecuteRequest target */ + target?: (query.ITarget|null); + + /** BeginStreamExecuteRequest query */ + query?: (query.IBoundQuery|null); + + /** BeginStreamExecuteRequest options */ + options?: (query.IExecuteOptions|null); + + /** BeginStreamExecuteRequest pre_queries */ + pre_queries?: (string[]|null); + + /** BeginStreamExecuteRequest reserved_id */ + reserved_id?: (number|Long|null); + } + + /** Represents a BeginStreamExecuteRequest. */ + class BeginStreamExecuteRequest implements IBeginStreamExecuteRequest { + + /** + * Constructs a new BeginStreamExecuteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IBeginStreamExecuteRequest); + + /** BeginStreamExecuteRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** BeginStreamExecuteRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** BeginStreamExecuteRequest target. */ + public target?: (query.ITarget|null); + + /** BeginStreamExecuteRequest query. */ + public query?: (query.IBoundQuery|null); + + /** BeginStreamExecuteRequest options. */ + public options?: (query.IExecuteOptions|null); + + /** BeginStreamExecuteRequest pre_queries. */ + public pre_queries: string[]; + + /** BeginStreamExecuteRequest reserved_id. */ + public reserved_id: (number|Long); + + /** + * Creates a new BeginStreamExecuteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns BeginStreamExecuteRequest instance + */ + public static create(properties?: query.IBeginStreamExecuteRequest): query.BeginStreamExecuteRequest; + + /** + * Encodes the specified BeginStreamExecuteRequest message. Does not implicitly {@link query.BeginStreamExecuteRequest.verify|verify} messages. + * @param message BeginStreamExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BeginStreamExecuteRequest message, length delimited. Does not implicitly {@link query.BeginStreamExecuteRequest.verify|verify} messages. + * @param message BeginStreamExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BeginStreamExecuteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BeginStreamExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginStreamExecuteRequest; + + /** + * Decodes a BeginStreamExecuteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BeginStreamExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginStreamExecuteRequest; + + /** + * Verifies a BeginStreamExecuteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BeginStreamExecuteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BeginStreamExecuteRequest + */ + public static fromObject(object: { [k: string]: any }): query.BeginStreamExecuteRequest; + + /** + * Creates a plain object from a BeginStreamExecuteRequest message. Also converts values to other types if specified. + * @param message BeginStreamExecuteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.BeginStreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BeginStreamExecuteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BeginStreamExecuteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BeginStreamExecuteResponse. */ + interface IBeginStreamExecuteResponse { + + /** BeginStreamExecuteResponse error */ + error?: (vtrpc.IRPCError|null); + + /** BeginStreamExecuteResponse result */ + result?: (query.IQueryResult|null); + + /** BeginStreamExecuteResponse transaction_id */ + transaction_id?: (number|Long|null); + + /** BeginStreamExecuteResponse tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** BeginStreamExecuteResponse session_state_changes */ + session_state_changes?: (string|null); + } + + /** Represents a BeginStreamExecuteResponse. */ + class BeginStreamExecuteResponse implements IBeginStreamExecuteResponse { + + /** + * Constructs a new BeginStreamExecuteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IBeginStreamExecuteResponse); + + /** BeginStreamExecuteResponse error. */ + public error?: (vtrpc.IRPCError|null); + + /** BeginStreamExecuteResponse result. */ + public result?: (query.IQueryResult|null); + + /** BeginStreamExecuteResponse transaction_id. */ + public transaction_id: (number|Long); + + /** BeginStreamExecuteResponse tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** BeginStreamExecuteResponse session_state_changes. */ + public session_state_changes: string; + + /** + * Creates a new BeginStreamExecuteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns BeginStreamExecuteResponse instance + */ + public static create(properties?: query.IBeginStreamExecuteResponse): query.BeginStreamExecuteResponse; + + /** + * Encodes the specified BeginStreamExecuteResponse message. Does not implicitly {@link query.BeginStreamExecuteResponse.verify|verify} messages. + * @param message BeginStreamExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BeginStreamExecuteResponse message, length delimited. Does not implicitly {@link query.BeginStreamExecuteResponse.verify|verify} messages. + * @param message BeginStreamExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BeginStreamExecuteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BeginStreamExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginStreamExecuteResponse; + + /** + * Decodes a BeginStreamExecuteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BeginStreamExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginStreamExecuteResponse; + + /** + * Verifies a BeginStreamExecuteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BeginStreamExecuteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BeginStreamExecuteResponse + */ + public static fromObject(object: { [k: string]: any }): query.BeginStreamExecuteResponse; + + /** + * Creates a plain object from a BeginStreamExecuteResponse message. Also converts values to other types if specified. + * @param message BeginStreamExecuteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.BeginStreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BeginStreamExecuteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BeginStreamExecuteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MessageStreamRequest. */ + interface IMessageStreamRequest { + + /** MessageStreamRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** MessageStreamRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** MessageStreamRequest target */ + target?: (query.ITarget|null); + + /** MessageStreamRequest name */ + name?: (string|null); + } + + /** Represents a MessageStreamRequest. */ + class MessageStreamRequest implements IMessageStreamRequest { + + /** + * Constructs a new MessageStreamRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IMessageStreamRequest); + + /** MessageStreamRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** MessageStreamRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** MessageStreamRequest target. */ + public target?: (query.ITarget|null); + + /** MessageStreamRequest name. */ + public name: string; + + /** + * Creates a new MessageStreamRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns MessageStreamRequest instance + */ + public static create(properties?: query.IMessageStreamRequest): query.MessageStreamRequest; + + /** + * Encodes the specified MessageStreamRequest message. Does not implicitly {@link query.MessageStreamRequest.verify|verify} messages. + * @param message MessageStreamRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IMessageStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MessageStreamRequest message, length delimited. Does not implicitly {@link query.MessageStreamRequest.verify|verify} messages. + * @param message MessageStreamRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IMessageStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MessageStreamRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MessageStreamRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageStreamRequest; + + /** + * Decodes a MessageStreamRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MessageStreamRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageStreamRequest; + + /** + * Verifies a MessageStreamRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MessageStreamRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MessageStreamRequest + */ + public static fromObject(object: { [k: string]: any }): query.MessageStreamRequest; + + /** + * Creates a plain object from a MessageStreamRequest message. Also converts values to other types if specified. + * @param message MessageStreamRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.MessageStreamRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MessageStreamRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MessageStreamRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MessageStreamResponse. */ + interface IMessageStreamResponse { + + /** MessageStreamResponse result */ + result?: (query.IQueryResult|null); + } + + /** Represents a MessageStreamResponse. */ + class MessageStreamResponse implements IMessageStreamResponse { + + /** + * Constructs a new MessageStreamResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IMessageStreamResponse); + + /** MessageStreamResponse result. */ + public result?: (query.IQueryResult|null); + + /** + * Creates a new MessageStreamResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns MessageStreamResponse instance + */ + public static create(properties?: query.IMessageStreamResponse): query.MessageStreamResponse; + + /** + * Encodes the specified MessageStreamResponse message. Does not implicitly {@link query.MessageStreamResponse.verify|verify} messages. + * @param message MessageStreamResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IMessageStreamResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MessageStreamResponse message, length delimited. Does not implicitly {@link query.MessageStreamResponse.verify|verify} messages. + * @param message MessageStreamResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IMessageStreamResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MessageStreamResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MessageStreamResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageStreamResponse; + + /** + * Decodes a MessageStreamResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MessageStreamResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageStreamResponse; + + /** + * Verifies a MessageStreamResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MessageStreamResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MessageStreamResponse + */ + public static fromObject(object: { [k: string]: any }): query.MessageStreamResponse; + + /** + * Creates a plain object from a MessageStreamResponse message. Also converts values to other types if specified. + * @param message MessageStreamResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.MessageStreamResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MessageStreamResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MessageStreamResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MessageAckRequest. */ + interface IMessageAckRequest { + + /** MessageAckRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** MessageAckRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** MessageAckRequest target */ + target?: (query.ITarget|null); + + /** MessageAckRequest name */ + name?: (string|null); + + /** MessageAckRequest ids */ + ids?: (query.IValue[]|null); + } + + /** Represents a MessageAckRequest. */ + class MessageAckRequest implements IMessageAckRequest { + + /** + * Constructs a new MessageAckRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IMessageAckRequest); + + /** MessageAckRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** MessageAckRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** MessageAckRequest target. */ + public target?: (query.ITarget|null); + + /** MessageAckRequest name. */ + public name: string; + + /** MessageAckRequest ids. */ + public ids: query.IValue[]; + + /** + * Creates a new MessageAckRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns MessageAckRequest instance + */ + public static create(properties?: query.IMessageAckRequest): query.MessageAckRequest; + + /** + * Encodes the specified MessageAckRequest message. Does not implicitly {@link query.MessageAckRequest.verify|verify} messages. + * @param message MessageAckRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IMessageAckRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MessageAckRequest message, length delimited. Does not implicitly {@link query.MessageAckRequest.verify|verify} messages. + * @param message MessageAckRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IMessageAckRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MessageAckRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MessageAckRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageAckRequest; + + /** + * Decodes a MessageAckRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MessageAckRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageAckRequest; + + /** + * Verifies a MessageAckRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MessageAckRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MessageAckRequest + */ + public static fromObject(object: { [k: string]: any }): query.MessageAckRequest; + + /** + * Creates a plain object from a MessageAckRequest message. Also converts values to other types if specified. + * @param message MessageAckRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.MessageAckRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MessageAckRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MessageAckRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MessageAckResponse. */ + interface IMessageAckResponse { + + /** MessageAckResponse result */ + result?: (query.IQueryResult|null); + } + + /** Represents a MessageAckResponse. */ + class MessageAckResponse implements IMessageAckResponse { + + /** + * Constructs a new MessageAckResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IMessageAckResponse); + + /** MessageAckResponse result. */ + public result?: (query.IQueryResult|null); + + /** + * Creates a new MessageAckResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns MessageAckResponse instance + */ + public static create(properties?: query.IMessageAckResponse): query.MessageAckResponse; + + /** + * Encodes the specified MessageAckResponse message. Does not implicitly {@link query.MessageAckResponse.verify|verify} messages. + * @param message MessageAckResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IMessageAckResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MessageAckResponse message, length delimited. Does not implicitly {@link query.MessageAckResponse.verify|verify} messages. + * @param message MessageAckResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IMessageAckResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MessageAckResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MessageAckResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageAckResponse; + + /** + * Decodes a MessageAckResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MessageAckResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageAckResponse; + + /** + * Verifies a MessageAckResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MessageAckResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MessageAckResponse + */ + public static fromObject(object: { [k: string]: any }): query.MessageAckResponse; + + /** + * Creates a plain object from a MessageAckResponse message. Also converts values to other types if specified. + * @param message MessageAckResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.MessageAckResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MessageAckResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MessageAckResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReserveExecuteRequest. */ + interface IReserveExecuteRequest { + + /** ReserveExecuteRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReserveExecuteRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReserveExecuteRequest target */ + target?: (query.ITarget|null); + + /** ReserveExecuteRequest query */ + query?: (query.IBoundQuery|null); + + /** ReserveExecuteRequest transaction_id */ + transaction_id?: (number|Long|null); + + /** ReserveExecuteRequest options */ + options?: (query.IExecuteOptions|null); + + /** ReserveExecuteRequest pre_queries */ + pre_queries?: (string[]|null); + } + + /** Represents a ReserveExecuteRequest. */ + class ReserveExecuteRequest implements IReserveExecuteRequest { + + /** + * Constructs a new ReserveExecuteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReserveExecuteRequest); + + /** ReserveExecuteRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReserveExecuteRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReserveExecuteRequest target. */ + public target?: (query.ITarget|null); + + /** ReserveExecuteRequest query. */ + public query?: (query.IBoundQuery|null); + + /** ReserveExecuteRequest transaction_id. */ + public transaction_id: (number|Long); + + /** ReserveExecuteRequest options. */ + public options?: (query.IExecuteOptions|null); + + /** ReserveExecuteRequest pre_queries. */ + public pre_queries: string[]; + + /** + * Creates a new ReserveExecuteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ReserveExecuteRequest instance + */ + public static create(properties?: query.IReserveExecuteRequest): query.ReserveExecuteRequest; + + /** + * Encodes the specified ReserveExecuteRequest message. Does not implicitly {@link query.ReserveExecuteRequest.verify|verify} messages. + * @param message ReserveExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReserveExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReserveExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveExecuteRequest.verify|verify} messages. + * @param message ReserveExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReserveExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReserveExecuteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReserveExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveExecuteRequest; + + /** + * Decodes a ReserveExecuteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReserveExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveExecuteRequest; + + /** + * Verifies a ReserveExecuteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReserveExecuteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReserveExecuteRequest + */ + public static fromObject(object: { [k: string]: any }): query.ReserveExecuteRequest; + + /** + * Creates a plain object from a ReserveExecuteRequest message. Also converts values to other types if specified. + * @param message ReserveExecuteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReserveExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReserveExecuteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReserveExecuteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReserveExecuteResponse. */ + interface IReserveExecuteResponse { + + /** ReserveExecuteResponse error */ + error?: (vtrpc.IRPCError|null); + + /** ReserveExecuteResponse result */ + result?: (query.IQueryResult|null); + + /** ReserveExecuteResponse reserved_id */ + reserved_id?: (number|Long|null); + + /** ReserveExecuteResponse tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a ReserveExecuteResponse. */ + class ReserveExecuteResponse implements IReserveExecuteResponse { + + /** + * Constructs a new ReserveExecuteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReserveExecuteResponse); + + /** ReserveExecuteResponse error. */ + public error?: (vtrpc.IRPCError|null); + + /** ReserveExecuteResponse result. */ + public result?: (query.IQueryResult|null); + + /** ReserveExecuteResponse reserved_id. */ + public reserved_id: (number|Long); + + /** ReserveExecuteResponse tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new ReserveExecuteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReserveExecuteResponse instance + */ + public static create(properties?: query.IReserveExecuteResponse): query.ReserveExecuteResponse; + + /** + * Encodes the specified ReserveExecuteResponse message. Does not implicitly {@link query.ReserveExecuteResponse.verify|verify} messages. + * @param message ReserveExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReserveExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReserveExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveExecuteResponse.verify|verify} messages. + * @param message ReserveExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReserveExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReserveExecuteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReserveExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveExecuteResponse; + + /** + * Decodes a ReserveExecuteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReserveExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveExecuteResponse; + + /** + * Verifies a ReserveExecuteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReserveExecuteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReserveExecuteResponse + */ + public static fromObject(object: { [k: string]: any }): query.ReserveExecuteResponse; + + /** + * Creates a plain object from a ReserveExecuteResponse message. Also converts values to other types if specified. + * @param message ReserveExecuteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReserveExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReserveExecuteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReserveExecuteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReserveStreamExecuteRequest. */ + interface IReserveStreamExecuteRequest { + + /** ReserveStreamExecuteRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReserveStreamExecuteRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReserveStreamExecuteRequest target */ + target?: (query.ITarget|null); + + /** ReserveStreamExecuteRequest query */ + query?: (query.IBoundQuery|null); + + /** ReserveStreamExecuteRequest options */ + options?: (query.IExecuteOptions|null); + + /** ReserveStreamExecuteRequest transaction_id */ + transaction_id?: (number|Long|null); + + /** ReserveStreamExecuteRequest pre_queries */ + pre_queries?: (string[]|null); + } + + /** Represents a ReserveStreamExecuteRequest. */ + class ReserveStreamExecuteRequest implements IReserveStreamExecuteRequest { + + /** + * Constructs a new ReserveStreamExecuteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReserveStreamExecuteRequest); + + /** ReserveStreamExecuteRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReserveStreamExecuteRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReserveStreamExecuteRequest target. */ + public target?: (query.ITarget|null); + + /** ReserveStreamExecuteRequest query. */ + public query?: (query.IBoundQuery|null); + + /** ReserveStreamExecuteRequest options. */ + public options?: (query.IExecuteOptions|null); + + /** ReserveStreamExecuteRequest transaction_id. */ + public transaction_id: (number|Long); + + /** ReserveStreamExecuteRequest pre_queries. */ + public pre_queries: string[]; + + /** + * Creates a new ReserveStreamExecuteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ReserveStreamExecuteRequest instance + */ + public static create(properties?: query.IReserveStreamExecuteRequest): query.ReserveStreamExecuteRequest; + + /** + * Encodes the specified ReserveStreamExecuteRequest message. Does not implicitly {@link query.ReserveStreamExecuteRequest.verify|verify} messages. + * @param message ReserveStreamExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReserveStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReserveStreamExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveStreamExecuteRequest.verify|verify} messages. + * @param message ReserveStreamExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReserveStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReserveStreamExecuteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReserveStreamExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveStreamExecuteRequest; + + /** + * Decodes a ReserveStreamExecuteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReserveStreamExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveStreamExecuteRequest; + + /** + * Verifies a ReserveStreamExecuteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReserveStreamExecuteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReserveStreamExecuteRequest + */ + public static fromObject(object: { [k: string]: any }): query.ReserveStreamExecuteRequest; + + /** + * Creates a plain object from a ReserveStreamExecuteRequest message. Also converts values to other types if specified. + * @param message ReserveStreamExecuteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReserveStreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReserveStreamExecuteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReserveStreamExecuteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReserveStreamExecuteResponse. */ + interface IReserveStreamExecuteResponse { + + /** ReserveStreamExecuteResponse error */ + error?: (vtrpc.IRPCError|null); + + /** ReserveStreamExecuteResponse result */ + result?: (query.IQueryResult|null); + + /** ReserveStreamExecuteResponse reserved_id */ + reserved_id?: (number|Long|null); + + /** ReserveStreamExecuteResponse tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a ReserveStreamExecuteResponse. */ + class ReserveStreamExecuteResponse implements IReserveStreamExecuteResponse { + + /** + * Constructs a new ReserveStreamExecuteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReserveStreamExecuteResponse); + + /** ReserveStreamExecuteResponse error. */ + public error?: (vtrpc.IRPCError|null); + + /** ReserveStreamExecuteResponse result. */ + public result?: (query.IQueryResult|null); + + /** ReserveStreamExecuteResponse reserved_id. */ + public reserved_id: (number|Long); + + /** ReserveStreamExecuteResponse tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new ReserveStreamExecuteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReserveStreamExecuteResponse instance + */ + public static create(properties?: query.IReserveStreamExecuteResponse): query.ReserveStreamExecuteResponse; + + /** + * Encodes the specified ReserveStreamExecuteResponse message. Does not implicitly {@link query.ReserveStreamExecuteResponse.verify|verify} messages. + * @param message ReserveStreamExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReserveStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReserveStreamExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveStreamExecuteResponse.verify|verify} messages. + * @param message ReserveStreamExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReserveStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReserveStreamExecuteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReserveStreamExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveStreamExecuteResponse; + + /** + * Decodes a ReserveStreamExecuteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReserveStreamExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveStreamExecuteResponse; + + /** + * Verifies a ReserveStreamExecuteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReserveStreamExecuteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReserveStreamExecuteResponse + */ + public static fromObject(object: { [k: string]: any }): query.ReserveStreamExecuteResponse; + + /** + * Creates a plain object from a ReserveStreamExecuteResponse message. Also converts values to other types if specified. + * @param message ReserveStreamExecuteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReserveStreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReserveStreamExecuteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReserveStreamExecuteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReserveBeginExecuteRequest. */ + interface IReserveBeginExecuteRequest { + + /** ReserveBeginExecuteRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReserveBeginExecuteRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReserveBeginExecuteRequest target */ + target?: (query.ITarget|null); + + /** ReserveBeginExecuteRequest query */ + query?: (query.IBoundQuery|null); + + /** ReserveBeginExecuteRequest options */ + options?: (query.IExecuteOptions|null); + + /** ReserveBeginExecuteRequest pre_queries */ + pre_queries?: (string[]|null); + + /** ReserveBeginExecuteRequest post_begin_queries */ + post_begin_queries?: (string[]|null); + } + + /** Represents a ReserveBeginExecuteRequest. */ + class ReserveBeginExecuteRequest implements IReserveBeginExecuteRequest { + + /** + * Constructs a new ReserveBeginExecuteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReserveBeginExecuteRequest); + + /** ReserveBeginExecuteRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReserveBeginExecuteRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReserveBeginExecuteRequest target. */ + public target?: (query.ITarget|null); + + /** ReserveBeginExecuteRequest query. */ + public query?: (query.IBoundQuery|null); + + /** ReserveBeginExecuteRequest options. */ + public options?: (query.IExecuteOptions|null); + + /** ReserveBeginExecuteRequest pre_queries. */ + public pre_queries: string[]; + + /** ReserveBeginExecuteRequest post_begin_queries. */ + public post_begin_queries: string[]; + + /** + * Creates a new ReserveBeginExecuteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ReserveBeginExecuteRequest instance + */ + public static create(properties?: query.IReserveBeginExecuteRequest): query.ReserveBeginExecuteRequest; + + /** + * Encodes the specified ReserveBeginExecuteRequest message. Does not implicitly {@link query.ReserveBeginExecuteRequest.verify|verify} messages. + * @param message ReserveBeginExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReserveBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReserveBeginExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveBeginExecuteRequest.verify|verify} messages. + * @param message ReserveBeginExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReserveBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReserveBeginExecuteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReserveBeginExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginExecuteRequest; + + /** + * Decodes a ReserveBeginExecuteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReserveBeginExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginExecuteRequest; + + /** + * Verifies a ReserveBeginExecuteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReserveBeginExecuteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReserveBeginExecuteRequest + */ + public static fromObject(object: { [k: string]: any }): query.ReserveBeginExecuteRequest; + + /** + * Creates a plain object from a ReserveBeginExecuteRequest message. Also converts values to other types if specified. + * @param message ReserveBeginExecuteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReserveBeginExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReserveBeginExecuteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReserveBeginExecuteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReserveBeginExecuteResponse. */ + interface IReserveBeginExecuteResponse { + + /** ReserveBeginExecuteResponse error */ + error?: (vtrpc.IRPCError|null); + + /** ReserveBeginExecuteResponse result */ + result?: (query.IQueryResult|null); + + /** ReserveBeginExecuteResponse transaction_id */ + transaction_id?: (number|Long|null); + + /** ReserveBeginExecuteResponse reserved_id */ + reserved_id?: (number|Long|null); + + /** ReserveBeginExecuteResponse tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** ReserveBeginExecuteResponse session_state_changes */ + session_state_changes?: (string|null); + } + + /** Represents a ReserveBeginExecuteResponse. */ + class ReserveBeginExecuteResponse implements IReserveBeginExecuteResponse { + + /** + * Constructs a new ReserveBeginExecuteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReserveBeginExecuteResponse); + + /** ReserveBeginExecuteResponse error. */ + public error?: (vtrpc.IRPCError|null); + + /** ReserveBeginExecuteResponse result. */ + public result?: (query.IQueryResult|null); + + /** ReserveBeginExecuteResponse transaction_id. */ + public transaction_id: (number|Long); + + /** ReserveBeginExecuteResponse reserved_id. */ + public reserved_id: (number|Long); + + /** ReserveBeginExecuteResponse tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** ReserveBeginExecuteResponse session_state_changes. */ + public session_state_changes: string; + + /** + * Creates a new ReserveBeginExecuteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReserveBeginExecuteResponse instance + */ + public static create(properties?: query.IReserveBeginExecuteResponse): query.ReserveBeginExecuteResponse; + + /** + * Encodes the specified ReserveBeginExecuteResponse message. Does not implicitly {@link query.ReserveBeginExecuteResponse.verify|verify} messages. + * @param message ReserveBeginExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReserveBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReserveBeginExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveBeginExecuteResponse.verify|verify} messages. + * @param message ReserveBeginExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReserveBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReserveBeginExecuteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReserveBeginExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginExecuteResponse; + + /** + * Decodes a ReserveBeginExecuteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReserveBeginExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginExecuteResponse; + + /** + * Verifies a ReserveBeginExecuteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReserveBeginExecuteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReserveBeginExecuteResponse + */ + public static fromObject(object: { [k: string]: any }): query.ReserveBeginExecuteResponse; + + /** + * Creates a plain object from a ReserveBeginExecuteResponse message. Also converts values to other types if specified. + * @param message ReserveBeginExecuteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReserveBeginExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReserveBeginExecuteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReserveBeginExecuteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReserveBeginStreamExecuteRequest. */ + interface IReserveBeginStreamExecuteRequest { + + /** ReserveBeginStreamExecuteRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReserveBeginStreamExecuteRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReserveBeginStreamExecuteRequest target */ + target?: (query.ITarget|null); + + /** ReserveBeginStreamExecuteRequest query */ + query?: (query.IBoundQuery|null); + + /** ReserveBeginStreamExecuteRequest options */ + options?: (query.IExecuteOptions|null); + + /** ReserveBeginStreamExecuteRequest pre_queries */ + pre_queries?: (string[]|null); + + /** ReserveBeginStreamExecuteRequest post_begin_queries */ + post_begin_queries?: (string[]|null); + } + + /** Represents a ReserveBeginStreamExecuteRequest. */ + class ReserveBeginStreamExecuteRequest implements IReserveBeginStreamExecuteRequest { + + /** + * Constructs a new ReserveBeginStreamExecuteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReserveBeginStreamExecuteRequest); + + /** ReserveBeginStreamExecuteRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReserveBeginStreamExecuteRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReserveBeginStreamExecuteRequest target. */ + public target?: (query.ITarget|null); + + /** ReserveBeginStreamExecuteRequest query. */ + public query?: (query.IBoundQuery|null); + + /** ReserveBeginStreamExecuteRequest options. */ + public options?: (query.IExecuteOptions|null); + + /** ReserveBeginStreamExecuteRequest pre_queries. */ + public pre_queries: string[]; + + /** ReserveBeginStreamExecuteRequest post_begin_queries. */ + public post_begin_queries: string[]; + + /** + * Creates a new ReserveBeginStreamExecuteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ReserveBeginStreamExecuteRequest instance + */ + public static create(properties?: query.IReserveBeginStreamExecuteRequest): query.ReserveBeginStreamExecuteRequest; + + /** + * Encodes the specified ReserveBeginStreamExecuteRequest message. Does not implicitly {@link query.ReserveBeginStreamExecuteRequest.verify|verify} messages. + * @param message ReserveBeginStreamExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReserveBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReserveBeginStreamExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveBeginStreamExecuteRequest.verify|verify} messages. + * @param message ReserveBeginStreamExecuteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReserveBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReserveBeginStreamExecuteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReserveBeginStreamExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginStreamExecuteRequest; + + /** + * Decodes a ReserveBeginStreamExecuteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReserveBeginStreamExecuteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginStreamExecuteRequest; + + /** + * Verifies a ReserveBeginStreamExecuteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReserveBeginStreamExecuteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReserveBeginStreamExecuteRequest + */ + public static fromObject(object: { [k: string]: any }): query.ReserveBeginStreamExecuteRequest; + + /** + * Creates a plain object from a ReserveBeginStreamExecuteRequest message. Also converts values to other types if specified. + * @param message ReserveBeginStreamExecuteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReserveBeginStreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReserveBeginStreamExecuteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReserveBeginStreamExecuteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReserveBeginStreamExecuteResponse. */ + interface IReserveBeginStreamExecuteResponse { + + /** ReserveBeginStreamExecuteResponse error */ + error?: (vtrpc.IRPCError|null); + + /** ReserveBeginStreamExecuteResponse result */ + result?: (query.IQueryResult|null); + + /** ReserveBeginStreamExecuteResponse transaction_id */ + transaction_id?: (number|Long|null); + + /** ReserveBeginStreamExecuteResponse reserved_id */ + reserved_id?: (number|Long|null); + + /** ReserveBeginStreamExecuteResponse tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** ReserveBeginStreamExecuteResponse session_state_changes */ + session_state_changes?: (string|null); + } + + /** Represents a ReserveBeginStreamExecuteResponse. */ + class ReserveBeginStreamExecuteResponse implements IReserveBeginStreamExecuteResponse { + + /** + * Constructs a new ReserveBeginStreamExecuteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReserveBeginStreamExecuteResponse); + + /** ReserveBeginStreamExecuteResponse error. */ + public error?: (vtrpc.IRPCError|null); + + /** ReserveBeginStreamExecuteResponse result. */ + public result?: (query.IQueryResult|null); + + /** ReserveBeginStreamExecuteResponse transaction_id. */ + public transaction_id: (number|Long); + + /** ReserveBeginStreamExecuteResponse reserved_id. */ + public reserved_id: (number|Long); + + /** ReserveBeginStreamExecuteResponse tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** ReserveBeginStreamExecuteResponse session_state_changes. */ + public session_state_changes: string; + + /** + * Creates a new ReserveBeginStreamExecuteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReserveBeginStreamExecuteResponse instance + */ + public static create(properties?: query.IReserveBeginStreamExecuteResponse): query.ReserveBeginStreamExecuteResponse; + + /** + * Encodes the specified ReserveBeginStreamExecuteResponse message. Does not implicitly {@link query.ReserveBeginStreamExecuteResponse.verify|verify} messages. + * @param message ReserveBeginStreamExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReserveBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReserveBeginStreamExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveBeginStreamExecuteResponse.verify|verify} messages. + * @param message ReserveBeginStreamExecuteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReserveBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReserveBeginStreamExecuteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReserveBeginStreamExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginStreamExecuteResponse; + + /** + * Decodes a ReserveBeginStreamExecuteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReserveBeginStreamExecuteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginStreamExecuteResponse; + + /** + * Verifies a ReserveBeginStreamExecuteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReserveBeginStreamExecuteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReserveBeginStreamExecuteResponse + */ + public static fromObject(object: { [k: string]: any }): query.ReserveBeginStreamExecuteResponse; + + /** + * Creates a plain object from a ReserveBeginStreamExecuteResponse message. Also converts values to other types if specified. + * @param message ReserveBeginStreamExecuteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReserveBeginStreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReserveBeginStreamExecuteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReserveBeginStreamExecuteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReleaseRequest. */ + interface IReleaseRequest { + + /** ReleaseRequest effective_caller_id */ + effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReleaseRequest immediate_caller_id */ + immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReleaseRequest target */ + target?: (query.ITarget|null); + + /** ReleaseRequest transaction_id */ + transaction_id?: (number|Long|null); + + /** ReleaseRequest reserved_id */ + reserved_id?: (number|Long|null); + } + + /** Represents a ReleaseRequest. */ + class ReleaseRequest implements IReleaseRequest { + + /** + * Constructs a new ReleaseRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReleaseRequest); + + /** ReleaseRequest effective_caller_id. */ + public effective_caller_id?: (vtrpc.ICallerID|null); + + /** ReleaseRequest immediate_caller_id. */ + public immediate_caller_id?: (query.IVTGateCallerID|null); + + /** ReleaseRequest target. */ + public target?: (query.ITarget|null); + + /** ReleaseRequest transaction_id. */ + public transaction_id: (number|Long); + + /** ReleaseRequest reserved_id. */ + public reserved_id: (number|Long); + + /** + * Creates a new ReleaseRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ReleaseRequest instance + */ + public static create(properties?: query.IReleaseRequest): query.ReleaseRequest; + + /** + * Encodes the specified ReleaseRequest message. Does not implicitly {@link query.ReleaseRequest.verify|verify} messages. + * @param message ReleaseRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReleaseRequest message, length delimited. Does not implicitly {@link query.ReleaseRequest.verify|verify} messages. + * @param message ReleaseRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReleaseRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReleaseRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReleaseRequest; + + /** + * Decodes a ReleaseRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReleaseRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReleaseRequest; + + /** + * Verifies a ReleaseRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReleaseRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReleaseRequest + */ + public static fromObject(object: { [k: string]: any }): query.ReleaseRequest; + + /** + * Creates a plain object from a ReleaseRequest message. Also converts values to other types if specified. + * @param message ReleaseRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReleaseRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReleaseRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReleaseRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReleaseResponse. */ + interface IReleaseResponse { + } + + /** Represents a ReleaseResponse. */ + class ReleaseResponse implements IReleaseResponse { + + /** + * Constructs a new ReleaseResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IReleaseResponse); + + /** + * Creates a new ReleaseResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReleaseResponse instance + */ + public static create(properties?: query.IReleaseResponse): query.ReleaseResponse; + + /** + * Encodes the specified ReleaseResponse message. Does not implicitly {@link query.ReleaseResponse.verify|verify} messages. + * @param message ReleaseResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IReleaseResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReleaseResponse message, length delimited. Does not implicitly {@link query.ReleaseResponse.verify|verify} messages. + * @param message ReleaseResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IReleaseResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReleaseResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReleaseResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReleaseResponse; + + /** + * Decodes a ReleaseResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReleaseResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReleaseResponse; + + /** + * Verifies a ReleaseResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReleaseResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReleaseResponse + */ + public static fromObject(object: { [k: string]: any }): query.ReleaseResponse; + + /** + * Creates a plain object from a ReleaseResponse message. Also converts values to other types if specified. + * @param message ReleaseResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.ReleaseResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReleaseResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReleaseResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StreamHealthRequest. */ + interface IStreamHealthRequest { + } + + /** Represents a StreamHealthRequest. */ + class StreamHealthRequest implements IStreamHealthRequest { + + /** + * Constructs a new StreamHealthRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IStreamHealthRequest); + + /** + * Creates a new StreamHealthRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns StreamHealthRequest instance + */ + public static create(properties?: query.IStreamHealthRequest): query.StreamHealthRequest; + + /** + * Encodes the specified StreamHealthRequest message. Does not implicitly {@link query.StreamHealthRequest.verify|verify} messages. + * @param message StreamHealthRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IStreamHealthRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StreamHealthRequest message, length delimited. Does not implicitly {@link query.StreamHealthRequest.verify|verify} messages. + * @param message StreamHealthRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IStreamHealthRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StreamHealthRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StreamHealthRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamHealthRequest; + + /** + * Decodes a StreamHealthRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StreamHealthRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamHealthRequest; + + /** + * Verifies a StreamHealthRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StreamHealthRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StreamHealthRequest + */ + public static fromObject(object: { [k: string]: any }): query.StreamHealthRequest; + + /** + * Creates a plain object from a StreamHealthRequest message. Also converts values to other types if specified. + * @param message StreamHealthRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.StreamHealthRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StreamHealthRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamHealthRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RealtimeStats. */ + interface IRealtimeStats { + + /** RealtimeStats health_error */ + health_error?: (string|null); + + /** RealtimeStats replication_lag_seconds */ + replication_lag_seconds?: (number|null); + + /** RealtimeStats binlog_players_count */ + binlog_players_count?: (number|null); + + /** RealtimeStats filtered_replication_lag_seconds */ + filtered_replication_lag_seconds?: (number|Long|null); + + /** RealtimeStats cpu_usage */ + cpu_usage?: (number|null); + + /** RealtimeStats qps */ + qps?: (number|null); + + /** RealtimeStats table_schema_changed */ + table_schema_changed?: (string[]|null); + + /** RealtimeStats view_schema_changed */ + view_schema_changed?: (string[]|null); + + /** RealtimeStats udfs_changed */ + udfs_changed?: (boolean|null); + + /** RealtimeStats tx_unresolved */ + tx_unresolved?: (boolean|null); + } + + /** Represents a RealtimeStats. */ + class RealtimeStats implements IRealtimeStats { + + /** + * Constructs a new RealtimeStats. + * @param [properties] Properties to set + */ + constructor(properties?: query.IRealtimeStats); + + /** RealtimeStats health_error. */ + public health_error: string; + + /** RealtimeStats replication_lag_seconds. */ + public replication_lag_seconds: number; + + /** RealtimeStats binlog_players_count. */ + public binlog_players_count: number; + + /** RealtimeStats filtered_replication_lag_seconds. */ + public filtered_replication_lag_seconds: (number|Long); + + /** RealtimeStats cpu_usage. */ + public cpu_usage: number; + + /** RealtimeStats qps. */ + public qps: number; + + /** RealtimeStats table_schema_changed. */ + public table_schema_changed: string[]; + + /** RealtimeStats view_schema_changed. */ + public view_schema_changed: string[]; + + /** RealtimeStats udfs_changed. */ + public udfs_changed: boolean; + + /** RealtimeStats tx_unresolved. */ + public tx_unresolved: boolean; + + /** + * Creates a new RealtimeStats instance using the specified properties. + * @param [properties] Properties to set + * @returns RealtimeStats instance + */ + public static create(properties?: query.IRealtimeStats): query.RealtimeStats; + + /** + * Encodes the specified RealtimeStats message. Does not implicitly {@link query.RealtimeStats.verify|verify} messages. + * @param message RealtimeStats message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IRealtimeStats, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RealtimeStats message, length delimited. Does not implicitly {@link query.RealtimeStats.verify|verify} messages. + * @param message RealtimeStats message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IRealtimeStats, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RealtimeStats message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RealtimeStats + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RealtimeStats; + + /** + * Decodes a RealtimeStats message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RealtimeStats + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RealtimeStats; + + /** + * Verifies a RealtimeStats message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RealtimeStats message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RealtimeStats + */ + public static fromObject(object: { [k: string]: any }): query.RealtimeStats; + + /** + * Creates a plain object from a RealtimeStats message. Also converts values to other types if specified. + * @param message RealtimeStats + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.RealtimeStats, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RealtimeStats to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RealtimeStats + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AggregateStats. */ + interface IAggregateStats { + + /** AggregateStats healthy_tablet_count */ + healthy_tablet_count?: (number|null); + + /** AggregateStats unhealthy_tablet_count */ + unhealthy_tablet_count?: (number|null); + + /** AggregateStats replication_lag_seconds_min */ + replication_lag_seconds_min?: (number|null); + + /** AggregateStats replication_lag_seconds_max */ + replication_lag_seconds_max?: (number|null); + } + + /** Represents an AggregateStats. */ + class AggregateStats implements IAggregateStats { + + /** + * Constructs a new AggregateStats. + * @param [properties] Properties to set + */ + constructor(properties?: query.IAggregateStats); + + /** AggregateStats healthy_tablet_count. */ + public healthy_tablet_count: number; + + /** AggregateStats unhealthy_tablet_count. */ + public unhealthy_tablet_count: number; + + /** AggregateStats replication_lag_seconds_min. */ + public replication_lag_seconds_min: number; + + /** AggregateStats replication_lag_seconds_max. */ + public replication_lag_seconds_max: number; + + /** + * Creates a new AggregateStats instance using the specified properties. + * @param [properties] Properties to set + * @returns AggregateStats instance + */ + public static create(properties?: query.IAggregateStats): query.AggregateStats; + + /** + * Encodes the specified AggregateStats message. Does not implicitly {@link query.AggregateStats.verify|verify} messages. + * @param message AggregateStats message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IAggregateStats, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AggregateStats message, length delimited. Does not implicitly {@link query.AggregateStats.verify|verify} messages. + * @param message AggregateStats message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IAggregateStats, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AggregateStats message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AggregateStats + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.AggregateStats; + + /** + * Decodes an AggregateStats message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AggregateStats + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.AggregateStats; + + /** + * Verifies an AggregateStats message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an AggregateStats message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AggregateStats + */ + public static fromObject(object: { [k: string]: any }): query.AggregateStats; + + /** + * Creates a plain object from an AggregateStats message. Also converts values to other types if specified. + * @param message AggregateStats + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.AggregateStats, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AggregateStats to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AggregateStats + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StreamHealthResponse. */ + interface IStreamHealthResponse { + + /** StreamHealthResponse target */ + target?: (query.ITarget|null); + + /** StreamHealthResponse serving */ + serving?: (boolean|null); + + /** StreamHealthResponse primary_term_start_timestamp */ + primary_term_start_timestamp?: (number|Long|null); + + /** StreamHealthResponse realtime_stats */ + realtime_stats?: (query.IRealtimeStats|null); + + /** StreamHealthResponse tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a StreamHealthResponse. */ + class StreamHealthResponse implements IStreamHealthResponse { + + /** + * Constructs a new StreamHealthResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IStreamHealthResponse); + + /** StreamHealthResponse target. */ + public target?: (query.ITarget|null); + + /** StreamHealthResponse serving. */ + public serving: boolean; + + /** StreamHealthResponse primary_term_start_timestamp. */ + public primary_term_start_timestamp: (number|Long); + + /** StreamHealthResponse realtime_stats. */ + public realtime_stats?: (query.IRealtimeStats|null); + + /** StreamHealthResponse tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new StreamHealthResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns StreamHealthResponse instance + */ + public static create(properties?: query.IStreamHealthResponse): query.StreamHealthResponse; + + /** + * Encodes the specified StreamHealthResponse message. Does not implicitly {@link query.StreamHealthResponse.verify|verify} messages. + * @param message StreamHealthResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IStreamHealthResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StreamHealthResponse message, length delimited. Does not implicitly {@link query.StreamHealthResponse.verify|verify} messages. + * @param message StreamHealthResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IStreamHealthResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StreamHealthResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StreamHealthResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamHealthResponse; + + /** + * Decodes a StreamHealthResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StreamHealthResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamHealthResponse; + + /** + * Verifies a StreamHealthResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StreamHealthResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StreamHealthResponse + */ + public static fromObject(object: { [k: string]: any }): query.StreamHealthResponse; + + /** + * Creates a plain object from a StreamHealthResponse message. Also converts values to other types if specified. + * @param message StreamHealthResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.StreamHealthResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StreamHealthResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StreamHealthResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** TransactionState enum. */ + enum TransactionState { + UNKNOWN = 0, + PREPARE = 1, + ROLLBACK = 2, + COMMIT = 3 + } + + /** Properties of a TransactionMetadata. */ + interface ITransactionMetadata { + + /** TransactionMetadata dtid */ + dtid?: (string|null); + + /** TransactionMetadata state */ + state?: (query.TransactionState|null); + + /** TransactionMetadata time_created */ + time_created?: (number|Long|null); + + /** TransactionMetadata participants */ + participants?: (query.ITarget[]|null); + } + + /** Represents a TransactionMetadata. */ + class TransactionMetadata implements ITransactionMetadata { + + /** + * Constructs a new TransactionMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: query.ITransactionMetadata); + + /** TransactionMetadata dtid. */ + public dtid: string; + + /** TransactionMetadata state. */ + public state: query.TransactionState; + + /** TransactionMetadata time_created. */ + public time_created: (number|Long); + + /** TransactionMetadata participants. */ + public participants: query.ITarget[]; + + /** + * Creates a new TransactionMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns TransactionMetadata instance + */ + public static create(properties?: query.ITransactionMetadata): query.TransactionMetadata; + + /** + * Encodes the specified TransactionMetadata message. Does not implicitly {@link query.TransactionMetadata.verify|verify} messages. + * @param message TransactionMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.ITransactionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified TransactionMetadata message, length delimited. Does not implicitly {@link query.TransactionMetadata.verify|verify} messages. + * @param message TransactionMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.ITransactionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TransactionMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TransactionMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.TransactionMetadata; + + /** + * Decodes a TransactionMetadata message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns TransactionMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.TransactionMetadata; + + /** + * Verifies a TransactionMetadata message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a TransactionMetadata message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns TransactionMetadata + */ + public static fromObject(object: { [k: string]: any }): query.TransactionMetadata; + + /** + * Creates a plain object from a TransactionMetadata message. Also converts values to other types if specified. + * @param message TransactionMetadata + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.TransactionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this TransactionMetadata to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TransactionMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** SchemaTableType enum. */ + enum SchemaTableType { + VIEWS = 0, + TABLES = 1, + ALL = 2, + UDFS = 3 + } + + /** Properties of a GetSchemaRequest. */ + interface IGetSchemaRequest { + + /** GetSchemaRequest target */ + target?: (query.ITarget|null); + + /** GetSchemaRequest table_type */ + table_type?: (query.SchemaTableType|null); + + /** GetSchemaRequest table_names */ + table_names?: (string[]|null); + } + + /** Represents a GetSchemaRequest. */ + class GetSchemaRequest implements IGetSchemaRequest { + + /** + * Constructs a new GetSchemaRequest. + * @param [properties] Properties to set + */ + constructor(properties?: query.IGetSchemaRequest); + + /** GetSchemaRequest target. */ + public target?: (query.ITarget|null); + + /** GetSchemaRequest table_type. */ + public table_type: query.SchemaTableType; + + /** GetSchemaRequest table_names. */ + public table_names: string[]; + + /** + * Creates a new GetSchemaRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSchemaRequest instance + */ + public static create(properties?: query.IGetSchemaRequest): query.GetSchemaRequest; + + /** + * Encodes the specified GetSchemaRequest message. Does not implicitly {@link query.GetSchemaRequest.verify|verify} messages. + * @param message GetSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSchemaRequest message, length delimited. Does not implicitly {@link query.GetSchemaRequest.verify|verify} messages. + * @param message GetSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSchemaRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.GetSchemaRequest; + + /** + * Decodes a GetSchemaRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.GetSchemaRequest; + + /** + * Verifies a GetSchemaRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSchemaRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSchemaRequest + */ + public static fromObject(object: { [k: string]: any }): query.GetSchemaRequest; + + /** + * Creates a plain object from a GetSchemaRequest message. Also converts values to other types if specified. + * @param message GetSchemaRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.GetSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSchemaRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSchemaRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a UDFInfo. */ + interface IUDFInfo { + + /** UDFInfo name */ + name?: (string|null); + + /** UDFInfo aggregating */ + aggregating?: (boolean|null); + + /** UDFInfo return_type */ + return_type?: (query.Type|null); + } + + /** Represents a UDFInfo. */ + class UDFInfo implements IUDFInfo { + + /** + * Constructs a new UDFInfo. + * @param [properties] Properties to set + */ + constructor(properties?: query.IUDFInfo); + + /** UDFInfo name. */ + public name: string; + + /** UDFInfo aggregating. */ + public aggregating: boolean; + + /** UDFInfo return_type. */ + public return_type: query.Type; + + /** + * Creates a new UDFInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns UDFInfo instance + */ + public static create(properties?: query.IUDFInfo): query.UDFInfo; + + /** + * Encodes the specified UDFInfo message. Does not implicitly {@link query.UDFInfo.verify|verify} messages. + * @param message UDFInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IUDFInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified UDFInfo message, length delimited. Does not implicitly {@link query.UDFInfo.verify|verify} messages. + * @param message UDFInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IUDFInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a UDFInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UDFInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.UDFInfo; + + /** + * Decodes a UDFInfo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns UDFInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.UDFInfo; + + /** + * Verifies a UDFInfo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a UDFInfo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns UDFInfo + */ + public static fromObject(object: { [k: string]: any }): query.UDFInfo; + + /** + * Creates a plain object from a UDFInfo message. Also converts values to other types if specified. + * @param message UDFInfo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.UDFInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this UDFInfo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UDFInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSchemaResponse. */ + interface IGetSchemaResponse { + + /** GetSchemaResponse udfs */ + udfs?: (query.IUDFInfo[]|null); + + /** GetSchemaResponse table_definition */ + table_definition?: ({ [k: string]: string }|null); + } + + /** Represents a GetSchemaResponse. */ + class GetSchemaResponse implements IGetSchemaResponse { + + /** + * Constructs a new GetSchemaResponse. + * @param [properties] Properties to set + */ + constructor(properties?: query.IGetSchemaResponse); + + /** GetSchemaResponse udfs. */ + public udfs: query.IUDFInfo[]; + + /** GetSchemaResponse table_definition. */ + public table_definition: { [k: string]: string }; + + /** + * Creates a new GetSchemaResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSchemaResponse instance + */ + public static create(properties?: query.IGetSchemaResponse): query.GetSchemaResponse; + + /** + * Encodes the specified GetSchemaResponse message. Does not implicitly {@link query.GetSchemaResponse.verify|verify} messages. + * @param message GetSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: query.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSchemaResponse message, length delimited. Does not implicitly {@link query.GetSchemaResponse.verify|verify} messages. + * @param message GetSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: query.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSchemaResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.GetSchemaResponse; + + /** + * Decodes a GetSchemaResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.GetSchemaResponse; + + /** + * Verifies a GetSchemaResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSchemaResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSchemaResponse + */ + public static fromObject(object: { [k: string]: any }): query.GetSchemaResponse; + + /** + * Creates a plain object from a GetSchemaResponse message. Also converts values to other types if specified. + * @param message GetSchemaResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: query.GetSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSchemaResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSchemaResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } +} + +/** Namespace replicationdata. */ +export namespace replicationdata { + + /** Properties of a Status. */ + interface IStatus { + + /** Status position */ + position?: (string|null); + + /** Status replication_lag_seconds */ + replication_lag_seconds?: (number|null); + + /** Status source_host */ + source_host?: (string|null); + + /** Status source_port */ + source_port?: (number|null); + + /** Status connect_retry */ + connect_retry?: (number|null); + + /** Status relay_log_position */ + relay_log_position?: (string|null); + + /** Status file_position */ + file_position?: (string|null); + + /** Status relay_log_source_binlog_equivalent_position */ + relay_log_source_binlog_equivalent_position?: (string|null); + + /** Status source_server_id */ + source_server_id?: (number|null); + + /** Status source_uuid */ + source_uuid?: (string|null); + + /** Status io_state */ + io_state?: (number|null); + + /** Status last_io_error */ + last_io_error?: (string|null); + + /** Status sql_state */ + sql_state?: (number|null); + + /** Status last_sql_error */ + last_sql_error?: (string|null); + + /** Status relay_log_file_position */ + relay_log_file_position?: (string|null); + + /** Status source_user */ + source_user?: (string|null); + + /** Status sql_delay */ + sql_delay?: (number|null); + + /** Status auto_position */ + auto_position?: (boolean|null); + + /** Status using_gtid */ + using_gtid?: (boolean|null); + + /** Status has_replication_filters */ + has_replication_filters?: (boolean|null); + + /** Status ssl_allowed */ + ssl_allowed?: (boolean|null); + + /** Status replication_lag_unknown */ + replication_lag_unknown?: (boolean|null); + } + + /** Represents a Status. */ + class Status implements IStatus { + + /** + * Constructs a new Status. + * @param [properties] Properties to set + */ + constructor(properties?: replicationdata.IStatus); + + /** Status position. */ + public position: string; + + /** Status replication_lag_seconds. */ + public replication_lag_seconds: number; + + /** Status source_host. */ + public source_host: string; + + /** Status source_port. */ + public source_port: number; + + /** Status connect_retry. */ + public connect_retry: number; + + /** Status relay_log_position. */ + public relay_log_position: string; + + /** Status file_position. */ + public file_position: string; + + /** Status relay_log_source_binlog_equivalent_position. */ + public relay_log_source_binlog_equivalent_position: string; + + /** Status source_server_id. */ + public source_server_id: number; + + /** Status source_uuid. */ + public source_uuid: string; + + /** Status io_state. */ + public io_state: number; + + /** Status last_io_error. */ + public last_io_error: string; + + /** Status sql_state. */ + public sql_state: number; + + /** Status last_sql_error. */ + public last_sql_error: string; + + /** Status relay_log_file_position. */ + public relay_log_file_position: string; + + /** Status source_user. */ + public source_user: string; + + /** Status sql_delay. */ + public sql_delay: number; + + /** Status auto_position. */ + public auto_position: boolean; + + /** Status using_gtid. */ + public using_gtid: boolean; + + /** Status has_replication_filters. */ + public has_replication_filters: boolean; + + /** Status ssl_allowed. */ + public ssl_allowed: boolean; + + /** Status replication_lag_unknown. */ + public replication_lag_unknown: boolean; + + /** + * Creates a new Status instance using the specified properties. + * @param [properties] Properties to set + * @returns Status instance + */ + public static create(properties?: replicationdata.IStatus): replicationdata.Status; + + /** + * Encodes the specified Status message. Does not implicitly {@link replicationdata.Status.verify|verify} messages. + * @param message Status message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: replicationdata.IStatus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Status message, length delimited. Does not implicitly {@link replicationdata.Status.verify|verify} messages. + * @param message Status message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: replicationdata.IStatus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Status message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Status + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.Status; + + /** + * Decodes a Status message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Status + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.Status; + + /** + * Verifies a Status message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Status message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Status + */ + public static fromObject(object: { [k: string]: any }): replicationdata.Status; + + /** + * Creates a plain object from a Status message. Also converts values to other types if specified. + * @param message Status + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: replicationdata.Status, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Status to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Status + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a Configuration. */ + interface IConfiguration { + + /** Configuration heartbeat_interval */ + heartbeat_interval?: (number|null); + + /** Configuration replica_net_timeout */ + replica_net_timeout?: (number|null); + } + + /** Represents a Configuration. */ + class Configuration implements IConfiguration { + + /** + * Constructs a new Configuration. + * @param [properties] Properties to set + */ + constructor(properties?: replicationdata.IConfiguration); + + /** Configuration heartbeat_interval. */ + public heartbeat_interval: number; + + /** Configuration replica_net_timeout. */ + public replica_net_timeout: number; + + /** + * Creates a new Configuration instance using the specified properties. + * @param [properties] Properties to set + * @returns Configuration instance + */ + public static create(properties?: replicationdata.IConfiguration): replicationdata.Configuration; + + /** + * Encodes the specified Configuration message. Does not implicitly {@link replicationdata.Configuration.verify|verify} messages. + * @param message Configuration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: replicationdata.IConfiguration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Configuration message, length delimited. Does not implicitly {@link replicationdata.Configuration.verify|verify} messages. + * @param message Configuration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: replicationdata.IConfiguration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Configuration message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Configuration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.Configuration; + + /** + * Decodes a Configuration message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Configuration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.Configuration; + + /** + * Verifies a Configuration message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Configuration message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Configuration + */ + public static fromObject(object: { [k: string]: any }): replicationdata.Configuration; + + /** + * Creates a plain object from a Configuration message. Also converts values to other types if specified. + * @param message Configuration + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: replicationdata.Configuration, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Configuration to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Configuration + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StopReplicationStatus. */ + interface IStopReplicationStatus { + + /** StopReplicationStatus before */ + before?: (replicationdata.IStatus|null); + + /** StopReplicationStatus after */ + after?: (replicationdata.IStatus|null); + } + + /** Represents a StopReplicationStatus. */ + class StopReplicationStatus implements IStopReplicationStatus { + + /** + * Constructs a new StopReplicationStatus. + * @param [properties] Properties to set + */ + constructor(properties?: replicationdata.IStopReplicationStatus); + + /** StopReplicationStatus before. */ + public before?: (replicationdata.IStatus|null); + + /** StopReplicationStatus after. */ + public after?: (replicationdata.IStatus|null); + + /** + * Creates a new StopReplicationStatus instance using the specified properties. + * @param [properties] Properties to set + * @returns StopReplicationStatus instance + */ + public static create(properties?: replicationdata.IStopReplicationStatus): replicationdata.StopReplicationStatus; + + /** + * Encodes the specified StopReplicationStatus message. Does not implicitly {@link replicationdata.StopReplicationStatus.verify|verify} messages. + * @param message StopReplicationStatus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: replicationdata.IStopReplicationStatus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StopReplicationStatus message, length delimited. Does not implicitly {@link replicationdata.StopReplicationStatus.verify|verify} messages. + * @param message StopReplicationStatus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: replicationdata.IStopReplicationStatus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StopReplicationStatus message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StopReplicationStatus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.StopReplicationStatus; + + /** + * Decodes a StopReplicationStatus message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StopReplicationStatus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.StopReplicationStatus; + + /** + * Verifies a StopReplicationStatus message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StopReplicationStatus message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StopReplicationStatus + */ + public static fromObject(object: { [k: string]: any }): replicationdata.StopReplicationStatus; + + /** + * Creates a plain object from a StopReplicationStatus message. Also converts values to other types if specified. + * @param message StopReplicationStatus + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: replicationdata.StopReplicationStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StopReplicationStatus to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StopReplicationStatus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** StopReplicationMode enum. */ + enum StopReplicationMode { + IOANDSQLTHREAD = 0, + IOTHREADONLY = 1 + } + + /** Properties of a PrimaryStatus. */ + interface IPrimaryStatus { + + /** PrimaryStatus position */ + position?: (string|null); + + /** PrimaryStatus file_position */ + file_position?: (string|null); + } + + /** Represents a PrimaryStatus. */ + class PrimaryStatus implements IPrimaryStatus { + + /** + * Constructs a new PrimaryStatus. + * @param [properties] Properties to set + */ + constructor(properties?: replicationdata.IPrimaryStatus); + + /** PrimaryStatus position. */ + public position: string; + + /** PrimaryStatus file_position. */ + public file_position: string; + + /** + * Creates a new PrimaryStatus instance using the specified properties. + * @param [properties] Properties to set + * @returns PrimaryStatus instance + */ + public static create(properties?: replicationdata.IPrimaryStatus): replicationdata.PrimaryStatus; + + /** + * Encodes the specified PrimaryStatus message. Does not implicitly {@link replicationdata.PrimaryStatus.verify|verify} messages. + * @param message PrimaryStatus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: replicationdata.IPrimaryStatus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified PrimaryStatus message, length delimited. Does not implicitly {@link replicationdata.PrimaryStatus.verify|verify} messages. + * @param message PrimaryStatus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: replicationdata.IPrimaryStatus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PrimaryStatus message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PrimaryStatus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.PrimaryStatus; + + /** + * Decodes a PrimaryStatus message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns PrimaryStatus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.PrimaryStatus; + + /** + * Verifies a PrimaryStatus message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a PrimaryStatus message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns PrimaryStatus + */ + public static fromObject(object: { [k: string]: any }): replicationdata.PrimaryStatus; + + /** + * Creates a plain object from a PrimaryStatus message. Also converts values to other types if specified. + * @param message PrimaryStatus + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: replicationdata.PrimaryStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this PrimaryStatus to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PrimaryStatus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a FullStatus. */ + interface IFullStatus { + + /** FullStatus server_id */ + server_id?: (number|null); + + /** FullStatus server_uuid */ + server_uuid?: (string|null); + + /** FullStatus replication_status */ + replication_status?: (replicationdata.IStatus|null); + + /** FullStatus primary_status */ + primary_status?: (replicationdata.IPrimaryStatus|null); + + /** FullStatus gtid_purged */ + gtid_purged?: (string|null); + + /** FullStatus version */ + version?: (string|null); + + /** FullStatus version_comment */ + version_comment?: (string|null); + + /** FullStatus read_only */ + read_only?: (boolean|null); + + /** FullStatus gtid_mode */ + gtid_mode?: (string|null); + + /** FullStatus binlog_format */ + binlog_format?: (string|null); + + /** FullStatus binlog_row_image */ + binlog_row_image?: (string|null); + + /** FullStatus log_bin_enabled */ + log_bin_enabled?: (boolean|null); + + /** FullStatus log_replica_updates */ + log_replica_updates?: (boolean|null); + + /** FullStatus semi_sync_primary_enabled */ + semi_sync_primary_enabled?: (boolean|null); + + /** FullStatus semi_sync_replica_enabled */ + semi_sync_replica_enabled?: (boolean|null); + + /** FullStatus semi_sync_primary_status */ + semi_sync_primary_status?: (boolean|null); + + /** FullStatus semi_sync_replica_status */ + semi_sync_replica_status?: (boolean|null); + + /** FullStatus semi_sync_primary_clients */ + semi_sync_primary_clients?: (number|null); + + /** FullStatus semi_sync_primary_timeout */ + semi_sync_primary_timeout?: (number|Long|null); + + /** FullStatus semi_sync_wait_for_replica_count */ + semi_sync_wait_for_replica_count?: (number|null); + + /** FullStatus super_read_only */ + super_read_only?: (boolean|null); + + /** FullStatus replication_configuration */ + replication_configuration?: (replicationdata.IConfiguration|null); + } + + /** Represents a FullStatus. */ + class FullStatus implements IFullStatus { + + /** + * Constructs a new FullStatus. + * @param [properties] Properties to set + */ + constructor(properties?: replicationdata.IFullStatus); + + /** FullStatus server_id. */ + public server_id: number; + + /** FullStatus server_uuid. */ + public server_uuid: string; + + /** FullStatus replication_status. */ + public replication_status?: (replicationdata.IStatus|null); + + /** FullStatus primary_status. */ + public primary_status?: (replicationdata.IPrimaryStatus|null); + + /** FullStatus gtid_purged. */ + public gtid_purged: string; + + /** FullStatus version. */ + public version: string; + + /** FullStatus version_comment. */ + public version_comment: string; + + /** FullStatus read_only. */ + public read_only: boolean; + + /** FullStatus gtid_mode. */ + public gtid_mode: string; + + /** FullStatus binlog_format. */ + public binlog_format: string; + + /** FullStatus binlog_row_image. */ + public binlog_row_image: string; + + /** FullStatus log_bin_enabled. */ + public log_bin_enabled: boolean; + + /** FullStatus log_replica_updates. */ + public log_replica_updates: boolean; + + /** FullStatus semi_sync_primary_enabled. */ + public semi_sync_primary_enabled: boolean; + + /** FullStatus semi_sync_replica_enabled. */ + public semi_sync_replica_enabled: boolean; + + /** FullStatus semi_sync_primary_status. */ + public semi_sync_primary_status: boolean; + + /** FullStatus semi_sync_replica_status. */ + public semi_sync_replica_status: boolean; + + /** FullStatus semi_sync_primary_clients. */ + public semi_sync_primary_clients: number; + + /** FullStatus semi_sync_primary_timeout. */ + public semi_sync_primary_timeout: (number|Long); + + /** FullStatus semi_sync_wait_for_replica_count. */ + public semi_sync_wait_for_replica_count: number; + + /** FullStatus super_read_only. */ + public super_read_only: boolean; + + /** FullStatus replication_configuration. */ + public replication_configuration?: (replicationdata.IConfiguration|null); + + /** + * Creates a new FullStatus instance using the specified properties. + * @param [properties] Properties to set + * @returns FullStatus instance + */ + public static create(properties?: replicationdata.IFullStatus): replicationdata.FullStatus; + + /** + * Encodes the specified FullStatus message. Does not implicitly {@link replicationdata.FullStatus.verify|verify} messages. + * @param message FullStatus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: replicationdata.IFullStatus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified FullStatus message, length delimited. Does not implicitly {@link replicationdata.FullStatus.verify|verify} messages. + * @param message FullStatus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: replicationdata.IFullStatus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FullStatus message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FullStatus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.FullStatus; + + /** + * Decodes a FullStatus message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns FullStatus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.FullStatus; + + /** + * Verifies a FullStatus message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a FullStatus message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns FullStatus + */ + public static fromObject(object: { [k: string]: any }): replicationdata.FullStatus; + + /** + * Creates a plain object from a FullStatus message. Also converts values to other types if specified. + * @param message FullStatus + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: replicationdata.FullStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this FullStatus to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FullStatus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } +} + +/** Namespace vschema. */ +export namespace vschema { + + /** Properties of a RoutingRules. */ + interface IRoutingRules { + + /** RoutingRules rules */ + rules?: (vschema.IRoutingRule[]|null); + } + + /** Represents a RoutingRules. */ + class RoutingRules implements IRoutingRules { + + /** + * Constructs a new RoutingRules. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IRoutingRules); + + /** RoutingRules rules. */ + public rules: vschema.IRoutingRule[]; + + /** + * Creates a new RoutingRules instance using the specified properties. + * @param [properties] Properties to set + * @returns RoutingRules instance + */ + public static create(properties?: vschema.IRoutingRules): vschema.RoutingRules; + + /** + * Encodes the specified RoutingRules message. Does not implicitly {@link vschema.RoutingRules.verify|verify} messages. + * @param message RoutingRules message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RoutingRules message, length delimited. Does not implicitly {@link vschema.RoutingRules.verify|verify} messages. + * @param message RoutingRules message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RoutingRules message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RoutingRules + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.RoutingRules; + + /** + * Decodes a RoutingRules message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RoutingRules + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.RoutingRules; + + /** + * Verifies a RoutingRules message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RoutingRules message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RoutingRules + */ + public static fromObject(object: { [k: string]: any }): vschema.RoutingRules; + + /** + * Creates a plain object from a RoutingRules message. Also converts values to other types if specified. + * @param message RoutingRules + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.RoutingRules, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RoutingRules to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RoutingRules + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RoutingRule. */ + interface IRoutingRule { + + /** RoutingRule from_table */ + from_table?: (string|null); + + /** RoutingRule to_tables */ + to_tables?: (string[]|null); + } + + /** Represents a RoutingRule. */ + class RoutingRule implements IRoutingRule { + + /** + * Constructs a new RoutingRule. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IRoutingRule); + + /** RoutingRule from_table. */ + public from_table: string; + + /** RoutingRule to_tables. */ + public to_tables: string[]; + + /** + * Creates a new RoutingRule instance using the specified properties. + * @param [properties] Properties to set + * @returns RoutingRule instance + */ + public static create(properties?: vschema.IRoutingRule): vschema.RoutingRule; + + /** + * Encodes the specified RoutingRule message. Does not implicitly {@link vschema.RoutingRule.verify|verify} messages. + * @param message RoutingRule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RoutingRule message, length delimited. Does not implicitly {@link vschema.RoutingRule.verify|verify} messages. + * @param message RoutingRule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RoutingRule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RoutingRule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.RoutingRule; + + /** + * Decodes a RoutingRule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RoutingRule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.RoutingRule; + + /** + * Verifies a RoutingRule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RoutingRule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RoutingRule + */ + public static fromObject(object: { [k: string]: any }): vschema.RoutingRule; + + /** + * Creates a plain object from a RoutingRule message. Also converts values to other types if specified. + * @param message RoutingRule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.RoutingRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RoutingRule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RoutingRule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a Keyspace. */ + interface IKeyspace { + + /** Keyspace sharded */ + sharded?: (boolean|null); + + /** Keyspace vindexes */ + vindexes?: ({ [k: string]: vschema.IVindex }|null); + + /** Keyspace tables */ + tables?: ({ [k: string]: vschema.ITable }|null); + + /** Keyspace require_explicit_routing */ + require_explicit_routing?: (boolean|null); + + /** Keyspace foreign_key_mode */ + foreign_key_mode?: (vschema.Keyspace.ForeignKeyMode|null); + + /** Keyspace multi_tenant_spec */ + multi_tenant_spec?: (vschema.IMultiTenantSpec|null); + } + + /** Represents a Keyspace. */ + class Keyspace implements IKeyspace { + + /** + * Constructs a new Keyspace. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IKeyspace); + + /** Keyspace sharded. */ + public sharded: boolean; + + /** Keyspace vindexes. */ + public vindexes: { [k: string]: vschema.IVindex }; + + /** Keyspace tables. */ + public tables: { [k: string]: vschema.ITable }; + + /** Keyspace require_explicit_routing. */ + public require_explicit_routing: boolean; + + /** Keyspace foreign_key_mode. */ + public foreign_key_mode: vschema.Keyspace.ForeignKeyMode; + + /** Keyspace multi_tenant_spec. */ + public multi_tenant_spec?: (vschema.IMultiTenantSpec|null); + + /** + * Creates a new Keyspace instance using the specified properties. + * @param [properties] Properties to set + * @returns Keyspace instance + */ + public static create(properties?: vschema.IKeyspace): vschema.Keyspace; + + /** + * Encodes the specified Keyspace message. Does not implicitly {@link vschema.Keyspace.verify|verify} messages. + * @param message Keyspace message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Keyspace message, length delimited. Does not implicitly {@link vschema.Keyspace.verify|verify} messages. + * @param message Keyspace message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Keyspace message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Keyspace + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Keyspace; + + /** + * Decodes a Keyspace message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Keyspace + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Keyspace; + + /** + * Verifies a Keyspace message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Keyspace message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Keyspace + */ + public static fromObject(object: { [k: string]: any }): vschema.Keyspace; + + /** + * Creates a plain object from a Keyspace message. Also converts values to other types if specified. + * @param message Keyspace + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.Keyspace, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Keyspace to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Keyspace + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace Keyspace { + + /** ForeignKeyMode enum. */ + enum ForeignKeyMode { + unspecified = 0, + disallow = 1, + unmanaged = 2, + managed = 3 + } + } + + /** Properties of a MultiTenantSpec. */ + interface IMultiTenantSpec { + + /** MultiTenantSpec tenant_id_column_name */ + tenant_id_column_name?: (string|null); + + /** MultiTenantSpec tenant_id_column_type */ + tenant_id_column_type?: (query.Type|null); + } + + /** Represents a MultiTenantSpec. */ + class MultiTenantSpec implements IMultiTenantSpec { + + /** + * Constructs a new MultiTenantSpec. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IMultiTenantSpec); + + /** MultiTenantSpec tenant_id_column_name. */ + public tenant_id_column_name: string; + + /** MultiTenantSpec tenant_id_column_type. */ + public tenant_id_column_type: query.Type; + + /** + * Creates a new MultiTenantSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns MultiTenantSpec instance + */ + public static create(properties?: vschema.IMultiTenantSpec): vschema.MultiTenantSpec; + + /** + * Encodes the specified MultiTenantSpec message. Does not implicitly {@link vschema.MultiTenantSpec.verify|verify} messages. + * @param message MultiTenantSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IMultiTenantSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MultiTenantSpec message, length delimited. Does not implicitly {@link vschema.MultiTenantSpec.verify|verify} messages. + * @param message MultiTenantSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IMultiTenantSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MultiTenantSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MultiTenantSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.MultiTenantSpec; + + /** + * Decodes a MultiTenantSpec message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MultiTenantSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.MultiTenantSpec; + + /** + * Verifies a MultiTenantSpec message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MultiTenantSpec message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MultiTenantSpec + */ + public static fromObject(object: { [k: string]: any }): vschema.MultiTenantSpec; + + /** + * Creates a plain object from a MultiTenantSpec message. Also converts values to other types if specified. + * @param message MultiTenantSpec + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.MultiTenantSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MultiTenantSpec to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MultiTenantSpec + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a Vindex. */ + interface IVindex { + + /** Vindex type */ + type?: (string|null); + + /** Vindex params */ + params?: ({ [k: string]: string }|null); + + /** Vindex owner */ + owner?: (string|null); + } + + /** Represents a Vindex. */ + class Vindex implements IVindex { + + /** + * Constructs a new Vindex. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IVindex); + + /** Vindex type. */ + public type: string; + + /** Vindex params. */ + public params: { [k: string]: string }; + + /** Vindex owner. */ + public owner: string; + + /** + * Creates a new Vindex instance using the specified properties. + * @param [properties] Properties to set + * @returns Vindex instance + */ + public static create(properties?: vschema.IVindex): vschema.Vindex; + + /** + * Encodes the specified Vindex message. Does not implicitly {@link vschema.Vindex.verify|verify} messages. + * @param message Vindex message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IVindex, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Vindex message, length delimited. Does not implicitly {@link vschema.Vindex.verify|verify} messages. + * @param message Vindex message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IVindex, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Vindex message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Vindex + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Vindex; + + /** + * Decodes a Vindex message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Vindex + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Vindex; + + /** + * Verifies a Vindex message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Vindex message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Vindex + */ + public static fromObject(object: { [k: string]: any }): vschema.Vindex; + + /** + * Creates a plain object from a Vindex message. Also converts values to other types if specified. + * @param message Vindex + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.Vindex, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Vindex to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Vindex + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a Table. */ + interface ITable { + + /** Table type */ + type?: (string|null); + + /** Table column_vindexes */ + column_vindexes?: (vschema.IColumnVindex[]|null); + + /** Table auto_increment */ + auto_increment?: (vschema.IAutoIncrement|null); + + /** Table columns */ + columns?: (vschema.IColumn[]|null); + + /** Table pinned */ + pinned?: (string|null); + + /** Table column_list_authoritative */ + column_list_authoritative?: (boolean|null); + + /** Table source */ + source?: (string|null); + } + + /** Represents a Table. */ + class Table implements ITable { + + /** + * Constructs a new Table. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.ITable); + + /** Table type. */ + public type: string; + + /** Table column_vindexes. */ + public column_vindexes: vschema.IColumnVindex[]; + + /** Table auto_increment. */ + public auto_increment?: (vschema.IAutoIncrement|null); + + /** Table columns. */ + public columns: vschema.IColumn[]; + + /** Table pinned. */ + public pinned: string; + + /** Table column_list_authoritative. */ + public column_list_authoritative: boolean; + + /** Table source. */ + public source: string; + + /** + * Creates a new Table instance using the specified properties. + * @param [properties] Properties to set + * @returns Table instance + */ + public static create(properties?: vschema.ITable): vschema.Table; + + /** + * Encodes the specified Table message. Does not implicitly {@link vschema.Table.verify|verify} messages. + * @param message Table message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.ITable, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Table message, length delimited. Does not implicitly {@link vschema.Table.verify|verify} messages. + * @param message Table message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.ITable, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Table message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Table + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Table; + + /** + * Decodes a Table message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Table + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Table; + + /** + * Verifies a Table message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Table message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Table + */ + public static fromObject(object: { [k: string]: any }): vschema.Table; + + /** + * Creates a plain object from a Table message. Also converts values to other types if specified. + * @param message Table + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.Table, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Table to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Table + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ColumnVindex. */ + interface IColumnVindex { + + /** ColumnVindex column */ + column?: (string|null); + + /** ColumnVindex name */ + name?: (string|null); + + /** ColumnVindex columns */ + columns?: (string[]|null); + } + + /** Represents a ColumnVindex. */ + class ColumnVindex implements IColumnVindex { + + /** + * Constructs a new ColumnVindex. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IColumnVindex); + + /** ColumnVindex column. */ + public column: string; + + /** ColumnVindex name. */ + public name: string; + + /** ColumnVindex columns. */ + public columns: string[]; + + /** + * Creates a new ColumnVindex instance using the specified properties. + * @param [properties] Properties to set + * @returns ColumnVindex instance + */ + public static create(properties?: vschema.IColumnVindex): vschema.ColumnVindex; + + /** + * Encodes the specified ColumnVindex message. Does not implicitly {@link vschema.ColumnVindex.verify|verify} messages. + * @param message ColumnVindex message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IColumnVindex, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ColumnVindex message, length delimited. Does not implicitly {@link vschema.ColumnVindex.verify|verify} messages. + * @param message ColumnVindex message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IColumnVindex, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ColumnVindex message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ColumnVindex + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.ColumnVindex; + + /** + * Decodes a ColumnVindex message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ColumnVindex + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.ColumnVindex; + + /** + * Verifies a ColumnVindex message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ColumnVindex message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ColumnVindex + */ + public static fromObject(object: { [k: string]: any }): vschema.ColumnVindex; + + /** + * Creates a plain object from a ColumnVindex message. Also converts values to other types if specified. + * @param message ColumnVindex + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.ColumnVindex, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ColumnVindex to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ColumnVindex + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AutoIncrement. */ + interface IAutoIncrement { + + /** AutoIncrement column */ + column?: (string|null); + + /** AutoIncrement sequence */ + sequence?: (string|null); + } + + /** Represents an AutoIncrement. */ + class AutoIncrement implements IAutoIncrement { + + /** + * Constructs a new AutoIncrement. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IAutoIncrement); + + /** AutoIncrement column. */ + public column: string; + + /** AutoIncrement sequence. */ + public sequence: string; + + /** + * Creates a new AutoIncrement instance using the specified properties. + * @param [properties] Properties to set + * @returns AutoIncrement instance + */ + public static create(properties?: vschema.IAutoIncrement): vschema.AutoIncrement; + + /** + * Encodes the specified AutoIncrement message. Does not implicitly {@link vschema.AutoIncrement.verify|verify} messages. + * @param message AutoIncrement message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IAutoIncrement, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AutoIncrement message, length delimited. Does not implicitly {@link vschema.AutoIncrement.verify|verify} messages. + * @param message AutoIncrement message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IAutoIncrement, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AutoIncrement message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AutoIncrement + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.AutoIncrement; + + /** + * Decodes an AutoIncrement message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AutoIncrement + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.AutoIncrement; + + /** + * Verifies an AutoIncrement message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an AutoIncrement message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AutoIncrement + */ + public static fromObject(object: { [k: string]: any }): vschema.AutoIncrement; + + /** + * Creates a plain object from an AutoIncrement message. Also converts values to other types if specified. + * @param message AutoIncrement + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.AutoIncrement, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AutoIncrement to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AutoIncrement + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a Column. */ + interface IColumn { + + /** Column name */ + name?: (string|null); + + /** Column type */ + type?: (query.Type|null); + + /** Column invisible */ + invisible?: (boolean|null); + + /** Column default */ + "default"?: (string|null); + + /** Column collation_name */ + collation_name?: (string|null); + + /** Column size */ + size?: (number|null); + + /** Column scale */ + scale?: (number|null); + + /** Column nullable */ + nullable?: (boolean|null); + + /** Column values */ + values?: (string[]|null); + } + + /** Represents a Column. */ + class Column implements IColumn { + + /** + * Constructs a new Column. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IColumn); + + /** Column name. */ + public name: string; + + /** Column type. */ + public type: query.Type; + + /** Column invisible. */ + public invisible: boolean; + + /** Column default. */ + public default: string; + + /** Column collation_name. */ + public collation_name: string; + + /** Column size. */ + public size: number; + + /** Column scale. */ + public scale: number; + + /** Column nullable. */ + public nullable?: (boolean|null); + + /** Column values. */ + public values: string[]; + + /** Column _nullable. */ + public _nullable?: "nullable"; + + /** + * Creates a new Column instance using the specified properties. + * @param [properties] Properties to set + * @returns Column instance + */ + public static create(properties?: vschema.IColumn): vschema.Column; + + /** + * Encodes the specified Column message. Does not implicitly {@link vschema.Column.verify|verify} messages. + * @param message Column message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IColumn, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Column message, length delimited. Does not implicitly {@link vschema.Column.verify|verify} messages. + * @param message Column message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IColumn, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Column message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Column + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Column; + + /** + * Decodes a Column message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Column + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Column; + + /** + * Verifies a Column message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Column message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Column + */ + public static fromObject(object: { [k: string]: any }): vschema.Column; + + /** + * Creates a plain object from a Column message. Also converts values to other types if specified. + * @param message Column + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.Column, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Column to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Column + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SrvVSchema. */ + interface ISrvVSchema { + + /** SrvVSchema keyspaces */ + keyspaces?: ({ [k: string]: vschema.IKeyspace }|null); + + /** SrvVSchema routing_rules */ + routing_rules?: (vschema.IRoutingRules|null); + + /** SrvVSchema shard_routing_rules */ + shard_routing_rules?: (vschema.IShardRoutingRules|null); + + /** SrvVSchema keyspace_routing_rules */ + keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); + + /** SrvVSchema mirror_rules */ + mirror_rules?: (vschema.IMirrorRules|null); + } + + /** Represents a SrvVSchema. */ + class SrvVSchema implements ISrvVSchema { + + /** + * Constructs a new SrvVSchema. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.ISrvVSchema); + + /** SrvVSchema keyspaces. */ + public keyspaces: { [k: string]: vschema.IKeyspace }; + + /** SrvVSchema routing_rules. */ + public routing_rules?: (vschema.IRoutingRules|null); + + /** SrvVSchema shard_routing_rules. */ + public shard_routing_rules?: (vschema.IShardRoutingRules|null); + + /** SrvVSchema keyspace_routing_rules. */ + public keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); + + /** SrvVSchema mirror_rules. */ + public mirror_rules?: (vschema.IMirrorRules|null); + + /** + * Creates a new SrvVSchema instance using the specified properties. + * @param [properties] Properties to set + * @returns SrvVSchema instance + */ + public static create(properties?: vschema.ISrvVSchema): vschema.SrvVSchema; + + /** + * Encodes the specified SrvVSchema message. Does not implicitly {@link vschema.SrvVSchema.verify|verify} messages. + * @param message SrvVSchema message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.ISrvVSchema, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SrvVSchema message, length delimited. Does not implicitly {@link vschema.SrvVSchema.verify|verify} messages. + * @param message SrvVSchema message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.ISrvVSchema, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SrvVSchema message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SrvVSchema + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.SrvVSchema; + + /** + * Decodes a SrvVSchema message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SrvVSchema + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.SrvVSchema; + + /** + * Verifies a SrvVSchema message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SrvVSchema message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SrvVSchema + */ + public static fromObject(object: { [k: string]: any }): vschema.SrvVSchema; + + /** + * Creates a plain object from a SrvVSchema message. Also converts values to other types if specified. + * @param message SrvVSchema + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.SrvVSchema, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SrvVSchema to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SrvVSchema + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardRoutingRules. */ + interface IShardRoutingRules { + + /** ShardRoutingRules rules */ + rules?: (vschema.IShardRoutingRule[]|null); + } + + /** Represents a ShardRoutingRules. */ + class ShardRoutingRules implements IShardRoutingRules { + + /** + * Constructs a new ShardRoutingRules. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IShardRoutingRules); + + /** ShardRoutingRules rules. */ + public rules: vschema.IShardRoutingRule[]; + + /** + * Creates a new ShardRoutingRules instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardRoutingRules instance + */ + public static create(properties?: vschema.IShardRoutingRules): vschema.ShardRoutingRules; + + /** + * Encodes the specified ShardRoutingRules message. Does not implicitly {@link vschema.ShardRoutingRules.verify|verify} messages. + * @param message ShardRoutingRules message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IShardRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardRoutingRules message, length delimited. Does not implicitly {@link vschema.ShardRoutingRules.verify|verify} messages. + * @param message ShardRoutingRules message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IShardRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardRoutingRules message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardRoutingRules + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.ShardRoutingRules; + + /** + * Decodes a ShardRoutingRules message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardRoutingRules + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.ShardRoutingRules; + + /** + * Verifies a ShardRoutingRules message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardRoutingRules message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardRoutingRules + */ + public static fromObject(object: { [k: string]: any }): vschema.ShardRoutingRules; + + /** + * Creates a plain object from a ShardRoutingRules message. Also converts values to other types if specified. + * @param message ShardRoutingRules + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.ShardRoutingRules, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardRoutingRules to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardRoutingRules + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardRoutingRule. */ + interface IShardRoutingRule { + + /** ShardRoutingRule from_keyspace */ + from_keyspace?: (string|null); + + /** ShardRoutingRule to_keyspace */ + to_keyspace?: (string|null); + + /** ShardRoutingRule shard */ + shard?: (string|null); + } + + /** Represents a ShardRoutingRule. */ + class ShardRoutingRule implements IShardRoutingRule { + + /** + * Constructs a new ShardRoutingRule. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IShardRoutingRule); + + /** ShardRoutingRule from_keyspace. */ + public from_keyspace: string; + + /** ShardRoutingRule to_keyspace. */ + public to_keyspace: string; + + /** ShardRoutingRule shard. */ + public shard: string; + + /** + * Creates a new ShardRoutingRule instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardRoutingRule instance + */ + public static create(properties?: vschema.IShardRoutingRule): vschema.ShardRoutingRule; + + /** + * Encodes the specified ShardRoutingRule message. Does not implicitly {@link vschema.ShardRoutingRule.verify|verify} messages. + * @param message ShardRoutingRule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IShardRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardRoutingRule message, length delimited. Does not implicitly {@link vschema.ShardRoutingRule.verify|verify} messages. + * @param message ShardRoutingRule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IShardRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardRoutingRule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardRoutingRule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.ShardRoutingRule; + + /** + * Decodes a ShardRoutingRule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardRoutingRule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.ShardRoutingRule; + + /** + * Verifies a ShardRoutingRule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardRoutingRule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardRoutingRule + */ + public static fromObject(object: { [k: string]: any }): vschema.ShardRoutingRule; + + /** + * Creates a plain object from a ShardRoutingRule message. Also converts values to other types if specified. + * @param message ShardRoutingRule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.ShardRoutingRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardRoutingRule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardRoutingRule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a KeyspaceRoutingRules. */ + interface IKeyspaceRoutingRules { + + /** KeyspaceRoutingRules rules */ + rules?: (vschema.IKeyspaceRoutingRule[]|null); + } + + /** Represents a KeyspaceRoutingRules. */ + class KeyspaceRoutingRules implements IKeyspaceRoutingRules { + + /** + * Constructs a new KeyspaceRoutingRules. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IKeyspaceRoutingRules); + + /** KeyspaceRoutingRules rules. */ + public rules: vschema.IKeyspaceRoutingRule[]; + + /** + * Creates a new KeyspaceRoutingRules instance using the specified properties. + * @param [properties] Properties to set + * @returns KeyspaceRoutingRules instance + */ + public static create(properties?: vschema.IKeyspaceRoutingRules): vschema.KeyspaceRoutingRules; + + /** + * Encodes the specified KeyspaceRoutingRules message. Does not implicitly {@link vschema.KeyspaceRoutingRules.verify|verify} messages. + * @param message KeyspaceRoutingRules message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IKeyspaceRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified KeyspaceRoutingRules message, length delimited. Does not implicitly {@link vschema.KeyspaceRoutingRules.verify|verify} messages. + * @param message KeyspaceRoutingRules message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IKeyspaceRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a KeyspaceRoutingRules message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns KeyspaceRoutingRules + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.KeyspaceRoutingRules; + + /** + * Decodes a KeyspaceRoutingRules message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns KeyspaceRoutingRules + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.KeyspaceRoutingRules; + + /** + * Verifies a KeyspaceRoutingRules message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a KeyspaceRoutingRules message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns KeyspaceRoutingRules + */ + public static fromObject(object: { [k: string]: any }): vschema.KeyspaceRoutingRules; + + /** + * Creates a plain object from a KeyspaceRoutingRules message. Also converts values to other types if specified. + * @param message KeyspaceRoutingRules + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.KeyspaceRoutingRules, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this KeyspaceRoutingRules to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for KeyspaceRoutingRules + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a KeyspaceRoutingRule. */ + interface IKeyspaceRoutingRule { + + /** KeyspaceRoutingRule from_keyspace */ + from_keyspace?: (string|null); + + /** KeyspaceRoutingRule to_keyspace */ + to_keyspace?: (string|null); + } + + /** Represents a KeyspaceRoutingRule. */ + class KeyspaceRoutingRule implements IKeyspaceRoutingRule { + + /** + * Constructs a new KeyspaceRoutingRule. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IKeyspaceRoutingRule); + + /** KeyspaceRoutingRule from_keyspace. */ + public from_keyspace: string; + + /** KeyspaceRoutingRule to_keyspace. */ + public to_keyspace: string; + + /** + * Creates a new KeyspaceRoutingRule instance using the specified properties. + * @param [properties] Properties to set + * @returns KeyspaceRoutingRule instance + */ + public static create(properties?: vschema.IKeyspaceRoutingRule): vschema.KeyspaceRoutingRule; + + /** + * Encodes the specified KeyspaceRoutingRule message. Does not implicitly {@link vschema.KeyspaceRoutingRule.verify|verify} messages. + * @param message KeyspaceRoutingRule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IKeyspaceRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified KeyspaceRoutingRule message, length delimited. Does not implicitly {@link vschema.KeyspaceRoutingRule.verify|verify} messages. + * @param message KeyspaceRoutingRule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IKeyspaceRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a KeyspaceRoutingRule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns KeyspaceRoutingRule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.KeyspaceRoutingRule; + + /** + * Decodes a KeyspaceRoutingRule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns KeyspaceRoutingRule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.KeyspaceRoutingRule; + + /** + * Verifies a KeyspaceRoutingRule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a KeyspaceRoutingRule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns KeyspaceRoutingRule + */ + public static fromObject(object: { [k: string]: any }): vschema.KeyspaceRoutingRule; + + /** + * Creates a plain object from a KeyspaceRoutingRule message. Also converts values to other types if specified. + * @param message KeyspaceRoutingRule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.KeyspaceRoutingRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this KeyspaceRoutingRule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for KeyspaceRoutingRule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MirrorRules. */ + interface IMirrorRules { + + /** MirrorRules rules */ + rules?: (vschema.IMirrorRule[]|null); + } + + /** Represents a MirrorRules. */ + class MirrorRules implements IMirrorRules { + + /** + * Constructs a new MirrorRules. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IMirrorRules); + + /** MirrorRules rules. */ + public rules: vschema.IMirrorRule[]; + + /** + * Creates a new MirrorRules instance using the specified properties. + * @param [properties] Properties to set + * @returns MirrorRules instance + */ + public static create(properties?: vschema.IMirrorRules): vschema.MirrorRules; + + /** + * Encodes the specified MirrorRules message. Does not implicitly {@link vschema.MirrorRules.verify|verify} messages. + * @param message MirrorRules message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IMirrorRules, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MirrorRules message, length delimited. Does not implicitly {@link vschema.MirrorRules.verify|verify} messages. + * @param message MirrorRules message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IMirrorRules, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MirrorRules message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MirrorRules + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.MirrorRules; + + /** + * Decodes a MirrorRules message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MirrorRules + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.MirrorRules; + + /** + * Verifies a MirrorRules message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MirrorRules message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MirrorRules + */ + public static fromObject(object: { [k: string]: any }): vschema.MirrorRules; + + /** + * Creates a plain object from a MirrorRules message. Also converts values to other types if specified. + * @param message MirrorRules + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.MirrorRules, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MirrorRules to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MirrorRules + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MirrorRule. */ + interface IMirrorRule { + + /** MirrorRule from_table */ + from_table?: (string|null); + + /** MirrorRule to_table */ + to_table?: (string|null); + + /** MirrorRule percent */ + percent?: (number|null); + } + + /** Represents a MirrorRule. */ + class MirrorRule implements IMirrorRule { + + /** + * Constructs a new MirrorRule. + * @param [properties] Properties to set + */ + constructor(properties?: vschema.IMirrorRule); + + /** MirrorRule from_table. */ + public from_table: string; + + /** MirrorRule to_table. */ + public to_table: string; + + /** MirrorRule percent. */ + public percent: number; + + /** + * Creates a new MirrorRule instance using the specified properties. + * @param [properties] Properties to set + * @returns MirrorRule instance + */ + public static create(properties?: vschema.IMirrorRule): vschema.MirrorRule; + + /** + * Encodes the specified MirrorRule message. Does not implicitly {@link vschema.MirrorRule.verify|verify} messages. + * @param message MirrorRule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vschema.IMirrorRule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MirrorRule message, length delimited. Does not implicitly {@link vschema.MirrorRule.verify|verify} messages. + * @param message MirrorRule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vschema.IMirrorRule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MirrorRule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MirrorRule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.MirrorRule; + + /** + * Decodes a MirrorRule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MirrorRule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.MirrorRule; + + /** + * Verifies a MirrorRule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MirrorRule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MirrorRule + */ + public static fromObject(object: { [k: string]: any }): vschema.MirrorRule; + + /** + * Creates a plain object from a MirrorRule message. Also converts values to other types if specified. + * @param message MirrorRule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vschema.MirrorRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MirrorRule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MirrorRule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } +} + +/** Namespace vtctldata. */ +export namespace vtctldata { + + /** Properties of an ExecuteVtctlCommandRequest. */ + interface IExecuteVtctlCommandRequest { + + /** ExecuteVtctlCommandRequest args */ + args?: (string[]|null); + + /** ExecuteVtctlCommandRequest action_timeout */ + action_timeout?: (number|Long|null); + } + + /** Represents an ExecuteVtctlCommandRequest. */ + class ExecuteVtctlCommandRequest implements IExecuteVtctlCommandRequest { + + /** + * Constructs a new ExecuteVtctlCommandRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IExecuteVtctlCommandRequest); + + /** ExecuteVtctlCommandRequest args. */ + public args: string[]; + + /** ExecuteVtctlCommandRequest action_timeout. */ + public action_timeout: (number|Long); + + /** + * Creates a new ExecuteVtctlCommandRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteVtctlCommandRequest instance + */ + public static create(properties?: vtctldata.IExecuteVtctlCommandRequest): vtctldata.ExecuteVtctlCommandRequest; + + /** + * Encodes the specified ExecuteVtctlCommandRequest message. Does not implicitly {@link vtctldata.ExecuteVtctlCommandRequest.verify|verify} messages. + * @param message ExecuteVtctlCommandRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IExecuteVtctlCommandRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteVtctlCommandRequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteVtctlCommandRequest.verify|verify} messages. + * @param message ExecuteVtctlCommandRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IExecuteVtctlCommandRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteVtctlCommandRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteVtctlCommandRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteVtctlCommandRequest; + + /** + * Decodes an ExecuteVtctlCommandRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteVtctlCommandRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteVtctlCommandRequest; + + /** + * Verifies an ExecuteVtctlCommandRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteVtctlCommandRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteVtctlCommandRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteVtctlCommandRequest; + + /** + * Creates a plain object from an ExecuteVtctlCommandRequest message. Also converts values to other types if specified. + * @param message ExecuteVtctlCommandRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ExecuteVtctlCommandRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteVtctlCommandRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteVtctlCommandRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ExecuteVtctlCommandResponse. */ + interface IExecuteVtctlCommandResponse { + + /** ExecuteVtctlCommandResponse event */ + event?: (logutil.IEvent|null); + } + + /** Represents an ExecuteVtctlCommandResponse. */ + class ExecuteVtctlCommandResponse implements IExecuteVtctlCommandResponse { + + /** + * Constructs a new ExecuteVtctlCommandResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IExecuteVtctlCommandResponse); + + /** ExecuteVtctlCommandResponse event. */ + public event?: (logutil.IEvent|null); + + /** + * Creates a new ExecuteVtctlCommandResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteVtctlCommandResponse instance + */ + public static create(properties?: vtctldata.IExecuteVtctlCommandResponse): vtctldata.ExecuteVtctlCommandResponse; + + /** + * Encodes the specified ExecuteVtctlCommandResponse message. Does not implicitly {@link vtctldata.ExecuteVtctlCommandResponse.verify|verify} messages. + * @param message ExecuteVtctlCommandResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IExecuteVtctlCommandResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteVtctlCommandResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteVtctlCommandResponse.verify|verify} messages. + * @param message ExecuteVtctlCommandResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IExecuteVtctlCommandResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteVtctlCommandResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteVtctlCommandResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteVtctlCommandResponse; + + /** + * Decodes an ExecuteVtctlCommandResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteVtctlCommandResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteVtctlCommandResponse; + + /** + * Verifies an ExecuteVtctlCommandResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteVtctlCommandResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteVtctlCommandResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteVtctlCommandResponse; + + /** + * Creates a plain object from an ExecuteVtctlCommandResponse message. Also converts values to other types if specified. + * @param message ExecuteVtctlCommandResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ExecuteVtctlCommandResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteVtctlCommandResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteVtctlCommandResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** MaterializationIntent enum. */ + enum MaterializationIntent { + CUSTOM = 0, + MOVETABLES = 1, + CREATELOOKUPINDEX = 2 + } + + /** Properties of a TableMaterializeSettings. */ + interface ITableMaterializeSettings { + + /** TableMaterializeSettings target_table */ + target_table?: (string|null); + + /** TableMaterializeSettings source_expression */ + source_expression?: (string|null); + + /** TableMaterializeSettings create_ddl */ + create_ddl?: (string|null); + } + + /** Represents a TableMaterializeSettings. */ + class TableMaterializeSettings implements ITableMaterializeSettings { + + /** + * Constructs a new TableMaterializeSettings. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ITableMaterializeSettings); + + /** TableMaterializeSettings target_table. */ + public target_table: string; + + /** TableMaterializeSettings source_expression. */ + public source_expression: string; + + /** TableMaterializeSettings create_ddl. */ + public create_ddl: string; + + /** + * Creates a new TableMaterializeSettings instance using the specified properties. + * @param [properties] Properties to set + * @returns TableMaterializeSettings instance + */ + public static create(properties?: vtctldata.ITableMaterializeSettings): vtctldata.TableMaterializeSettings; + + /** + * Encodes the specified TableMaterializeSettings message. Does not implicitly {@link vtctldata.TableMaterializeSettings.verify|verify} messages. + * @param message TableMaterializeSettings message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ITableMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified TableMaterializeSettings message, length delimited. Does not implicitly {@link vtctldata.TableMaterializeSettings.verify|verify} messages. + * @param message TableMaterializeSettings message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ITableMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TableMaterializeSettings message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TableMaterializeSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TableMaterializeSettings; + + /** + * Decodes a TableMaterializeSettings message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns TableMaterializeSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TableMaterializeSettings; + + /** + * Verifies a TableMaterializeSettings message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a TableMaterializeSettings message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns TableMaterializeSettings + */ + public static fromObject(object: { [k: string]: any }): vtctldata.TableMaterializeSettings; + + /** + * Creates a plain object from a TableMaterializeSettings message. Also converts values to other types if specified. + * @param message TableMaterializeSettings + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.TableMaterializeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this TableMaterializeSettings to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TableMaterializeSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MaterializeSettings. */ + interface IMaterializeSettings { + + /** MaterializeSettings workflow */ + workflow?: (string|null); + + /** MaterializeSettings source_keyspace */ + source_keyspace?: (string|null); + + /** MaterializeSettings target_keyspace */ + target_keyspace?: (string|null); + + /** MaterializeSettings stop_after_copy */ + stop_after_copy?: (boolean|null); + + /** MaterializeSettings table_settings */ + table_settings?: (vtctldata.ITableMaterializeSettings[]|null); + + /** MaterializeSettings cell */ + cell?: (string|null); + + /** MaterializeSettings tablet_types */ + tablet_types?: (string|null); + + /** MaterializeSettings external_cluster */ + external_cluster?: (string|null); + + /** MaterializeSettings materialization_intent */ + materialization_intent?: (vtctldata.MaterializationIntent|null); + + /** MaterializeSettings source_time_zone */ + source_time_zone?: (string|null); + + /** MaterializeSettings target_time_zone */ + target_time_zone?: (string|null); + + /** MaterializeSettings source_shards */ + source_shards?: (string[]|null); + + /** MaterializeSettings on_ddl */ + on_ddl?: (string|null); + + /** MaterializeSettings defer_secondary_keys */ + defer_secondary_keys?: (boolean|null); + + /** MaterializeSettings tablet_selection_preference */ + tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); + + /** MaterializeSettings atomic_copy */ + atomic_copy?: (boolean|null); + + /** MaterializeSettings workflow_options */ + workflow_options?: (vtctldata.IWorkflowOptions|null); + + /** MaterializeSettings reference_tables */ + reference_tables?: (string[]|null); + } + + /** Represents a MaterializeSettings. */ + class MaterializeSettings implements IMaterializeSettings { + + /** + * Constructs a new MaterializeSettings. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMaterializeSettings); + + /** MaterializeSettings workflow. */ + public workflow: string; + + /** MaterializeSettings source_keyspace. */ + public source_keyspace: string; + + /** MaterializeSettings target_keyspace. */ + public target_keyspace: string; + + /** MaterializeSettings stop_after_copy. */ + public stop_after_copy: boolean; + + /** MaterializeSettings table_settings. */ + public table_settings: vtctldata.ITableMaterializeSettings[]; + + /** MaterializeSettings cell. */ + public cell: string; + + /** MaterializeSettings tablet_types. */ + public tablet_types: string; + + /** MaterializeSettings external_cluster. */ + public external_cluster: string; + + /** MaterializeSettings materialization_intent. */ + public materialization_intent: vtctldata.MaterializationIntent; + + /** MaterializeSettings source_time_zone. */ + public source_time_zone: string; + + /** MaterializeSettings target_time_zone. */ + public target_time_zone: string; + + /** MaterializeSettings source_shards. */ + public source_shards: string[]; + + /** MaterializeSettings on_ddl. */ + public on_ddl: string; + + /** MaterializeSettings defer_secondary_keys. */ + public defer_secondary_keys: boolean; + + /** MaterializeSettings tablet_selection_preference. */ + public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; + + /** MaterializeSettings atomic_copy. */ + public atomic_copy: boolean; + + /** MaterializeSettings workflow_options. */ + public workflow_options?: (vtctldata.IWorkflowOptions|null); + + /** MaterializeSettings reference_tables. */ + public reference_tables: string[]; + + /** + * Creates a new MaterializeSettings instance using the specified properties. + * @param [properties] Properties to set + * @returns MaterializeSettings instance + */ + public static create(properties?: vtctldata.IMaterializeSettings): vtctldata.MaterializeSettings; + + /** + * Encodes the specified MaterializeSettings message. Does not implicitly {@link vtctldata.MaterializeSettings.verify|verify} messages. + * @param message MaterializeSettings message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MaterializeSettings message, length delimited. Does not implicitly {@link vtctldata.MaterializeSettings.verify|verify} messages. + * @param message MaterializeSettings message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MaterializeSettings message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MaterializeSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MaterializeSettings; + + /** + * Decodes a MaterializeSettings message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MaterializeSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MaterializeSettings; + + /** + * Verifies a MaterializeSettings message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MaterializeSettings message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MaterializeSettings + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MaterializeSettings; + + /** + * Creates a plain object from a MaterializeSettings message. Also converts values to other types if specified. + * @param message MaterializeSettings + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MaterializeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MaterializeSettings to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MaterializeSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a Keyspace. */ + interface IKeyspace { + + /** Keyspace name */ + name?: (string|null); + + /** Keyspace keyspace */ + keyspace?: (topodata.IKeyspace|null); + } + + /** Represents a Keyspace. */ + class Keyspace implements IKeyspace { + + /** + * Constructs a new Keyspace. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IKeyspace); + + /** Keyspace name. */ + public name: string; + + /** Keyspace keyspace. */ + public keyspace?: (topodata.IKeyspace|null); + + /** + * Creates a new Keyspace instance using the specified properties. + * @param [properties] Properties to set + * @returns Keyspace instance + */ + public static create(properties?: vtctldata.IKeyspace): vtctldata.Keyspace; + + /** + * Encodes the specified Keyspace message. Does not implicitly {@link vtctldata.Keyspace.verify|verify} messages. + * @param message Keyspace message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Keyspace message, length delimited. Does not implicitly {@link vtctldata.Keyspace.verify|verify} messages. + * @param message Keyspace message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Keyspace message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Keyspace + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Keyspace; + + /** + * Decodes a Keyspace message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Keyspace + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Keyspace; + + /** + * Verifies a Keyspace message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Keyspace message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Keyspace + */ + public static fromObject(object: { [k: string]: any }): vtctldata.Keyspace; + + /** + * Creates a plain object from a Keyspace message. Also converts values to other types if specified. + * @param message Keyspace + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.Keyspace, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Keyspace to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Keyspace + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** QueryOrdering enum. */ + enum QueryOrdering { + NONE = 0, + ASCENDING = 1, + DESCENDING = 2 + } + + /** Properties of a SchemaMigration. */ + interface ISchemaMigration { + + /** SchemaMigration uuid */ + uuid?: (string|null); + + /** SchemaMigration keyspace */ + keyspace?: (string|null); + + /** SchemaMigration shard */ + shard?: (string|null); + + /** SchemaMigration schema */ + schema?: (string|null); + + /** SchemaMigration table */ + table?: (string|null); + + /** SchemaMigration migration_statement */ + migration_statement?: (string|null); + + /** SchemaMigration strategy */ + strategy?: (vtctldata.SchemaMigration.Strategy|null); + + /** SchemaMigration options */ + options?: (string|null); + + /** SchemaMigration added_at */ + added_at?: (vttime.ITime|null); + + /** SchemaMigration requested_at */ + requested_at?: (vttime.ITime|null); + + /** SchemaMigration ready_at */ + ready_at?: (vttime.ITime|null); + + /** SchemaMigration started_at */ + started_at?: (vttime.ITime|null); + + /** SchemaMigration liveness_timestamp */ + liveness_timestamp?: (vttime.ITime|null); + + /** SchemaMigration completed_at */ + completed_at?: (vttime.ITime|null); + + /** SchemaMigration cleaned_up_at */ + cleaned_up_at?: (vttime.ITime|null); + + /** SchemaMigration status */ + status?: (vtctldata.SchemaMigration.Status|null); + + /** SchemaMigration log_path */ + log_path?: (string|null); + + /** SchemaMigration artifacts */ + artifacts?: (string|null); + + /** SchemaMigration retries */ + retries?: (number|Long|null); + + /** SchemaMigration tablet */ + tablet?: (topodata.ITabletAlias|null); + + /** SchemaMigration tablet_failure */ + tablet_failure?: (boolean|null); + + /** SchemaMigration progress */ + progress?: (number|null); + + /** SchemaMigration migration_context */ + migration_context?: (string|null); + + /** SchemaMigration ddl_action */ + ddl_action?: (string|null); + + /** SchemaMigration message */ + message?: (string|null); + + /** SchemaMigration eta_seconds */ + eta_seconds?: (number|Long|null); + + /** SchemaMigration rows_copied */ + rows_copied?: (number|Long|null); + + /** SchemaMigration table_rows */ + table_rows?: (number|Long|null); + + /** SchemaMigration added_unique_keys */ + added_unique_keys?: (number|null); + + /** SchemaMigration removed_unique_keys */ + removed_unique_keys?: (number|null); + + /** SchemaMigration log_file */ + log_file?: (string|null); + + /** SchemaMigration artifact_retention */ + artifact_retention?: (vttime.IDuration|null); + + /** SchemaMigration postpone_completion */ + postpone_completion?: (boolean|null); + + /** SchemaMigration removed_unique_key_names */ + removed_unique_key_names?: (string|null); + + /** SchemaMigration dropped_no_default_column_names */ + dropped_no_default_column_names?: (string|null); + + /** SchemaMigration expanded_column_names */ + expanded_column_names?: (string|null); + + /** SchemaMigration revertible_notes */ + revertible_notes?: (string|null); + + /** SchemaMigration allow_concurrent */ + allow_concurrent?: (boolean|null); + + /** SchemaMigration reverted_uuid */ + reverted_uuid?: (string|null); + + /** SchemaMigration is_view */ + is_view?: (boolean|null); + + /** SchemaMigration ready_to_complete */ + ready_to_complete?: (boolean|null); + + /** SchemaMigration vitess_liveness_indicator */ + vitess_liveness_indicator?: (number|Long|null); + + /** SchemaMigration user_throttle_ratio */ + user_throttle_ratio?: (number|null); + + /** SchemaMigration special_plan */ + special_plan?: (string|null); + + /** SchemaMigration last_throttled_at */ + last_throttled_at?: (vttime.ITime|null); + + /** SchemaMigration component_throttled */ + component_throttled?: (string|null); + + /** SchemaMigration cancelled_at */ + cancelled_at?: (vttime.ITime|null); + + /** SchemaMigration postpone_launch */ + postpone_launch?: (boolean|null); + + /** SchemaMigration stage */ + stage?: (string|null); + + /** SchemaMigration cutover_attempts */ + cutover_attempts?: (number|null); + + /** SchemaMigration is_immediate_operation */ + is_immediate_operation?: (boolean|null); + + /** SchemaMigration reviewed_at */ + reviewed_at?: (vttime.ITime|null); + + /** SchemaMigration ready_to_complete_at */ + ready_to_complete_at?: (vttime.ITime|null); + + /** SchemaMigration removed_foreign_key_names */ + removed_foreign_key_names?: (string|null); + } + + /** Represents a SchemaMigration. */ + class SchemaMigration implements ISchemaMigration { + + /** + * Constructs a new SchemaMigration. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISchemaMigration); + + /** SchemaMigration uuid. */ + public uuid: string; + + /** SchemaMigration keyspace. */ + public keyspace: string; + + /** SchemaMigration shard. */ + public shard: string; + + /** SchemaMigration schema. */ + public schema: string; + + /** SchemaMigration table. */ + public table: string; + + /** SchemaMigration migration_statement. */ + public migration_statement: string; + + /** SchemaMigration strategy. */ + public strategy: vtctldata.SchemaMigration.Strategy; + + /** SchemaMigration options. */ + public options: string; + + /** SchemaMigration added_at. */ + public added_at?: (vttime.ITime|null); + + /** SchemaMigration requested_at. */ + public requested_at?: (vttime.ITime|null); + + /** SchemaMigration ready_at. */ + public ready_at?: (vttime.ITime|null); + + /** SchemaMigration started_at. */ + public started_at?: (vttime.ITime|null); + + /** SchemaMigration liveness_timestamp. */ + public liveness_timestamp?: (vttime.ITime|null); + + /** SchemaMigration completed_at. */ + public completed_at?: (vttime.ITime|null); + + /** SchemaMigration cleaned_up_at. */ + public cleaned_up_at?: (vttime.ITime|null); + + /** SchemaMigration status. */ + public status: vtctldata.SchemaMigration.Status; + + /** SchemaMigration log_path. */ + public log_path: string; + + /** SchemaMigration artifacts. */ + public artifacts: string; + + /** SchemaMigration retries. */ + public retries: (number|Long); + + /** SchemaMigration tablet. */ + public tablet?: (topodata.ITabletAlias|null); + + /** SchemaMigration tablet_failure. */ + public tablet_failure: boolean; + + /** SchemaMigration progress. */ + public progress: number; + + /** SchemaMigration migration_context. */ + public migration_context: string; + + /** SchemaMigration ddl_action. */ + public ddl_action: string; + + /** SchemaMigration message. */ + public message: string; + + /** SchemaMigration eta_seconds. */ + public eta_seconds: (number|Long); + + /** SchemaMigration rows_copied. */ + public rows_copied: (number|Long); + + /** SchemaMigration table_rows. */ + public table_rows: (number|Long); + + /** SchemaMigration added_unique_keys. */ + public added_unique_keys: number; + + /** SchemaMigration removed_unique_keys. */ + public removed_unique_keys: number; + + /** SchemaMigration log_file. */ + public log_file: string; + + /** SchemaMigration artifact_retention. */ + public artifact_retention?: (vttime.IDuration|null); + + /** SchemaMigration postpone_completion. */ + public postpone_completion: boolean; + + /** SchemaMigration removed_unique_key_names. */ + public removed_unique_key_names: string; + + /** SchemaMigration dropped_no_default_column_names. */ + public dropped_no_default_column_names: string; + + /** SchemaMigration expanded_column_names. */ + public expanded_column_names: string; + + /** SchemaMigration revertible_notes. */ + public revertible_notes: string; + + /** SchemaMigration allow_concurrent. */ + public allow_concurrent: boolean; + + /** SchemaMigration reverted_uuid. */ + public reverted_uuid: string; + + /** SchemaMigration is_view. */ + public is_view: boolean; + + /** SchemaMigration ready_to_complete. */ + public ready_to_complete: boolean; + + /** SchemaMigration vitess_liveness_indicator. */ + public vitess_liveness_indicator: (number|Long); + + /** SchemaMigration user_throttle_ratio. */ + public user_throttle_ratio: number; + + /** SchemaMigration special_plan. */ + public special_plan: string; + + /** SchemaMigration last_throttled_at. */ + public last_throttled_at?: (vttime.ITime|null); + + /** SchemaMigration component_throttled. */ + public component_throttled: string; + + /** SchemaMigration cancelled_at. */ + public cancelled_at?: (vttime.ITime|null); + + /** SchemaMigration postpone_launch. */ + public postpone_launch: boolean; + + /** SchemaMigration stage. */ + public stage: string; + + /** SchemaMigration cutover_attempts. */ + public cutover_attempts: number; + + /** SchemaMigration is_immediate_operation. */ + public is_immediate_operation: boolean; + + /** SchemaMigration reviewed_at. */ + public reviewed_at?: (vttime.ITime|null); + + /** SchemaMigration ready_to_complete_at. */ + public ready_to_complete_at?: (vttime.ITime|null); + + /** SchemaMigration removed_foreign_key_names. */ + public removed_foreign_key_names: string; + + /** + * Creates a new SchemaMigration instance using the specified properties. + * @param [properties] Properties to set + * @returns SchemaMigration instance + */ + public static create(properties?: vtctldata.ISchemaMigration): vtctldata.SchemaMigration; + + /** + * Encodes the specified SchemaMigration message. Does not implicitly {@link vtctldata.SchemaMigration.verify|verify} messages. + * @param message SchemaMigration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISchemaMigration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SchemaMigration message, length delimited. Does not implicitly {@link vtctldata.SchemaMigration.verify|verify} messages. + * @param message SchemaMigration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISchemaMigration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SchemaMigration message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SchemaMigration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SchemaMigration; + + /** + * Decodes a SchemaMigration message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SchemaMigration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SchemaMigration; + + /** + * Verifies a SchemaMigration message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SchemaMigration message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SchemaMigration + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SchemaMigration; + + /** + * Creates a plain object from a SchemaMigration message. Also converts values to other types if specified. + * @param message SchemaMigration + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SchemaMigration, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SchemaMigration to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SchemaMigration + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace SchemaMigration { + + /** Strategy enum. */ + enum Strategy { + VITESS = 0, + ONLINE = 0, + GHOST = 1, + PTOSC = 2, + DIRECT = 3, + MYSQL = 4 + } + + /** Status enum. */ + enum Status { + UNKNOWN = 0, + REQUESTED = 1, + CANCELLED = 2, + QUEUED = 3, + READY = 4, + RUNNING = 5, + COMPLETE = 6, + FAILED = 7 + } + } + + /** Properties of a Shard. */ + interface IShard { + + /** Shard keyspace */ + keyspace?: (string|null); + + /** Shard name */ + name?: (string|null); + + /** Shard shard */ + shard?: (topodata.IShard|null); + } + + /** Represents a Shard. */ + class Shard implements IShard { + + /** + * Constructs a new Shard. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IShard); + + /** Shard keyspace. */ + public keyspace: string; + + /** Shard name. */ + public name: string; + + /** Shard shard. */ + public shard?: (topodata.IShard|null); + + /** + * Creates a new Shard instance using the specified properties. + * @param [properties] Properties to set + * @returns Shard instance + */ + public static create(properties?: vtctldata.IShard): vtctldata.Shard; + + /** + * Encodes the specified Shard message. Does not implicitly {@link vtctldata.Shard.verify|verify} messages. + * @param message Shard message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IShard, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Shard message, length delimited. Does not implicitly {@link vtctldata.Shard.verify|verify} messages. + * @param message Shard message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IShard, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Shard message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Shard + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Shard; + + /** + * Decodes a Shard message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Shard + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Shard; + + /** + * Verifies a Shard message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Shard message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Shard + */ + public static fromObject(object: { [k: string]: any }): vtctldata.Shard; + + /** + * Creates a plain object from a Shard message. Also converts values to other types if specified. + * @param message Shard + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.Shard, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Shard to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Shard + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a WorkflowOptions. */ + interface IWorkflowOptions { + + /** WorkflowOptions tenant_id */ + tenant_id?: (string|null); + + /** WorkflowOptions strip_sharded_auto_increment */ + strip_sharded_auto_increment?: (boolean|null); + + /** WorkflowOptions shards */ + shards?: (string[]|null); + + /** WorkflowOptions config */ + config?: ({ [k: string]: string }|null); + } + + /** Represents a WorkflowOptions. */ + class WorkflowOptions implements IWorkflowOptions { + + /** + * Constructs a new WorkflowOptions. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflowOptions); + + /** WorkflowOptions tenant_id. */ + public tenant_id: string; + + /** WorkflowOptions strip_sharded_auto_increment. */ + public strip_sharded_auto_increment: boolean; + + /** WorkflowOptions shards. */ + public shards: string[]; + + /** WorkflowOptions config. */ + public config: { [k: string]: string }; + + /** + * Creates a new WorkflowOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowOptions instance + */ + public static create(properties?: vtctldata.IWorkflowOptions): vtctldata.WorkflowOptions; + + /** + * Encodes the specified WorkflowOptions message. Does not implicitly {@link vtctldata.WorkflowOptions.verify|verify} messages. + * @param message WorkflowOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflowOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WorkflowOptions message, length delimited. Does not implicitly {@link vtctldata.WorkflowOptions.verify|verify} messages. + * @param message WorkflowOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflowOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowOptions; + + /** + * Decodes a WorkflowOptions message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WorkflowOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowOptions; + + /** + * Verifies a WorkflowOptions message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WorkflowOptions message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WorkflowOptions + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowOptions; + + /** + * Creates a plain object from a WorkflowOptions message. Also converts values to other types if specified. + * @param message WorkflowOptions + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WorkflowOptions to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkflowOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a Workflow. */ + interface IWorkflow { + + /** Workflow name */ + name?: (string|null); + + /** Workflow source */ + source?: (vtctldata.Workflow.IReplicationLocation|null); + + /** Workflow target */ + target?: (vtctldata.Workflow.IReplicationLocation|null); + + /** Workflow max_v_replication_lag */ + max_v_replication_lag?: (number|Long|null); + + /** Workflow shard_streams */ + shard_streams?: ({ [k: string]: vtctldata.Workflow.IShardStream }|null); + + /** Workflow workflow_type */ + workflow_type?: (string|null); + + /** Workflow workflow_sub_type */ + workflow_sub_type?: (string|null); + + /** Workflow max_v_replication_transaction_lag */ + max_v_replication_transaction_lag?: (number|Long|null); + + /** Workflow defer_secondary_keys */ + defer_secondary_keys?: (boolean|null); + + /** Workflow options */ + options?: (vtctldata.IWorkflowOptions|null); + } + + /** Represents a Workflow. */ + class Workflow implements IWorkflow { + + /** + * Constructs a new Workflow. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflow); + + /** Workflow name. */ + public name: string; + + /** Workflow source. */ + public source?: (vtctldata.Workflow.IReplicationLocation|null); + + /** Workflow target. */ + public target?: (vtctldata.Workflow.IReplicationLocation|null); + + /** Workflow max_v_replication_lag. */ + public max_v_replication_lag: (number|Long); + + /** Workflow shard_streams. */ + public shard_streams: { [k: string]: vtctldata.Workflow.IShardStream }; + + /** Workflow workflow_type. */ + public workflow_type: string; + + /** Workflow workflow_sub_type. */ + public workflow_sub_type: string; + + /** Workflow max_v_replication_transaction_lag. */ + public max_v_replication_transaction_lag: (number|Long); + + /** Workflow defer_secondary_keys. */ + public defer_secondary_keys: boolean; + + /** Workflow options. */ + public options?: (vtctldata.IWorkflowOptions|null); + + /** + * Creates a new Workflow instance using the specified properties. + * @param [properties] Properties to set + * @returns Workflow instance + */ + public static create(properties?: vtctldata.IWorkflow): vtctldata.Workflow; + + /** + * Encodes the specified Workflow message. Does not implicitly {@link vtctldata.Workflow.verify|verify} messages. + * @param message Workflow message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Workflow message, length delimited. Does not implicitly {@link vtctldata.Workflow.verify|verify} messages. + * @param message Workflow message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Workflow message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Workflow + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow; + + /** + * Decodes a Workflow message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Workflow + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow; + + /** + * Verifies a Workflow message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Workflow message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Workflow + */ + public static fromObject(object: { [k: string]: any }): vtctldata.Workflow; + + /** + * Creates a plain object from a Workflow message. Also converts values to other types if specified. + * @param message Workflow + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.Workflow, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Workflow to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Workflow + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace Workflow { + + /** Properties of a ReplicationLocation. */ + interface IReplicationLocation { + + /** ReplicationLocation keyspace */ + keyspace?: (string|null); + + /** ReplicationLocation shards */ + shards?: (string[]|null); + } + + /** Represents a ReplicationLocation. */ + class ReplicationLocation implements IReplicationLocation { + + /** + * Constructs a new ReplicationLocation. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.Workflow.IReplicationLocation); + + /** ReplicationLocation keyspace. */ + public keyspace: string; + + /** ReplicationLocation shards. */ + public shards: string[]; + + /** + * Creates a new ReplicationLocation instance using the specified properties. + * @param [properties] Properties to set + * @returns ReplicationLocation instance + */ + public static create(properties?: vtctldata.Workflow.IReplicationLocation): vtctldata.Workflow.ReplicationLocation; + + /** + * Encodes the specified ReplicationLocation message. Does not implicitly {@link vtctldata.Workflow.ReplicationLocation.verify|verify} messages. + * @param message ReplicationLocation message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.Workflow.IReplicationLocation, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReplicationLocation message, length delimited. Does not implicitly {@link vtctldata.Workflow.ReplicationLocation.verify|verify} messages. + * @param message ReplicationLocation message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.Workflow.IReplicationLocation, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReplicationLocation message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReplicationLocation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.ReplicationLocation; + + /** + * Decodes a ReplicationLocation message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReplicationLocation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.ReplicationLocation; + + /** + * Verifies a ReplicationLocation message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReplicationLocation message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReplicationLocation + */ + public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.ReplicationLocation; + + /** + * Creates a plain object from a ReplicationLocation message. Also converts values to other types if specified. + * @param message ReplicationLocation + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.Workflow.ReplicationLocation, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReplicationLocation to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReplicationLocation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardStream. */ + interface IShardStream { + + /** ShardStream streams */ + streams?: (vtctldata.Workflow.IStream[]|null); + + /** ShardStream tablet_controls */ + tablet_controls?: (topodata.Shard.ITabletControl[]|null); + + /** ShardStream is_primary_serving */ + is_primary_serving?: (boolean|null); + } + + /** Represents a ShardStream. */ + class ShardStream implements IShardStream { + + /** + * Constructs a new ShardStream. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.Workflow.IShardStream); + + /** ShardStream streams. */ + public streams: vtctldata.Workflow.IStream[]; + + /** ShardStream tablet_controls. */ + public tablet_controls: topodata.Shard.ITabletControl[]; + + /** ShardStream is_primary_serving. */ + public is_primary_serving: boolean; + + /** + * Creates a new ShardStream instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardStream instance + */ + public static create(properties?: vtctldata.Workflow.IShardStream): vtctldata.Workflow.ShardStream; + + /** + * Encodes the specified ShardStream message. Does not implicitly {@link vtctldata.Workflow.ShardStream.verify|verify} messages. + * @param message ShardStream message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.Workflow.IShardStream, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardStream message, length delimited. Does not implicitly {@link vtctldata.Workflow.ShardStream.verify|verify} messages. + * @param message ShardStream message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.Workflow.IShardStream, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardStream message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardStream + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.ShardStream; + + /** + * Decodes a ShardStream message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardStream + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.ShardStream; + + /** + * Verifies a ShardStream message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardStream message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardStream + */ + public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.ShardStream; + + /** + * Creates a plain object from a ShardStream message. Also converts values to other types if specified. + * @param message ShardStream + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.Workflow.ShardStream, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardStream to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardStream + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a Stream. */ + interface IStream { + + /** Stream id */ + id?: (number|Long|null); + + /** Stream shard */ + shard?: (string|null); + + /** Stream tablet */ + tablet?: (topodata.ITabletAlias|null); + + /** Stream binlog_source */ + binlog_source?: (binlogdata.IBinlogSource|null); + + /** Stream position */ + position?: (string|null); + + /** Stream stop_position */ + stop_position?: (string|null); + + /** Stream state */ + state?: (string|null); + + /** Stream db_name */ + db_name?: (string|null); + + /** Stream transaction_timestamp */ + transaction_timestamp?: (vttime.ITime|null); + + /** Stream time_updated */ + time_updated?: (vttime.ITime|null); + + /** Stream message */ + message?: (string|null); + + /** Stream copy_states */ + copy_states?: (vtctldata.Workflow.Stream.ICopyState[]|null); + + /** Stream logs */ + logs?: (vtctldata.Workflow.Stream.ILog[]|null); + + /** Stream log_fetch_error */ + log_fetch_error?: (string|null); + + /** Stream tags */ + tags?: (string[]|null); + + /** Stream rows_copied */ + rows_copied?: (number|Long|null); + + /** Stream throttler_status */ + throttler_status?: (vtctldata.Workflow.Stream.IThrottlerStatus|null); + + /** Stream tablet_types */ + tablet_types?: (topodata.TabletType[]|null); + + /** Stream tablet_selection_preference */ + tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); + + /** Stream cells */ + cells?: (string[]|null); + } + + /** Represents a Stream. */ + class Stream implements IStream { + + /** + * Constructs a new Stream. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.Workflow.IStream); + + /** Stream id. */ + public id: (number|Long); + + /** Stream shard. */ + public shard: string; + + /** Stream tablet. */ + public tablet?: (topodata.ITabletAlias|null); + + /** Stream binlog_source. */ + public binlog_source?: (binlogdata.IBinlogSource|null); + + /** Stream position. */ + public position: string; + + /** Stream stop_position. */ + public stop_position: string; + + /** Stream state. */ + public state: string; + + /** Stream db_name. */ + public db_name: string; + + /** Stream transaction_timestamp. */ + public transaction_timestamp?: (vttime.ITime|null); + + /** Stream time_updated. */ + public time_updated?: (vttime.ITime|null); + + /** Stream message. */ + public message: string; + + /** Stream copy_states. */ + public copy_states: vtctldata.Workflow.Stream.ICopyState[]; + + /** Stream logs. */ + public logs: vtctldata.Workflow.Stream.ILog[]; + + /** Stream log_fetch_error. */ + public log_fetch_error: string; + + /** Stream tags. */ + public tags: string[]; + + /** Stream rows_copied. */ + public rows_copied: (number|Long); + + /** Stream throttler_status. */ + public throttler_status?: (vtctldata.Workflow.Stream.IThrottlerStatus|null); + + /** Stream tablet_types. */ + public tablet_types: topodata.TabletType[]; + + /** Stream tablet_selection_preference. */ + public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; + + /** Stream cells. */ + public cells: string[]; + + /** + * Creates a new Stream instance using the specified properties. + * @param [properties] Properties to set + * @returns Stream instance + */ + public static create(properties?: vtctldata.Workflow.IStream): vtctldata.Workflow.Stream; + + /** + * Encodes the specified Stream message. Does not implicitly {@link vtctldata.Workflow.Stream.verify|verify} messages. + * @param message Stream message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.Workflow.IStream, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Stream message, length delimited. Does not implicitly {@link vtctldata.Workflow.Stream.verify|verify} messages. + * @param message Stream message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.Workflow.IStream, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Stream message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Stream + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.Stream; + + /** + * Decodes a Stream message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Stream + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.Stream; + + /** + * Verifies a Stream message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Stream message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Stream + */ + public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.Stream; + + /** + * Creates a plain object from a Stream message. Also converts values to other types if specified. + * @param message Stream + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.Workflow.Stream, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Stream to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Stream + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace Stream { + + /** Properties of a CopyState. */ + interface ICopyState { + + /** CopyState table */ + table?: (string|null); + + /** CopyState last_pk */ + last_pk?: (string|null); + + /** CopyState stream_id */ + stream_id?: (number|Long|null); + } + + /** Represents a CopyState. */ + class CopyState implements ICopyState { + + /** + * Constructs a new CopyState. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.Workflow.Stream.ICopyState); + + /** CopyState table. */ + public table: string; + + /** CopyState last_pk. */ + public last_pk: string; + + /** CopyState stream_id. */ + public stream_id: (number|Long); + + /** + * Creates a new CopyState instance using the specified properties. + * @param [properties] Properties to set + * @returns CopyState instance + */ + public static create(properties?: vtctldata.Workflow.Stream.ICopyState): vtctldata.Workflow.Stream.CopyState; + + /** + * Encodes the specified CopyState message. Does not implicitly {@link vtctldata.Workflow.Stream.CopyState.verify|verify} messages. + * @param message CopyState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.Workflow.Stream.ICopyState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CopyState message, length delimited. Does not implicitly {@link vtctldata.Workflow.Stream.CopyState.verify|verify} messages. + * @param message CopyState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.Workflow.Stream.ICopyState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CopyState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CopyState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.Stream.CopyState; + + /** + * Decodes a CopyState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CopyState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.Stream.CopyState; + + /** + * Verifies a CopyState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CopyState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CopyState + */ + public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.Stream.CopyState; + + /** + * Creates a plain object from a CopyState message. Also converts values to other types if specified. + * @param message CopyState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.Workflow.Stream.CopyState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CopyState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CopyState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a Log. */ + interface ILog { + + /** Log id */ + id?: (number|Long|null); + + /** Log stream_id */ + stream_id?: (number|Long|null); + + /** Log type */ + type?: (string|null); + + /** Log state */ + state?: (string|null); + + /** Log created_at */ + created_at?: (vttime.ITime|null); + + /** Log updated_at */ + updated_at?: (vttime.ITime|null); + + /** Log message */ + message?: (string|null); + + /** Log count */ + count?: (number|Long|null); + } + + /** Represents a Log. */ + class Log implements ILog { + + /** + * Constructs a new Log. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.Workflow.Stream.ILog); + + /** Log id. */ + public id: (number|Long); + + /** Log stream_id. */ + public stream_id: (number|Long); + + /** Log type. */ + public type: string; + + /** Log state. */ + public state: string; + + /** Log created_at. */ + public created_at?: (vttime.ITime|null); + + /** Log updated_at. */ + public updated_at?: (vttime.ITime|null); + + /** Log message. */ + public message: string; + + /** Log count. */ + public count: (number|Long); + + /** + * Creates a new Log instance using the specified properties. + * @param [properties] Properties to set + * @returns Log instance + */ + public static create(properties?: vtctldata.Workflow.Stream.ILog): vtctldata.Workflow.Stream.Log; + + /** + * Encodes the specified Log message. Does not implicitly {@link vtctldata.Workflow.Stream.Log.verify|verify} messages. + * @param message Log message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.Workflow.Stream.ILog, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Log message, length delimited. Does not implicitly {@link vtctldata.Workflow.Stream.Log.verify|verify} messages. + * @param message Log message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.Workflow.Stream.ILog, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Log message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Log + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.Stream.Log; + + /** + * Decodes a Log message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Log + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.Stream.Log; + + /** + * Verifies a Log message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Log message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Log + */ + public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.Stream.Log; + + /** + * Creates a plain object from a Log message. Also converts values to other types if specified. + * @param message Log + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.Workflow.Stream.Log, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Log to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Log + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ThrottlerStatus. */ + interface IThrottlerStatus { + + /** ThrottlerStatus component_throttled */ + component_throttled?: (string|null); + + /** ThrottlerStatus time_throttled */ + time_throttled?: (vttime.ITime|null); + } + + /** Represents a ThrottlerStatus. */ + class ThrottlerStatus implements IThrottlerStatus { + + /** + * Constructs a new ThrottlerStatus. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.Workflow.Stream.IThrottlerStatus); + + /** ThrottlerStatus component_throttled. */ + public component_throttled: string; + + /** ThrottlerStatus time_throttled. */ + public time_throttled?: (vttime.ITime|null); + + /** + * Creates a new ThrottlerStatus instance using the specified properties. + * @param [properties] Properties to set + * @returns ThrottlerStatus instance + */ + public static create(properties?: vtctldata.Workflow.Stream.IThrottlerStatus): vtctldata.Workflow.Stream.ThrottlerStatus; + + /** + * Encodes the specified ThrottlerStatus message. Does not implicitly {@link vtctldata.Workflow.Stream.ThrottlerStatus.verify|verify} messages. + * @param message ThrottlerStatus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.Workflow.Stream.IThrottlerStatus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ThrottlerStatus message, length delimited. Does not implicitly {@link vtctldata.Workflow.Stream.ThrottlerStatus.verify|verify} messages. + * @param message ThrottlerStatus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.Workflow.Stream.IThrottlerStatus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ThrottlerStatus message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ThrottlerStatus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.Stream.ThrottlerStatus; + + /** + * Decodes a ThrottlerStatus message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ThrottlerStatus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.Stream.ThrottlerStatus; + + /** + * Verifies a ThrottlerStatus message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ThrottlerStatus message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ThrottlerStatus + */ + public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.Stream.ThrottlerStatus; + + /** + * Creates a plain object from a ThrottlerStatus message. Also converts values to other types if specified. + * @param message ThrottlerStatus + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.Workflow.Stream.ThrottlerStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ThrottlerStatus to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ThrottlerStatus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + } + } + + /** Properties of an AddCellInfoRequest. */ + interface IAddCellInfoRequest { + + /** AddCellInfoRequest name */ + name?: (string|null); + + /** AddCellInfoRequest cell_info */ + cell_info?: (topodata.ICellInfo|null); + } + + /** Represents an AddCellInfoRequest. */ + class AddCellInfoRequest implements IAddCellInfoRequest { + + /** + * Constructs a new AddCellInfoRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IAddCellInfoRequest); + + /** AddCellInfoRequest name. */ + public name: string; + + /** AddCellInfoRequest cell_info. */ + public cell_info?: (topodata.ICellInfo|null); + + /** + * Creates a new AddCellInfoRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns AddCellInfoRequest instance + */ + public static create(properties?: vtctldata.IAddCellInfoRequest): vtctldata.AddCellInfoRequest; + + /** + * Encodes the specified AddCellInfoRequest message. Does not implicitly {@link vtctldata.AddCellInfoRequest.verify|verify} messages. + * @param message AddCellInfoRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IAddCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AddCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.AddCellInfoRequest.verify|verify} messages. + * @param message AddCellInfoRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IAddCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AddCellInfoRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AddCellInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellInfoRequest; + + /** + * Decodes an AddCellInfoRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AddCellInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellInfoRequest; + + /** + * Verifies an AddCellInfoRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an AddCellInfoRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AddCellInfoRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.AddCellInfoRequest; + + /** + * Creates a plain object from an AddCellInfoRequest message. Also converts values to other types if specified. + * @param message AddCellInfoRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.AddCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AddCellInfoRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AddCellInfoRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AddCellInfoResponse. */ + interface IAddCellInfoResponse { + } + + /** Represents an AddCellInfoResponse. */ + class AddCellInfoResponse implements IAddCellInfoResponse { + + /** + * Constructs a new AddCellInfoResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IAddCellInfoResponse); + + /** + * Creates a new AddCellInfoResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns AddCellInfoResponse instance + */ + public static create(properties?: vtctldata.IAddCellInfoResponse): vtctldata.AddCellInfoResponse; + + /** + * Encodes the specified AddCellInfoResponse message. Does not implicitly {@link vtctldata.AddCellInfoResponse.verify|verify} messages. + * @param message AddCellInfoResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IAddCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AddCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.AddCellInfoResponse.verify|verify} messages. + * @param message AddCellInfoResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IAddCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AddCellInfoResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AddCellInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellInfoResponse; + + /** + * Decodes an AddCellInfoResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AddCellInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellInfoResponse; + + /** + * Verifies an AddCellInfoResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an AddCellInfoResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AddCellInfoResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.AddCellInfoResponse; + + /** + * Creates a plain object from an AddCellInfoResponse message. Also converts values to other types if specified. + * @param message AddCellInfoResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.AddCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AddCellInfoResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AddCellInfoResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AddCellsAliasRequest. */ + interface IAddCellsAliasRequest { + + /** AddCellsAliasRequest name */ + name?: (string|null); + + /** AddCellsAliasRequest cells */ + cells?: (string[]|null); + } + + /** Represents an AddCellsAliasRequest. */ + class AddCellsAliasRequest implements IAddCellsAliasRequest { + + /** + * Constructs a new AddCellsAliasRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IAddCellsAliasRequest); + + /** AddCellsAliasRequest name. */ + public name: string; + + /** AddCellsAliasRequest cells. */ + public cells: string[]; + + /** + * Creates a new AddCellsAliasRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns AddCellsAliasRequest instance + */ + public static create(properties?: vtctldata.IAddCellsAliasRequest): vtctldata.AddCellsAliasRequest; + + /** + * Encodes the specified AddCellsAliasRequest message. Does not implicitly {@link vtctldata.AddCellsAliasRequest.verify|verify} messages. + * @param message AddCellsAliasRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IAddCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AddCellsAliasRequest message, length delimited. Does not implicitly {@link vtctldata.AddCellsAliasRequest.verify|verify} messages. + * @param message AddCellsAliasRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IAddCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AddCellsAliasRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AddCellsAliasRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellsAliasRequest; + + /** + * Decodes an AddCellsAliasRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AddCellsAliasRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellsAliasRequest; + + /** + * Verifies an AddCellsAliasRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an AddCellsAliasRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AddCellsAliasRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.AddCellsAliasRequest; + + /** + * Creates a plain object from an AddCellsAliasRequest message. Also converts values to other types if specified. + * @param message AddCellsAliasRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.AddCellsAliasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AddCellsAliasRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AddCellsAliasRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AddCellsAliasResponse. */ + interface IAddCellsAliasResponse { + } + + /** Represents an AddCellsAliasResponse. */ + class AddCellsAliasResponse implements IAddCellsAliasResponse { + + /** + * Constructs a new AddCellsAliasResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IAddCellsAliasResponse); + + /** + * Creates a new AddCellsAliasResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns AddCellsAliasResponse instance + */ + public static create(properties?: vtctldata.IAddCellsAliasResponse): vtctldata.AddCellsAliasResponse; + + /** + * Encodes the specified AddCellsAliasResponse message. Does not implicitly {@link vtctldata.AddCellsAliasResponse.verify|verify} messages. + * @param message AddCellsAliasResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IAddCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AddCellsAliasResponse message, length delimited. Does not implicitly {@link vtctldata.AddCellsAliasResponse.verify|verify} messages. + * @param message AddCellsAliasResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IAddCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AddCellsAliasResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AddCellsAliasResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellsAliasResponse; + + /** + * Decodes an AddCellsAliasResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AddCellsAliasResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellsAliasResponse; + + /** + * Verifies an AddCellsAliasResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an AddCellsAliasResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AddCellsAliasResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.AddCellsAliasResponse; + + /** + * Creates a plain object from an AddCellsAliasResponse message. Also converts values to other types if specified. + * @param message AddCellsAliasResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.AddCellsAliasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AddCellsAliasResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AddCellsAliasResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ApplyKeyspaceRoutingRulesRequest. */ + interface IApplyKeyspaceRoutingRulesRequest { + + /** ApplyKeyspaceRoutingRulesRequest keyspace_routing_rules */ + keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); + + /** ApplyKeyspaceRoutingRulesRequest skip_rebuild */ + skip_rebuild?: (boolean|null); + + /** ApplyKeyspaceRoutingRulesRequest rebuild_cells */ + rebuild_cells?: (string[]|null); + } + + /** Represents an ApplyKeyspaceRoutingRulesRequest. */ + class ApplyKeyspaceRoutingRulesRequest implements IApplyKeyspaceRoutingRulesRequest { + + /** + * Constructs a new ApplyKeyspaceRoutingRulesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IApplyKeyspaceRoutingRulesRequest); + + /** ApplyKeyspaceRoutingRulesRequest keyspace_routing_rules. */ + public keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); + + /** ApplyKeyspaceRoutingRulesRequest skip_rebuild. */ + public skip_rebuild: boolean; + + /** ApplyKeyspaceRoutingRulesRequest rebuild_cells. */ + public rebuild_cells: string[]; + + /** + * Creates a new ApplyKeyspaceRoutingRulesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ApplyKeyspaceRoutingRulesRequest instance + */ + public static create(properties?: vtctldata.IApplyKeyspaceRoutingRulesRequest): vtctldata.ApplyKeyspaceRoutingRulesRequest; + + /** + * Encodes the specified ApplyKeyspaceRoutingRulesRequest message. Does not implicitly {@link vtctldata.ApplyKeyspaceRoutingRulesRequest.verify|verify} messages. + * @param message ApplyKeyspaceRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IApplyKeyspaceRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ApplyKeyspaceRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.ApplyKeyspaceRoutingRulesRequest.verify|verify} messages. + * @param message ApplyKeyspaceRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IApplyKeyspaceRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ApplyKeyspaceRoutingRulesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ApplyKeyspaceRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyKeyspaceRoutingRulesRequest; + + /** + * Decodes an ApplyKeyspaceRoutingRulesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ApplyKeyspaceRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyKeyspaceRoutingRulesRequest; + + /** + * Verifies an ApplyKeyspaceRoutingRulesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ApplyKeyspaceRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ApplyKeyspaceRoutingRulesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ApplyKeyspaceRoutingRulesRequest; + + /** + * Creates a plain object from an ApplyKeyspaceRoutingRulesRequest message. Also converts values to other types if specified. + * @param message ApplyKeyspaceRoutingRulesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ApplyKeyspaceRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ApplyKeyspaceRoutingRulesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplyKeyspaceRoutingRulesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ApplyKeyspaceRoutingRulesResponse. */ + interface IApplyKeyspaceRoutingRulesResponse { + + /** ApplyKeyspaceRoutingRulesResponse keyspace_routing_rules */ + keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); + } + + /** Represents an ApplyKeyspaceRoutingRulesResponse. */ + class ApplyKeyspaceRoutingRulesResponse implements IApplyKeyspaceRoutingRulesResponse { + + /** + * Constructs a new ApplyKeyspaceRoutingRulesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IApplyKeyspaceRoutingRulesResponse); + + /** ApplyKeyspaceRoutingRulesResponse keyspace_routing_rules. */ + public keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); + + /** + * Creates a new ApplyKeyspaceRoutingRulesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ApplyKeyspaceRoutingRulesResponse instance + */ + public static create(properties?: vtctldata.IApplyKeyspaceRoutingRulesResponse): vtctldata.ApplyKeyspaceRoutingRulesResponse; + + /** + * Encodes the specified ApplyKeyspaceRoutingRulesResponse message. Does not implicitly {@link vtctldata.ApplyKeyspaceRoutingRulesResponse.verify|verify} messages. + * @param message ApplyKeyspaceRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IApplyKeyspaceRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ApplyKeyspaceRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.ApplyKeyspaceRoutingRulesResponse.verify|verify} messages. + * @param message ApplyKeyspaceRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IApplyKeyspaceRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ApplyKeyspaceRoutingRulesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ApplyKeyspaceRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyKeyspaceRoutingRulesResponse; + + /** + * Decodes an ApplyKeyspaceRoutingRulesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ApplyKeyspaceRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyKeyspaceRoutingRulesResponse; + + /** + * Verifies an ApplyKeyspaceRoutingRulesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ApplyKeyspaceRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ApplyKeyspaceRoutingRulesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ApplyKeyspaceRoutingRulesResponse; + + /** + * Creates a plain object from an ApplyKeyspaceRoutingRulesResponse message. Also converts values to other types if specified. + * @param message ApplyKeyspaceRoutingRulesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ApplyKeyspaceRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ApplyKeyspaceRoutingRulesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplyKeyspaceRoutingRulesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ApplyRoutingRulesRequest. */ + interface IApplyRoutingRulesRequest { + + /** ApplyRoutingRulesRequest routing_rules */ + routing_rules?: (vschema.IRoutingRules|null); + + /** ApplyRoutingRulesRequest skip_rebuild */ + skip_rebuild?: (boolean|null); + + /** ApplyRoutingRulesRequest rebuild_cells */ + rebuild_cells?: (string[]|null); + } + + /** Represents an ApplyRoutingRulesRequest. */ + class ApplyRoutingRulesRequest implements IApplyRoutingRulesRequest { + + /** + * Constructs a new ApplyRoutingRulesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IApplyRoutingRulesRequest); + + /** ApplyRoutingRulesRequest routing_rules. */ + public routing_rules?: (vschema.IRoutingRules|null); + + /** ApplyRoutingRulesRequest skip_rebuild. */ + public skip_rebuild: boolean; + + /** ApplyRoutingRulesRequest rebuild_cells. */ + public rebuild_cells: string[]; + + /** + * Creates a new ApplyRoutingRulesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ApplyRoutingRulesRequest instance + */ + public static create(properties?: vtctldata.IApplyRoutingRulesRequest): vtctldata.ApplyRoutingRulesRequest; + + /** + * Encodes the specified ApplyRoutingRulesRequest message. Does not implicitly {@link vtctldata.ApplyRoutingRulesRequest.verify|verify} messages. + * @param message ApplyRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IApplyRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ApplyRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.ApplyRoutingRulesRequest.verify|verify} messages. + * @param message ApplyRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IApplyRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ApplyRoutingRulesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ApplyRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyRoutingRulesRequest; + + /** + * Decodes an ApplyRoutingRulesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ApplyRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyRoutingRulesRequest; + + /** + * Verifies an ApplyRoutingRulesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ApplyRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ApplyRoutingRulesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ApplyRoutingRulesRequest; + + /** + * Creates a plain object from an ApplyRoutingRulesRequest message. Also converts values to other types if specified. + * @param message ApplyRoutingRulesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ApplyRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ApplyRoutingRulesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplyRoutingRulesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ApplyRoutingRulesResponse. */ + interface IApplyRoutingRulesResponse { + } + + /** Represents an ApplyRoutingRulesResponse. */ + class ApplyRoutingRulesResponse implements IApplyRoutingRulesResponse { + + /** + * Constructs a new ApplyRoutingRulesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IApplyRoutingRulesResponse); + + /** + * Creates a new ApplyRoutingRulesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ApplyRoutingRulesResponse instance + */ + public static create(properties?: vtctldata.IApplyRoutingRulesResponse): vtctldata.ApplyRoutingRulesResponse; + + /** + * Encodes the specified ApplyRoutingRulesResponse message. Does not implicitly {@link vtctldata.ApplyRoutingRulesResponse.verify|verify} messages. + * @param message ApplyRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IApplyRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ApplyRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.ApplyRoutingRulesResponse.verify|verify} messages. + * @param message ApplyRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IApplyRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ApplyRoutingRulesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ApplyRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyRoutingRulesResponse; + + /** + * Decodes an ApplyRoutingRulesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ApplyRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyRoutingRulesResponse; + + /** + * Verifies an ApplyRoutingRulesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ApplyRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ApplyRoutingRulesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ApplyRoutingRulesResponse; + + /** + * Creates a plain object from an ApplyRoutingRulesResponse message. Also converts values to other types if specified. + * @param message ApplyRoutingRulesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ApplyRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ApplyRoutingRulesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplyRoutingRulesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ApplyShardRoutingRulesRequest. */ + interface IApplyShardRoutingRulesRequest { + + /** ApplyShardRoutingRulesRequest shard_routing_rules */ + shard_routing_rules?: (vschema.IShardRoutingRules|null); + + /** ApplyShardRoutingRulesRequest skip_rebuild */ + skip_rebuild?: (boolean|null); + + /** ApplyShardRoutingRulesRequest rebuild_cells */ + rebuild_cells?: (string[]|null); + } + + /** Represents an ApplyShardRoutingRulesRequest. */ + class ApplyShardRoutingRulesRequest implements IApplyShardRoutingRulesRequest { + + /** + * Constructs a new ApplyShardRoutingRulesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IApplyShardRoutingRulesRequest); + + /** ApplyShardRoutingRulesRequest shard_routing_rules. */ + public shard_routing_rules?: (vschema.IShardRoutingRules|null); + + /** ApplyShardRoutingRulesRequest skip_rebuild. */ + public skip_rebuild: boolean; + + /** ApplyShardRoutingRulesRequest rebuild_cells. */ + public rebuild_cells: string[]; + + /** + * Creates a new ApplyShardRoutingRulesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ApplyShardRoutingRulesRequest instance + */ + public static create(properties?: vtctldata.IApplyShardRoutingRulesRequest): vtctldata.ApplyShardRoutingRulesRequest; + + /** + * Encodes the specified ApplyShardRoutingRulesRequest message. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesRequest.verify|verify} messages. + * @param message ApplyShardRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IApplyShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ApplyShardRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesRequest.verify|verify} messages. + * @param message ApplyShardRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IApplyShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ApplyShardRoutingRulesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ApplyShardRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyShardRoutingRulesRequest; + + /** + * Decodes an ApplyShardRoutingRulesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ApplyShardRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyShardRoutingRulesRequest; + + /** + * Verifies an ApplyShardRoutingRulesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ApplyShardRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ApplyShardRoutingRulesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ApplyShardRoutingRulesRequest; + + /** + * Creates a plain object from an ApplyShardRoutingRulesRequest message. Also converts values to other types if specified. + * @param message ApplyShardRoutingRulesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ApplyShardRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ApplyShardRoutingRulesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplyShardRoutingRulesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ApplyShardRoutingRulesResponse. */ + interface IApplyShardRoutingRulesResponse { + } + + /** Represents an ApplyShardRoutingRulesResponse. */ + class ApplyShardRoutingRulesResponse implements IApplyShardRoutingRulesResponse { + + /** + * Constructs a new ApplyShardRoutingRulesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IApplyShardRoutingRulesResponse); + + /** + * Creates a new ApplyShardRoutingRulesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ApplyShardRoutingRulesResponse instance + */ + public static create(properties?: vtctldata.IApplyShardRoutingRulesResponse): vtctldata.ApplyShardRoutingRulesResponse; + + /** + * Encodes the specified ApplyShardRoutingRulesResponse message. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesResponse.verify|verify} messages. + * @param message ApplyShardRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IApplyShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ApplyShardRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesResponse.verify|verify} messages. + * @param message ApplyShardRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IApplyShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ApplyShardRoutingRulesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ApplyShardRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyShardRoutingRulesResponse; + + /** + * Decodes an ApplyShardRoutingRulesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ApplyShardRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyShardRoutingRulesResponse; + + /** + * Verifies an ApplyShardRoutingRulesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ApplyShardRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ApplyShardRoutingRulesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ApplyShardRoutingRulesResponse; + + /** + * Creates a plain object from an ApplyShardRoutingRulesResponse message. Also converts values to other types if specified. + * @param message ApplyShardRoutingRulesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ApplyShardRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ApplyShardRoutingRulesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplyShardRoutingRulesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ApplySchemaRequest. */ + interface IApplySchemaRequest { + + /** ApplySchemaRequest keyspace */ + keyspace?: (string|null); + + /** ApplySchemaRequest sql */ + sql?: (string[]|null); + + /** ApplySchemaRequest ddl_strategy */ + ddl_strategy?: (string|null); + + /** ApplySchemaRequest uuid_list */ + uuid_list?: (string[]|null); + + /** ApplySchemaRequest migration_context */ + migration_context?: (string|null); + + /** ApplySchemaRequest wait_replicas_timeout */ + wait_replicas_timeout?: (vttime.IDuration|null); + + /** ApplySchemaRequest caller_id */ + caller_id?: (vtrpc.ICallerID|null); + + /** ApplySchemaRequest batch_size */ + batch_size?: (number|Long|null); + } + + /** Represents an ApplySchemaRequest. */ + class ApplySchemaRequest implements IApplySchemaRequest { + + /** + * Constructs a new ApplySchemaRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IApplySchemaRequest); + + /** ApplySchemaRequest keyspace. */ + public keyspace: string; + + /** ApplySchemaRequest sql. */ + public sql: string[]; + + /** ApplySchemaRequest ddl_strategy. */ + public ddl_strategy: string; + + /** ApplySchemaRequest uuid_list. */ + public uuid_list: string[]; + + /** ApplySchemaRequest migration_context. */ + public migration_context: string; + + /** ApplySchemaRequest wait_replicas_timeout. */ + public wait_replicas_timeout?: (vttime.IDuration|null); + + /** ApplySchemaRequest caller_id. */ + public caller_id?: (vtrpc.ICallerID|null); + + /** ApplySchemaRequest batch_size. */ + public batch_size: (number|Long); + + /** + * Creates a new ApplySchemaRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ApplySchemaRequest instance + */ + public static create(properties?: vtctldata.IApplySchemaRequest): vtctldata.ApplySchemaRequest; + + /** + * Encodes the specified ApplySchemaRequest message. Does not implicitly {@link vtctldata.ApplySchemaRequest.verify|verify} messages. + * @param message ApplySchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IApplySchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ApplySchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ApplySchemaRequest.verify|verify} messages. + * @param message ApplySchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IApplySchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ApplySchemaRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ApplySchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplySchemaRequest; + + /** + * Decodes an ApplySchemaRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ApplySchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplySchemaRequest; + + /** + * Verifies an ApplySchemaRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ApplySchemaRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ApplySchemaRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ApplySchemaRequest; + + /** + * Creates a plain object from an ApplySchemaRequest message. Also converts values to other types if specified. + * @param message ApplySchemaRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ApplySchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ApplySchemaRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplySchemaRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ApplySchemaResponse. */ + interface IApplySchemaResponse { + + /** ApplySchemaResponse uuid_list */ + uuid_list?: (string[]|null); + + /** ApplySchemaResponse rows_affected_by_shard */ + rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); + } + + /** Represents an ApplySchemaResponse. */ + class ApplySchemaResponse implements IApplySchemaResponse { + + /** + * Constructs a new ApplySchemaResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IApplySchemaResponse); + + /** ApplySchemaResponse uuid_list. */ + public uuid_list: string[]; + + /** ApplySchemaResponse rows_affected_by_shard. */ + public rows_affected_by_shard: { [k: string]: (number|Long) }; + + /** + * Creates a new ApplySchemaResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ApplySchemaResponse instance + */ + public static create(properties?: vtctldata.IApplySchemaResponse): vtctldata.ApplySchemaResponse; + + /** + * Encodes the specified ApplySchemaResponse message. Does not implicitly {@link vtctldata.ApplySchemaResponse.verify|verify} messages. + * @param message ApplySchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IApplySchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ApplySchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ApplySchemaResponse.verify|verify} messages. + * @param message ApplySchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IApplySchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ApplySchemaResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ApplySchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplySchemaResponse; + + /** + * Decodes an ApplySchemaResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ApplySchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplySchemaResponse; + + /** + * Verifies an ApplySchemaResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ApplySchemaResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ApplySchemaResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ApplySchemaResponse; + + /** + * Creates a plain object from an ApplySchemaResponse message. Also converts values to other types if specified. + * @param message ApplySchemaResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ApplySchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ApplySchemaResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplySchemaResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ApplyVSchemaRequest. */ + interface IApplyVSchemaRequest { + + /** ApplyVSchemaRequest keyspace */ + keyspace?: (string|null); + + /** ApplyVSchemaRequest skip_rebuild */ + skip_rebuild?: (boolean|null); + + /** ApplyVSchemaRequest dry_run */ + dry_run?: (boolean|null); + + /** ApplyVSchemaRequest cells */ + cells?: (string[]|null); + + /** ApplyVSchemaRequest v_schema */ + v_schema?: (vschema.IKeyspace|null); + + /** ApplyVSchemaRequest sql */ + sql?: (string|null); + + /** ApplyVSchemaRequest strict */ + strict?: (boolean|null); + } + + /** Represents an ApplyVSchemaRequest. */ + class ApplyVSchemaRequest implements IApplyVSchemaRequest { + + /** + * Constructs a new ApplyVSchemaRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IApplyVSchemaRequest); + + /** ApplyVSchemaRequest keyspace. */ + public keyspace: string; + + /** ApplyVSchemaRequest skip_rebuild. */ + public skip_rebuild: boolean; + + /** ApplyVSchemaRequest dry_run. */ + public dry_run: boolean; + + /** ApplyVSchemaRequest cells. */ + public cells: string[]; + + /** ApplyVSchemaRequest v_schema. */ + public v_schema?: (vschema.IKeyspace|null); + + /** ApplyVSchemaRequest sql. */ + public sql: string; + + /** ApplyVSchemaRequest strict. */ + public strict: boolean; + + /** + * Creates a new ApplyVSchemaRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ApplyVSchemaRequest instance + */ + public static create(properties?: vtctldata.IApplyVSchemaRequest): vtctldata.ApplyVSchemaRequest; + + /** + * Encodes the specified ApplyVSchemaRequest message. Does not implicitly {@link vtctldata.ApplyVSchemaRequest.verify|verify} messages. + * @param message ApplyVSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IApplyVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ApplyVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ApplyVSchemaRequest.verify|verify} messages. + * @param message ApplyVSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IApplyVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ApplyVSchemaRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ApplyVSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyVSchemaRequest; + + /** + * Decodes an ApplyVSchemaRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ApplyVSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyVSchemaRequest; + + /** + * Verifies an ApplyVSchemaRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ApplyVSchemaRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ApplyVSchemaRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ApplyVSchemaRequest; + + /** + * Creates a plain object from an ApplyVSchemaRequest message. Also converts values to other types if specified. + * @param message ApplyVSchemaRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ApplyVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ApplyVSchemaRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplyVSchemaRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ApplyVSchemaResponse. */ + interface IApplyVSchemaResponse { + + /** ApplyVSchemaResponse v_schema */ + v_schema?: (vschema.IKeyspace|null); + + /** ApplyVSchemaResponse unknown_vindex_params */ + unknown_vindex_params?: ({ [k: string]: vtctldata.ApplyVSchemaResponse.IParamList }|null); + } + + /** Represents an ApplyVSchemaResponse. */ + class ApplyVSchemaResponse implements IApplyVSchemaResponse { + + /** + * Constructs a new ApplyVSchemaResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IApplyVSchemaResponse); + + /** ApplyVSchemaResponse v_schema. */ + public v_schema?: (vschema.IKeyspace|null); + + /** ApplyVSchemaResponse unknown_vindex_params. */ + public unknown_vindex_params: { [k: string]: vtctldata.ApplyVSchemaResponse.IParamList }; + + /** + * Creates a new ApplyVSchemaResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ApplyVSchemaResponse instance + */ + public static create(properties?: vtctldata.IApplyVSchemaResponse): vtctldata.ApplyVSchemaResponse; + + /** + * Encodes the specified ApplyVSchemaResponse message. Does not implicitly {@link vtctldata.ApplyVSchemaResponse.verify|verify} messages. + * @param message ApplyVSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IApplyVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ApplyVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ApplyVSchemaResponse.verify|verify} messages. + * @param message ApplyVSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IApplyVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ApplyVSchemaResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ApplyVSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyVSchemaResponse; + + /** + * Decodes an ApplyVSchemaResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ApplyVSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyVSchemaResponse; + + /** + * Verifies an ApplyVSchemaResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ApplyVSchemaResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ApplyVSchemaResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ApplyVSchemaResponse; + + /** + * Creates a plain object from an ApplyVSchemaResponse message. Also converts values to other types if specified. + * @param message ApplyVSchemaResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ApplyVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ApplyVSchemaResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplyVSchemaResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace ApplyVSchemaResponse { + + /** Properties of a ParamList. */ + interface IParamList { + + /** ParamList params */ + params?: (string[]|null); + } + + /** Represents a ParamList. */ + class ParamList implements IParamList { + + /** + * Constructs a new ParamList. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ApplyVSchemaResponse.IParamList); + + /** ParamList params. */ + public params: string[]; + + /** + * Creates a new ParamList instance using the specified properties. + * @param [properties] Properties to set + * @returns ParamList instance + */ + public static create(properties?: vtctldata.ApplyVSchemaResponse.IParamList): vtctldata.ApplyVSchemaResponse.ParamList; + + /** + * Encodes the specified ParamList message. Does not implicitly {@link vtctldata.ApplyVSchemaResponse.ParamList.verify|verify} messages. + * @param message ParamList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ApplyVSchemaResponse.IParamList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ParamList message, length delimited. Does not implicitly {@link vtctldata.ApplyVSchemaResponse.ParamList.verify|verify} messages. + * @param message ParamList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ApplyVSchemaResponse.IParamList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ParamList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ParamList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyVSchemaResponse.ParamList; + + /** + * Decodes a ParamList message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ParamList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyVSchemaResponse.ParamList; + + /** + * Verifies a ParamList message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ParamList message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ParamList + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ApplyVSchemaResponse.ParamList; + + /** + * Creates a plain object from a ParamList message. Also converts values to other types if specified. + * @param message ParamList + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ApplyVSchemaResponse.ParamList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ParamList to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ParamList + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + } + + /** Properties of a BackupRequest. */ + interface IBackupRequest { + + /** BackupRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** BackupRequest allow_primary */ + allow_primary?: (boolean|null); + + /** BackupRequest concurrency */ + concurrency?: (number|null); + + /** BackupRequest incremental_from_pos */ + incremental_from_pos?: (string|null); + + /** BackupRequest upgrade_safe */ + upgrade_safe?: (boolean|null); + + /** BackupRequest backup_engine */ + backup_engine?: (string|null); + } + + /** Represents a BackupRequest. */ + class BackupRequest implements IBackupRequest { + + /** + * Constructs a new BackupRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IBackupRequest); + + /** BackupRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** BackupRequest allow_primary. */ + public allow_primary: boolean; + + /** BackupRequest concurrency. */ + public concurrency: number; + + /** BackupRequest incremental_from_pos. */ + public incremental_from_pos: string; + + /** BackupRequest upgrade_safe. */ + public upgrade_safe: boolean; + + /** BackupRequest backup_engine. */ + public backup_engine?: (string|null); + + /** BackupRequest _backup_engine. */ + public _backup_engine?: "backup_engine"; + + /** + * Creates a new BackupRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns BackupRequest instance + */ + public static create(properties?: vtctldata.IBackupRequest): vtctldata.BackupRequest; + + /** + * Encodes the specified BackupRequest message. Does not implicitly {@link vtctldata.BackupRequest.verify|verify} messages. + * @param message BackupRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BackupRequest message, length delimited. Does not implicitly {@link vtctldata.BackupRequest.verify|verify} messages. + * @param message BackupRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BackupRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BackupRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.BackupRequest; + + /** + * Decodes a BackupRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BackupRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.BackupRequest; + + /** + * Verifies a BackupRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BackupRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BackupRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.BackupRequest; + + /** + * Creates a plain object from a BackupRequest message. Also converts values to other types if specified. + * @param message BackupRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.BackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BackupRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BackupRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BackupResponse. */ + interface IBackupResponse { + + /** BackupResponse tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** BackupResponse keyspace */ + keyspace?: (string|null); + + /** BackupResponse shard */ + shard?: (string|null); + + /** BackupResponse event */ + event?: (logutil.IEvent|null); + } + + /** Represents a BackupResponse. */ + class BackupResponse implements IBackupResponse { + + /** + * Constructs a new BackupResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IBackupResponse); + + /** BackupResponse tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** BackupResponse keyspace. */ + public keyspace: string; + + /** BackupResponse shard. */ + public shard: string; + + /** BackupResponse event. */ + public event?: (logutil.IEvent|null); + + /** + * Creates a new BackupResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns BackupResponse instance + */ + public static create(properties?: vtctldata.IBackupResponse): vtctldata.BackupResponse; + + /** + * Encodes the specified BackupResponse message. Does not implicitly {@link vtctldata.BackupResponse.verify|verify} messages. + * @param message BackupResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BackupResponse message, length delimited. Does not implicitly {@link vtctldata.BackupResponse.verify|verify} messages. + * @param message BackupResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BackupResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BackupResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.BackupResponse; + + /** + * Decodes a BackupResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BackupResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.BackupResponse; + + /** + * Verifies a BackupResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BackupResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BackupResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.BackupResponse; + + /** + * Creates a plain object from a BackupResponse message. Also converts values to other types if specified. + * @param message BackupResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.BackupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BackupResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BackupResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a BackupShardRequest. */ + interface IBackupShardRequest { + + /** BackupShardRequest keyspace */ + keyspace?: (string|null); + + /** BackupShardRequest shard */ + shard?: (string|null); + + /** BackupShardRequest allow_primary */ + allow_primary?: (boolean|null); + + /** BackupShardRequest concurrency */ + concurrency?: (number|null); + + /** BackupShardRequest upgrade_safe */ + upgrade_safe?: (boolean|null); + + /** BackupShardRequest incremental_from_pos */ + incremental_from_pos?: (string|null); + } + + /** Represents a BackupShardRequest. */ + class BackupShardRequest implements IBackupShardRequest { + + /** + * Constructs a new BackupShardRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IBackupShardRequest); + + /** BackupShardRequest keyspace. */ + public keyspace: string; + + /** BackupShardRequest shard. */ + public shard: string; + + /** BackupShardRequest allow_primary. */ + public allow_primary: boolean; + + /** BackupShardRequest concurrency. */ + public concurrency: number; + + /** BackupShardRequest upgrade_safe. */ + public upgrade_safe: boolean; + + /** BackupShardRequest incremental_from_pos. */ + public incremental_from_pos: string; + + /** + * Creates a new BackupShardRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns BackupShardRequest instance + */ + public static create(properties?: vtctldata.IBackupShardRequest): vtctldata.BackupShardRequest; + + /** + * Encodes the specified BackupShardRequest message. Does not implicitly {@link vtctldata.BackupShardRequest.verify|verify} messages. + * @param message BackupShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IBackupShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified BackupShardRequest message, length delimited. Does not implicitly {@link vtctldata.BackupShardRequest.verify|verify} messages. + * @param message BackupShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IBackupShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BackupShardRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BackupShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.BackupShardRequest; + + /** + * Decodes a BackupShardRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns BackupShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.BackupShardRequest; + + /** + * Verifies a BackupShardRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a BackupShardRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns BackupShardRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.BackupShardRequest; + + /** + * Creates a plain object from a BackupShardRequest message. Also converts values to other types if specified. + * @param message BackupShardRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.BackupShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this BackupShardRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BackupShardRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CancelSchemaMigrationRequest. */ + interface ICancelSchemaMigrationRequest { + + /** CancelSchemaMigrationRequest keyspace */ + keyspace?: (string|null); + + /** CancelSchemaMigrationRequest uuid */ + uuid?: (string|null); + } + + /** Represents a CancelSchemaMigrationRequest. */ + class CancelSchemaMigrationRequest implements ICancelSchemaMigrationRequest { + + /** + * Constructs a new CancelSchemaMigrationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICancelSchemaMigrationRequest); + + /** CancelSchemaMigrationRequest keyspace. */ + public keyspace: string; + + /** CancelSchemaMigrationRequest uuid. */ + public uuid: string; + + /** + * Creates a new CancelSchemaMigrationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CancelSchemaMigrationRequest instance + */ + public static create(properties?: vtctldata.ICancelSchemaMigrationRequest): vtctldata.CancelSchemaMigrationRequest; + + /** + * Encodes the specified CancelSchemaMigrationRequest message. Does not implicitly {@link vtctldata.CancelSchemaMigrationRequest.verify|verify} messages. + * @param message CancelSchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICancelSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CancelSchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.CancelSchemaMigrationRequest.verify|verify} messages. + * @param message CancelSchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICancelSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CancelSchemaMigrationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CancelSchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CancelSchemaMigrationRequest; + + /** + * Decodes a CancelSchemaMigrationRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CancelSchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CancelSchemaMigrationRequest; + + /** + * Verifies a CancelSchemaMigrationRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CancelSchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CancelSchemaMigrationRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CancelSchemaMigrationRequest; + + /** + * Creates a plain object from a CancelSchemaMigrationRequest message. Also converts values to other types if specified. + * @param message CancelSchemaMigrationRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CancelSchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CancelSchemaMigrationRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CancelSchemaMigrationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CancelSchemaMigrationResponse. */ + interface ICancelSchemaMigrationResponse { + + /** CancelSchemaMigrationResponse rows_affected_by_shard */ + rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); + } + + /** Represents a CancelSchemaMigrationResponse. */ + class CancelSchemaMigrationResponse implements ICancelSchemaMigrationResponse { + + /** + * Constructs a new CancelSchemaMigrationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICancelSchemaMigrationResponse); + + /** CancelSchemaMigrationResponse rows_affected_by_shard. */ + public rows_affected_by_shard: { [k: string]: (number|Long) }; + + /** + * Creates a new CancelSchemaMigrationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CancelSchemaMigrationResponse instance + */ + public static create(properties?: vtctldata.ICancelSchemaMigrationResponse): vtctldata.CancelSchemaMigrationResponse; + + /** + * Encodes the specified CancelSchemaMigrationResponse message. Does not implicitly {@link vtctldata.CancelSchemaMigrationResponse.verify|verify} messages. + * @param message CancelSchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICancelSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CancelSchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.CancelSchemaMigrationResponse.verify|verify} messages. + * @param message CancelSchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICancelSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CancelSchemaMigrationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CancelSchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CancelSchemaMigrationResponse; + + /** + * Decodes a CancelSchemaMigrationResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CancelSchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CancelSchemaMigrationResponse; + + /** + * Verifies a CancelSchemaMigrationResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CancelSchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CancelSchemaMigrationResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CancelSchemaMigrationResponse; + + /** + * Creates a plain object from a CancelSchemaMigrationResponse message. Also converts values to other types if specified. + * @param message CancelSchemaMigrationResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CancelSchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CancelSchemaMigrationResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CancelSchemaMigrationResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ChangeTabletTypeRequest. */ + interface IChangeTabletTypeRequest { + + /** ChangeTabletTypeRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** ChangeTabletTypeRequest db_type */ + db_type?: (topodata.TabletType|null); + + /** ChangeTabletTypeRequest dry_run */ + dry_run?: (boolean|null); + } + + /** Represents a ChangeTabletTypeRequest. */ + class ChangeTabletTypeRequest implements IChangeTabletTypeRequest { + + /** + * Constructs a new ChangeTabletTypeRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IChangeTabletTypeRequest); + + /** ChangeTabletTypeRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** ChangeTabletTypeRequest db_type. */ + public db_type: topodata.TabletType; + + /** ChangeTabletTypeRequest dry_run. */ + public dry_run: boolean; + + /** + * Creates a new ChangeTabletTypeRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ChangeTabletTypeRequest instance + */ + public static create(properties?: vtctldata.IChangeTabletTypeRequest): vtctldata.ChangeTabletTypeRequest; + + /** + * Encodes the specified ChangeTabletTypeRequest message. Does not implicitly {@link vtctldata.ChangeTabletTypeRequest.verify|verify} messages. + * @param message ChangeTabletTypeRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IChangeTabletTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ChangeTabletTypeRequest message, length delimited. Does not implicitly {@link vtctldata.ChangeTabletTypeRequest.verify|verify} messages. + * @param message ChangeTabletTypeRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IChangeTabletTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ChangeTabletTypeRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ChangeTabletTypeRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ChangeTabletTypeRequest; + + /** + * Decodes a ChangeTabletTypeRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ChangeTabletTypeRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ChangeTabletTypeRequest; + + /** + * Verifies a ChangeTabletTypeRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ChangeTabletTypeRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ChangeTabletTypeRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ChangeTabletTypeRequest; + + /** + * Creates a plain object from a ChangeTabletTypeRequest message. Also converts values to other types if specified. + * @param message ChangeTabletTypeRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ChangeTabletTypeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ChangeTabletTypeRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ChangeTabletTypeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ChangeTabletTypeResponse. */ + interface IChangeTabletTypeResponse { + + /** ChangeTabletTypeResponse before_tablet */ + before_tablet?: (topodata.ITablet|null); + + /** ChangeTabletTypeResponse after_tablet */ + after_tablet?: (topodata.ITablet|null); + + /** ChangeTabletTypeResponse was_dry_run */ + was_dry_run?: (boolean|null); + } + + /** Represents a ChangeTabletTypeResponse. */ + class ChangeTabletTypeResponse implements IChangeTabletTypeResponse { + + /** + * Constructs a new ChangeTabletTypeResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IChangeTabletTypeResponse); + + /** ChangeTabletTypeResponse before_tablet. */ + public before_tablet?: (topodata.ITablet|null); + + /** ChangeTabletTypeResponse after_tablet. */ + public after_tablet?: (topodata.ITablet|null); + + /** ChangeTabletTypeResponse was_dry_run. */ + public was_dry_run: boolean; + + /** + * Creates a new ChangeTabletTypeResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ChangeTabletTypeResponse instance + */ + public static create(properties?: vtctldata.IChangeTabletTypeResponse): vtctldata.ChangeTabletTypeResponse; + + /** + * Encodes the specified ChangeTabletTypeResponse message. Does not implicitly {@link vtctldata.ChangeTabletTypeResponse.verify|verify} messages. + * @param message ChangeTabletTypeResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IChangeTabletTypeResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ChangeTabletTypeResponse message, length delimited. Does not implicitly {@link vtctldata.ChangeTabletTypeResponse.verify|verify} messages. + * @param message ChangeTabletTypeResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IChangeTabletTypeResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ChangeTabletTypeResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ChangeTabletTypeResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ChangeTabletTypeResponse; + + /** + * Decodes a ChangeTabletTypeResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ChangeTabletTypeResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ChangeTabletTypeResponse; + + /** + * Verifies a ChangeTabletTypeResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ChangeTabletTypeResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ChangeTabletTypeResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ChangeTabletTypeResponse; + + /** + * Creates a plain object from a ChangeTabletTypeResponse message. Also converts values to other types if specified. + * @param message ChangeTabletTypeResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ChangeTabletTypeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ChangeTabletTypeResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ChangeTabletTypeResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CheckThrottlerRequest. */ + interface ICheckThrottlerRequest { + + /** CheckThrottlerRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** CheckThrottlerRequest app_name */ + app_name?: (string|null); + + /** CheckThrottlerRequest scope */ + scope?: (string|null); + + /** CheckThrottlerRequest skip_request_heartbeats */ + skip_request_heartbeats?: (boolean|null); + + /** CheckThrottlerRequest ok_if_not_exists */ + ok_if_not_exists?: (boolean|null); + } + + /** Represents a CheckThrottlerRequest. */ + class CheckThrottlerRequest implements ICheckThrottlerRequest { + + /** + * Constructs a new CheckThrottlerRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICheckThrottlerRequest); + + /** CheckThrottlerRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** CheckThrottlerRequest app_name. */ + public app_name: string; + + /** CheckThrottlerRequest scope. */ + public scope: string; + + /** CheckThrottlerRequest skip_request_heartbeats. */ + public skip_request_heartbeats: boolean; + + /** CheckThrottlerRequest ok_if_not_exists. */ + public ok_if_not_exists: boolean; + + /** + * Creates a new CheckThrottlerRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CheckThrottlerRequest instance + */ + public static create(properties?: vtctldata.ICheckThrottlerRequest): vtctldata.CheckThrottlerRequest; + + /** + * Encodes the specified CheckThrottlerRequest message. Does not implicitly {@link vtctldata.CheckThrottlerRequest.verify|verify} messages. + * @param message CheckThrottlerRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICheckThrottlerRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CheckThrottlerRequest message, length delimited. Does not implicitly {@link vtctldata.CheckThrottlerRequest.verify|verify} messages. + * @param message CheckThrottlerRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICheckThrottlerRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CheckThrottlerRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CheckThrottlerRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CheckThrottlerRequest; + + /** + * Decodes a CheckThrottlerRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CheckThrottlerRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CheckThrottlerRequest; + + /** + * Verifies a CheckThrottlerRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CheckThrottlerRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CheckThrottlerRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CheckThrottlerRequest; + + /** + * Creates a plain object from a CheckThrottlerRequest message. Also converts values to other types if specified. + * @param message CheckThrottlerRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CheckThrottlerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CheckThrottlerRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CheckThrottlerRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CheckThrottlerResponse. */ + interface ICheckThrottlerResponse { + + /** CheckThrottlerResponse tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** CheckThrottlerResponse Check */ + Check?: (tabletmanagerdata.ICheckThrottlerResponse|null); + } + + /** Represents a CheckThrottlerResponse. */ + class CheckThrottlerResponse implements ICheckThrottlerResponse { + + /** + * Constructs a new CheckThrottlerResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICheckThrottlerResponse); + + /** CheckThrottlerResponse tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** CheckThrottlerResponse Check. */ + public Check?: (tabletmanagerdata.ICheckThrottlerResponse|null); + + /** + * Creates a new CheckThrottlerResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CheckThrottlerResponse instance + */ + public static create(properties?: vtctldata.ICheckThrottlerResponse): vtctldata.CheckThrottlerResponse; + + /** + * Encodes the specified CheckThrottlerResponse message. Does not implicitly {@link vtctldata.CheckThrottlerResponse.verify|verify} messages. + * @param message CheckThrottlerResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICheckThrottlerResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CheckThrottlerResponse message, length delimited. Does not implicitly {@link vtctldata.CheckThrottlerResponse.verify|verify} messages. + * @param message CheckThrottlerResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICheckThrottlerResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CheckThrottlerResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CheckThrottlerResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CheckThrottlerResponse; + + /** + * Decodes a CheckThrottlerResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CheckThrottlerResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CheckThrottlerResponse; + + /** + * Verifies a CheckThrottlerResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CheckThrottlerResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CheckThrottlerResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CheckThrottlerResponse; + + /** + * Creates a plain object from a CheckThrottlerResponse message. Also converts values to other types if specified. + * @param message CheckThrottlerResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CheckThrottlerResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CheckThrottlerResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CheckThrottlerResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CleanupSchemaMigrationRequest. */ + interface ICleanupSchemaMigrationRequest { + + /** CleanupSchemaMigrationRequest keyspace */ + keyspace?: (string|null); + + /** CleanupSchemaMigrationRequest uuid */ + uuid?: (string|null); + } + + /** Represents a CleanupSchemaMigrationRequest. */ + class CleanupSchemaMigrationRequest implements ICleanupSchemaMigrationRequest { + + /** + * Constructs a new CleanupSchemaMigrationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICleanupSchemaMigrationRequest); + + /** CleanupSchemaMigrationRequest keyspace. */ + public keyspace: string; + + /** CleanupSchemaMigrationRequest uuid. */ + public uuid: string; + + /** + * Creates a new CleanupSchemaMigrationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CleanupSchemaMigrationRequest instance + */ + public static create(properties?: vtctldata.ICleanupSchemaMigrationRequest): vtctldata.CleanupSchemaMigrationRequest; + + /** + * Encodes the specified CleanupSchemaMigrationRequest message. Does not implicitly {@link vtctldata.CleanupSchemaMigrationRequest.verify|verify} messages. + * @param message CleanupSchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICleanupSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CleanupSchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.CleanupSchemaMigrationRequest.verify|verify} messages. + * @param message CleanupSchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICleanupSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CleanupSchemaMigrationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CleanupSchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CleanupSchemaMigrationRequest; + + /** + * Decodes a CleanupSchemaMigrationRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CleanupSchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CleanupSchemaMigrationRequest; + + /** + * Verifies a CleanupSchemaMigrationRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CleanupSchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CleanupSchemaMigrationRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CleanupSchemaMigrationRequest; + + /** + * Creates a plain object from a CleanupSchemaMigrationRequest message. Also converts values to other types if specified. + * @param message CleanupSchemaMigrationRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CleanupSchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CleanupSchemaMigrationRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CleanupSchemaMigrationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CleanupSchemaMigrationResponse. */ + interface ICleanupSchemaMigrationResponse { + + /** CleanupSchemaMigrationResponse rows_affected_by_shard */ + rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); + } + + /** Represents a CleanupSchemaMigrationResponse. */ + class CleanupSchemaMigrationResponse implements ICleanupSchemaMigrationResponse { + + /** + * Constructs a new CleanupSchemaMigrationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICleanupSchemaMigrationResponse); + + /** CleanupSchemaMigrationResponse rows_affected_by_shard. */ + public rows_affected_by_shard: { [k: string]: (number|Long) }; + + /** + * Creates a new CleanupSchemaMigrationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CleanupSchemaMigrationResponse instance + */ + public static create(properties?: vtctldata.ICleanupSchemaMigrationResponse): vtctldata.CleanupSchemaMigrationResponse; + + /** + * Encodes the specified CleanupSchemaMigrationResponse message. Does not implicitly {@link vtctldata.CleanupSchemaMigrationResponse.verify|verify} messages. + * @param message CleanupSchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICleanupSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CleanupSchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.CleanupSchemaMigrationResponse.verify|verify} messages. + * @param message CleanupSchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICleanupSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CleanupSchemaMigrationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CleanupSchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CleanupSchemaMigrationResponse; + + /** + * Decodes a CleanupSchemaMigrationResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CleanupSchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CleanupSchemaMigrationResponse; + + /** + * Verifies a CleanupSchemaMigrationResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CleanupSchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CleanupSchemaMigrationResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CleanupSchemaMigrationResponse; + + /** + * Creates a plain object from a CleanupSchemaMigrationResponse message. Also converts values to other types if specified. + * @param message CleanupSchemaMigrationResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CleanupSchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CleanupSchemaMigrationResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CleanupSchemaMigrationResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CompleteSchemaMigrationRequest. */ + interface ICompleteSchemaMigrationRequest { + + /** CompleteSchemaMigrationRequest keyspace */ + keyspace?: (string|null); + + /** CompleteSchemaMigrationRequest uuid */ + uuid?: (string|null); + } + + /** Represents a CompleteSchemaMigrationRequest. */ + class CompleteSchemaMigrationRequest implements ICompleteSchemaMigrationRequest { + + /** + * Constructs a new CompleteSchemaMigrationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICompleteSchemaMigrationRequest); + + /** CompleteSchemaMigrationRequest keyspace. */ + public keyspace: string; + + /** CompleteSchemaMigrationRequest uuid. */ + public uuid: string; + + /** + * Creates a new CompleteSchemaMigrationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CompleteSchemaMigrationRequest instance + */ + public static create(properties?: vtctldata.ICompleteSchemaMigrationRequest): vtctldata.CompleteSchemaMigrationRequest; + + /** + * Encodes the specified CompleteSchemaMigrationRequest message. Does not implicitly {@link vtctldata.CompleteSchemaMigrationRequest.verify|verify} messages. + * @param message CompleteSchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICompleteSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CompleteSchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.CompleteSchemaMigrationRequest.verify|verify} messages. + * @param message CompleteSchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICompleteSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CompleteSchemaMigrationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CompleteSchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CompleteSchemaMigrationRequest; + + /** + * Decodes a CompleteSchemaMigrationRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CompleteSchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CompleteSchemaMigrationRequest; + + /** + * Verifies a CompleteSchemaMigrationRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CompleteSchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CompleteSchemaMigrationRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CompleteSchemaMigrationRequest; + + /** + * Creates a plain object from a CompleteSchemaMigrationRequest message. Also converts values to other types if specified. + * @param message CompleteSchemaMigrationRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CompleteSchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CompleteSchemaMigrationRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompleteSchemaMigrationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CompleteSchemaMigrationResponse. */ + interface ICompleteSchemaMigrationResponse { + + /** CompleteSchemaMigrationResponse rows_affected_by_shard */ + rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); + } + + /** Represents a CompleteSchemaMigrationResponse. */ + class CompleteSchemaMigrationResponse implements ICompleteSchemaMigrationResponse { + + /** + * Constructs a new CompleteSchemaMigrationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICompleteSchemaMigrationResponse); + + /** CompleteSchemaMigrationResponse rows_affected_by_shard. */ + public rows_affected_by_shard: { [k: string]: (number|Long) }; + + /** + * Creates a new CompleteSchemaMigrationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CompleteSchemaMigrationResponse instance + */ + public static create(properties?: vtctldata.ICompleteSchemaMigrationResponse): vtctldata.CompleteSchemaMigrationResponse; + + /** + * Encodes the specified CompleteSchemaMigrationResponse message. Does not implicitly {@link vtctldata.CompleteSchemaMigrationResponse.verify|verify} messages. + * @param message CompleteSchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICompleteSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CompleteSchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.CompleteSchemaMigrationResponse.verify|verify} messages. + * @param message CompleteSchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICompleteSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CompleteSchemaMigrationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CompleteSchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CompleteSchemaMigrationResponse; + + /** + * Decodes a CompleteSchemaMigrationResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CompleteSchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CompleteSchemaMigrationResponse; + + /** + * Verifies a CompleteSchemaMigrationResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CompleteSchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CompleteSchemaMigrationResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CompleteSchemaMigrationResponse; + + /** + * Creates a plain object from a CompleteSchemaMigrationResponse message. Also converts values to other types if specified. + * @param message CompleteSchemaMigrationResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CompleteSchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CompleteSchemaMigrationResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompleteSchemaMigrationResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CreateKeyspaceRequest. */ + interface ICreateKeyspaceRequest { + + /** CreateKeyspaceRequest name */ + name?: (string|null); + + /** CreateKeyspaceRequest force */ + force?: (boolean|null); + + /** CreateKeyspaceRequest allow_empty_v_schema */ + allow_empty_v_schema?: (boolean|null); + + /** CreateKeyspaceRequest type */ + type?: (topodata.KeyspaceType|null); + + /** CreateKeyspaceRequest base_keyspace */ + base_keyspace?: (string|null); + + /** CreateKeyspaceRequest snapshot_time */ + snapshot_time?: (vttime.ITime|null); + + /** CreateKeyspaceRequest durability_policy */ + durability_policy?: (string|null); + + /** CreateKeyspaceRequest sidecar_db_name */ + sidecar_db_name?: (string|null); + } + + /** Represents a CreateKeyspaceRequest. */ + class CreateKeyspaceRequest implements ICreateKeyspaceRequest { + + /** + * Constructs a new CreateKeyspaceRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICreateKeyspaceRequest); + + /** CreateKeyspaceRequest name. */ + public name: string; + + /** CreateKeyspaceRequest force. */ + public force: boolean; + + /** CreateKeyspaceRequest allow_empty_v_schema. */ + public allow_empty_v_schema: boolean; + + /** CreateKeyspaceRequest type. */ + public type: topodata.KeyspaceType; + + /** CreateKeyspaceRequest base_keyspace. */ + public base_keyspace: string; + + /** CreateKeyspaceRequest snapshot_time. */ + public snapshot_time?: (vttime.ITime|null); + + /** CreateKeyspaceRequest durability_policy. */ + public durability_policy: string; + + /** CreateKeyspaceRequest sidecar_db_name. */ + public sidecar_db_name: string; + + /** + * Creates a new CreateKeyspaceRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateKeyspaceRequest instance + */ + public static create(properties?: vtctldata.ICreateKeyspaceRequest): vtctldata.CreateKeyspaceRequest; + + /** + * Encodes the specified CreateKeyspaceRequest message. Does not implicitly {@link vtctldata.CreateKeyspaceRequest.verify|verify} messages. + * @param message CreateKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICreateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CreateKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.CreateKeyspaceRequest.verify|verify} messages. + * @param message CreateKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICreateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateKeyspaceRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateKeyspaceRequest; + + /** + * Decodes a CreateKeyspaceRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CreateKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateKeyspaceRequest; + + /** + * Verifies a CreateKeyspaceRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CreateKeyspaceRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CreateKeyspaceRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CreateKeyspaceRequest; + + /** + * Creates a plain object from a CreateKeyspaceRequest message. Also converts values to other types if specified. + * @param message CreateKeyspaceRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CreateKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CreateKeyspaceRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateKeyspaceRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CreateKeyspaceResponse. */ + interface ICreateKeyspaceResponse { + + /** CreateKeyspaceResponse keyspace */ + keyspace?: (vtctldata.IKeyspace|null); + } + + /** Represents a CreateKeyspaceResponse. */ + class CreateKeyspaceResponse implements ICreateKeyspaceResponse { + + /** + * Constructs a new CreateKeyspaceResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICreateKeyspaceResponse); + + /** CreateKeyspaceResponse keyspace. */ + public keyspace?: (vtctldata.IKeyspace|null); + + /** + * Creates a new CreateKeyspaceResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateKeyspaceResponse instance + */ + public static create(properties?: vtctldata.ICreateKeyspaceResponse): vtctldata.CreateKeyspaceResponse; + + /** + * Encodes the specified CreateKeyspaceResponse message. Does not implicitly {@link vtctldata.CreateKeyspaceResponse.verify|verify} messages. + * @param message CreateKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICreateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CreateKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.CreateKeyspaceResponse.verify|verify} messages. + * @param message CreateKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICreateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateKeyspaceResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateKeyspaceResponse; + + /** + * Decodes a CreateKeyspaceResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CreateKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateKeyspaceResponse; + + /** + * Verifies a CreateKeyspaceResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CreateKeyspaceResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CreateKeyspaceResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CreateKeyspaceResponse; + + /** + * Creates a plain object from a CreateKeyspaceResponse message. Also converts values to other types if specified. + * @param message CreateKeyspaceResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CreateKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CreateKeyspaceResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateKeyspaceResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CreateShardRequest. */ + interface ICreateShardRequest { + + /** CreateShardRequest keyspace */ + keyspace?: (string|null); + + /** CreateShardRequest shard_name */ + shard_name?: (string|null); + + /** CreateShardRequest force */ + force?: (boolean|null); + + /** CreateShardRequest include_parent */ + include_parent?: (boolean|null); + } + + /** Represents a CreateShardRequest. */ + class CreateShardRequest implements ICreateShardRequest { + + /** + * Constructs a new CreateShardRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICreateShardRequest); + + /** CreateShardRequest keyspace. */ + public keyspace: string; + + /** CreateShardRequest shard_name. */ + public shard_name: string; + + /** CreateShardRequest force. */ + public force: boolean; + + /** CreateShardRequest include_parent. */ + public include_parent: boolean; + + /** + * Creates a new CreateShardRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateShardRequest instance + */ + public static create(properties?: vtctldata.ICreateShardRequest): vtctldata.CreateShardRequest; + + /** + * Encodes the specified CreateShardRequest message. Does not implicitly {@link vtctldata.CreateShardRequest.verify|verify} messages. + * @param message CreateShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICreateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CreateShardRequest message, length delimited. Does not implicitly {@link vtctldata.CreateShardRequest.verify|verify} messages. + * @param message CreateShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICreateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateShardRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateShardRequest; + + /** + * Decodes a CreateShardRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CreateShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateShardRequest; + + /** + * Verifies a CreateShardRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CreateShardRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CreateShardRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CreateShardRequest; + + /** + * Creates a plain object from a CreateShardRequest message. Also converts values to other types if specified. + * @param message CreateShardRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CreateShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CreateShardRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateShardRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CreateShardResponse. */ + interface ICreateShardResponse { + + /** CreateShardResponse keyspace */ + keyspace?: (vtctldata.IKeyspace|null); + + /** CreateShardResponse shard */ + shard?: (vtctldata.IShard|null); + + /** CreateShardResponse shard_already_exists */ + shard_already_exists?: (boolean|null); + } + + /** Represents a CreateShardResponse. */ + class CreateShardResponse implements ICreateShardResponse { + + /** + * Constructs a new CreateShardResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ICreateShardResponse); + + /** CreateShardResponse keyspace. */ + public keyspace?: (vtctldata.IKeyspace|null); + + /** CreateShardResponse shard. */ + public shard?: (vtctldata.IShard|null); + + /** CreateShardResponse shard_already_exists. */ + public shard_already_exists: boolean; + + /** + * Creates a new CreateShardResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateShardResponse instance + */ + public static create(properties?: vtctldata.ICreateShardResponse): vtctldata.CreateShardResponse; + + /** + * Encodes the specified CreateShardResponse message. Does not implicitly {@link vtctldata.CreateShardResponse.verify|verify} messages. + * @param message CreateShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ICreateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CreateShardResponse message, length delimited. Does not implicitly {@link vtctldata.CreateShardResponse.verify|verify} messages. + * @param message CreateShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ICreateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateShardResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateShardResponse; + + /** + * Decodes a CreateShardResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CreateShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateShardResponse; + + /** + * Verifies a CreateShardResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CreateShardResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CreateShardResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.CreateShardResponse; + + /** + * Creates a plain object from a CreateShardResponse message. Also converts values to other types if specified. + * @param message CreateShardResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.CreateShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CreateShardResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateShardResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteCellInfoRequest. */ + interface IDeleteCellInfoRequest { + + /** DeleteCellInfoRequest name */ + name?: (string|null); + + /** DeleteCellInfoRequest force */ + force?: (boolean|null); + } + + /** Represents a DeleteCellInfoRequest. */ + class DeleteCellInfoRequest implements IDeleteCellInfoRequest { + + /** + * Constructs a new DeleteCellInfoRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteCellInfoRequest); + + /** DeleteCellInfoRequest name. */ + public name: string; + + /** DeleteCellInfoRequest force. */ + public force: boolean; + + /** + * Creates a new DeleteCellInfoRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteCellInfoRequest instance + */ + public static create(properties?: vtctldata.IDeleteCellInfoRequest): vtctldata.DeleteCellInfoRequest; + + /** + * Encodes the specified DeleteCellInfoRequest message. Does not implicitly {@link vtctldata.DeleteCellInfoRequest.verify|verify} messages. + * @param message DeleteCellInfoRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteCellInfoRequest.verify|verify} messages. + * @param message DeleteCellInfoRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteCellInfoRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteCellInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellInfoRequest; + + /** + * Decodes a DeleteCellInfoRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteCellInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellInfoRequest; + + /** + * Verifies a DeleteCellInfoRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteCellInfoRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteCellInfoRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellInfoRequest; + + /** + * Creates a plain object from a DeleteCellInfoRequest message. Also converts values to other types if specified. + * @param message DeleteCellInfoRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteCellInfoRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteCellInfoRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteCellInfoResponse. */ + interface IDeleteCellInfoResponse { + } + + /** Represents a DeleteCellInfoResponse. */ + class DeleteCellInfoResponse implements IDeleteCellInfoResponse { + + /** + * Constructs a new DeleteCellInfoResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteCellInfoResponse); + + /** + * Creates a new DeleteCellInfoResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteCellInfoResponse instance + */ + public static create(properties?: vtctldata.IDeleteCellInfoResponse): vtctldata.DeleteCellInfoResponse; + + /** + * Encodes the specified DeleteCellInfoResponse message. Does not implicitly {@link vtctldata.DeleteCellInfoResponse.verify|verify} messages. + * @param message DeleteCellInfoResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteCellInfoResponse.verify|verify} messages. + * @param message DeleteCellInfoResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteCellInfoResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteCellInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellInfoResponse; + + /** + * Decodes a DeleteCellInfoResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteCellInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellInfoResponse; + + /** + * Verifies a DeleteCellInfoResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteCellInfoResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteCellInfoResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellInfoResponse; + + /** + * Creates a plain object from a DeleteCellInfoResponse message. Also converts values to other types if specified. + * @param message DeleteCellInfoResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteCellInfoResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteCellInfoResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteCellsAliasRequest. */ + interface IDeleteCellsAliasRequest { + + /** DeleteCellsAliasRequest name */ + name?: (string|null); + } + + /** Represents a DeleteCellsAliasRequest. */ + class DeleteCellsAliasRequest implements IDeleteCellsAliasRequest { + + /** + * Constructs a new DeleteCellsAliasRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteCellsAliasRequest); + + /** DeleteCellsAliasRequest name. */ + public name: string; + + /** + * Creates a new DeleteCellsAliasRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteCellsAliasRequest instance + */ + public static create(properties?: vtctldata.IDeleteCellsAliasRequest): vtctldata.DeleteCellsAliasRequest; + + /** + * Encodes the specified DeleteCellsAliasRequest message. Does not implicitly {@link vtctldata.DeleteCellsAliasRequest.verify|verify} messages. + * @param message DeleteCellsAliasRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteCellsAliasRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteCellsAliasRequest.verify|verify} messages. + * @param message DeleteCellsAliasRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteCellsAliasRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteCellsAliasRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellsAliasRequest; + + /** + * Decodes a DeleteCellsAliasRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteCellsAliasRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellsAliasRequest; + + /** + * Verifies a DeleteCellsAliasRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteCellsAliasRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteCellsAliasRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellsAliasRequest; + + /** + * Creates a plain object from a DeleteCellsAliasRequest message. Also converts values to other types if specified. + * @param message DeleteCellsAliasRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteCellsAliasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteCellsAliasRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteCellsAliasRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteCellsAliasResponse. */ + interface IDeleteCellsAliasResponse { + } + + /** Represents a DeleteCellsAliasResponse. */ + class DeleteCellsAliasResponse implements IDeleteCellsAliasResponse { + + /** + * Constructs a new DeleteCellsAliasResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteCellsAliasResponse); + + /** + * Creates a new DeleteCellsAliasResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteCellsAliasResponse instance + */ + public static create(properties?: vtctldata.IDeleteCellsAliasResponse): vtctldata.DeleteCellsAliasResponse; + + /** + * Encodes the specified DeleteCellsAliasResponse message. Does not implicitly {@link vtctldata.DeleteCellsAliasResponse.verify|verify} messages. + * @param message DeleteCellsAliasResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteCellsAliasResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteCellsAliasResponse.verify|verify} messages. + * @param message DeleteCellsAliasResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteCellsAliasResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteCellsAliasResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellsAliasResponse; + + /** + * Decodes a DeleteCellsAliasResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteCellsAliasResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellsAliasResponse; + + /** + * Verifies a DeleteCellsAliasResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteCellsAliasResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteCellsAliasResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellsAliasResponse; + + /** + * Creates a plain object from a DeleteCellsAliasResponse message. Also converts values to other types if specified. + * @param message DeleteCellsAliasResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteCellsAliasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteCellsAliasResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteCellsAliasResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteKeyspaceRequest. */ + interface IDeleteKeyspaceRequest { + + /** DeleteKeyspaceRequest keyspace */ + keyspace?: (string|null); + + /** DeleteKeyspaceRequest recursive */ + recursive?: (boolean|null); + + /** DeleteKeyspaceRequest force */ + force?: (boolean|null); + } + + /** Represents a DeleteKeyspaceRequest. */ + class DeleteKeyspaceRequest implements IDeleteKeyspaceRequest { + + /** + * Constructs a new DeleteKeyspaceRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteKeyspaceRequest); + + /** DeleteKeyspaceRequest keyspace. */ + public keyspace: string; + + /** DeleteKeyspaceRequest recursive. */ + public recursive: boolean; + + /** DeleteKeyspaceRequest force. */ + public force: boolean; + + /** + * Creates a new DeleteKeyspaceRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteKeyspaceRequest instance + */ + public static create(properties?: vtctldata.IDeleteKeyspaceRequest): vtctldata.DeleteKeyspaceRequest; + + /** + * Encodes the specified DeleteKeyspaceRequest message. Does not implicitly {@link vtctldata.DeleteKeyspaceRequest.verify|verify} messages. + * @param message DeleteKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteKeyspaceRequest.verify|verify} messages. + * @param message DeleteKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteKeyspaceRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteKeyspaceRequest; + + /** + * Decodes a DeleteKeyspaceRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteKeyspaceRequest; + + /** + * Verifies a DeleteKeyspaceRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteKeyspaceRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteKeyspaceRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteKeyspaceRequest; + + /** + * Creates a plain object from a DeleteKeyspaceRequest message. Also converts values to other types if specified. + * @param message DeleteKeyspaceRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteKeyspaceRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteKeyspaceRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteKeyspaceResponse. */ + interface IDeleteKeyspaceResponse { + } + + /** Represents a DeleteKeyspaceResponse. */ + class DeleteKeyspaceResponse implements IDeleteKeyspaceResponse { + + /** + * Constructs a new DeleteKeyspaceResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteKeyspaceResponse); + + /** + * Creates a new DeleteKeyspaceResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteKeyspaceResponse instance + */ + public static create(properties?: vtctldata.IDeleteKeyspaceResponse): vtctldata.DeleteKeyspaceResponse; + + /** + * Encodes the specified DeleteKeyspaceResponse message. Does not implicitly {@link vtctldata.DeleteKeyspaceResponse.verify|verify} messages. + * @param message DeleteKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteKeyspaceResponse.verify|verify} messages. + * @param message DeleteKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteKeyspaceResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteKeyspaceResponse; + + /** + * Decodes a DeleteKeyspaceResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteKeyspaceResponse; + + /** + * Verifies a DeleteKeyspaceResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteKeyspaceResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteKeyspaceResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteKeyspaceResponse; + + /** + * Creates a plain object from a DeleteKeyspaceResponse message. Also converts values to other types if specified. + * @param message DeleteKeyspaceResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteKeyspaceResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteKeyspaceResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteShardsRequest. */ + interface IDeleteShardsRequest { + + /** DeleteShardsRequest shards */ + shards?: (vtctldata.IShard[]|null); + + /** DeleteShardsRequest recursive */ + recursive?: (boolean|null); + + /** DeleteShardsRequest even_if_serving */ + even_if_serving?: (boolean|null); + + /** DeleteShardsRequest force */ + force?: (boolean|null); + } + + /** Represents a DeleteShardsRequest. */ + class DeleteShardsRequest implements IDeleteShardsRequest { + + /** + * Constructs a new DeleteShardsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteShardsRequest); + + /** DeleteShardsRequest shards. */ + public shards: vtctldata.IShard[]; + + /** DeleteShardsRequest recursive. */ + public recursive: boolean; + + /** DeleteShardsRequest even_if_serving. */ + public even_if_serving: boolean; + + /** DeleteShardsRequest force. */ + public force: boolean; + + /** + * Creates a new DeleteShardsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteShardsRequest instance + */ + public static create(properties?: vtctldata.IDeleteShardsRequest): vtctldata.DeleteShardsRequest; + + /** + * Encodes the specified DeleteShardsRequest message. Does not implicitly {@link vtctldata.DeleteShardsRequest.verify|verify} messages. + * @param message DeleteShardsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteShardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteShardsRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteShardsRequest.verify|verify} messages. + * @param message DeleteShardsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteShardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteShardsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteShardsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteShardsRequest; + + /** + * Decodes a DeleteShardsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteShardsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteShardsRequest; + + /** + * Verifies a DeleteShardsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteShardsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteShardsRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteShardsRequest; + + /** + * Creates a plain object from a DeleteShardsRequest message. Also converts values to other types if specified. + * @param message DeleteShardsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteShardsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteShardsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteShardsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteShardsResponse. */ + interface IDeleteShardsResponse { + } + + /** Represents a DeleteShardsResponse. */ + class DeleteShardsResponse implements IDeleteShardsResponse { + + /** + * Constructs a new DeleteShardsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteShardsResponse); + + /** + * Creates a new DeleteShardsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteShardsResponse instance + */ + public static create(properties?: vtctldata.IDeleteShardsResponse): vtctldata.DeleteShardsResponse; + + /** + * Encodes the specified DeleteShardsResponse message. Does not implicitly {@link vtctldata.DeleteShardsResponse.verify|verify} messages. + * @param message DeleteShardsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteShardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteShardsResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteShardsResponse.verify|verify} messages. + * @param message DeleteShardsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteShardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteShardsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteShardsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteShardsResponse; + + /** + * Decodes a DeleteShardsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteShardsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteShardsResponse; + + /** + * Verifies a DeleteShardsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteShardsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteShardsResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteShardsResponse; + + /** + * Creates a plain object from a DeleteShardsResponse message. Also converts values to other types if specified. + * @param message DeleteShardsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteShardsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteShardsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteShardsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteSrvVSchemaRequest. */ + interface IDeleteSrvVSchemaRequest { + + /** DeleteSrvVSchemaRequest cell */ + cell?: (string|null); + } + + /** Represents a DeleteSrvVSchemaRequest. */ + class DeleteSrvVSchemaRequest implements IDeleteSrvVSchemaRequest { + + /** + * Constructs a new DeleteSrvVSchemaRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteSrvVSchemaRequest); + + /** DeleteSrvVSchemaRequest cell. */ + public cell: string; + + /** + * Creates a new DeleteSrvVSchemaRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteSrvVSchemaRequest instance + */ + public static create(properties?: vtctldata.IDeleteSrvVSchemaRequest): vtctldata.DeleteSrvVSchemaRequest; + + /** + * Encodes the specified DeleteSrvVSchemaRequest message. Does not implicitly {@link vtctldata.DeleteSrvVSchemaRequest.verify|verify} messages. + * @param message DeleteSrvVSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteSrvVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteSrvVSchemaRequest.verify|verify} messages. + * @param message DeleteSrvVSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteSrvVSchemaRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteSrvVSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteSrvVSchemaRequest; + + /** + * Decodes a DeleteSrvVSchemaRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteSrvVSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteSrvVSchemaRequest; + + /** + * Verifies a DeleteSrvVSchemaRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteSrvVSchemaRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteSrvVSchemaRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteSrvVSchemaRequest; + + /** + * Creates a plain object from a DeleteSrvVSchemaRequest message. Also converts values to other types if specified. + * @param message DeleteSrvVSchemaRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteSrvVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteSrvVSchemaRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteSrvVSchemaRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteSrvVSchemaResponse. */ + interface IDeleteSrvVSchemaResponse { + } + + /** Represents a DeleteSrvVSchemaResponse. */ + class DeleteSrvVSchemaResponse implements IDeleteSrvVSchemaResponse { + + /** + * Constructs a new DeleteSrvVSchemaResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteSrvVSchemaResponse); + + /** + * Creates a new DeleteSrvVSchemaResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteSrvVSchemaResponse instance + */ + public static create(properties?: vtctldata.IDeleteSrvVSchemaResponse): vtctldata.DeleteSrvVSchemaResponse; + + /** + * Encodes the specified DeleteSrvVSchemaResponse message. Does not implicitly {@link vtctldata.DeleteSrvVSchemaResponse.verify|verify} messages. + * @param message DeleteSrvVSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteSrvVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteSrvVSchemaResponse.verify|verify} messages. + * @param message DeleteSrvVSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteSrvVSchemaResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteSrvVSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteSrvVSchemaResponse; + + /** + * Decodes a DeleteSrvVSchemaResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteSrvVSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteSrvVSchemaResponse; + + /** + * Verifies a DeleteSrvVSchemaResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteSrvVSchemaResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteSrvVSchemaResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteSrvVSchemaResponse; + + /** + * Creates a plain object from a DeleteSrvVSchemaResponse message. Also converts values to other types if specified. + * @param message DeleteSrvVSchemaResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteSrvVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteSrvVSchemaResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteSrvVSchemaResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteTabletsRequest. */ + interface IDeleteTabletsRequest { + + /** DeleteTabletsRequest tablet_aliases */ + tablet_aliases?: (topodata.ITabletAlias[]|null); + + /** DeleteTabletsRequest allow_primary */ + allow_primary?: (boolean|null); + } + + /** Represents a DeleteTabletsRequest. */ + class DeleteTabletsRequest implements IDeleteTabletsRequest { + + /** + * Constructs a new DeleteTabletsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteTabletsRequest); + + /** DeleteTabletsRequest tablet_aliases. */ + public tablet_aliases: topodata.ITabletAlias[]; + + /** DeleteTabletsRequest allow_primary. */ + public allow_primary: boolean; + + /** + * Creates a new DeleteTabletsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteTabletsRequest instance + */ + public static create(properties?: vtctldata.IDeleteTabletsRequest): vtctldata.DeleteTabletsRequest; + + /** + * Encodes the specified DeleteTabletsRequest message. Does not implicitly {@link vtctldata.DeleteTabletsRequest.verify|verify} messages. + * @param message DeleteTabletsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteTabletsRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteTabletsRequest.verify|verify} messages. + * @param message DeleteTabletsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteTabletsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteTabletsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteTabletsRequest; + + /** + * Decodes a DeleteTabletsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteTabletsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteTabletsRequest; + + /** + * Verifies a DeleteTabletsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteTabletsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteTabletsRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteTabletsRequest; + + /** + * Creates a plain object from a DeleteTabletsRequest message. Also converts values to other types if specified. + * @param message DeleteTabletsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteTabletsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteTabletsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteTabletsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteTabletsResponse. */ + interface IDeleteTabletsResponse { + } + + /** Represents a DeleteTabletsResponse. */ + class DeleteTabletsResponse implements IDeleteTabletsResponse { + + /** + * Constructs a new DeleteTabletsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IDeleteTabletsResponse); + + /** + * Creates a new DeleteTabletsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteTabletsResponse instance + */ + public static create(properties?: vtctldata.IDeleteTabletsResponse): vtctldata.DeleteTabletsResponse; + + /** + * Encodes the specified DeleteTabletsResponse message. Does not implicitly {@link vtctldata.DeleteTabletsResponse.verify|verify} messages. + * @param message DeleteTabletsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IDeleteTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteTabletsResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteTabletsResponse.verify|verify} messages. + * @param message DeleteTabletsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IDeleteTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteTabletsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteTabletsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteTabletsResponse; + + /** + * Decodes a DeleteTabletsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteTabletsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteTabletsResponse; + + /** + * Verifies a DeleteTabletsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a DeleteTabletsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteTabletsResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.DeleteTabletsResponse; + + /** + * Creates a plain object from a DeleteTabletsResponse message. Also converts values to other types if specified. + * @param message DeleteTabletsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.DeleteTabletsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteTabletsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteTabletsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an EmergencyReparentShardRequest. */ + interface IEmergencyReparentShardRequest { + + /** EmergencyReparentShardRequest keyspace */ + keyspace?: (string|null); + + /** EmergencyReparentShardRequest shard */ + shard?: (string|null); + + /** EmergencyReparentShardRequest new_primary */ + new_primary?: (topodata.ITabletAlias|null); + + /** EmergencyReparentShardRequest ignore_replicas */ + ignore_replicas?: (topodata.ITabletAlias[]|null); + + /** EmergencyReparentShardRequest wait_replicas_timeout */ + wait_replicas_timeout?: (vttime.IDuration|null); + + /** EmergencyReparentShardRequest prevent_cross_cell_promotion */ + prevent_cross_cell_promotion?: (boolean|null); + + /** EmergencyReparentShardRequest wait_for_all_tablets */ + wait_for_all_tablets?: (boolean|null); + + /** EmergencyReparentShardRequest expected_primary */ + expected_primary?: (topodata.ITabletAlias|null); + } + + /** Represents an EmergencyReparentShardRequest. */ + class EmergencyReparentShardRequest implements IEmergencyReparentShardRequest { + + /** + * Constructs a new EmergencyReparentShardRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IEmergencyReparentShardRequest); + + /** EmergencyReparentShardRequest keyspace. */ + public keyspace: string; + + /** EmergencyReparentShardRequest shard. */ + public shard: string; + + /** EmergencyReparentShardRequest new_primary. */ + public new_primary?: (topodata.ITabletAlias|null); + + /** EmergencyReparentShardRequest ignore_replicas. */ + public ignore_replicas: topodata.ITabletAlias[]; + + /** EmergencyReparentShardRequest wait_replicas_timeout. */ + public wait_replicas_timeout?: (vttime.IDuration|null); + + /** EmergencyReparentShardRequest prevent_cross_cell_promotion. */ + public prevent_cross_cell_promotion: boolean; + + /** EmergencyReparentShardRequest wait_for_all_tablets. */ + public wait_for_all_tablets: boolean; + + /** EmergencyReparentShardRequest expected_primary. */ + public expected_primary?: (topodata.ITabletAlias|null); + + /** + * Creates a new EmergencyReparentShardRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns EmergencyReparentShardRequest instance + */ + public static create(properties?: vtctldata.IEmergencyReparentShardRequest): vtctldata.EmergencyReparentShardRequest; + + /** + * Encodes the specified EmergencyReparentShardRequest message. Does not implicitly {@link vtctldata.EmergencyReparentShardRequest.verify|verify} messages. + * @param message EmergencyReparentShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IEmergencyReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified EmergencyReparentShardRequest message, length delimited. Does not implicitly {@link vtctldata.EmergencyReparentShardRequest.verify|verify} messages. + * @param message EmergencyReparentShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IEmergencyReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EmergencyReparentShardRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EmergencyReparentShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.EmergencyReparentShardRequest; + + /** + * Decodes an EmergencyReparentShardRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns EmergencyReparentShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.EmergencyReparentShardRequest; + + /** + * Verifies an EmergencyReparentShardRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an EmergencyReparentShardRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns EmergencyReparentShardRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.EmergencyReparentShardRequest; + + /** + * Creates a plain object from an EmergencyReparentShardRequest message. Also converts values to other types if specified. + * @param message EmergencyReparentShardRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.EmergencyReparentShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this EmergencyReparentShardRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EmergencyReparentShardRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an EmergencyReparentShardResponse. */ + interface IEmergencyReparentShardResponse { + + /** EmergencyReparentShardResponse keyspace */ + keyspace?: (string|null); + + /** EmergencyReparentShardResponse shard */ + shard?: (string|null); + + /** EmergencyReparentShardResponse promoted_primary */ + promoted_primary?: (topodata.ITabletAlias|null); + + /** EmergencyReparentShardResponse events */ + events?: (logutil.IEvent[]|null); + } + + /** Represents an EmergencyReparentShardResponse. */ + class EmergencyReparentShardResponse implements IEmergencyReparentShardResponse { + + /** + * Constructs a new EmergencyReparentShardResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IEmergencyReparentShardResponse); + + /** EmergencyReparentShardResponse keyspace. */ + public keyspace: string; + + /** EmergencyReparentShardResponse shard. */ + public shard: string; + + /** EmergencyReparentShardResponse promoted_primary. */ + public promoted_primary?: (topodata.ITabletAlias|null); + + /** EmergencyReparentShardResponse events. */ + public events: logutil.IEvent[]; + + /** + * Creates a new EmergencyReparentShardResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns EmergencyReparentShardResponse instance + */ + public static create(properties?: vtctldata.IEmergencyReparentShardResponse): vtctldata.EmergencyReparentShardResponse; + + /** + * Encodes the specified EmergencyReparentShardResponse message. Does not implicitly {@link vtctldata.EmergencyReparentShardResponse.verify|verify} messages. + * @param message EmergencyReparentShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IEmergencyReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified EmergencyReparentShardResponse message, length delimited. Does not implicitly {@link vtctldata.EmergencyReparentShardResponse.verify|verify} messages. + * @param message EmergencyReparentShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IEmergencyReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EmergencyReparentShardResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EmergencyReparentShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.EmergencyReparentShardResponse; + + /** + * Decodes an EmergencyReparentShardResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns EmergencyReparentShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.EmergencyReparentShardResponse; + + /** + * Verifies an EmergencyReparentShardResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an EmergencyReparentShardResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns EmergencyReparentShardResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.EmergencyReparentShardResponse; + + /** + * Creates a plain object from an EmergencyReparentShardResponse message. Also converts values to other types if specified. + * @param message EmergencyReparentShardResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.EmergencyReparentShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this EmergencyReparentShardResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EmergencyReparentShardResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ExecuteFetchAsAppRequest. */ + interface IExecuteFetchAsAppRequest { + + /** ExecuteFetchAsAppRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** ExecuteFetchAsAppRequest query */ + query?: (string|null); + + /** ExecuteFetchAsAppRequest max_rows */ + max_rows?: (number|Long|null); + + /** ExecuteFetchAsAppRequest use_pool */ + use_pool?: (boolean|null); + } + + /** Represents an ExecuteFetchAsAppRequest. */ + class ExecuteFetchAsAppRequest implements IExecuteFetchAsAppRequest { + + /** + * Constructs a new ExecuteFetchAsAppRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IExecuteFetchAsAppRequest); + + /** ExecuteFetchAsAppRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** ExecuteFetchAsAppRequest query. */ + public query: string; + + /** ExecuteFetchAsAppRequest max_rows. */ + public max_rows: (number|Long); + + /** ExecuteFetchAsAppRequest use_pool. */ + public use_pool: boolean; + + /** + * Creates a new ExecuteFetchAsAppRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteFetchAsAppRequest instance + */ + public static create(properties?: vtctldata.IExecuteFetchAsAppRequest): vtctldata.ExecuteFetchAsAppRequest; + + /** + * Encodes the specified ExecuteFetchAsAppRequest message. Does not implicitly {@link vtctldata.ExecuteFetchAsAppRequest.verify|verify} messages. + * @param message ExecuteFetchAsAppRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IExecuteFetchAsAppRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteFetchAsAppRequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsAppRequest.verify|verify} messages. + * @param message ExecuteFetchAsAppRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IExecuteFetchAsAppRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteFetchAsAppRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteFetchAsAppRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsAppRequest; + + /** + * Decodes an ExecuteFetchAsAppRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteFetchAsAppRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsAppRequest; + + /** + * Verifies an ExecuteFetchAsAppRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteFetchAsAppRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteFetchAsAppRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsAppRequest; + + /** + * Creates a plain object from an ExecuteFetchAsAppRequest message. Also converts values to other types if specified. + * @param message ExecuteFetchAsAppRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ExecuteFetchAsAppRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteFetchAsAppRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteFetchAsAppRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ExecuteFetchAsAppResponse. */ + interface IExecuteFetchAsAppResponse { + + /** ExecuteFetchAsAppResponse result */ + result?: (query.IQueryResult|null); + } + + /** Represents an ExecuteFetchAsAppResponse. */ + class ExecuteFetchAsAppResponse implements IExecuteFetchAsAppResponse { + + /** + * Constructs a new ExecuteFetchAsAppResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IExecuteFetchAsAppResponse); + + /** ExecuteFetchAsAppResponse result. */ + public result?: (query.IQueryResult|null); + + /** + * Creates a new ExecuteFetchAsAppResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteFetchAsAppResponse instance + */ + public static create(properties?: vtctldata.IExecuteFetchAsAppResponse): vtctldata.ExecuteFetchAsAppResponse; + + /** + * Encodes the specified ExecuteFetchAsAppResponse message. Does not implicitly {@link vtctldata.ExecuteFetchAsAppResponse.verify|verify} messages. + * @param message ExecuteFetchAsAppResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IExecuteFetchAsAppResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteFetchAsAppResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsAppResponse.verify|verify} messages. + * @param message ExecuteFetchAsAppResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IExecuteFetchAsAppResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteFetchAsAppResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteFetchAsAppResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsAppResponse; + + /** + * Decodes an ExecuteFetchAsAppResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteFetchAsAppResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsAppResponse; + + /** + * Verifies an ExecuteFetchAsAppResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteFetchAsAppResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteFetchAsAppResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsAppResponse; + + /** + * Creates a plain object from an ExecuteFetchAsAppResponse message. Also converts values to other types if specified. + * @param message ExecuteFetchAsAppResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ExecuteFetchAsAppResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteFetchAsAppResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteFetchAsAppResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ExecuteFetchAsDBARequest. */ + interface IExecuteFetchAsDBARequest { + + /** ExecuteFetchAsDBARequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** ExecuteFetchAsDBARequest query */ + query?: (string|null); + + /** ExecuteFetchAsDBARequest max_rows */ + max_rows?: (number|Long|null); + + /** ExecuteFetchAsDBARequest disable_binlogs */ + disable_binlogs?: (boolean|null); + + /** ExecuteFetchAsDBARequest reload_schema */ + reload_schema?: (boolean|null); + } + + /** Represents an ExecuteFetchAsDBARequest. */ + class ExecuteFetchAsDBARequest implements IExecuteFetchAsDBARequest { + + /** + * Constructs a new ExecuteFetchAsDBARequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IExecuteFetchAsDBARequest); + + /** ExecuteFetchAsDBARequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** ExecuteFetchAsDBARequest query. */ + public query: string; + + /** ExecuteFetchAsDBARequest max_rows. */ + public max_rows: (number|Long); + + /** ExecuteFetchAsDBARequest disable_binlogs. */ + public disable_binlogs: boolean; + + /** ExecuteFetchAsDBARequest reload_schema. */ + public reload_schema: boolean; + + /** + * Creates a new ExecuteFetchAsDBARequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteFetchAsDBARequest instance + */ + public static create(properties?: vtctldata.IExecuteFetchAsDBARequest): vtctldata.ExecuteFetchAsDBARequest; + + /** + * Encodes the specified ExecuteFetchAsDBARequest message. Does not implicitly {@link vtctldata.ExecuteFetchAsDBARequest.verify|verify} messages. + * @param message ExecuteFetchAsDBARequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IExecuteFetchAsDBARequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteFetchAsDBARequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsDBARequest.verify|verify} messages. + * @param message ExecuteFetchAsDBARequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IExecuteFetchAsDBARequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteFetchAsDBARequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteFetchAsDBARequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsDBARequest; + + /** + * Decodes an ExecuteFetchAsDBARequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteFetchAsDBARequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsDBARequest; + + /** + * Verifies an ExecuteFetchAsDBARequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteFetchAsDBARequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteFetchAsDBARequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsDBARequest; + + /** + * Creates a plain object from an ExecuteFetchAsDBARequest message. Also converts values to other types if specified. + * @param message ExecuteFetchAsDBARequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ExecuteFetchAsDBARequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteFetchAsDBARequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteFetchAsDBARequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ExecuteFetchAsDBAResponse. */ + interface IExecuteFetchAsDBAResponse { + + /** ExecuteFetchAsDBAResponse result */ + result?: (query.IQueryResult|null); + } + + /** Represents an ExecuteFetchAsDBAResponse. */ + class ExecuteFetchAsDBAResponse implements IExecuteFetchAsDBAResponse { + + /** + * Constructs a new ExecuteFetchAsDBAResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IExecuteFetchAsDBAResponse); + + /** ExecuteFetchAsDBAResponse result. */ + public result?: (query.IQueryResult|null); + + /** + * Creates a new ExecuteFetchAsDBAResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteFetchAsDBAResponse instance + */ + public static create(properties?: vtctldata.IExecuteFetchAsDBAResponse): vtctldata.ExecuteFetchAsDBAResponse; + + /** + * Encodes the specified ExecuteFetchAsDBAResponse message. Does not implicitly {@link vtctldata.ExecuteFetchAsDBAResponse.verify|verify} messages. + * @param message ExecuteFetchAsDBAResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IExecuteFetchAsDBAResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteFetchAsDBAResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsDBAResponse.verify|verify} messages. + * @param message ExecuteFetchAsDBAResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IExecuteFetchAsDBAResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteFetchAsDBAResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteFetchAsDBAResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsDBAResponse; + + /** + * Decodes an ExecuteFetchAsDBAResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteFetchAsDBAResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsDBAResponse; + + /** + * Verifies an ExecuteFetchAsDBAResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteFetchAsDBAResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteFetchAsDBAResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsDBAResponse; + + /** + * Creates a plain object from an ExecuteFetchAsDBAResponse message. Also converts values to other types if specified. + * @param message ExecuteFetchAsDBAResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ExecuteFetchAsDBAResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteFetchAsDBAResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteFetchAsDBAResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ExecuteHookRequest. */ + interface IExecuteHookRequest { + + /** ExecuteHookRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** ExecuteHookRequest tablet_hook_request */ + tablet_hook_request?: (tabletmanagerdata.IExecuteHookRequest|null); + } + + /** Represents an ExecuteHookRequest. */ + class ExecuteHookRequest implements IExecuteHookRequest { + + /** + * Constructs a new ExecuteHookRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IExecuteHookRequest); + + /** ExecuteHookRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** ExecuteHookRequest tablet_hook_request. */ + public tablet_hook_request?: (tabletmanagerdata.IExecuteHookRequest|null); + + /** + * Creates a new ExecuteHookRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteHookRequest instance + */ + public static create(properties?: vtctldata.IExecuteHookRequest): vtctldata.ExecuteHookRequest; + + /** + * Encodes the specified ExecuteHookRequest message. Does not implicitly {@link vtctldata.ExecuteHookRequest.verify|verify} messages. + * @param message ExecuteHookRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IExecuteHookRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteHookRequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteHookRequest.verify|verify} messages. + * @param message ExecuteHookRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IExecuteHookRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteHookRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteHookRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteHookRequest; + + /** + * Decodes an ExecuteHookRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteHookRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteHookRequest; + + /** + * Verifies an ExecuteHookRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteHookRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteHookRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteHookRequest; + + /** + * Creates a plain object from an ExecuteHookRequest message. Also converts values to other types if specified. + * @param message ExecuteHookRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ExecuteHookRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteHookRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteHookRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ExecuteHookResponse. */ + interface IExecuteHookResponse { + + /** ExecuteHookResponse hook_result */ + hook_result?: (tabletmanagerdata.IExecuteHookResponse|null); + } + + /** Represents an ExecuteHookResponse. */ + class ExecuteHookResponse implements IExecuteHookResponse { + + /** + * Constructs a new ExecuteHookResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IExecuteHookResponse); + + /** ExecuteHookResponse hook_result. */ + public hook_result?: (tabletmanagerdata.IExecuteHookResponse|null); + + /** + * Creates a new ExecuteHookResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteHookResponse instance + */ + public static create(properties?: vtctldata.IExecuteHookResponse): vtctldata.ExecuteHookResponse; + + /** + * Encodes the specified ExecuteHookResponse message. Does not implicitly {@link vtctldata.ExecuteHookResponse.verify|verify} messages. + * @param message ExecuteHookResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IExecuteHookResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteHookResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteHookResponse.verify|verify} messages. + * @param message ExecuteHookResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IExecuteHookResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteHookResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteHookResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteHookResponse; + + /** + * Decodes an ExecuteHookResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteHookResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteHookResponse; + + /** + * Verifies an ExecuteHookResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteHookResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteHookResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteHookResponse; + + /** + * Creates a plain object from an ExecuteHookResponse message. Also converts values to other types if specified. + * @param message ExecuteHookResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ExecuteHookResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteHookResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteHookResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ExecuteMultiFetchAsDBARequest. */ + interface IExecuteMultiFetchAsDBARequest { + + /** ExecuteMultiFetchAsDBARequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** ExecuteMultiFetchAsDBARequest sql */ + sql?: (string|null); + + /** ExecuteMultiFetchAsDBARequest max_rows */ + max_rows?: (number|Long|null); + + /** ExecuteMultiFetchAsDBARequest disable_binlogs */ + disable_binlogs?: (boolean|null); + + /** ExecuteMultiFetchAsDBARequest reload_schema */ + reload_schema?: (boolean|null); + } + + /** Represents an ExecuteMultiFetchAsDBARequest. */ + class ExecuteMultiFetchAsDBARequest implements IExecuteMultiFetchAsDBARequest { + + /** + * Constructs a new ExecuteMultiFetchAsDBARequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IExecuteMultiFetchAsDBARequest); + + /** ExecuteMultiFetchAsDBARequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** ExecuteMultiFetchAsDBARequest sql. */ + public sql: string; + + /** ExecuteMultiFetchAsDBARequest max_rows. */ + public max_rows: (number|Long); + + /** ExecuteMultiFetchAsDBARequest disable_binlogs. */ + public disable_binlogs: boolean; + + /** ExecuteMultiFetchAsDBARequest reload_schema. */ + public reload_schema: boolean; + + /** + * Creates a new ExecuteMultiFetchAsDBARequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteMultiFetchAsDBARequest instance + */ + public static create(properties?: vtctldata.IExecuteMultiFetchAsDBARequest): vtctldata.ExecuteMultiFetchAsDBARequest; + + /** + * Encodes the specified ExecuteMultiFetchAsDBARequest message. Does not implicitly {@link vtctldata.ExecuteMultiFetchAsDBARequest.verify|verify} messages. + * @param message ExecuteMultiFetchAsDBARequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IExecuteMultiFetchAsDBARequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteMultiFetchAsDBARequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteMultiFetchAsDBARequest.verify|verify} messages. + * @param message ExecuteMultiFetchAsDBARequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IExecuteMultiFetchAsDBARequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteMultiFetchAsDBARequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteMultiFetchAsDBARequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteMultiFetchAsDBARequest; + + /** + * Decodes an ExecuteMultiFetchAsDBARequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteMultiFetchAsDBARequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteMultiFetchAsDBARequest; + + /** + * Verifies an ExecuteMultiFetchAsDBARequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteMultiFetchAsDBARequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteMultiFetchAsDBARequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteMultiFetchAsDBARequest; + + /** + * Creates a plain object from an ExecuteMultiFetchAsDBARequest message. Also converts values to other types if specified. + * @param message ExecuteMultiFetchAsDBARequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ExecuteMultiFetchAsDBARequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteMultiFetchAsDBARequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteMultiFetchAsDBARequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an ExecuteMultiFetchAsDBAResponse. */ + interface IExecuteMultiFetchAsDBAResponse { + + /** ExecuteMultiFetchAsDBAResponse results */ + results?: (query.IQueryResult[]|null); + } + + /** Represents an ExecuteMultiFetchAsDBAResponse. */ + class ExecuteMultiFetchAsDBAResponse implements IExecuteMultiFetchAsDBAResponse { + + /** + * Constructs a new ExecuteMultiFetchAsDBAResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IExecuteMultiFetchAsDBAResponse); + + /** ExecuteMultiFetchAsDBAResponse results. */ + public results: query.IQueryResult[]; + + /** + * Creates a new ExecuteMultiFetchAsDBAResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteMultiFetchAsDBAResponse instance + */ + public static create(properties?: vtctldata.IExecuteMultiFetchAsDBAResponse): vtctldata.ExecuteMultiFetchAsDBAResponse; + + /** + * Encodes the specified ExecuteMultiFetchAsDBAResponse message. Does not implicitly {@link vtctldata.ExecuteMultiFetchAsDBAResponse.verify|verify} messages. + * @param message ExecuteMultiFetchAsDBAResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IExecuteMultiFetchAsDBAResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExecuteMultiFetchAsDBAResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteMultiFetchAsDBAResponse.verify|verify} messages. + * @param message ExecuteMultiFetchAsDBAResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IExecuteMultiFetchAsDBAResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteMultiFetchAsDBAResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteMultiFetchAsDBAResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteMultiFetchAsDBAResponse; + + /** + * Decodes an ExecuteMultiFetchAsDBAResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ExecuteMultiFetchAsDBAResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteMultiFetchAsDBAResponse; + + /** + * Verifies an ExecuteMultiFetchAsDBAResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExecuteMultiFetchAsDBAResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExecuteMultiFetchAsDBAResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteMultiFetchAsDBAResponse; + + /** + * Creates a plain object from an ExecuteMultiFetchAsDBAResponse message. Also converts values to other types if specified. + * @param message ExecuteMultiFetchAsDBAResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ExecuteMultiFetchAsDBAResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExecuteMultiFetchAsDBAResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExecuteMultiFetchAsDBAResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a FindAllShardsInKeyspaceRequest. */ + interface IFindAllShardsInKeyspaceRequest { + + /** FindAllShardsInKeyspaceRequest keyspace */ + keyspace?: (string|null); + } + + /** Represents a FindAllShardsInKeyspaceRequest. */ + class FindAllShardsInKeyspaceRequest implements IFindAllShardsInKeyspaceRequest { + + /** + * Constructs a new FindAllShardsInKeyspaceRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IFindAllShardsInKeyspaceRequest); + + /** FindAllShardsInKeyspaceRequest keyspace. */ + public keyspace: string; + + /** + * Creates a new FindAllShardsInKeyspaceRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns FindAllShardsInKeyspaceRequest instance + */ + public static create(properties?: vtctldata.IFindAllShardsInKeyspaceRequest): vtctldata.FindAllShardsInKeyspaceRequest; + + /** + * Encodes the specified FindAllShardsInKeyspaceRequest message. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceRequest.verify|verify} messages. + * @param message FindAllShardsInKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IFindAllShardsInKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified FindAllShardsInKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceRequest.verify|verify} messages. + * @param message FindAllShardsInKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IFindAllShardsInKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FindAllShardsInKeyspaceRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FindAllShardsInKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.FindAllShardsInKeyspaceRequest; + + /** + * Decodes a FindAllShardsInKeyspaceRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns FindAllShardsInKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.FindAllShardsInKeyspaceRequest; + + /** + * Verifies a FindAllShardsInKeyspaceRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a FindAllShardsInKeyspaceRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns FindAllShardsInKeyspaceRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.FindAllShardsInKeyspaceRequest; + + /** + * Creates a plain object from a FindAllShardsInKeyspaceRequest message. Also converts values to other types if specified. + * @param message FindAllShardsInKeyspaceRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.FindAllShardsInKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this FindAllShardsInKeyspaceRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FindAllShardsInKeyspaceRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a FindAllShardsInKeyspaceResponse. */ + interface IFindAllShardsInKeyspaceResponse { + + /** FindAllShardsInKeyspaceResponse shards */ + shards?: ({ [k: string]: vtctldata.IShard }|null); + } + + /** Represents a FindAllShardsInKeyspaceResponse. */ + class FindAllShardsInKeyspaceResponse implements IFindAllShardsInKeyspaceResponse { + + /** + * Constructs a new FindAllShardsInKeyspaceResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IFindAllShardsInKeyspaceResponse); + + /** FindAllShardsInKeyspaceResponse shards. */ + public shards: { [k: string]: vtctldata.IShard }; + + /** + * Creates a new FindAllShardsInKeyspaceResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns FindAllShardsInKeyspaceResponse instance + */ + public static create(properties?: vtctldata.IFindAllShardsInKeyspaceResponse): vtctldata.FindAllShardsInKeyspaceResponse; + + /** + * Encodes the specified FindAllShardsInKeyspaceResponse message. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceResponse.verify|verify} messages. + * @param message FindAllShardsInKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IFindAllShardsInKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified FindAllShardsInKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceResponse.verify|verify} messages. + * @param message FindAllShardsInKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IFindAllShardsInKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FindAllShardsInKeyspaceResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FindAllShardsInKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.FindAllShardsInKeyspaceResponse; + + /** + * Decodes a FindAllShardsInKeyspaceResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns FindAllShardsInKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.FindAllShardsInKeyspaceResponse; + + /** + * Verifies a FindAllShardsInKeyspaceResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a FindAllShardsInKeyspaceResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns FindAllShardsInKeyspaceResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.FindAllShardsInKeyspaceResponse; + + /** + * Creates a plain object from a FindAllShardsInKeyspaceResponse message. Also converts values to other types if specified. + * @param message FindAllShardsInKeyspaceResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.FindAllShardsInKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this FindAllShardsInKeyspaceResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FindAllShardsInKeyspaceResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ForceCutOverSchemaMigrationRequest. */ + interface IForceCutOverSchemaMigrationRequest { + + /** ForceCutOverSchemaMigrationRequest keyspace */ + keyspace?: (string|null); + + /** ForceCutOverSchemaMigrationRequest uuid */ + uuid?: (string|null); + } + + /** Represents a ForceCutOverSchemaMigrationRequest. */ + class ForceCutOverSchemaMigrationRequest implements IForceCutOverSchemaMigrationRequest { + + /** + * Constructs a new ForceCutOverSchemaMigrationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IForceCutOverSchemaMigrationRequest); + + /** ForceCutOverSchemaMigrationRequest keyspace. */ + public keyspace: string; + + /** ForceCutOverSchemaMigrationRequest uuid. */ + public uuid: string; + + /** + * Creates a new ForceCutOverSchemaMigrationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ForceCutOverSchemaMigrationRequest instance + */ + public static create(properties?: vtctldata.IForceCutOverSchemaMigrationRequest): vtctldata.ForceCutOverSchemaMigrationRequest; + + /** + * Encodes the specified ForceCutOverSchemaMigrationRequest message. Does not implicitly {@link vtctldata.ForceCutOverSchemaMigrationRequest.verify|verify} messages. + * @param message ForceCutOverSchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IForceCutOverSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ForceCutOverSchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.ForceCutOverSchemaMigrationRequest.verify|verify} messages. + * @param message ForceCutOverSchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IForceCutOverSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ForceCutOverSchemaMigrationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ForceCutOverSchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ForceCutOverSchemaMigrationRequest; + + /** + * Decodes a ForceCutOverSchemaMigrationRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ForceCutOverSchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ForceCutOverSchemaMigrationRequest; + + /** + * Verifies a ForceCutOverSchemaMigrationRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ForceCutOverSchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ForceCutOverSchemaMigrationRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ForceCutOverSchemaMigrationRequest; + + /** + * Creates a plain object from a ForceCutOverSchemaMigrationRequest message. Also converts values to other types if specified. + * @param message ForceCutOverSchemaMigrationRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ForceCutOverSchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ForceCutOverSchemaMigrationRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ForceCutOverSchemaMigrationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ForceCutOverSchemaMigrationResponse. */ + interface IForceCutOverSchemaMigrationResponse { + + /** ForceCutOverSchemaMigrationResponse rows_affected_by_shard */ + rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); + } + + /** Represents a ForceCutOverSchemaMigrationResponse. */ + class ForceCutOverSchemaMigrationResponse implements IForceCutOverSchemaMigrationResponse { + + /** + * Constructs a new ForceCutOverSchemaMigrationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IForceCutOverSchemaMigrationResponse); + + /** ForceCutOverSchemaMigrationResponse rows_affected_by_shard. */ + public rows_affected_by_shard: { [k: string]: (number|Long) }; + + /** + * Creates a new ForceCutOverSchemaMigrationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ForceCutOverSchemaMigrationResponse instance + */ + public static create(properties?: vtctldata.IForceCutOverSchemaMigrationResponse): vtctldata.ForceCutOverSchemaMigrationResponse; + + /** + * Encodes the specified ForceCutOverSchemaMigrationResponse message. Does not implicitly {@link vtctldata.ForceCutOverSchemaMigrationResponse.verify|verify} messages. + * @param message ForceCutOverSchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IForceCutOverSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ForceCutOverSchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.ForceCutOverSchemaMigrationResponse.verify|verify} messages. + * @param message ForceCutOverSchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IForceCutOverSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ForceCutOverSchemaMigrationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ForceCutOverSchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ForceCutOverSchemaMigrationResponse; + + /** + * Decodes a ForceCutOverSchemaMigrationResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ForceCutOverSchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ForceCutOverSchemaMigrationResponse; + + /** + * Verifies a ForceCutOverSchemaMigrationResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ForceCutOverSchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ForceCutOverSchemaMigrationResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ForceCutOverSchemaMigrationResponse; + + /** + * Creates a plain object from a ForceCutOverSchemaMigrationResponse message. Also converts values to other types if specified. + * @param message ForceCutOverSchemaMigrationResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ForceCutOverSchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ForceCutOverSchemaMigrationResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ForceCutOverSchemaMigrationResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetBackupsRequest. */ + interface IGetBackupsRequest { + + /** GetBackupsRequest keyspace */ + keyspace?: (string|null); + + /** GetBackupsRequest shard */ + shard?: (string|null); + + /** GetBackupsRequest limit */ + limit?: (number|null); + + /** GetBackupsRequest detailed */ + detailed?: (boolean|null); + + /** GetBackupsRequest detailed_limit */ + detailed_limit?: (number|null); + } + + /** Represents a GetBackupsRequest. */ + class GetBackupsRequest implements IGetBackupsRequest { + + /** + * Constructs a new GetBackupsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetBackupsRequest); + + /** GetBackupsRequest keyspace. */ + public keyspace: string; + + /** GetBackupsRequest shard. */ + public shard: string; + + /** GetBackupsRequest limit. */ + public limit: number; + + /** GetBackupsRequest detailed. */ + public detailed: boolean; + + /** GetBackupsRequest detailed_limit. */ + public detailed_limit: number; + + /** + * Creates a new GetBackupsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetBackupsRequest instance + */ + public static create(properties?: vtctldata.IGetBackupsRequest): vtctldata.GetBackupsRequest; + + /** + * Encodes the specified GetBackupsRequest message. Does not implicitly {@link vtctldata.GetBackupsRequest.verify|verify} messages. + * @param message GetBackupsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetBackupsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetBackupsRequest message, length delimited. Does not implicitly {@link vtctldata.GetBackupsRequest.verify|verify} messages. + * @param message GetBackupsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetBackupsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetBackupsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetBackupsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetBackupsRequest; + + /** + * Decodes a GetBackupsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetBackupsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetBackupsRequest; + + /** + * Verifies a GetBackupsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetBackupsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetBackupsRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetBackupsRequest; + + /** + * Creates a plain object from a GetBackupsRequest message. Also converts values to other types if specified. + * @param message GetBackupsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetBackupsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetBackupsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetBackupsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetBackupsResponse. */ + interface IGetBackupsResponse { + + /** GetBackupsResponse backups */ + backups?: (mysqlctl.IBackupInfo[]|null); + } + + /** Represents a GetBackupsResponse. */ + class GetBackupsResponse implements IGetBackupsResponse { + + /** + * Constructs a new GetBackupsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetBackupsResponse); + + /** GetBackupsResponse backups. */ + public backups: mysqlctl.IBackupInfo[]; + + /** + * Creates a new GetBackupsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetBackupsResponse instance + */ + public static create(properties?: vtctldata.IGetBackupsResponse): vtctldata.GetBackupsResponse; + + /** + * Encodes the specified GetBackupsResponse message. Does not implicitly {@link vtctldata.GetBackupsResponse.verify|verify} messages. + * @param message GetBackupsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetBackupsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetBackupsResponse message, length delimited. Does not implicitly {@link vtctldata.GetBackupsResponse.verify|verify} messages. + * @param message GetBackupsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetBackupsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetBackupsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetBackupsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetBackupsResponse; + + /** + * Decodes a GetBackupsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetBackupsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetBackupsResponse; + + /** + * Verifies a GetBackupsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetBackupsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetBackupsResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetBackupsResponse; + + /** + * Creates a plain object from a GetBackupsResponse message. Also converts values to other types if specified. + * @param message GetBackupsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetBackupsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetBackupsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetBackupsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetCellInfoRequest. */ + interface IGetCellInfoRequest { + + /** GetCellInfoRequest cell */ + cell?: (string|null); + } + + /** Represents a GetCellInfoRequest. */ + class GetCellInfoRequest implements IGetCellInfoRequest { + + /** + * Constructs a new GetCellInfoRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetCellInfoRequest); + + /** GetCellInfoRequest cell. */ + public cell: string; + + /** + * Creates a new GetCellInfoRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetCellInfoRequest instance + */ + public static create(properties?: vtctldata.IGetCellInfoRequest): vtctldata.GetCellInfoRequest; + + /** + * Encodes the specified GetCellInfoRequest message. Does not implicitly {@link vtctldata.GetCellInfoRequest.verify|verify} messages. + * @param message GetCellInfoRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoRequest.verify|verify} messages. + * @param message GetCellInfoRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetCellInfoRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetCellInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoRequest; + + /** + * Decodes a GetCellInfoRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetCellInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoRequest; + + /** + * Verifies a GetCellInfoRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetCellInfoRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetCellInfoRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoRequest; + + /** + * Creates a plain object from a GetCellInfoRequest message. Also converts values to other types if specified. + * @param message GetCellInfoRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetCellInfoRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetCellInfoRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetCellInfoResponse. */ + interface IGetCellInfoResponse { + + /** GetCellInfoResponse cell_info */ + cell_info?: (topodata.ICellInfo|null); + } + + /** Represents a GetCellInfoResponse. */ + class GetCellInfoResponse implements IGetCellInfoResponse { + + /** + * Constructs a new GetCellInfoResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetCellInfoResponse); + + /** GetCellInfoResponse cell_info. */ + public cell_info?: (topodata.ICellInfo|null); + + /** + * Creates a new GetCellInfoResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetCellInfoResponse instance + */ + public static create(properties?: vtctldata.IGetCellInfoResponse): vtctldata.GetCellInfoResponse; + + /** + * Encodes the specified GetCellInfoResponse message. Does not implicitly {@link vtctldata.GetCellInfoResponse.verify|verify} messages. + * @param message GetCellInfoResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoResponse.verify|verify} messages. + * @param message GetCellInfoResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetCellInfoResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetCellInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoResponse; + + /** + * Decodes a GetCellInfoResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetCellInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoResponse; + + /** + * Verifies a GetCellInfoResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetCellInfoResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetCellInfoResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoResponse; + + /** + * Creates a plain object from a GetCellInfoResponse message. Also converts values to other types if specified. + * @param message GetCellInfoResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetCellInfoResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetCellInfoResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetCellInfoNamesRequest. */ + interface IGetCellInfoNamesRequest { + } + + /** Represents a GetCellInfoNamesRequest. */ + class GetCellInfoNamesRequest implements IGetCellInfoNamesRequest { + + /** + * Constructs a new GetCellInfoNamesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetCellInfoNamesRequest); + + /** + * Creates a new GetCellInfoNamesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetCellInfoNamesRequest instance + */ + public static create(properties?: vtctldata.IGetCellInfoNamesRequest): vtctldata.GetCellInfoNamesRequest; + + /** + * Encodes the specified GetCellInfoNamesRequest message. Does not implicitly {@link vtctldata.GetCellInfoNamesRequest.verify|verify} messages. + * @param message GetCellInfoNamesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetCellInfoNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetCellInfoNamesRequest message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoNamesRequest.verify|verify} messages. + * @param message GetCellInfoNamesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetCellInfoNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetCellInfoNamesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetCellInfoNamesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoNamesRequest; + + /** + * Decodes a GetCellInfoNamesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetCellInfoNamesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoNamesRequest; + + /** + * Verifies a GetCellInfoNamesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetCellInfoNamesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetCellInfoNamesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoNamesRequest; + + /** + * Creates a plain object from a GetCellInfoNamesRequest message. Also converts values to other types if specified. + * @param message GetCellInfoNamesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetCellInfoNamesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetCellInfoNamesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetCellInfoNamesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetCellInfoNamesResponse. */ + interface IGetCellInfoNamesResponse { + + /** GetCellInfoNamesResponse names */ + names?: (string[]|null); + } + + /** Represents a GetCellInfoNamesResponse. */ + class GetCellInfoNamesResponse implements IGetCellInfoNamesResponse { + + /** + * Constructs a new GetCellInfoNamesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetCellInfoNamesResponse); + + /** GetCellInfoNamesResponse names. */ + public names: string[]; + + /** + * Creates a new GetCellInfoNamesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetCellInfoNamesResponse instance + */ + public static create(properties?: vtctldata.IGetCellInfoNamesResponse): vtctldata.GetCellInfoNamesResponse; + + /** + * Encodes the specified GetCellInfoNamesResponse message. Does not implicitly {@link vtctldata.GetCellInfoNamesResponse.verify|verify} messages. + * @param message GetCellInfoNamesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetCellInfoNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetCellInfoNamesResponse message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoNamesResponse.verify|verify} messages. + * @param message GetCellInfoNamesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetCellInfoNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetCellInfoNamesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetCellInfoNamesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoNamesResponse; + + /** + * Decodes a GetCellInfoNamesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetCellInfoNamesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoNamesResponse; + + /** + * Verifies a GetCellInfoNamesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetCellInfoNamesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetCellInfoNamesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoNamesResponse; + + /** + * Creates a plain object from a GetCellInfoNamesResponse message. Also converts values to other types if specified. + * @param message GetCellInfoNamesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetCellInfoNamesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetCellInfoNamesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetCellInfoNamesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetCellsAliasesRequest. */ + interface IGetCellsAliasesRequest { + } + + /** Represents a GetCellsAliasesRequest. */ + class GetCellsAliasesRequest implements IGetCellsAliasesRequest { + + /** + * Constructs a new GetCellsAliasesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetCellsAliasesRequest); + + /** + * Creates a new GetCellsAliasesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetCellsAliasesRequest instance + */ + public static create(properties?: vtctldata.IGetCellsAliasesRequest): vtctldata.GetCellsAliasesRequest; + + /** + * Encodes the specified GetCellsAliasesRequest message. Does not implicitly {@link vtctldata.GetCellsAliasesRequest.verify|verify} messages. + * @param message GetCellsAliasesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetCellsAliasesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetCellsAliasesRequest message, length delimited. Does not implicitly {@link vtctldata.GetCellsAliasesRequest.verify|verify} messages. + * @param message GetCellsAliasesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetCellsAliasesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetCellsAliasesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetCellsAliasesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellsAliasesRequest; + + /** + * Decodes a GetCellsAliasesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetCellsAliasesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellsAliasesRequest; + + /** + * Verifies a GetCellsAliasesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetCellsAliasesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetCellsAliasesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetCellsAliasesRequest; + + /** + * Creates a plain object from a GetCellsAliasesRequest message. Also converts values to other types if specified. + * @param message GetCellsAliasesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetCellsAliasesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetCellsAliasesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetCellsAliasesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetCellsAliasesResponse. */ + interface IGetCellsAliasesResponse { + + /** GetCellsAliasesResponse aliases */ + aliases?: ({ [k: string]: topodata.ICellsAlias }|null); + } + + /** Represents a GetCellsAliasesResponse. */ + class GetCellsAliasesResponse implements IGetCellsAliasesResponse { + + /** + * Constructs a new GetCellsAliasesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetCellsAliasesResponse); + + /** GetCellsAliasesResponse aliases. */ + public aliases: { [k: string]: topodata.ICellsAlias }; + + /** + * Creates a new GetCellsAliasesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetCellsAliasesResponse instance + */ + public static create(properties?: vtctldata.IGetCellsAliasesResponse): vtctldata.GetCellsAliasesResponse; + + /** + * Encodes the specified GetCellsAliasesResponse message. Does not implicitly {@link vtctldata.GetCellsAliasesResponse.verify|verify} messages. + * @param message GetCellsAliasesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetCellsAliasesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetCellsAliasesResponse message, length delimited. Does not implicitly {@link vtctldata.GetCellsAliasesResponse.verify|verify} messages. + * @param message GetCellsAliasesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetCellsAliasesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetCellsAliasesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetCellsAliasesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellsAliasesResponse; + + /** + * Decodes a GetCellsAliasesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetCellsAliasesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellsAliasesResponse; + + /** + * Verifies a GetCellsAliasesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetCellsAliasesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetCellsAliasesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetCellsAliasesResponse; + + /** + * Creates a plain object from a GetCellsAliasesResponse message. Also converts values to other types if specified. + * @param message GetCellsAliasesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetCellsAliasesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetCellsAliasesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetCellsAliasesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetFullStatusRequest. */ + interface IGetFullStatusRequest { + + /** GetFullStatusRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a GetFullStatusRequest. */ + class GetFullStatusRequest implements IGetFullStatusRequest { + + /** + * Constructs a new GetFullStatusRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetFullStatusRequest); + + /** GetFullStatusRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new GetFullStatusRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetFullStatusRequest instance + */ + public static create(properties?: vtctldata.IGetFullStatusRequest): vtctldata.GetFullStatusRequest; + + /** + * Encodes the specified GetFullStatusRequest message. Does not implicitly {@link vtctldata.GetFullStatusRequest.verify|verify} messages. + * @param message GetFullStatusRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetFullStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetFullStatusRequest message, length delimited. Does not implicitly {@link vtctldata.GetFullStatusRequest.verify|verify} messages. + * @param message GetFullStatusRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetFullStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetFullStatusRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetFullStatusRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetFullStatusRequest; + + /** + * Decodes a GetFullStatusRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetFullStatusRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetFullStatusRequest; + + /** + * Verifies a GetFullStatusRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetFullStatusRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetFullStatusRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetFullStatusRequest; + + /** + * Creates a plain object from a GetFullStatusRequest message. Also converts values to other types if specified. + * @param message GetFullStatusRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetFullStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetFullStatusRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetFullStatusRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetFullStatusResponse. */ + interface IGetFullStatusResponse { + + /** GetFullStatusResponse status */ + status?: (replicationdata.IFullStatus|null); + } + + /** Represents a GetFullStatusResponse. */ + class GetFullStatusResponse implements IGetFullStatusResponse { + + /** + * Constructs a new GetFullStatusResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetFullStatusResponse); + + /** GetFullStatusResponse status. */ + public status?: (replicationdata.IFullStatus|null); + + /** + * Creates a new GetFullStatusResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetFullStatusResponse instance + */ + public static create(properties?: vtctldata.IGetFullStatusResponse): vtctldata.GetFullStatusResponse; + + /** + * Encodes the specified GetFullStatusResponse message. Does not implicitly {@link vtctldata.GetFullStatusResponse.verify|verify} messages. + * @param message GetFullStatusResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetFullStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetFullStatusResponse message, length delimited. Does not implicitly {@link vtctldata.GetFullStatusResponse.verify|verify} messages. + * @param message GetFullStatusResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetFullStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetFullStatusResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetFullStatusResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetFullStatusResponse; + + /** + * Decodes a GetFullStatusResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetFullStatusResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetFullStatusResponse; + + /** + * Verifies a GetFullStatusResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetFullStatusResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetFullStatusResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetFullStatusResponse; + + /** + * Creates a plain object from a GetFullStatusResponse message. Also converts values to other types if specified. + * @param message GetFullStatusResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetFullStatusResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetFullStatusResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetFullStatusResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetKeyspacesRequest. */ + interface IGetKeyspacesRequest { + } + + /** Represents a GetKeyspacesRequest. */ + class GetKeyspacesRequest implements IGetKeyspacesRequest { + + /** + * Constructs a new GetKeyspacesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetKeyspacesRequest); + + /** + * Creates a new GetKeyspacesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetKeyspacesRequest instance + */ + public static create(properties?: vtctldata.IGetKeyspacesRequest): vtctldata.GetKeyspacesRequest; + + /** + * Encodes the specified GetKeyspacesRequest message. Does not implicitly {@link vtctldata.GetKeyspacesRequest.verify|verify} messages. + * @param message GetKeyspacesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetKeyspacesRequest message, length delimited. Does not implicitly {@link vtctldata.GetKeyspacesRequest.verify|verify} messages. + * @param message GetKeyspacesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetKeyspacesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetKeyspacesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspacesRequest; + + /** + * Decodes a GetKeyspacesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetKeyspacesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspacesRequest; + + /** + * Verifies a GetKeyspacesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetKeyspacesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetKeyspacesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspacesRequest; + + /** + * Creates a plain object from a GetKeyspacesRequest message. Also converts values to other types if specified. + * @param message GetKeyspacesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetKeyspacesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetKeyspacesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetKeyspacesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetKeyspacesResponse. */ + interface IGetKeyspacesResponse { + + /** GetKeyspacesResponse keyspaces */ + keyspaces?: (vtctldata.IKeyspace[]|null); + } + + /** Represents a GetKeyspacesResponse. */ + class GetKeyspacesResponse implements IGetKeyspacesResponse { + + /** + * Constructs a new GetKeyspacesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetKeyspacesResponse); + + /** GetKeyspacesResponse keyspaces. */ + public keyspaces: vtctldata.IKeyspace[]; + + /** + * Creates a new GetKeyspacesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetKeyspacesResponse instance + */ + public static create(properties?: vtctldata.IGetKeyspacesResponse): vtctldata.GetKeyspacesResponse; + + /** + * Encodes the specified GetKeyspacesResponse message. Does not implicitly {@link vtctldata.GetKeyspacesResponse.verify|verify} messages. + * @param message GetKeyspacesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetKeyspacesResponse message, length delimited. Does not implicitly {@link vtctldata.GetKeyspacesResponse.verify|verify} messages. + * @param message GetKeyspacesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetKeyspacesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetKeyspacesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspacesResponse; + + /** + * Decodes a GetKeyspacesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetKeyspacesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspacesResponse; + + /** + * Verifies a GetKeyspacesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetKeyspacesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetKeyspacesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspacesResponse; + + /** + * Creates a plain object from a GetKeyspacesResponse message. Also converts values to other types if specified. + * @param message GetKeyspacesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetKeyspacesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetKeyspacesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetKeyspacesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetKeyspaceRequest. */ + interface IGetKeyspaceRequest { + + /** GetKeyspaceRequest keyspace */ + keyspace?: (string|null); + } + + /** Represents a GetKeyspaceRequest. */ + class GetKeyspaceRequest implements IGetKeyspaceRequest { + + /** + * Constructs a new GetKeyspaceRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetKeyspaceRequest); + + /** GetKeyspaceRequest keyspace. */ + public keyspace: string; + + /** + * Creates a new GetKeyspaceRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetKeyspaceRequest instance + */ + public static create(properties?: vtctldata.IGetKeyspaceRequest): vtctldata.GetKeyspaceRequest; + + /** + * Encodes the specified GetKeyspaceRequest message. Does not implicitly {@link vtctldata.GetKeyspaceRequest.verify|verify} messages. + * @param message GetKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.GetKeyspaceRequest.verify|verify} messages. + * @param message GetKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetKeyspaceRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspaceRequest; + + /** + * Decodes a GetKeyspaceRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspaceRequest; + + /** + * Verifies a GetKeyspaceRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetKeyspaceRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetKeyspaceRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspaceRequest; + + /** + * Creates a plain object from a GetKeyspaceRequest message. Also converts values to other types if specified. + * @param message GetKeyspaceRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetKeyspaceRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetKeyspaceRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetKeyspaceResponse. */ + interface IGetKeyspaceResponse { + + /** GetKeyspaceResponse keyspace */ + keyspace?: (vtctldata.IKeyspace|null); + } + + /** Represents a GetKeyspaceResponse. */ + class GetKeyspaceResponse implements IGetKeyspaceResponse { + + /** + * Constructs a new GetKeyspaceResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetKeyspaceResponse); + + /** GetKeyspaceResponse keyspace. */ + public keyspace?: (vtctldata.IKeyspace|null); + + /** + * Creates a new GetKeyspaceResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetKeyspaceResponse instance + */ + public static create(properties?: vtctldata.IGetKeyspaceResponse): vtctldata.GetKeyspaceResponse; + + /** + * Encodes the specified GetKeyspaceResponse message. Does not implicitly {@link vtctldata.GetKeyspaceResponse.verify|verify} messages. + * @param message GetKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.GetKeyspaceResponse.verify|verify} messages. + * @param message GetKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetKeyspaceResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspaceResponse; + + /** + * Decodes a GetKeyspaceResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspaceResponse; + + /** + * Verifies a GetKeyspaceResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetKeyspaceResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetKeyspaceResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspaceResponse; + + /** + * Creates a plain object from a GetKeyspaceResponse message. Also converts values to other types if specified. + * @param message GetKeyspaceResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetKeyspaceResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetKeyspaceResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetPermissionsRequest. */ + interface IGetPermissionsRequest { + + /** GetPermissionsRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a GetPermissionsRequest. */ + class GetPermissionsRequest implements IGetPermissionsRequest { + + /** + * Constructs a new GetPermissionsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetPermissionsRequest); + + /** GetPermissionsRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new GetPermissionsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetPermissionsRequest instance + */ + public static create(properties?: vtctldata.IGetPermissionsRequest): vtctldata.GetPermissionsRequest; + + /** + * Encodes the specified GetPermissionsRequest message. Does not implicitly {@link vtctldata.GetPermissionsRequest.verify|verify} messages. + * @param message GetPermissionsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetPermissionsRequest message, length delimited. Does not implicitly {@link vtctldata.GetPermissionsRequest.verify|verify} messages. + * @param message GetPermissionsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetPermissionsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetPermissionsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetPermissionsRequest; + + /** + * Decodes a GetPermissionsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetPermissionsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetPermissionsRequest; + + /** + * Verifies a GetPermissionsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetPermissionsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetPermissionsRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetPermissionsRequest; + + /** + * Creates a plain object from a GetPermissionsRequest message. Also converts values to other types if specified. + * @param message GetPermissionsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetPermissionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetPermissionsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetPermissionsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetPermissionsResponse. */ + interface IGetPermissionsResponse { + + /** GetPermissionsResponse permissions */ + permissions?: (tabletmanagerdata.IPermissions|null); + } + + /** Represents a GetPermissionsResponse. */ + class GetPermissionsResponse implements IGetPermissionsResponse { + + /** + * Constructs a new GetPermissionsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetPermissionsResponse); + + /** GetPermissionsResponse permissions. */ + public permissions?: (tabletmanagerdata.IPermissions|null); + + /** + * Creates a new GetPermissionsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetPermissionsResponse instance + */ + public static create(properties?: vtctldata.IGetPermissionsResponse): vtctldata.GetPermissionsResponse; + + /** + * Encodes the specified GetPermissionsResponse message. Does not implicitly {@link vtctldata.GetPermissionsResponse.verify|verify} messages. + * @param message GetPermissionsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetPermissionsResponse message, length delimited. Does not implicitly {@link vtctldata.GetPermissionsResponse.verify|verify} messages. + * @param message GetPermissionsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetPermissionsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetPermissionsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetPermissionsResponse; + + /** + * Decodes a GetPermissionsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetPermissionsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetPermissionsResponse; + + /** + * Verifies a GetPermissionsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetPermissionsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetPermissionsResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetPermissionsResponse; + + /** + * Creates a plain object from a GetPermissionsResponse message. Also converts values to other types if specified. + * @param message GetPermissionsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetPermissionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetPermissionsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetPermissionsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetKeyspaceRoutingRulesRequest. */ + interface IGetKeyspaceRoutingRulesRequest { + } + + /** Represents a GetKeyspaceRoutingRulesRequest. */ + class GetKeyspaceRoutingRulesRequest implements IGetKeyspaceRoutingRulesRequest { + + /** + * Constructs a new GetKeyspaceRoutingRulesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetKeyspaceRoutingRulesRequest); + + /** + * Creates a new GetKeyspaceRoutingRulesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetKeyspaceRoutingRulesRequest instance + */ + public static create(properties?: vtctldata.IGetKeyspaceRoutingRulesRequest): vtctldata.GetKeyspaceRoutingRulesRequest; + + /** + * Encodes the specified GetKeyspaceRoutingRulesRequest message. Does not implicitly {@link vtctldata.GetKeyspaceRoutingRulesRequest.verify|verify} messages. + * @param message GetKeyspaceRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetKeyspaceRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetKeyspaceRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.GetKeyspaceRoutingRulesRequest.verify|verify} messages. + * @param message GetKeyspaceRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetKeyspaceRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetKeyspaceRoutingRulesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetKeyspaceRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspaceRoutingRulesRequest; + + /** + * Decodes a GetKeyspaceRoutingRulesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetKeyspaceRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspaceRoutingRulesRequest; + + /** + * Verifies a GetKeyspaceRoutingRulesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetKeyspaceRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetKeyspaceRoutingRulesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspaceRoutingRulesRequest; + + /** + * Creates a plain object from a GetKeyspaceRoutingRulesRequest message. Also converts values to other types if specified. + * @param message GetKeyspaceRoutingRulesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetKeyspaceRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetKeyspaceRoutingRulesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetKeyspaceRoutingRulesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetKeyspaceRoutingRulesResponse. */ + interface IGetKeyspaceRoutingRulesResponse { + + /** GetKeyspaceRoutingRulesResponse keyspace_routing_rules */ + keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); + } + + /** Represents a GetKeyspaceRoutingRulesResponse. */ + class GetKeyspaceRoutingRulesResponse implements IGetKeyspaceRoutingRulesResponse { + + /** + * Constructs a new GetKeyspaceRoutingRulesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetKeyspaceRoutingRulesResponse); + + /** GetKeyspaceRoutingRulesResponse keyspace_routing_rules. */ + public keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); + + /** + * Creates a new GetKeyspaceRoutingRulesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetKeyspaceRoutingRulesResponse instance + */ + public static create(properties?: vtctldata.IGetKeyspaceRoutingRulesResponse): vtctldata.GetKeyspaceRoutingRulesResponse; + + /** + * Encodes the specified GetKeyspaceRoutingRulesResponse message. Does not implicitly {@link vtctldata.GetKeyspaceRoutingRulesResponse.verify|verify} messages. + * @param message GetKeyspaceRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetKeyspaceRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetKeyspaceRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.GetKeyspaceRoutingRulesResponse.verify|verify} messages. + * @param message GetKeyspaceRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetKeyspaceRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetKeyspaceRoutingRulesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetKeyspaceRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspaceRoutingRulesResponse; + + /** + * Decodes a GetKeyspaceRoutingRulesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetKeyspaceRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspaceRoutingRulesResponse; + + /** + * Verifies a GetKeyspaceRoutingRulesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetKeyspaceRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetKeyspaceRoutingRulesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspaceRoutingRulesResponse; + + /** + * Creates a plain object from a GetKeyspaceRoutingRulesResponse message. Also converts values to other types if specified. + * @param message GetKeyspaceRoutingRulesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetKeyspaceRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetKeyspaceRoutingRulesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetKeyspaceRoutingRulesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetRoutingRulesRequest. */ + interface IGetRoutingRulesRequest { + } + + /** Represents a GetRoutingRulesRequest. */ + class GetRoutingRulesRequest implements IGetRoutingRulesRequest { + + /** + * Constructs a new GetRoutingRulesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetRoutingRulesRequest); + + /** + * Creates a new GetRoutingRulesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetRoutingRulesRequest instance + */ + public static create(properties?: vtctldata.IGetRoutingRulesRequest): vtctldata.GetRoutingRulesRequest; + + /** + * Encodes the specified GetRoutingRulesRequest message. Does not implicitly {@link vtctldata.GetRoutingRulesRequest.verify|verify} messages. + * @param message GetRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.GetRoutingRulesRequest.verify|verify} messages. + * @param message GetRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetRoutingRulesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetRoutingRulesRequest; + + /** + * Decodes a GetRoutingRulesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetRoutingRulesRequest; + + /** + * Verifies a GetRoutingRulesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetRoutingRulesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetRoutingRulesRequest; + + /** + * Creates a plain object from a GetRoutingRulesRequest message. Also converts values to other types if specified. + * @param message GetRoutingRulesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetRoutingRulesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetRoutingRulesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetRoutingRulesResponse. */ + interface IGetRoutingRulesResponse { + + /** GetRoutingRulesResponse routing_rules */ + routing_rules?: (vschema.IRoutingRules|null); + } + + /** Represents a GetRoutingRulesResponse. */ + class GetRoutingRulesResponse implements IGetRoutingRulesResponse { + + /** + * Constructs a new GetRoutingRulesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetRoutingRulesResponse); + + /** GetRoutingRulesResponse routing_rules. */ + public routing_rules?: (vschema.IRoutingRules|null); + + /** + * Creates a new GetRoutingRulesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetRoutingRulesResponse instance + */ + public static create(properties?: vtctldata.IGetRoutingRulesResponse): vtctldata.GetRoutingRulesResponse; + + /** + * Encodes the specified GetRoutingRulesResponse message. Does not implicitly {@link vtctldata.GetRoutingRulesResponse.verify|verify} messages. + * @param message GetRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.GetRoutingRulesResponse.verify|verify} messages. + * @param message GetRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetRoutingRulesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetRoutingRulesResponse; + + /** + * Decodes a GetRoutingRulesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetRoutingRulesResponse; + + /** + * Verifies a GetRoutingRulesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetRoutingRulesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetRoutingRulesResponse; + + /** + * Creates a plain object from a GetRoutingRulesResponse message. Also converts values to other types if specified. + * @param message GetRoutingRulesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetRoutingRulesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetRoutingRulesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSchemaRequest. */ + interface IGetSchemaRequest { + + /** GetSchemaRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** GetSchemaRequest tables */ + tables?: (string[]|null); + + /** GetSchemaRequest exclude_tables */ + exclude_tables?: (string[]|null); + + /** GetSchemaRequest include_views */ + include_views?: (boolean|null); + + /** GetSchemaRequest table_names_only */ + table_names_only?: (boolean|null); + + /** GetSchemaRequest table_sizes_only */ + table_sizes_only?: (boolean|null); + + /** GetSchemaRequest table_schema_only */ + table_schema_only?: (boolean|null); + } + + /** Represents a GetSchemaRequest. */ + class GetSchemaRequest implements IGetSchemaRequest { + + /** + * Constructs a new GetSchemaRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSchemaRequest); + + /** GetSchemaRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** GetSchemaRequest tables. */ + public tables: string[]; + + /** GetSchemaRequest exclude_tables. */ + public exclude_tables: string[]; + + /** GetSchemaRequest include_views. */ + public include_views: boolean; + + /** GetSchemaRequest table_names_only. */ + public table_names_only: boolean; + + /** GetSchemaRequest table_sizes_only. */ + public table_sizes_only: boolean; + + /** GetSchemaRequest table_schema_only. */ + public table_schema_only: boolean; + + /** + * Creates a new GetSchemaRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSchemaRequest instance + */ + public static create(properties?: vtctldata.IGetSchemaRequest): vtctldata.GetSchemaRequest; + + /** + * Encodes the specified GetSchemaRequest message. Does not implicitly {@link vtctldata.GetSchemaRequest.verify|verify} messages. + * @param message GetSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.GetSchemaRequest.verify|verify} messages. + * @param message GetSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSchemaRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSchemaRequest; + + /** + * Decodes a GetSchemaRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSchemaRequest; + + /** + * Verifies a GetSchemaRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSchemaRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSchemaRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSchemaRequest; + + /** + * Creates a plain object from a GetSchemaRequest message. Also converts values to other types if specified. + * @param message GetSchemaRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSchemaRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSchemaRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSchemaResponse. */ + interface IGetSchemaResponse { + + /** GetSchemaResponse schema */ + schema?: (tabletmanagerdata.ISchemaDefinition|null); + } + + /** Represents a GetSchemaResponse. */ + class GetSchemaResponse implements IGetSchemaResponse { + + /** + * Constructs a new GetSchemaResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSchemaResponse); + + /** GetSchemaResponse schema. */ + public schema?: (tabletmanagerdata.ISchemaDefinition|null); + + /** + * Creates a new GetSchemaResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSchemaResponse instance + */ + public static create(properties?: vtctldata.IGetSchemaResponse): vtctldata.GetSchemaResponse; + + /** + * Encodes the specified GetSchemaResponse message. Does not implicitly {@link vtctldata.GetSchemaResponse.verify|verify} messages. + * @param message GetSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.GetSchemaResponse.verify|verify} messages. + * @param message GetSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSchemaResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSchemaResponse; + + /** + * Decodes a GetSchemaResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSchemaResponse; + + /** + * Verifies a GetSchemaResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSchemaResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSchemaResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSchemaResponse; + + /** + * Creates a plain object from a GetSchemaResponse message. Also converts values to other types if specified. + * @param message GetSchemaResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSchemaResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSchemaResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSchemaMigrationsRequest. */ + interface IGetSchemaMigrationsRequest { + + /** GetSchemaMigrationsRequest keyspace */ + keyspace?: (string|null); + + /** GetSchemaMigrationsRequest uuid */ + uuid?: (string|null); + + /** GetSchemaMigrationsRequest migration_context */ + migration_context?: (string|null); + + /** GetSchemaMigrationsRequest status */ + status?: (vtctldata.SchemaMigration.Status|null); + + /** GetSchemaMigrationsRequest recent */ + recent?: (vttime.IDuration|null); + + /** GetSchemaMigrationsRequest order */ + order?: (vtctldata.QueryOrdering|null); + + /** GetSchemaMigrationsRequest limit */ + limit?: (number|Long|null); + + /** GetSchemaMigrationsRequest skip */ + skip?: (number|Long|null); + } + + /** Represents a GetSchemaMigrationsRequest. */ + class GetSchemaMigrationsRequest implements IGetSchemaMigrationsRequest { + + /** + * Constructs a new GetSchemaMigrationsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSchemaMigrationsRequest); + + /** GetSchemaMigrationsRequest keyspace. */ + public keyspace: string; + + /** GetSchemaMigrationsRequest uuid. */ + public uuid: string; + + /** GetSchemaMigrationsRequest migration_context. */ + public migration_context: string; + + /** GetSchemaMigrationsRequest status. */ + public status: vtctldata.SchemaMigration.Status; + + /** GetSchemaMigrationsRequest recent. */ + public recent?: (vttime.IDuration|null); + + /** GetSchemaMigrationsRequest order. */ + public order: vtctldata.QueryOrdering; + + /** GetSchemaMigrationsRequest limit. */ + public limit: (number|Long); + + /** GetSchemaMigrationsRequest skip. */ + public skip: (number|Long); + + /** + * Creates a new GetSchemaMigrationsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSchemaMigrationsRequest instance + */ + public static create(properties?: vtctldata.IGetSchemaMigrationsRequest): vtctldata.GetSchemaMigrationsRequest; + + /** + * Encodes the specified GetSchemaMigrationsRequest message. Does not implicitly {@link vtctldata.GetSchemaMigrationsRequest.verify|verify} messages. + * @param message GetSchemaMigrationsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSchemaMigrationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSchemaMigrationsRequest message, length delimited. Does not implicitly {@link vtctldata.GetSchemaMigrationsRequest.verify|verify} messages. + * @param message GetSchemaMigrationsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSchemaMigrationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSchemaMigrationsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSchemaMigrationsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSchemaMigrationsRequest; + + /** + * Decodes a GetSchemaMigrationsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSchemaMigrationsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSchemaMigrationsRequest; + + /** + * Verifies a GetSchemaMigrationsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSchemaMigrationsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSchemaMigrationsRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSchemaMigrationsRequest; + + /** + * Creates a plain object from a GetSchemaMigrationsRequest message. Also converts values to other types if specified. + * @param message GetSchemaMigrationsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSchemaMigrationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSchemaMigrationsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSchemaMigrationsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSchemaMigrationsResponse. */ + interface IGetSchemaMigrationsResponse { + + /** GetSchemaMigrationsResponse migrations */ + migrations?: (vtctldata.ISchemaMigration[]|null); + } + + /** Represents a GetSchemaMigrationsResponse. */ + class GetSchemaMigrationsResponse implements IGetSchemaMigrationsResponse { + + /** + * Constructs a new GetSchemaMigrationsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSchemaMigrationsResponse); + + /** GetSchemaMigrationsResponse migrations. */ + public migrations: vtctldata.ISchemaMigration[]; + + /** + * Creates a new GetSchemaMigrationsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSchemaMigrationsResponse instance + */ + public static create(properties?: vtctldata.IGetSchemaMigrationsResponse): vtctldata.GetSchemaMigrationsResponse; + + /** + * Encodes the specified GetSchemaMigrationsResponse message. Does not implicitly {@link vtctldata.GetSchemaMigrationsResponse.verify|verify} messages. + * @param message GetSchemaMigrationsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSchemaMigrationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSchemaMigrationsResponse message, length delimited. Does not implicitly {@link vtctldata.GetSchemaMigrationsResponse.verify|verify} messages. + * @param message GetSchemaMigrationsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSchemaMigrationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSchemaMigrationsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSchemaMigrationsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSchemaMigrationsResponse; + + /** + * Decodes a GetSchemaMigrationsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSchemaMigrationsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSchemaMigrationsResponse; + + /** + * Verifies a GetSchemaMigrationsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSchemaMigrationsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSchemaMigrationsResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSchemaMigrationsResponse; + + /** + * Creates a plain object from a GetSchemaMigrationsResponse message. Also converts values to other types if specified. + * @param message GetSchemaMigrationsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSchemaMigrationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSchemaMigrationsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSchemaMigrationsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetShardReplicationRequest. */ + interface IGetShardReplicationRequest { + + /** GetShardReplicationRequest keyspace */ + keyspace?: (string|null); + + /** GetShardReplicationRequest shard */ + shard?: (string|null); + + /** GetShardReplicationRequest cells */ + cells?: (string[]|null); + } + + /** Represents a GetShardReplicationRequest. */ + class GetShardReplicationRequest implements IGetShardReplicationRequest { + + /** + * Constructs a new GetShardReplicationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetShardReplicationRequest); + + /** GetShardReplicationRequest keyspace. */ + public keyspace: string; + + /** GetShardReplicationRequest shard. */ + public shard: string; + + /** GetShardReplicationRequest cells. */ + public cells: string[]; + + /** + * Creates a new GetShardReplicationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetShardReplicationRequest instance + */ + public static create(properties?: vtctldata.IGetShardReplicationRequest): vtctldata.GetShardReplicationRequest; + + /** + * Encodes the specified GetShardReplicationRequest message. Does not implicitly {@link vtctldata.GetShardReplicationRequest.verify|verify} messages. + * @param message GetShardReplicationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetShardReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetShardReplicationRequest message, length delimited. Does not implicitly {@link vtctldata.GetShardReplicationRequest.verify|verify} messages. + * @param message GetShardReplicationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetShardReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetShardReplicationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetShardReplicationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardReplicationRequest; + + /** + * Decodes a GetShardReplicationRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetShardReplicationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardReplicationRequest; + + /** + * Verifies a GetShardReplicationRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetShardReplicationRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetShardReplicationRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetShardReplicationRequest; + + /** + * Creates a plain object from a GetShardReplicationRequest message. Also converts values to other types if specified. + * @param message GetShardReplicationRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetShardReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetShardReplicationRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetShardReplicationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetShardReplicationResponse. */ + interface IGetShardReplicationResponse { + + /** GetShardReplicationResponse shard_replication_by_cell */ + shard_replication_by_cell?: ({ [k: string]: topodata.IShardReplication }|null); + } + + /** Represents a GetShardReplicationResponse. */ + class GetShardReplicationResponse implements IGetShardReplicationResponse { + + /** + * Constructs a new GetShardReplicationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetShardReplicationResponse); + + /** GetShardReplicationResponse shard_replication_by_cell. */ + public shard_replication_by_cell: { [k: string]: topodata.IShardReplication }; + + /** + * Creates a new GetShardReplicationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetShardReplicationResponse instance + */ + public static create(properties?: vtctldata.IGetShardReplicationResponse): vtctldata.GetShardReplicationResponse; + + /** + * Encodes the specified GetShardReplicationResponse message. Does not implicitly {@link vtctldata.GetShardReplicationResponse.verify|verify} messages. + * @param message GetShardReplicationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetShardReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetShardReplicationResponse message, length delimited. Does not implicitly {@link vtctldata.GetShardReplicationResponse.verify|verify} messages. + * @param message GetShardReplicationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetShardReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetShardReplicationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetShardReplicationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardReplicationResponse; + + /** + * Decodes a GetShardReplicationResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetShardReplicationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardReplicationResponse; + + /** + * Verifies a GetShardReplicationResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetShardReplicationResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetShardReplicationResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetShardReplicationResponse; + + /** + * Creates a plain object from a GetShardReplicationResponse message. Also converts values to other types if specified. + * @param message GetShardReplicationResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetShardReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetShardReplicationResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetShardReplicationResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetShardRequest. */ + interface IGetShardRequest { + + /** GetShardRequest keyspace */ + keyspace?: (string|null); + + /** GetShardRequest shard_name */ + shard_name?: (string|null); + } + + /** Represents a GetShardRequest. */ + class GetShardRequest implements IGetShardRequest { + + /** + * Constructs a new GetShardRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetShardRequest); + + /** GetShardRequest keyspace. */ + public keyspace: string; + + /** GetShardRequest shard_name. */ + public shard_name: string; + + /** + * Creates a new GetShardRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetShardRequest instance + */ + public static create(properties?: vtctldata.IGetShardRequest): vtctldata.GetShardRequest; + + /** + * Encodes the specified GetShardRequest message. Does not implicitly {@link vtctldata.GetShardRequest.verify|verify} messages. + * @param message GetShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetShardRequest message, length delimited. Does not implicitly {@link vtctldata.GetShardRequest.verify|verify} messages. + * @param message GetShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetShardRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardRequest; + + /** + * Decodes a GetShardRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardRequest; + + /** + * Verifies a GetShardRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetShardRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetShardRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetShardRequest; + + /** + * Creates a plain object from a GetShardRequest message. Also converts values to other types if specified. + * @param message GetShardRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetShardRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetShardRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetShardResponse. */ + interface IGetShardResponse { + + /** GetShardResponse shard */ + shard?: (vtctldata.IShard|null); + } + + /** Represents a GetShardResponse. */ + class GetShardResponse implements IGetShardResponse { + + /** + * Constructs a new GetShardResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetShardResponse); + + /** GetShardResponse shard. */ + public shard?: (vtctldata.IShard|null); + + /** + * Creates a new GetShardResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetShardResponse instance + */ + public static create(properties?: vtctldata.IGetShardResponse): vtctldata.GetShardResponse; + + /** + * Encodes the specified GetShardResponse message. Does not implicitly {@link vtctldata.GetShardResponse.verify|verify} messages. + * @param message GetShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetShardResponse message, length delimited. Does not implicitly {@link vtctldata.GetShardResponse.verify|verify} messages. + * @param message GetShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetShardResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardResponse; + + /** + * Decodes a GetShardResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardResponse; + + /** + * Verifies a GetShardResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetShardResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetShardResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetShardResponse; + + /** + * Creates a plain object from a GetShardResponse message. Also converts values to other types if specified. + * @param message GetShardResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetShardResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetShardResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetShardRoutingRulesRequest. */ + interface IGetShardRoutingRulesRequest { + } + + /** Represents a GetShardRoutingRulesRequest. */ + class GetShardRoutingRulesRequest implements IGetShardRoutingRulesRequest { + + /** + * Constructs a new GetShardRoutingRulesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetShardRoutingRulesRequest); + + /** + * Creates a new GetShardRoutingRulesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetShardRoutingRulesRequest instance + */ + public static create(properties?: vtctldata.IGetShardRoutingRulesRequest): vtctldata.GetShardRoutingRulesRequest; + + /** + * Encodes the specified GetShardRoutingRulesRequest message. Does not implicitly {@link vtctldata.GetShardRoutingRulesRequest.verify|verify} messages. + * @param message GetShardRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetShardRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.GetShardRoutingRulesRequest.verify|verify} messages. + * @param message GetShardRoutingRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetShardRoutingRulesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetShardRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardRoutingRulesRequest; + + /** + * Decodes a GetShardRoutingRulesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetShardRoutingRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardRoutingRulesRequest; + + /** + * Verifies a GetShardRoutingRulesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetShardRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetShardRoutingRulesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetShardRoutingRulesRequest; + + /** + * Creates a plain object from a GetShardRoutingRulesRequest message. Also converts values to other types if specified. + * @param message GetShardRoutingRulesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetShardRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetShardRoutingRulesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetShardRoutingRulesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetShardRoutingRulesResponse. */ + interface IGetShardRoutingRulesResponse { + + /** GetShardRoutingRulesResponse shard_routing_rules */ + shard_routing_rules?: (vschema.IShardRoutingRules|null); + } + + /** Represents a GetShardRoutingRulesResponse. */ + class GetShardRoutingRulesResponse implements IGetShardRoutingRulesResponse { + + /** + * Constructs a new GetShardRoutingRulesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetShardRoutingRulesResponse); + + /** GetShardRoutingRulesResponse shard_routing_rules. */ + public shard_routing_rules?: (vschema.IShardRoutingRules|null); + + /** + * Creates a new GetShardRoutingRulesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetShardRoutingRulesResponse instance + */ + public static create(properties?: vtctldata.IGetShardRoutingRulesResponse): vtctldata.GetShardRoutingRulesResponse; + + /** + * Encodes the specified GetShardRoutingRulesResponse message. Does not implicitly {@link vtctldata.GetShardRoutingRulesResponse.verify|verify} messages. + * @param message GetShardRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetShardRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.GetShardRoutingRulesResponse.verify|verify} messages. + * @param message GetShardRoutingRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetShardRoutingRulesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetShardRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardRoutingRulesResponse; + + /** + * Decodes a GetShardRoutingRulesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetShardRoutingRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardRoutingRulesResponse; + + /** + * Verifies a GetShardRoutingRulesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetShardRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetShardRoutingRulesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetShardRoutingRulesResponse; + + /** + * Creates a plain object from a GetShardRoutingRulesResponse message. Also converts values to other types if specified. + * @param message GetShardRoutingRulesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetShardRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetShardRoutingRulesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetShardRoutingRulesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSrvKeyspaceNamesRequest. */ + interface IGetSrvKeyspaceNamesRequest { + + /** GetSrvKeyspaceNamesRequest cells */ + cells?: (string[]|null); + } + + /** Represents a GetSrvKeyspaceNamesRequest. */ + class GetSrvKeyspaceNamesRequest implements IGetSrvKeyspaceNamesRequest { + + /** + * Constructs a new GetSrvKeyspaceNamesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSrvKeyspaceNamesRequest); + + /** GetSrvKeyspaceNamesRequest cells. */ + public cells: string[]; + + /** + * Creates a new GetSrvKeyspaceNamesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSrvKeyspaceNamesRequest instance + */ + public static create(properties?: vtctldata.IGetSrvKeyspaceNamesRequest): vtctldata.GetSrvKeyspaceNamesRequest; + + /** + * Encodes the specified GetSrvKeyspaceNamesRequest message. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesRequest.verify|verify} messages. + * @param message GetSrvKeyspaceNamesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSrvKeyspaceNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSrvKeyspaceNamesRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesRequest.verify|verify} messages. + * @param message GetSrvKeyspaceNamesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSrvKeyspaceNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSrvKeyspaceNamesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSrvKeyspaceNamesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspaceNamesRequest; + + /** + * Decodes a GetSrvKeyspaceNamesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSrvKeyspaceNamesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspaceNamesRequest; + + /** + * Verifies a GetSrvKeyspaceNamesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSrvKeyspaceNamesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSrvKeyspaceNamesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspaceNamesRequest; + + /** + * Creates a plain object from a GetSrvKeyspaceNamesRequest message. Also converts values to other types if specified. + * @param message GetSrvKeyspaceNamesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSrvKeyspaceNamesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSrvKeyspaceNamesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSrvKeyspaceNamesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSrvKeyspaceNamesResponse. */ + interface IGetSrvKeyspaceNamesResponse { + + /** GetSrvKeyspaceNamesResponse names */ + names?: ({ [k: string]: vtctldata.GetSrvKeyspaceNamesResponse.INameList }|null); + } + + /** Represents a GetSrvKeyspaceNamesResponse. */ + class GetSrvKeyspaceNamesResponse implements IGetSrvKeyspaceNamesResponse { + + /** + * Constructs a new GetSrvKeyspaceNamesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSrvKeyspaceNamesResponse); + + /** GetSrvKeyspaceNamesResponse names. */ + public names: { [k: string]: vtctldata.GetSrvKeyspaceNamesResponse.INameList }; + + /** + * Creates a new GetSrvKeyspaceNamesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSrvKeyspaceNamesResponse instance + */ + public static create(properties?: vtctldata.IGetSrvKeyspaceNamesResponse): vtctldata.GetSrvKeyspaceNamesResponse; + + /** + * Encodes the specified GetSrvKeyspaceNamesResponse message. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.verify|verify} messages. + * @param message GetSrvKeyspaceNamesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSrvKeyspaceNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSrvKeyspaceNamesResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.verify|verify} messages. + * @param message GetSrvKeyspaceNamesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSrvKeyspaceNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSrvKeyspaceNamesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSrvKeyspaceNamesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspaceNamesResponse; + + /** + * Decodes a GetSrvKeyspaceNamesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSrvKeyspaceNamesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspaceNamesResponse; + + /** + * Verifies a GetSrvKeyspaceNamesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSrvKeyspaceNamesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSrvKeyspaceNamesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspaceNamesResponse; + + /** + * Creates a plain object from a GetSrvKeyspaceNamesResponse message. Also converts values to other types if specified. + * @param message GetSrvKeyspaceNamesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSrvKeyspaceNamesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSrvKeyspaceNamesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSrvKeyspaceNamesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace GetSrvKeyspaceNamesResponse { + + /** Properties of a NameList. */ + interface INameList { + + /** NameList names */ + names?: (string[]|null); + } + + /** Represents a NameList. */ + class NameList implements INameList { + + /** + * Constructs a new NameList. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.GetSrvKeyspaceNamesResponse.INameList); + + /** NameList names. */ + public names: string[]; + + /** + * Creates a new NameList instance using the specified properties. + * @param [properties] Properties to set + * @returns NameList instance + */ + public static create(properties?: vtctldata.GetSrvKeyspaceNamesResponse.INameList): vtctldata.GetSrvKeyspaceNamesResponse.NameList; + + /** + * Encodes the specified NameList message. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.NameList.verify|verify} messages. + * @param message NameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.GetSrvKeyspaceNamesResponse.INameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified NameList message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.NameList.verify|verify} messages. + * @param message NameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.GetSrvKeyspaceNamesResponse.INameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NameList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspaceNamesResponse.NameList; + + /** + * Decodes a NameList message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns NameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspaceNamesResponse.NameList; + + /** + * Verifies a NameList message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a NameList message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns NameList + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspaceNamesResponse.NameList; + + /** + * Creates a plain object from a NameList message. Also converts values to other types if specified. + * @param message NameList + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSrvKeyspaceNamesResponse.NameList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this NameList to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for NameList + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + } + + /** Properties of a GetSrvKeyspacesRequest. */ + interface IGetSrvKeyspacesRequest { + + /** GetSrvKeyspacesRequest keyspace */ + keyspace?: (string|null); + + /** GetSrvKeyspacesRequest cells */ + cells?: (string[]|null); + } + + /** Represents a GetSrvKeyspacesRequest. */ + class GetSrvKeyspacesRequest implements IGetSrvKeyspacesRequest { + + /** + * Constructs a new GetSrvKeyspacesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSrvKeyspacesRequest); + + /** GetSrvKeyspacesRequest keyspace. */ + public keyspace: string; + + /** GetSrvKeyspacesRequest cells. */ + public cells: string[]; + + /** + * Creates a new GetSrvKeyspacesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSrvKeyspacesRequest instance + */ + public static create(properties?: vtctldata.IGetSrvKeyspacesRequest): vtctldata.GetSrvKeyspacesRequest; + + /** + * Encodes the specified GetSrvKeyspacesRequest message. Does not implicitly {@link vtctldata.GetSrvKeyspacesRequest.verify|verify} messages. + * @param message GetSrvKeyspacesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSrvKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSrvKeyspacesRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspacesRequest.verify|verify} messages. + * @param message GetSrvKeyspacesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSrvKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSrvKeyspacesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSrvKeyspacesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspacesRequest; + + /** + * Decodes a GetSrvKeyspacesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSrvKeyspacesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspacesRequest; + + /** + * Verifies a GetSrvKeyspacesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSrvKeyspacesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSrvKeyspacesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspacesRequest; + + /** + * Creates a plain object from a GetSrvKeyspacesRequest message. Also converts values to other types if specified. + * @param message GetSrvKeyspacesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSrvKeyspacesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSrvKeyspacesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSrvKeyspacesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSrvKeyspacesResponse. */ + interface IGetSrvKeyspacesResponse { + + /** GetSrvKeyspacesResponse srv_keyspaces */ + srv_keyspaces?: ({ [k: string]: topodata.ISrvKeyspace }|null); + } + + /** Represents a GetSrvKeyspacesResponse. */ + class GetSrvKeyspacesResponse implements IGetSrvKeyspacesResponse { + + /** + * Constructs a new GetSrvKeyspacesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSrvKeyspacesResponse); + + /** GetSrvKeyspacesResponse srv_keyspaces. */ + public srv_keyspaces: { [k: string]: topodata.ISrvKeyspace }; + + /** + * Creates a new GetSrvKeyspacesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSrvKeyspacesResponse instance + */ + public static create(properties?: vtctldata.IGetSrvKeyspacesResponse): vtctldata.GetSrvKeyspacesResponse; + + /** + * Encodes the specified GetSrvKeyspacesResponse message. Does not implicitly {@link vtctldata.GetSrvKeyspacesResponse.verify|verify} messages. + * @param message GetSrvKeyspacesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSrvKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSrvKeyspacesResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspacesResponse.verify|verify} messages. + * @param message GetSrvKeyspacesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSrvKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSrvKeyspacesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSrvKeyspacesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspacesResponse; + + /** + * Decodes a GetSrvKeyspacesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSrvKeyspacesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspacesResponse; + + /** + * Verifies a GetSrvKeyspacesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSrvKeyspacesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSrvKeyspacesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspacesResponse; + + /** + * Creates a plain object from a GetSrvKeyspacesResponse message. Also converts values to other types if specified. + * @param message GetSrvKeyspacesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSrvKeyspacesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSrvKeyspacesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSrvKeyspacesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an UpdateThrottlerConfigRequest. */ + interface IUpdateThrottlerConfigRequest { + + /** UpdateThrottlerConfigRequest keyspace */ + keyspace?: (string|null); + + /** UpdateThrottlerConfigRequest enable */ + enable?: (boolean|null); + + /** UpdateThrottlerConfigRequest disable */ + disable?: (boolean|null); + + /** UpdateThrottlerConfigRequest threshold */ + threshold?: (number|null); + + /** UpdateThrottlerConfigRequest custom_query */ + custom_query?: (string|null); + + /** UpdateThrottlerConfigRequest custom_query_set */ + custom_query_set?: (boolean|null); + + /** UpdateThrottlerConfigRequest check_as_check_self */ + check_as_check_self?: (boolean|null); + + /** UpdateThrottlerConfigRequest check_as_check_shard */ + check_as_check_shard?: (boolean|null); + + /** UpdateThrottlerConfigRequest throttled_app */ + throttled_app?: (topodata.IThrottledAppRule|null); + + /** UpdateThrottlerConfigRequest metric_name */ + metric_name?: (string|null); + + /** UpdateThrottlerConfigRequest app_name */ + app_name?: (string|null); + + /** UpdateThrottlerConfigRequest app_checked_metrics */ + app_checked_metrics?: (string[]|null); + } + + /** Represents an UpdateThrottlerConfigRequest. */ + class UpdateThrottlerConfigRequest implements IUpdateThrottlerConfigRequest { + + /** + * Constructs a new UpdateThrottlerConfigRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IUpdateThrottlerConfigRequest); + + /** UpdateThrottlerConfigRequest keyspace. */ + public keyspace: string; + + /** UpdateThrottlerConfigRequest enable. */ + public enable: boolean; + + /** UpdateThrottlerConfigRequest disable. */ + public disable: boolean; + + /** UpdateThrottlerConfigRequest threshold. */ + public threshold: number; + + /** UpdateThrottlerConfigRequest custom_query. */ + public custom_query: string; + + /** UpdateThrottlerConfigRequest custom_query_set. */ + public custom_query_set: boolean; + + /** UpdateThrottlerConfigRequest check_as_check_self. */ + public check_as_check_self: boolean; + + /** UpdateThrottlerConfigRequest check_as_check_shard. */ + public check_as_check_shard: boolean; + + /** UpdateThrottlerConfigRequest throttled_app. */ + public throttled_app?: (topodata.IThrottledAppRule|null); + + /** UpdateThrottlerConfigRequest metric_name. */ + public metric_name: string; + + /** UpdateThrottlerConfigRequest app_name. */ + public app_name: string; + + /** UpdateThrottlerConfigRequest app_checked_metrics. */ + public app_checked_metrics: string[]; + + /** + * Creates a new UpdateThrottlerConfigRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns UpdateThrottlerConfigRequest instance + */ + public static create(properties?: vtctldata.IUpdateThrottlerConfigRequest): vtctldata.UpdateThrottlerConfigRequest; + + /** + * Encodes the specified UpdateThrottlerConfigRequest message. Does not implicitly {@link vtctldata.UpdateThrottlerConfigRequest.verify|verify} messages. + * @param message UpdateThrottlerConfigRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IUpdateThrottlerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified UpdateThrottlerConfigRequest message, length delimited. Does not implicitly {@link vtctldata.UpdateThrottlerConfigRequest.verify|verify} messages. + * @param message UpdateThrottlerConfigRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IUpdateThrottlerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UpdateThrottlerConfigRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UpdateThrottlerConfigRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateThrottlerConfigRequest; + + /** + * Decodes an UpdateThrottlerConfigRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns UpdateThrottlerConfigRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateThrottlerConfigRequest; + + /** + * Verifies an UpdateThrottlerConfigRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an UpdateThrottlerConfigRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns UpdateThrottlerConfigRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.UpdateThrottlerConfigRequest; + + /** + * Creates a plain object from an UpdateThrottlerConfigRequest message. Also converts values to other types if specified. + * @param message UpdateThrottlerConfigRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.UpdateThrottlerConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this UpdateThrottlerConfigRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateThrottlerConfigRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an UpdateThrottlerConfigResponse. */ + interface IUpdateThrottlerConfigResponse { + } + + /** Represents an UpdateThrottlerConfigResponse. */ + class UpdateThrottlerConfigResponse implements IUpdateThrottlerConfigResponse { + + /** + * Constructs a new UpdateThrottlerConfigResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IUpdateThrottlerConfigResponse); + + /** + * Creates a new UpdateThrottlerConfigResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns UpdateThrottlerConfigResponse instance + */ + public static create(properties?: vtctldata.IUpdateThrottlerConfigResponse): vtctldata.UpdateThrottlerConfigResponse; + + /** + * Encodes the specified UpdateThrottlerConfigResponse message. Does not implicitly {@link vtctldata.UpdateThrottlerConfigResponse.verify|verify} messages. + * @param message UpdateThrottlerConfigResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IUpdateThrottlerConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified UpdateThrottlerConfigResponse message, length delimited. Does not implicitly {@link vtctldata.UpdateThrottlerConfigResponse.verify|verify} messages. + * @param message UpdateThrottlerConfigResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IUpdateThrottlerConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UpdateThrottlerConfigResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UpdateThrottlerConfigResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateThrottlerConfigResponse; + + /** + * Decodes an UpdateThrottlerConfigResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns UpdateThrottlerConfigResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateThrottlerConfigResponse; + + /** + * Verifies an UpdateThrottlerConfigResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an UpdateThrottlerConfigResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns UpdateThrottlerConfigResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.UpdateThrottlerConfigResponse; + + /** + * Creates a plain object from an UpdateThrottlerConfigResponse message. Also converts values to other types if specified. + * @param message UpdateThrottlerConfigResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.UpdateThrottlerConfigResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this UpdateThrottlerConfigResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateThrottlerConfigResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSrvVSchemaRequest. */ + interface IGetSrvVSchemaRequest { + + /** GetSrvVSchemaRequest cell */ + cell?: (string|null); + } + + /** Represents a GetSrvVSchemaRequest. */ + class GetSrvVSchemaRequest implements IGetSrvVSchemaRequest { + + /** + * Constructs a new GetSrvVSchemaRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSrvVSchemaRequest); + + /** GetSrvVSchemaRequest cell. */ + public cell: string; + + /** + * Creates a new GetSrvVSchemaRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSrvVSchemaRequest instance + */ + public static create(properties?: vtctldata.IGetSrvVSchemaRequest): vtctldata.GetSrvVSchemaRequest; + + /** + * Encodes the specified GetSrvVSchemaRequest message. Does not implicitly {@link vtctldata.GetSrvVSchemaRequest.verify|verify} messages. + * @param message GetSrvVSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSrvVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemaRequest.verify|verify} messages. + * @param message GetSrvVSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSrvVSchemaRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSrvVSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemaRequest; + + /** + * Decodes a GetSrvVSchemaRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSrvVSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemaRequest; + + /** + * Verifies a GetSrvVSchemaRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSrvVSchemaRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSrvVSchemaRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemaRequest; + + /** + * Creates a plain object from a GetSrvVSchemaRequest message. Also converts values to other types if specified. + * @param message GetSrvVSchemaRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSrvVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSrvVSchemaRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSrvVSchemaRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSrvVSchemaResponse. */ + interface IGetSrvVSchemaResponse { + + /** GetSrvVSchemaResponse srv_v_schema */ + srv_v_schema?: (vschema.ISrvVSchema|null); + } + + /** Represents a GetSrvVSchemaResponse. */ + class GetSrvVSchemaResponse implements IGetSrvVSchemaResponse { + + /** + * Constructs a new GetSrvVSchemaResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSrvVSchemaResponse); + + /** GetSrvVSchemaResponse srv_v_schema. */ + public srv_v_schema?: (vschema.ISrvVSchema|null); + + /** + * Creates a new GetSrvVSchemaResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSrvVSchemaResponse instance + */ + public static create(properties?: vtctldata.IGetSrvVSchemaResponse): vtctldata.GetSrvVSchemaResponse; + + /** + * Encodes the specified GetSrvVSchemaResponse message. Does not implicitly {@link vtctldata.GetSrvVSchemaResponse.verify|verify} messages. + * @param message GetSrvVSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSrvVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemaResponse.verify|verify} messages. + * @param message GetSrvVSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSrvVSchemaResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSrvVSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemaResponse; + + /** + * Decodes a GetSrvVSchemaResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSrvVSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemaResponse; + + /** + * Verifies a GetSrvVSchemaResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSrvVSchemaResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSrvVSchemaResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemaResponse; + + /** + * Creates a plain object from a GetSrvVSchemaResponse message. Also converts values to other types if specified. + * @param message GetSrvVSchemaResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSrvVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSrvVSchemaResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSrvVSchemaResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSrvVSchemasRequest. */ + interface IGetSrvVSchemasRequest { + + /** GetSrvVSchemasRequest cells */ + cells?: (string[]|null); + } + + /** Represents a GetSrvVSchemasRequest. */ + class GetSrvVSchemasRequest implements IGetSrvVSchemasRequest { + + /** + * Constructs a new GetSrvVSchemasRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSrvVSchemasRequest); + + /** GetSrvVSchemasRequest cells. */ + public cells: string[]; + + /** + * Creates a new GetSrvVSchemasRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSrvVSchemasRequest instance + */ + public static create(properties?: vtctldata.IGetSrvVSchemasRequest): vtctldata.GetSrvVSchemasRequest; + + /** + * Encodes the specified GetSrvVSchemasRequest message. Does not implicitly {@link vtctldata.GetSrvVSchemasRequest.verify|verify} messages. + * @param message GetSrvVSchemasRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSrvVSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSrvVSchemasRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemasRequest.verify|verify} messages. + * @param message GetSrvVSchemasRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSrvVSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSrvVSchemasRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSrvVSchemasRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemasRequest; + + /** + * Decodes a GetSrvVSchemasRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSrvVSchemasRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemasRequest; + + /** + * Verifies a GetSrvVSchemasRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSrvVSchemasRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSrvVSchemasRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemasRequest; + + /** + * Creates a plain object from a GetSrvVSchemasRequest message. Also converts values to other types if specified. + * @param message GetSrvVSchemasRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSrvVSchemasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSrvVSchemasRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSrvVSchemasRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSrvVSchemasResponse. */ + interface IGetSrvVSchemasResponse { + + /** GetSrvVSchemasResponse srv_v_schemas */ + srv_v_schemas?: ({ [k: string]: vschema.ISrvVSchema }|null); + } + + /** Represents a GetSrvVSchemasResponse. */ + class GetSrvVSchemasResponse implements IGetSrvVSchemasResponse { + + /** + * Constructs a new GetSrvVSchemasResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetSrvVSchemasResponse); + + /** GetSrvVSchemasResponse srv_v_schemas. */ + public srv_v_schemas: { [k: string]: vschema.ISrvVSchema }; + + /** + * Creates a new GetSrvVSchemasResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSrvVSchemasResponse instance + */ + public static create(properties?: vtctldata.IGetSrvVSchemasResponse): vtctldata.GetSrvVSchemasResponse; + + /** + * Encodes the specified GetSrvVSchemasResponse message. Does not implicitly {@link vtctldata.GetSrvVSchemasResponse.verify|verify} messages. + * @param message GetSrvVSchemasResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetSrvVSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSrvVSchemasResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemasResponse.verify|verify} messages. + * @param message GetSrvVSchemasResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetSrvVSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSrvVSchemasResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSrvVSchemasResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemasResponse; + + /** + * Decodes a GetSrvVSchemasResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSrvVSchemasResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemasResponse; + + /** + * Verifies a GetSrvVSchemasResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetSrvVSchemasResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSrvVSchemasResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemasResponse; + + /** + * Creates a plain object from a GetSrvVSchemasResponse message. Also converts values to other types if specified. + * @param message GetSrvVSchemasResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetSrvVSchemasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSrvVSchemasResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSrvVSchemasResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetTabletRequest. */ + interface IGetTabletRequest { + + /** GetTabletRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a GetTabletRequest. */ + class GetTabletRequest implements IGetTabletRequest { + + /** + * Constructs a new GetTabletRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetTabletRequest); + + /** GetTabletRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new GetTabletRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTabletRequest instance + */ + public static create(properties?: vtctldata.IGetTabletRequest): vtctldata.GetTabletRequest; + + /** + * Encodes the specified GetTabletRequest message. Does not implicitly {@link vtctldata.GetTabletRequest.verify|verify} messages. + * @param message GetTabletRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetTabletRequest message, length delimited. Does not implicitly {@link vtctldata.GetTabletRequest.verify|verify} messages. + * @param message GetTabletRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTabletRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTabletRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletRequest; + + /** + * Decodes a GetTabletRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetTabletRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletRequest; + + /** + * Verifies a GetTabletRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetTabletRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetTabletRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletRequest; + + /** + * Creates a plain object from a GetTabletRequest message. Also converts values to other types if specified. + * @param message GetTabletRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetTabletRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetTabletRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetTabletResponse. */ + interface IGetTabletResponse { + + /** GetTabletResponse tablet */ + tablet?: (topodata.ITablet|null); + } + + /** Represents a GetTabletResponse. */ + class GetTabletResponse implements IGetTabletResponse { + + /** + * Constructs a new GetTabletResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetTabletResponse); + + /** GetTabletResponse tablet. */ + public tablet?: (topodata.ITablet|null); + + /** + * Creates a new GetTabletResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTabletResponse instance + */ + public static create(properties?: vtctldata.IGetTabletResponse): vtctldata.GetTabletResponse; + + /** + * Encodes the specified GetTabletResponse message. Does not implicitly {@link vtctldata.GetTabletResponse.verify|verify} messages. + * @param message GetTabletResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetTabletResponse message, length delimited. Does not implicitly {@link vtctldata.GetTabletResponse.verify|verify} messages. + * @param message GetTabletResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTabletResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTabletResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletResponse; + + /** + * Decodes a GetTabletResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetTabletResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletResponse; + + /** + * Verifies a GetTabletResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetTabletResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetTabletResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletResponse; + + /** + * Creates a plain object from a GetTabletResponse message. Also converts values to other types if specified. + * @param message GetTabletResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetTabletResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetTabletResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetTabletsRequest. */ + interface IGetTabletsRequest { + + /** GetTabletsRequest keyspace */ + keyspace?: (string|null); + + /** GetTabletsRequest shard */ + shard?: (string|null); + + /** GetTabletsRequest cells */ + cells?: (string[]|null); + + /** GetTabletsRequest strict */ + strict?: (boolean|null); + + /** GetTabletsRequest tablet_aliases */ + tablet_aliases?: (topodata.ITabletAlias[]|null); + + /** GetTabletsRequest tablet_type */ + tablet_type?: (topodata.TabletType|null); + } + + /** Represents a GetTabletsRequest. */ + class GetTabletsRequest implements IGetTabletsRequest { + + /** + * Constructs a new GetTabletsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetTabletsRequest); + + /** GetTabletsRequest keyspace. */ + public keyspace: string; + + /** GetTabletsRequest shard. */ + public shard: string; + + /** GetTabletsRequest cells. */ + public cells: string[]; + + /** GetTabletsRequest strict. */ + public strict: boolean; + + /** GetTabletsRequest tablet_aliases. */ + public tablet_aliases: topodata.ITabletAlias[]; + + /** GetTabletsRequest tablet_type. */ + public tablet_type: topodata.TabletType; + + /** + * Creates a new GetTabletsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTabletsRequest instance + */ + public static create(properties?: vtctldata.IGetTabletsRequest): vtctldata.GetTabletsRequest; + + /** + * Encodes the specified GetTabletsRequest message. Does not implicitly {@link vtctldata.GetTabletsRequest.verify|verify} messages. + * @param message GetTabletsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetTabletsRequest message, length delimited. Does not implicitly {@link vtctldata.GetTabletsRequest.verify|verify} messages. + * @param message GetTabletsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTabletsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTabletsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletsRequest; + + /** + * Decodes a GetTabletsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetTabletsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletsRequest; + + /** + * Verifies a GetTabletsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetTabletsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetTabletsRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletsRequest; + + /** + * Creates a plain object from a GetTabletsRequest message. Also converts values to other types if specified. + * @param message GetTabletsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetTabletsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetTabletsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetTabletsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetTabletsResponse. */ + interface IGetTabletsResponse { + + /** GetTabletsResponse tablets */ + tablets?: (topodata.ITablet[]|null); + } + + /** Represents a GetTabletsResponse. */ + class GetTabletsResponse implements IGetTabletsResponse { + + /** + * Constructs a new GetTabletsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetTabletsResponse); + + /** GetTabletsResponse tablets. */ + public tablets: topodata.ITablet[]; + + /** + * Creates a new GetTabletsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTabletsResponse instance + */ + public static create(properties?: vtctldata.IGetTabletsResponse): vtctldata.GetTabletsResponse; + + /** + * Encodes the specified GetTabletsResponse message. Does not implicitly {@link vtctldata.GetTabletsResponse.verify|verify} messages. + * @param message GetTabletsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetTabletsResponse message, length delimited. Does not implicitly {@link vtctldata.GetTabletsResponse.verify|verify} messages. + * @param message GetTabletsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTabletsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTabletsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletsResponse; + + /** + * Decodes a GetTabletsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetTabletsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletsResponse; + + /** + * Verifies a GetTabletsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetTabletsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetTabletsResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletsResponse; + + /** + * Creates a plain object from a GetTabletsResponse message. Also converts values to other types if specified. + * @param message GetTabletsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetTabletsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetTabletsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetTabletsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetThrottlerStatusRequest. */ + interface IGetThrottlerStatusRequest { + + /** GetThrottlerStatusRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a GetThrottlerStatusRequest. */ + class GetThrottlerStatusRequest implements IGetThrottlerStatusRequest { + + /** + * Constructs a new GetThrottlerStatusRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetThrottlerStatusRequest); + + /** GetThrottlerStatusRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new GetThrottlerStatusRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetThrottlerStatusRequest instance + */ + public static create(properties?: vtctldata.IGetThrottlerStatusRequest): vtctldata.GetThrottlerStatusRequest; + + /** + * Encodes the specified GetThrottlerStatusRequest message. Does not implicitly {@link vtctldata.GetThrottlerStatusRequest.verify|verify} messages. + * @param message GetThrottlerStatusRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetThrottlerStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetThrottlerStatusRequest message, length delimited. Does not implicitly {@link vtctldata.GetThrottlerStatusRequest.verify|verify} messages. + * @param message GetThrottlerStatusRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetThrottlerStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetThrottlerStatusRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetThrottlerStatusRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetThrottlerStatusRequest; + + /** + * Decodes a GetThrottlerStatusRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetThrottlerStatusRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetThrottlerStatusRequest; + + /** + * Verifies a GetThrottlerStatusRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetThrottlerStatusRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetThrottlerStatusRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetThrottlerStatusRequest; + + /** + * Creates a plain object from a GetThrottlerStatusRequest message. Also converts values to other types if specified. + * @param message GetThrottlerStatusRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetThrottlerStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetThrottlerStatusRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetThrottlerStatusRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetThrottlerStatusResponse. */ + interface IGetThrottlerStatusResponse { + + /** GetThrottlerStatusResponse status */ + status?: (tabletmanagerdata.IGetThrottlerStatusResponse|null); + } + + /** Represents a GetThrottlerStatusResponse. */ + class GetThrottlerStatusResponse implements IGetThrottlerStatusResponse { + + /** + * Constructs a new GetThrottlerStatusResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetThrottlerStatusResponse); + + /** GetThrottlerStatusResponse status. */ + public status?: (tabletmanagerdata.IGetThrottlerStatusResponse|null); + + /** + * Creates a new GetThrottlerStatusResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetThrottlerStatusResponse instance + */ + public static create(properties?: vtctldata.IGetThrottlerStatusResponse): vtctldata.GetThrottlerStatusResponse; + + /** + * Encodes the specified GetThrottlerStatusResponse message. Does not implicitly {@link vtctldata.GetThrottlerStatusResponse.verify|verify} messages. + * @param message GetThrottlerStatusResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetThrottlerStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetThrottlerStatusResponse message, length delimited. Does not implicitly {@link vtctldata.GetThrottlerStatusResponse.verify|verify} messages. + * @param message GetThrottlerStatusResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetThrottlerStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetThrottlerStatusResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetThrottlerStatusResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetThrottlerStatusResponse; + + /** + * Decodes a GetThrottlerStatusResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetThrottlerStatusResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetThrottlerStatusResponse; + + /** + * Verifies a GetThrottlerStatusResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetThrottlerStatusResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetThrottlerStatusResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetThrottlerStatusResponse; + + /** + * Creates a plain object from a GetThrottlerStatusResponse message. Also converts values to other types if specified. + * @param message GetThrottlerStatusResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetThrottlerStatusResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetThrottlerStatusResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetThrottlerStatusResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetTopologyPathRequest. */ + interface IGetTopologyPathRequest { + + /** GetTopologyPathRequest path */ + path?: (string|null); + + /** GetTopologyPathRequest version */ + version?: (number|Long|null); + + /** GetTopologyPathRequest as_json */ + as_json?: (boolean|null); + } + + /** Represents a GetTopologyPathRequest. */ + class GetTopologyPathRequest implements IGetTopologyPathRequest { + + /** + * Constructs a new GetTopologyPathRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetTopologyPathRequest); + + /** GetTopologyPathRequest path. */ + public path: string; + + /** GetTopologyPathRequest version. */ + public version: (number|Long); + + /** GetTopologyPathRequest as_json. */ + public as_json: boolean; + + /** + * Creates a new GetTopologyPathRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTopologyPathRequest instance + */ + public static create(properties?: vtctldata.IGetTopologyPathRequest): vtctldata.GetTopologyPathRequest; + + /** + * Encodes the specified GetTopologyPathRequest message. Does not implicitly {@link vtctldata.GetTopologyPathRequest.verify|verify} messages. + * @param message GetTopologyPathRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetTopologyPathRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetTopologyPathRequest message, length delimited. Does not implicitly {@link vtctldata.GetTopologyPathRequest.verify|verify} messages. + * @param message GetTopologyPathRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetTopologyPathRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTopologyPathRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTopologyPathRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTopologyPathRequest; + + /** + * Decodes a GetTopologyPathRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetTopologyPathRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTopologyPathRequest; + + /** + * Verifies a GetTopologyPathRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetTopologyPathRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetTopologyPathRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetTopologyPathRequest; + + /** + * Creates a plain object from a GetTopologyPathRequest message. Also converts values to other types if specified. + * @param message GetTopologyPathRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetTopologyPathRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetTopologyPathRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetTopologyPathRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetTopologyPathResponse. */ + interface IGetTopologyPathResponse { + + /** GetTopologyPathResponse cell */ + cell?: (vtctldata.ITopologyCell|null); + } + + /** Represents a GetTopologyPathResponse. */ + class GetTopologyPathResponse implements IGetTopologyPathResponse { + + /** + * Constructs a new GetTopologyPathResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetTopologyPathResponse); + + /** GetTopologyPathResponse cell. */ + public cell?: (vtctldata.ITopologyCell|null); + + /** + * Creates a new GetTopologyPathResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTopologyPathResponse instance + */ + public static create(properties?: vtctldata.IGetTopologyPathResponse): vtctldata.GetTopologyPathResponse; + + /** + * Encodes the specified GetTopologyPathResponse message. Does not implicitly {@link vtctldata.GetTopologyPathResponse.verify|verify} messages. + * @param message GetTopologyPathResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetTopologyPathResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetTopologyPathResponse message, length delimited. Does not implicitly {@link vtctldata.GetTopologyPathResponse.verify|verify} messages. + * @param message GetTopologyPathResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetTopologyPathResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTopologyPathResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTopologyPathResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTopologyPathResponse; + + /** + * Decodes a GetTopologyPathResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetTopologyPathResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTopologyPathResponse; + + /** + * Verifies a GetTopologyPathResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetTopologyPathResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetTopologyPathResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetTopologyPathResponse; + + /** + * Creates a plain object from a GetTopologyPathResponse message. Also converts values to other types if specified. + * @param message GetTopologyPathResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetTopologyPathResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetTopologyPathResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetTopologyPathResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a TopologyCell. */ + interface ITopologyCell { + + /** TopologyCell name */ + name?: (string|null); + + /** TopologyCell path */ + path?: (string|null); + + /** TopologyCell data */ + data?: (string|null); + + /** TopologyCell children */ + children?: (string[]|null); + + /** TopologyCell version */ + version?: (number|Long|null); + } + + /** Represents a TopologyCell. */ + class TopologyCell implements ITopologyCell { + + /** + * Constructs a new TopologyCell. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ITopologyCell); + + /** TopologyCell name. */ + public name: string; + + /** TopologyCell path. */ + public path: string; + + /** TopologyCell data. */ + public data: string; + + /** TopologyCell children. */ + public children: string[]; + + /** TopologyCell version. */ + public version: (number|Long); + + /** + * Creates a new TopologyCell instance using the specified properties. + * @param [properties] Properties to set + * @returns TopologyCell instance + */ + public static create(properties?: vtctldata.ITopologyCell): vtctldata.TopologyCell; + + /** + * Encodes the specified TopologyCell message. Does not implicitly {@link vtctldata.TopologyCell.verify|verify} messages. + * @param message TopologyCell message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ITopologyCell, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified TopologyCell message, length delimited. Does not implicitly {@link vtctldata.TopologyCell.verify|verify} messages. + * @param message TopologyCell message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ITopologyCell, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TopologyCell message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TopologyCell + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TopologyCell; + + /** + * Decodes a TopologyCell message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns TopologyCell + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TopologyCell; + + /** + * Verifies a TopologyCell message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a TopologyCell message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns TopologyCell + */ + public static fromObject(object: { [k: string]: any }): vtctldata.TopologyCell; + + /** + * Creates a plain object from a TopologyCell message. Also converts values to other types if specified. + * @param message TopologyCell + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.TopologyCell, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this TopologyCell to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TopologyCell + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetUnresolvedTransactionsRequest. */ + interface IGetUnresolvedTransactionsRequest { + + /** GetUnresolvedTransactionsRequest keyspace */ + keyspace?: (string|null); + + /** GetUnresolvedTransactionsRequest abandon_age */ + abandon_age?: (number|Long|null); + } + + /** Represents a GetUnresolvedTransactionsRequest. */ + class GetUnresolvedTransactionsRequest implements IGetUnresolvedTransactionsRequest { + + /** + * Constructs a new GetUnresolvedTransactionsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetUnresolvedTransactionsRequest); + + /** GetUnresolvedTransactionsRequest keyspace. */ + public keyspace: string; + + /** GetUnresolvedTransactionsRequest abandon_age. */ + public abandon_age: (number|Long); + + /** + * Creates a new GetUnresolvedTransactionsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetUnresolvedTransactionsRequest instance + */ + public static create(properties?: vtctldata.IGetUnresolvedTransactionsRequest): vtctldata.GetUnresolvedTransactionsRequest; + + /** + * Encodes the specified GetUnresolvedTransactionsRequest message. Does not implicitly {@link vtctldata.GetUnresolvedTransactionsRequest.verify|verify} messages. + * @param message GetUnresolvedTransactionsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetUnresolvedTransactionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetUnresolvedTransactionsRequest message, length delimited. Does not implicitly {@link vtctldata.GetUnresolvedTransactionsRequest.verify|verify} messages. + * @param message GetUnresolvedTransactionsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetUnresolvedTransactionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetUnresolvedTransactionsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetUnresolvedTransactionsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetUnresolvedTransactionsRequest; + + /** + * Decodes a GetUnresolvedTransactionsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetUnresolvedTransactionsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetUnresolvedTransactionsRequest; + + /** + * Verifies a GetUnresolvedTransactionsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetUnresolvedTransactionsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetUnresolvedTransactionsRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetUnresolvedTransactionsRequest; + + /** + * Creates a plain object from a GetUnresolvedTransactionsRequest message. Also converts values to other types if specified. + * @param message GetUnresolvedTransactionsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetUnresolvedTransactionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetUnresolvedTransactionsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetUnresolvedTransactionsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetUnresolvedTransactionsResponse. */ + interface IGetUnresolvedTransactionsResponse { + + /** GetUnresolvedTransactionsResponse transactions */ + transactions?: (query.ITransactionMetadata[]|null); + } + + /** Represents a GetUnresolvedTransactionsResponse. */ + class GetUnresolvedTransactionsResponse implements IGetUnresolvedTransactionsResponse { + + /** + * Constructs a new GetUnresolvedTransactionsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetUnresolvedTransactionsResponse); + + /** GetUnresolvedTransactionsResponse transactions. */ + public transactions: query.ITransactionMetadata[]; + + /** + * Creates a new GetUnresolvedTransactionsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetUnresolvedTransactionsResponse instance + */ + public static create(properties?: vtctldata.IGetUnresolvedTransactionsResponse): vtctldata.GetUnresolvedTransactionsResponse; + + /** + * Encodes the specified GetUnresolvedTransactionsResponse message. Does not implicitly {@link vtctldata.GetUnresolvedTransactionsResponse.verify|verify} messages. + * @param message GetUnresolvedTransactionsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetUnresolvedTransactionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetUnresolvedTransactionsResponse message, length delimited. Does not implicitly {@link vtctldata.GetUnresolvedTransactionsResponse.verify|verify} messages. + * @param message GetUnresolvedTransactionsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetUnresolvedTransactionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetUnresolvedTransactionsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetUnresolvedTransactionsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetUnresolvedTransactionsResponse; + + /** + * Decodes a GetUnresolvedTransactionsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetUnresolvedTransactionsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetUnresolvedTransactionsResponse; + + /** + * Verifies a GetUnresolvedTransactionsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetUnresolvedTransactionsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetUnresolvedTransactionsResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetUnresolvedTransactionsResponse; + + /** + * Creates a plain object from a GetUnresolvedTransactionsResponse message. Also converts values to other types if specified. + * @param message GetUnresolvedTransactionsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetUnresolvedTransactionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetUnresolvedTransactionsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetUnresolvedTransactionsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ConcludeTransactionRequest. */ + interface IConcludeTransactionRequest { + + /** ConcludeTransactionRequest dtid */ + dtid?: (string|null); + + /** ConcludeTransactionRequest participants */ + participants?: (query.ITarget[]|null); + } + + /** Represents a ConcludeTransactionRequest. */ + class ConcludeTransactionRequest implements IConcludeTransactionRequest { + + /** + * Constructs a new ConcludeTransactionRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IConcludeTransactionRequest); + + /** ConcludeTransactionRequest dtid. */ + public dtid: string; + + /** ConcludeTransactionRequest participants. */ + public participants: query.ITarget[]; + + /** + * Creates a new ConcludeTransactionRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ConcludeTransactionRequest instance + */ + public static create(properties?: vtctldata.IConcludeTransactionRequest): vtctldata.ConcludeTransactionRequest; + + /** + * Encodes the specified ConcludeTransactionRequest message. Does not implicitly {@link vtctldata.ConcludeTransactionRequest.verify|verify} messages. + * @param message ConcludeTransactionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IConcludeTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ConcludeTransactionRequest message, length delimited. Does not implicitly {@link vtctldata.ConcludeTransactionRequest.verify|verify} messages. + * @param message ConcludeTransactionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IConcludeTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ConcludeTransactionRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ConcludeTransactionRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ConcludeTransactionRequest; + + /** + * Decodes a ConcludeTransactionRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ConcludeTransactionRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ConcludeTransactionRequest; + + /** + * Verifies a ConcludeTransactionRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ConcludeTransactionRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ConcludeTransactionRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ConcludeTransactionRequest; + + /** + * Creates a plain object from a ConcludeTransactionRequest message. Also converts values to other types if specified. + * @param message ConcludeTransactionRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ConcludeTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ConcludeTransactionRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConcludeTransactionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ConcludeTransactionResponse. */ + interface IConcludeTransactionResponse { + } + + /** Represents a ConcludeTransactionResponse. */ + class ConcludeTransactionResponse implements IConcludeTransactionResponse { + + /** + * Constructs a new ConcludeTransactionResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IConcludeTransactionResponse); + + /** + * Creates a new ConcludeTransactionResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ConcludeTransactionResponse instance + */ + public static create(properties?: vtctldata.IConcludeTransactionResponse): vtctldata.ConcludeTransactionResponse; + + /** + * Encodes the specified ConcludeTransactionResponse message. Does not implicitly {@link vtctldata.ConcludeTransactionResponse.verify|verify} messages. + * @param message ConcludeTransactionResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IConcludeTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ConcludeTransactionResponse message, length delimited. Does not implicitly {@link vtctldata.ConcludeTransactionResponse.verify|verify} messages. + * @param message ConcludeTransactionResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IConcludeTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ConcludeTransactionResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ConcludeTransactionResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ConcludeTransactionResponse; + + /** + * Decodes a ConcludeTransactionResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ConcludeTransactionResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ConcludeTransactionResponse; + + /** + * Verifies a ConcludeTransactionResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ConcludeTransactionResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ConcludeTransactionResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ConcludeTransactionResponse; + + /** + * Creates a plain object from a ConcludeTransactionResponse message. Also converts values to other types if specified. + * @param message ConcludeTransactionResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ConcludeTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ConcludeTransactionResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ConcludeTransactionResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetVSchemaRequest. */ + interface IGetVSchemaRequest { + + /** GetVSchemaRequest keyspace */ + keyspace?: (string|null); + } + + /** Represents a GetVSchemaRequest. */ + class GetVSchemaRequest implements IGetVSchemaRequest { + + /** + * Constructs a new GetVSchemaRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetVSchemaRequest); + + /** GetVSchemaRequest keyspace. */ + public keyspace: string; + + /** + * Creates a new GetVSchemaRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetVSchemaRequest instance + */ + public static create(properties?: vtctldata.IGetVSchemaRequest): vtctldata.GetVSchemaRequest; + + /** + * Encodes the specified GetVSchemaRequest message. Does not implicitly {@link vtctldata.GetVSchemaRequest.verify|verify} messages. + * @param message GetVSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.GetVSchemaRequest.verify|verify} messages. + * @param message GetVSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetVSchemaRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetVSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVSchemaRequest; + + /** + * Decodes a GetVSchemaRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetVSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVSchemaRequest; + + /** + * Verifies a GetVSchemaRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetVSchemaRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetVSchemaRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetVSchemaRequest; + + /** + * Creates a plain object from a GetVSchemaRequest message. Also converts values to other types if specified. + * @param message GetVSchemaRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetVSchemaRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetVSchemaRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetVersionRequest. */ + interface IGetVersionRequest { + + /** GetVersionRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a GetVersionRequest. */ + class GetVersionRequest implements IGetVersionRequest { + + /** + * Constructs a new GetVersionRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetVersionRequest); + + /** GetVersionRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new GetVersionRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetVersionRequest instance + */ + public static create(properties?: vtctldata.IGetVersionRequest): vtctldata.GetVersionRequest; + + /** + * Encodes the specified GetVersionRequest message. Does not implicitly {@link vtctldata.GetVersionRequest.verify|verify} messages. + * @param message GetVersionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetVersionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetVersionRequest message, length delimited. Does not implicitly {@link vtctldata.GetVersionRequest.verify|verify} messages. + * @param message GetVersionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetVersionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetVersionRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetVersionRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVersionRequest; + + /** + * Decodes a GetVersionRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetVersionRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVersionRequest; + + /** + * Verifies a GetVersionRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetVersionRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetVersionRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetVersionRequest; + + /** + * Creates a plain object from a GetVersionRequest message. Also converts values to other types if specified. + * @param message GetVersionRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetVersionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetVersionRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetVersionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetVersionResponse. */ + interface IGetVersionResponse { + + /** GetVersionResponse version */ + version?: (string|null); + } + + /** Represents a GetVersionResponse. */ + class GetVersionResponse implements IGetVersionResponse { + + /** + * Constructs a new GetVersionResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetVersionResponse); + + /** GetVersionResponse version. */ + public version: string; + + /** + * Creates a new GetVersionResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetVersionResponse instance + */ + public static create(properties?: vtctldata.IGetVersionResponse): vtctldata.GetVersionResponse; + + /** + * Encodes the specified GetVersionResponse message. Does not implicitly {@link vtctldata.GetVersionResponse.verify|verify} messages. + * @param message GetVersionResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetVersionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetVersionResponse message, length delimited. Does not implicitly {@link vtctldata.GetVersionResponse.verify|verify} messages. + * @param message GetVersionResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetVersionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetVersionResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetVersionResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVersionResponse; + + /** + * Decodes a GetVersionResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetVersionResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVersionResponse; + + /** + * Verifies a GetVersionResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetVersionResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetVersionResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetVersionResponse; + + /** + * Creates a plain object from a GetVersionResponse message. Also converts values to other types if specified. + * @param message GetVersionResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetVersionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetVersionResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetVersionResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetVSchemaResponse. */ + interface IGetVSchemaResponse { + + /** GetVSchemaResponse v_schema */ + v_schema?: (vschema.IKeyspace|null); + } + + /** Represents a GetVSchemaResponse. */ + class GetVSchemaResponse implements IGetVSchemaResponse { + + /** + * Constructs a new GetVSchemaResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetVSchemaResponse); + + /** GetVSchemaResponse v_schema. */ + public v_schema?: (vschema.IKeyspace|null); + + /** + * Creates a new GetVSchemaResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetVSchemaResponse instance + */ + public static create(properties?: vtctldata.IGetVSchemaResponse): vtctldata.GetVSchemaResponse; + + /** + * Encodes the specified GetVSchemaResponse message. Does not implicitly {@link vtctldata.GetVSchemaResponse.verify|verify} messages. + * @param message GetVSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.GetVSchemaResponse.verify|verify} messages. + * @param message GetVSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetVSchemaResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetVSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVSchemaResponse; + + /** + * Decodes a GetVSchemaResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetVSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVSchemaResponse; + + /** + * Verifies a GetVSchemaResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetVSchemaResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetVSchemaResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetVSchemaResponse; + + /** + * Creates a plain object from a GetVSchemaResponse message. Also converts values to other types if specified. + * @param message GetVSchemaResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetVSchemaResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetVSchemaResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetWorkflowsRequest. */ + interface IGetWorkflowsRequest { + + /** GetWorkflowsRequest keyspace */ + keyspace?: (string|null); + + /** GetWorkflowsRequest active_only */ + active_only?: (boolean|null); + + /** GetWorkflowsRequest name_only */ + name_only?: (boolean|null); + + /** GetWorkflowsRequest workflow */ + workflow?: (string|null); + + /** GetWorkflowsRequest include_logs */ + include_logs?: (boolean|null); + + /** GetWorkflowsRequest shards */ + shards?: (string[]|null); + } + + /** Represents a GetWorkflowsRequest. */ + class GetWorkflowsRequest implements IGetWorkflowsRequest { + + /** + * Constructs a new GetWorkflowsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetWorkflowsRequest); + + /** GetWorkflowsRequest keyspace. */ + public keyspace: string; + + /** GetWorkflowsRequest active_only. */ + public active_only: boolean; + + /** GetWorkflowsRequest name_only. */ + public name_only: boolean; + + /** GetWorkflowsRequest workflow. */ + public workflow: string; + + /** GetWorkflowsRequest include_logs. */ + public include_logs: boolean; + + /** GetWorkflowsRequest shards. */ + public shards: string[]; + + /** + * Creates a new GetWorkflowsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetWorkflowsRequest instance + */ + public static create(properties?: vtctldata.IGetWorkflowsRequest): vtctldata.GetWorkflowsRequest; + + /** + * Encodes the specified GetWorkflowsRequest message. Does not implicitly {@link vtctldata.GetWorkflowsRequest.verify|verify} messages. + * @param message GetWorkflowsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetWorkflowsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetWorkflowsRequest message, length delimited. Does not implicitly {@link vtctldata.GetWorkflowsRequest.verify|verify} messages. + * @param message GetWorkflowsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetWorkflowsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetWorkflowsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetWorkflowsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetWorkflowsRequest; + + /** + * Decodes a GetWorkflowsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetWorkflowsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetWorkflowsRequest; + + /** + * Verifies a GetWorkflowsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetWorkflowsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetWorkflowsRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetWorkflowsRequest; + + /** + * Creates a plain object from a GetWorkflowsRequest message. Also converts values to other types if specified. + * @param message GetWorkflowsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetWorkflowsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetWorkflowsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetWorkflowsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetWorkflowsResponse. */ + interface IGetWorkflowsResponse { + + /** GetWorkflowsResponse workflows */ + workflows?: (vtctldata.IWorkflow[]|null); + } + + /** Represents a GetWorkflowsResponse. */ + class GetWorkflowsResponse implements IGetWorkflowsResponse { + + /** + * Constructs a new GetWorkflowsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetWorkflowsResponse); + + /** GetWorkflowsResponse workflows. */ + public workflows: vtctldata.IWorkflow[]; + + /** + * Creates a new GetWorkflowsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetWorkflowsResponse instance + */ + public static create(properties?: vtctldata.IGetWorkflowsResponse): vtctldata.GetWorkflowsResponse; + + /** + * Encodes the specified GetWorkflowsResponse message. Does not implicitly {@link vtctldata.GetWorkflowsResponse.verify|verify} messages. + * @param message GetWorkflowsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetWorkflowsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetWorkflowsResponse message, length delimited. Does not implicitly {@link vtctldata.GetWorkflowsResponse.verify|verify} messages. + * @param message GetWorkflowsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetWorkflowsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetWorkflowsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetWorkflowsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetWorkflowsResponse; + + /** + * Decodes a GetWorkflowsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetWorkflowsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetWorkflowsResponse; + + /** + * Verifies a GetWorkflowsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetWorkflowsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetWorkflowsResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetWorkflowsResponse; + + /** + * Creates a plain object from a GetWorkflowsResponse message. Also converts values to other types if specified. + * @param message GetWorkflowsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetWorkflowsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetWorkflowsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetWorkflowsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an InitShardPrimaryRequest. */ + interface IInitShardPrimaryRequest { + + /** InitShardPrimaryRequest keyspace */ + keyspace?: (string|null); + + /** InitShardPrimaryRequest shard */ + shard?: (string|null); + + /** InitShardPrimaryRequest primary_elect_tablet_alias */ + primary_elect_tablet_alias?: (topodata.ITabletAlias|null); + + /** InitShardPrimaryRequest force */ + force?: (boolean|null); + + /** InitShardPrimaryRequest wait_replicas_timeout */ + wait_replicas_timeout?: (vttime.IDuration|null); + } + + /** Represents an InitShardPrimaryRequest. */ + class InitShardPrimaryRequest implements IInitShardPrimaryRequest { + + /** + * Constructs a new InitShardPrimaryRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IInitShardPrimaryRequest); + + /** InitShardPrimaryRequest keyspace. */ + public keyspace: string; + + /** InitShardPrimaryRequest shard. */ + public shard: string; + + /** InitShardPrimaryRequest primary_elect_tablet_alias. */ + public primary_elect_tablet_alias?: (topodata.ITabletAlias|null); + + /** InitShardPrimaryRequest force. */ + public force: boolean; + + /** InitShardPrimaryRequest wait_replicas_timeout. */ + public wait_replicas_timeout?: (vttime.IDuration|null); + + /** + * Creates a new InitShardPrimaryRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns InitShardPrimaryRequest instance + */ + public static create(properties?: vtctldata.IInitShardPrimaryRequest): vtctldata.InitShardPrimaryRequest; + + /** + * Encodes the specified InitShardPrimaryRequest message. Does not implicitly {@link vtctldata.InitShardPrimaryRequest.verify|verify} messages. + * @param message InitShardPrimaryRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IInitShardPrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified InitShardPrimaryRequest message, length delimited. Does not implicitly {@link vtctldata.InitShardPrimaryRequest.verify|verify} messages. + * @param message InitShardPrimaryRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IInitShardPrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an InitShardPrimaryRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns InitShardPrimaryRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.InitShardPrimaryRequest; + + /** + * Decodes an InitShardPrimaryRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns InitShardPrimaryRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.InitShardPrimaryRequest; + + /** + * Verifies an InitShardPrimaryRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an InitShardPrimaryRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns InitShardPrimaryRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.InitShardPrimaryRequest; + + /** + * Creates a plain object from an InitShardPrimaryRequest message. Also converts values to other types if specified. + * @param message InitShardPrimaryRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.InitShardPrimaryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this InitShardPrimaryRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for InitShardPrimaryRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an InitShardPrimaryResponse. */ + interface IInitShardPrimaryResponse { + + /** InitShardPrimaryResponse events */ + events?: (logutil.IEvent[]|null); + } + + /** Represents an InitShardPrimaryResponse. */ + class InitShardPrimaryResponse implements IInitShardPrimaryResponse { + + /** + * Constructs a new InitShardPrimaryResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IInitShardPrimaryResponse); + + /** InitShardPrimaryResponse events. */ + public events: logutil.IEvent[]; + + /** + * Creates a new InitShardPrimaryResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns InitShardPrimaryResponse instance + */ + public static create(properties?: vtctldata.IInitShardPrimaryResponse): vtctldata.InitShardPrimaryResponse; + + /** + * Encodes the specified InitShardPrimaryResponse message. Does not implicitly {@link vtctldata.InitShardPrimaryResponse.verify|verify} messages. + * @param message InitShardPrimaryResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IInitShardPrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified InitShardPrimaryResponse message, length delimited. Does not implicitly {@link vtctldata.InitShardPrimaryResponse.verify|verify} messages. + * @param message InitShardPrimaryResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IInitShardPrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an InitShardPrimaryResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns InitShardPrimaryResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.InitShardPrimaryResponse; + + /** + * Decodes an InitShardPrimaryResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns InitShardPrimaryResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.InitShardPrimaryResponse; + + /** + * Verifies an InitShardPrimaryResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an InitShardPrimaryResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns InitShardPrimaryResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.InitShardPrimaryResponse; + + /** + * Creates a plain object from an InitShardPrimaryResponse message. Also converts values to other types if specified. + * @param message InitShardPrimaryResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.InitShardPrimaryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this InitShardPrimaryResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for InitShardPrimaryResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a LaunchSchemaMigrationRequest. */ + interface ILaunchSchemaMigrationRequest { + + /** LaunchSchemaMigrationRequest keyspace */ + keyspace?: (string|null); + + /** LaunchSchemaMigrationRequest uuid */ + uuid?: (string|null); + } + + /** Represents a LaunchSchemaMigrationRequest. */ + class LaunchSchemaMigrationRequest implements ILaunchSchemaMigrationRequest { + + /** + * Constructs a new LaunchSchemaMigrationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ILaunchSchemaMigrationRequest); + + /** LaunchSchemaMigrationRequest keyspace. */ + public keyspace: string; + + /** LaunchSchemaMigrationRequest uuid. */ + public uuid: string; + + /** + * Creates a new LaunchSchemaMigrationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchSchemaMigrationRequest instance + */ + public static create(properties?: vtctldata.ILaunchSchemaMigrationRequest): vtctldata.LaunchSchemaMigrationRequest; + + /** + * Encodes the specified LaunchSchemaMigrationRequest message. Does not implicitly {@link vtctldata.LaunchSchemaMigrationRequest.verify|verify} messages. + * @param message LaunchSchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ILaunchSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified LaunchSchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.LaunchSchemaMigrationRequest.verify|verify} messages. + * @param message LaunchSchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ILaunchSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchSchemaMigrationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchSchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LaunchSchemaMigrationRequest; + + /** + * Decodes a LaunchSchemaMigrationRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns LaunchSchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LaunchSchemaMigrationRequest; + + /** + * Verifies a LaunchSchemaMigrationRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a LaunchSchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns LaunchSchemaMigrationRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.LaunchSchemaMigrationRequest; + + /** + * Creates a plain object from a LaunchSchemaMigrationRequest message. Also converts values to other types if specified. + * @param message LaunchSchemaMigrationRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.LaunchSchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this LaunchSchemaMigrationRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LaunchSchemaMigrationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a LaunchSchemaMigrationResponse. */ + interface ILaunchSchemaMigrationResponse { + + /** LaunchSchemaMigrationResponse rows_affected_by_shard */ + rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); + } + + /** Represents a LaunchSchemaMigrationResponse. */ + class LaunchSchemaMigrationResponse implements ILaunchSchemaMigrationResponse { + + /** + * Constructs a new LaunchSchemaMigrationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ILaunchSchemaMigrationResponse); + + /** LaunchSchemaMigrationResponse rows_affected_by_shard. */ + public rows_affected_by_shard: { [k: string]: (number|Long) }; + + /** + * Creates a new LaunchSchemaMigrationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchSchemaMigrationResponse instance + */ + public static create(properties?: vtctldata.ILaunchSchemaMigrationResponse): vtctldata.LaunchSchemaMigrationResponse; + + /** + * Encodes the specified LaunchSchemaMigrationResponse message. Does not implicitly {@link vtctldata.LaunchSchemaMigrationResponse.verify|verify} messages. + * @param message LaunchSchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ILaunchSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified LaunchSchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.LaunchSchemaMigrationResponse.verify|verify} messages. + * @param message LaunchSchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ILaunchSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchSchemaMigrationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchSchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LaunchSchemaMigrationResponse; + + /** + * Decodes a LaunchSchemaMigrationResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns LaunchSchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LaunchSchemaMigrationResponse; + + /** + * Verifies a LaunchSchemaMigrationResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a LaunchSchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns LaunchSchemaMigrationResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.LaunchSchemaMigrationResponse; + + /** + * Creates a plain object from a LaunchSchemaMigrationResponse message. Also converts values to other types if specified. + * @param message LaunchSchemaMigrationResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.LaunchSchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this LaunchSchemaMigrationResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LaunchSchemaMigrationResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a LookupVindexCreateRequest. */ + interface ILookupVindexCreateRequest { + + /** LookupVindexCreateRequest keyspace */ + keyspace?: (string|null); + + /** LookupVindexCreateRequest workflow */ + workflow?: (string|null); + + /** LookupVindexCreateRequest cells */ + cells?: (string[]|null); + + /** LookupVindexCreateRequest vindex */ + vindex?: (vschema.IKeyspace|null); + + /** LookupVindexCreateRequest continue_after_copy_with_owner */ + continue_after_copy_with_owner?: (boolean|null); + + /** LookupVindexCreateRequest tablet_types */ + tablet_types?: (topodata.TabletType[]|null); + + /** LookupVindexCreateRequest tablet_selection_preference */ + tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); + } + + /** Represents a LookupVindexCreateRequest. */ + class LookupVindexCreateRequest implements ILookupVindexCreateRequest { + + /** + * Constructs a new LookupVindexCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ILookupVindexCreateRequest); + + /** LookupVindexCreateRequest keyspace. */ + public keyspace: string; + + /** LookupVindexCreateRequest workflow. */ + public workflow: string; + + /** LookupVindexCreateRequest cells. */ + public cells: string[]; + + /** LookupVindexCreateRequest vindex. */ + public vindex?: (vschema.IKeyspace|null); + + /** LookupVindexCreateRequest continue_after_copy_with_owner. */ + public continue_after_copy_with_owner: boolean; + + /** LookupVindexCreateRequest tablet_types. */ + public tablet_types: topodata.TabletType[]; + + /** LookupVindexCreateRequest tablet_selection_preference. */ + public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; + + /** + * Creates a new LookupVindexCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns LookupVindexCreateRequest instance + */ + public static create(properties?: vtctldata.ILookupVindexCreateRequest): vtctldata.LookupVindexCreateRequest; + + /** + * Encodes the specified LookupVindexCreateRequest message. Does not implicitly {@link vtctldata.LookupVindexCreateRequest.verify|verify} messages. + * @param message LookupVindexCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ILookupVindexCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified LookupVindexCreateRequest message, length delimited. Does not implicitly {@link vtctldata.LookupVindexCreateRequest.verify|verify} messages. + * @param message LookupVindexCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ILookupVindexCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LookupVindexCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LookupVindexCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LookupVindexCreateRequest; + + /** + * Decodes a LookupVindexCreateRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns LookupVindexCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LookupVindexCreateRequest; + + /** + * Verifies a LookupVindexCreateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a LookupVindexCreateRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns LookupVindexCreateRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.LookupVindexCreateRequest; + + /** + * Creates a plain object from a LookupVindexCreateRequest message. Also converts values to other types if specified. + * @param message LookupVindexCreateRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.LookupVindexCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this LookupVindexCreateRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LookupVindexCreateRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a LookupVindexCreateResponse. */ + interface ILookupVindexCreateResponse { + } + + /** Represents a LookupVindexCreateResponse. */ + class LookupVindexCreateResponse implements ILookupVindexCreateResponse { + + /** + * Constructs a new LookupVindexCreateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ILookupVindexCreateResponse); + + /** + * Creates a new LookupVindexCreateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns LookupVindexCreateResponse instance + */ + public static create(properties?: vtctldata.ILookupVindexCreateResponse): vtctldata.LookupVindexCreateResponse; + + /** + * Encodes the specified LookupVindexCreateResponse message. Does not implicitly {@link vtctldata.LookupVindexCreateResponse.verify|verify} messages. + * @param message LookupVindexCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ILookupVindexCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified LookupVindexCreateResponse message, length delimited. Does not implicitly {@link vtctldata.LookupVindexCreateResponse.verify|verify} messages. + * @param message LookupVindexCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ILookupVindexCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LookupVindexCreateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LookupVindexCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LookupVindexCreateResponse; + + /** + * Decodes a LookupVindexCreateResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns LookupVindexCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LookupVindexCreateResponse; + + /** + * Verifies a LookupVindexCreateResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a LookupVindexCreateResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns LookupVindexCreateResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.LookupVindexCreateResponse; + + /** + * Creates a plain object from a LookupVindexCreateResponse message. Also converts values to other types if specified. + * @param message LookupVindexCreateResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.LookupVindexCreateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this LookupVindexCreateResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LookupVindexCreateResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a LookupVindexExternalizeRequest. */ + interface ILookupVindexExternalizeRequest { + + /** LookupVindexExternalizeRequest keyspace */ + keyspace?: (string|null); + + /** LookupVindexExternalizeRequest name */ + name?: (string|null); + + /** LookupVindexExternalizeRequest table_keyspace */ + table_keyspace?: (string|null); + } + + /** Represents a LookupVindexExternalizeRequest. */ + class LookupVindexExternalizeRequest implements ILookupVindexExternalizeRequest { + + /** + * Constructs a new LookupVindexExternalizeRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ILookupVindexExternalizeRequest); + + /** LookupVindexExternalizeRequest keyspace. */ + public keyspace: string; + + /** LookupVindexExternalizeRequest name. */ + public name: string; + + /** LookupVindexExternalizeRequest table_keyspace. */ + public table_keyspace: string; + + /** + * Creates a new LookupVindexExternalizeRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns LookupVindexExternalizeRequest instance + */ + public static create(properties?: vtctldata.ILookupVindexExternalizeRequest): vtctldata.LookupVindexExternalizeRequest; + + /** + * Encodes the specified LookupVindexExternalizeRequest message. Does not implicitly {@link vtctldata.LookupVindexExternalizeRequest.verify|verify} messages. + * @param message LookupVindexExternalizeRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ILookupVindexExternalizeRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified LookupVindexExternalizeRequest message, length delimited. Does not implicitly {@link vtctldata.LookupVindexExternalizeRequest.verify|verify} messages. + * @param message LookupVindexExternalizeRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ILookupVindexExternalizeRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LookupVindexExternalizeRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LookupVindexExternalizeRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LookupVindexExternalizeRequest; + + /** + * Decodes a LookupVindexExternalizeRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns LookupVindexExternalizeRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LookupVindexExternalizeRequest; + + /** + * Verifies a LookupVindexExternalizeRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a LookupVindexExternalizeRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns LookupVindexExternalizeRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.LookupVindexExternalizeRequest; + + /** + * Creates a plain object from a LookupVindexExternalizeRequest message. Also converts values to other types if specified. + * @param message LookupVindexExternalizeRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.LookupVindexExternalizeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this LookupVindexExternalizeRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LookupVindexExternalizeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a LookupVindexExternalizeResponse. */ + interface ILookupVindexExternalizeResponse { + + /** LookupVindexExternalizeResponse workflow_deleted */ + workflow_deleted?: (boolean|null); + } + + /** Represents a LookupVindexExternalizeResponse. */ + class LookupVindexExternalizeResponse implements ILookupVindexExternalizeResponse { + + /** + * Constructs a new LookupVindexExternalizeResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ILookupVindexExternalizeResponse); + + /** LookupVindexExternalizeResponse workflow_deleted. */ + public workflow_deleted: boolean; + + /** + * Creates a new LookupVindexExternalizeResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns LookupVindexExternalizeResponse instance + */ + public static create(properties?: vtctldata.ILookupVindexExternalizeResponse): vtctldata.LookupVindexExternalizeResponse; + + /** + * Encodes the specified LookupVindexExternalizeResponse message. Does not implicitly {@link vtctldata.LookupVindexExternalizeResponse.verify|verify} messages. + * @param message LookupVindexExternalizeResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ILookupVindexExternalizeResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified LookupVindexExternalizeResponse message, length delimited. Does not implicitly {@link vtctldata.LookupVindexExternalizeResponse.verify|verify} messages. + * @param message LookupVindexExternalizeResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ILookupVindexExternalizeResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LookupVindexExternalizeResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LookupVindexExternalizeResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LookupVindexExternalizeResponse; + + /** + * Decodes a LookupVindexExternalizeResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns LookupVindexExternalizeResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LookupVindexExternalizeResponse; + + /** + * Verifies a LookupVindexExternalizeResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a LookupVindexExternalizeResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns LookupVindexExternalizeResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.LookupVindexExternalizeResponse; + + /** + * Creates a plain object from a LookupVindexExternalizeResponse message. Also converts values to other types if specified. + * @param message LookupVindexExternalizeResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.LookupVindexExternalizeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this LookupVindexExternalizeResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LookupVindexExternalizeResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MaterializeCreateRequest. */ + interface IMaterializeCreateRequest { + + /** MaterializeCreateRequest settings */ + settings?: (vtctldata.IMaterializeSettings|null); + } + + /** Represents a MaterializeCreateRequest. */ + class MaterializeCreateRequest implements IMaterializeCreateRequest { + + /** + * Constructs a new MaterializeCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMaterializeCreateRequest); + + /** MaterializeCreateRequest settings. */ + public settings?: (vtctldata.IMaterializeSettings|null); + + /** + * Creates a new MaterializeCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns MaterializeCreateRequest instance + */ + public static create(properties?: vtctldata.IMaterializeCreateRequest): vtctldata.MaterializeCreateRequest; + + /** + * Encodes the specified MaterializeCreateRequest message. Does not implicitly {@link vtctldata.MaterializeCreateRequest.verify|verify} messages. + * @param message MaterializeCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMaterializeCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MaterializeCreateRequest message, length delimited. Does not implicitly {@link vtctldata.MaterializeCreateRequest.verify|verify} messages. + * @param message MaterializeCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMaterializeCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MaterializeCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MaterializeCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MaterializeCreateRequest; + + /** + * Decodes a MaterializeCreateRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MaterializeCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MaterializeCreateRequest; + + /** + * Verifies a MaterializeCreateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MaterializeCreateRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MaterializeCreateRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MaterializeCreateRequest; + + /** + * Creates a plain object from a MaterializeCreateRequest message. Also converts values to other types if specified. + * @param message MaterializeCreateRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MaterializeCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MaterializeCreateRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MaterializeCreateRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MaterializeCreateResponse. */ + interface IMaterializeCreateResponse { + } + + /** Represents a MaterializeCreateResponse. */ + class MaterializeCreateResponse implements IMaterializeCreateResponse { + + /** + * Constructs a new MaterializeCreateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMaterializeCreateResponse); + + /** + * Creates a new MaterializeCreateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns MaterializeCreateResponse instance + */ + public static create(properties?: vtctldata.IMaterializeCreateResponse): vtctldata.MaterializeCreateResponse; + + /** + * Encodes the specified MaterializeCreateResponse message. Does not implicitly {@link vtctldata.MaterializeCreateResponse.verify|verify} messages. + * @param message MaterializeCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMaterializeCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MaterializeCreateResponse message, length delimited. Does not implicitly {@link vtctldata.MaterializeCreateResponse.verify|verify} messages. + * @param message MaterializeCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMaterializeCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MaterializeCreateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MaterializeCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MaterializeCreateResponse; + + /** + * Decodes a MaterializeCreateResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MaterializeCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MaterializeCreateResponse; + + /** + * Verifies a MaterializeCreateResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MaterializeCreateResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MaterializeCreateResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MaterializeCreateResponse; + + /** + * Creates a plain object from a MaterializeCreateResponse message. Also converts values to other types if specified. + * @param message MaterializeCreateResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MaterializeCreateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MaterializeCreateResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MaterializeCreateResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MigrateCreateRequest. */ + interface IMigrateCreateRequest { + + /** MigrateCreateRequest workflow */ + workflow?: (string|null); + + /** MigrateCreateRequest source_keyspace */ + source_keyspace?: (string|null); + + /** MigrateCreateRequest target_keyspace */ + target_keyspace?: (string|null); + + /** MigrateCreateRequest mount_name */ + mount_name?: (string|null); + + /** MigrateCreateRequest cells */ + cells?: (string[]|null); + + /** MigrateCreateRequest tablet_types */ + tablet_types?: (topodata.TabletType[]|null); + + /** MigrateCreateRequest tablet_selection_preference */ + tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); + + /** MigrateCreateRequest all_tables */ + all_tables?: (boolean|null); + + /** MigrateCreateRequest include_tables */ + include_tables?: (string[]|null); + + /** MigrateCreateRequest exclude_tables */ + exclude_tables?: (string[]|null); + + /** MigrateCreateRequest source_time_zone */ + source_time_zone?: (string|null); + + /** MigrateCreateRequest on_ddl */ + on_ddl?: (string|null); + + /** MigrateCreateRequest stop_after_copy */ + stop_after_copy?: (boolean|null); + + /** MigrateCreateRequest drop_foreign_keys */ + drop_foreign_keys?: (boolean|null); + + /** MigrateCreateRequest defer_secondary_keys */ + defer_secondary_keys?: (boolean|null); + + /** MigrateCreateRequest auto_start */ + auto_start?: (boolean|null); + + /** MigrateCreateRequest no_routing_rules */ + no_routing_rules?: (boolean|null); + } + + /** Represents a MigrateCreateRequest. */ + class MigrateCreateRequest implements IMigrateCreateRequest { + + /** + * Constructs a new MigrateCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMigrateCreateRequest); + + /** MigrateCreateRequest workflow. */ + public workflow: string; + + /** MigrateCreateRequest source_keyspace. */ + public source_keyspace: string; + + /** MigrateCreateRequest target_keyspace. */ + public target_keyspace: string; + + /** MigrateCreateRequest mount_name. */ + public mount_name: string; + + /** MigrateCreateRequest cells. */ + public cells: string[]; + + /** MigrateCreateRequest tablet_types. */ + public tablet_types: topodata.TabletType[]; + + /** MigrateCreateRequest tablet_selection_preference. */ + public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; + + /** MigrateCreateRequest all_tables. */ + public all_tables: boolean; + + /** MigrateCreateRequest include_tables. */ + public include_tables: string[]; + + /** MigrateCreateRequest exclude_tables. */ + public exclude_tables: string[]; + + /** MigrateCreateRequest source_time_zone. */ + public source_time_zone: string; + + /** MigrateCreateRequest on_ddl. */ + public on_ddl: string; + + /** MigrateCreateRequest stop_after_copy. */ + public stop_after_copy: boolean; + + /** MigrateCreateRequest drop_foreign_keys. */ + public drop_foreign_keys: boolean; + + /** MigrateCreateRequest defer_secondary_keys. */ + public defer_secondary_keys: boolean; + + /** MigrateCreateRequest auto_start. */ + public auto_start: boolean; + + /** MigrateCreateRequest no_routing_rules. */ + public no_routing_rules: boolean; + + /** + * Creates a new MigrateCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns MigrateCreateRequest instance + */ + public static create(properties?: vtctldata.IMigrateCreateRequest): vtctldata.MigrateCreateRequest; + + /** + * Encodes the specified MigrateCreateRequest message. Does not implicitly {@link vtctldata.MigrateCreateRequest.verify|verify} messages. + * @param message MigrateCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMigrateCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MigrateCreateRequest message, length delimited. Does not implicitly {@link vtctldata.MigrateCreateRequest.verify|verify} messages. + * @param message MigrateCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMigrateCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MigrateCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MigrateCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MigrateCreateRequest; + + /** + * Decodes a MigrateCreateRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MigrateCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MigrateCreateRequest; + + /** + * Verifies a MigrateCreateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MigrateCreateRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MigrateCreateRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MigrateCreateRequest; + + /** + * Creates a plain object from a MigrateCreateRequest message. Also converts values to other types if specified. + * @param message MigrateCreateRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MigrateCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MigrateCreateRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MigrateCreateRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MigrateCompleteRequest. */ + interface IMigrateCompleteRequest { + + /** MigrateCompleteRequest workflow */ + workflow?: (string|null); + + /** MigrateCompleteRequest target_keyspace */ + target_keyspace?: (string|null); + + /** MigrateCompleteRequest keep_data */ + keep_data?: (boolean|null); + + /** MigrateCompleteRequest keep_routing_rules */ + keep_routing_rules?: (boolean|null); + + /** MigrateCompleteRequest rename_tables */ + rename_tables?: (boolean|null); + + /** MigrateCompleteRequest dry_run */ + dry_run?: (boolean|null); + } + + /** Represents a MigrateCompleteRequest. */ + class MigrateCompleteRequest implements IMigrateCompleteRequest { + + /** + * Constructs a new MigrateCompleteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMigrateCompleteRequest); + + /** MigrateCompleteRequest workflow. */ + public workflow: string; + + /** MigrateCompleteRequest target_keyspace. */ + public target_keyspace: string; + + /** MigrateCompleteRequest keep_data. */ + public keep_data: boolean; + + /** MigrateCompleteRequest keep_routing_rules. */ + public keep_routing_rules: boolean; + + /** MigrateCompleteRequest rename_tables. */ + public rename_tables: boolean; + + /** MigrateCompleteRequest dry_run. */ + public dry_run: boolean; + + /** + * Creates a new MigrateCompleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns MigrateCompleteRequest instance + */ + public static create(properties?: vtctldata.IMigrateCompleteRequest): vtctldata.MigrateCompleteRequest; + + /** + * Encodes the specified MigrateCompleteRequest message. Does not implicitly {@link vtctldata.MigrateCompleteRequest.verify|verify} messages. + * @param message MigrateCompleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMigrateCompleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MigrateCompleteRequest message, length delimited. Does not implicitly {@link vtctldata.MigrateCompleteRequest.verify|verify} messages. + * @param message MigrateCompleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMigrateCompleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MigrateCompleteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MigrateCompleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MigrateCompleteRequest; + + /** + * Decodes a MigrateCompleteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MigrateCompleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MigrateCompleteRequest; + + /** + * Verifies a MigrateCompleteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MigrateCompleteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MigrateCompleteRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MigrateCompleteRequest; + + /** + * Creates a plain object from a MigrateCompleteRequest message. Also converts values to other types if specified. + * @param message MigrateCompleteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MigrateCompleteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MigrateCompleteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MigrateCompleteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MigrateCompleteResponse. */ + interface IMigrateCompleteResponse { + + /** MigrateCompleteResponse summary */ + summary?: (string|null); + + /** MigrateCompleteResponse dry_run_results */ + dry_run_results?: (string[]|null); + } + + /** Represents a MigrateCompleteResponse. */ + class MigrateCompleteResponse implements IMigrateCompleteResponse { + + /** + * Constructs a new MigrateCompleteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMigrateCompleteResponse); + + /** MigrateCompleteResponse summary. */ + public summary: string; + + /** MigrateCompleteResponse dry_run_results. */ + public dry_run_results: string[]; + + /** + * Creates a new MigrateCompleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns MigrateCompleteResponse instance + */ + public static create(properties?: vtctldata.IMigrateCompleteResponse): vtctldata.MigrateCompleteResponse; + + /** + * Encodes the specified MigrateCompleteResponse message. Does not implicitly {@link vtctldata.MigrateCompleteResponse.verify|verify} messages. + * @param message MigrateCompleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMigrateCompleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MigrateCompleteResponse message, length delimited. Does not implicitly {@link vtctldata.MigrateCompleteResponse.verify|verify} messages. + * @param message MigrateCompleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMigrateCompleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MigrateCompleteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MigrateCompleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MigrateCompleteResponse; + + /** + * Decodes a MigrateCompleteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MigrateCompleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MigrateCompleteResponse; + + /** + * Verifies a MigrateCompleteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MigrateCompleteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MigrateCompleteResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MigrateCompleteResponse; + + /** + * Creates a plain object from a MigrateCompleteResponse message. Also converts values to other types if specified. + * @param message MigrateCompleteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MigrateCompleteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MigrateCompleteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MigrateCompleteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MountRegisterRequest. */ + interface IMountRegisterRequest { + + /** MountRegisterRequest topo_type */ + topo_type?: (string|null); + + /** MountRegisterRequest topo_server */ + topo_server?: (string|null); + + /** MountRegisterRequest topo_root */ + topo_root?: (string|null); + + /** MountRegisterRequest name */ + name?: (string|null); + } + + /** Represents a MountRegisterRequest. */ + class MountRegisterRequest implements IMountRegisterRequest { + + /** + * Constructs a new MountRegisterRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMountRegisterRequest); + + /** MountRegisterRequest topo_type. */ + public topo_type: string; + + /** MountRegisterRequest topo_server. */ + public topo_server: string; + + /** MountRegisterRequest topo_root. */ + public topo_root: string; + + /** MountRegisterRequest name. */ + public name: string; + + /** + * Creates a new MountRegisterRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns MountRegisterRequest instance + */ + public static create(properties?: vtctldata.IMountRegisterRequest): vtctldata.MountRegisterRequest; + + /** + * Encodes the specified MountRegisterRequest message. Does not implicitly {@link vtctldata.MountRegisterRequest.verify|verify} messages. + * @param message MountRegisterRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMountRegisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MountRegisterRequest message, length delimited. Does not implicitly {@link vtctldata.MountRegisterRequest.verify|verify} messages. + * @param message MountRegisterRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMountRegisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MountRegisterRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MountRegisterRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountRegisterRequest; + + /** + * Decodes a MountRegisterRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MountRegisterRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountRegisterRequest; + + /** + * Verifies a MountRegisterRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MountRegisterRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MountRegisterRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MountRegisterRequest; + + /** + * Creates a plain object from a MountRegisterRequest message. Also converts values to other types if specified. + * @param message MountRegisterRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MountRegisterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MountRegisterRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MountRegisterRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MountRegisterResponse. */ + interface IMountRegisterResponse { + } + + /** Represents a MountRegisterResponse. */ + class MountRegisterResponse implements IMountRegisterResponse { + + /** + * Constructs a new MountRegisterResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMountRegisterResponse); + + /** + * Creates a new MountRegisterResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns MountRegisterResponse instance + */ + public static create(properties?: vtctldata.IMountRegisterResponse): vtctldata.MountRegisterResponse; + + /** + * Encodes the specified MountRegisterResponse message. Does not implicitly {@link vtctldata.MountRegisterResponse.verify|verify} messages. + * @param message MountRegisterResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMountRegisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MountRegisterResponse message, length delimited. Does not implicitly {@link vtctldata.MountRegisterResponse.verify|verify} messages. + * @param message MountRegisterResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMountRegisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MountRegisterResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MountRegisterResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountRegisterResponse; + + /** + * Decodes a MountRegisterResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MountRegisterResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountRegisterResponse; + + /** + * Verifies a MountRegisterResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MountRegisterResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MountRegisterResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MountRegisterResponse; + + /** + * Creates a plain object from a MountRegisterResponse message. Also converts values to other types if specified. + * @param message MountRegisterResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MountRegisterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MountRegisterResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MountRegisterResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MountUnregisterRequest. */ + interface IMountUnregisterRequest { + + /** MountUnregisterRequest name */ + name?: (string|null); + } + + /** Represents a MountUnregisterRequest. */ + class MountUnregisterRequest implements IMountUnregisterRequest { + + /** + * Constructs a new MountUnregisterRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMountUnregisterRequest); + + /** MountUnregisterRequest name. */ + public name: string; + + /** + * Creates a new MountUnregisterRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns MountUnregisterRequest instance + */ + public static create(properties?: vtctldata.IMountUnregisterRequest): vtctldata.MountUnregisterRequest; + + /** + * Encodes the specified MountUnregisterRequest message. Does not implicitly {@link vtctldata.MountUnregisterRequest.verify|verify} messages. + * @param message MountUnregisterRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMountUnregisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MountUnregisterRequest message, length delimited. Does not implicitly {@link vtctldata.MountUnregisterRequest.verify|verify} messages. + * @param message MountUnregisterRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMountUnregisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MountUnregisterRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MountUnregisterRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountUnregisterRequest; + + /** + * Decodes a MountUnregisterRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MountUnregisterRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountUnregisterRequest; + + /** + * Verifies a MountUnregisterRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MountUnregisterRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MountUnregisterRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MountUnregisterRequest; + + /** + * Creates a plain object from a MountUnregisterRequest message. Also converts values to other types if specified. + * @param message MountUnregisterRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MountUnregisterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MountUnregisterRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MountUnregisterRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MountUnregisterResponse. */ + interface IMountUnregisterResponse { + } + + /** Represents a MountUnregisterResponse. */ + class MountUnregisterResponse implements IMountUnregisterResponse { + + /** + * Constructs a new MountUnregisterResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMountUnregisterResponse); + + /** + * Creates a new MountUnregisterResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns MountUnregisterResponse instance + */ + public static create(properties?: vtctldata.IMountUnregisterResponse): vtctldata.MountUnregisterResponse; + + /** + * Encodes the specified MountUnregisterResponse message. Does not implicitly {@link vtctldata.MountUnregisterResponse.verify|verify} messages. + * @param message MountUnregisterResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMountUnregisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MountUnregisterResponse message, length delimited. Does not implicitly {@link vtctldata.MountUnregisterResponse.verify|verify} messages. + * @param message MountUnregisterResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMountUnregisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MountUnregisterResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MountUnregisterResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountUnregisterResponse; + + /** + * Decodes a MountUnregisterResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MountUnregisterResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountUnregisterResponse; + + /** + * Verifies a MountUnregisterResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MountUnregisterResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MountUnregisterResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MountUnregisterResponse; + + /** + * Creates a plain object from a MountUnregisterResponse message. Also converts values to other types if specified. + * @param message MountUnregisterResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MountUnregisterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MountUnregisterResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MountUnregisterResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MountShowRequest. */ + interface IMountShowRequest { + + /** MountShowRequest name */ + name?: (string|null); + } + + /** Represents a MountShowRequest. */ + class MountShowRequest implements IMountShowRequest { + + /** + * Constructs a new MountShowRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMountShowRequest); + + /** MountShowRequest name. */ + public name: string; + + /** + * Creates a new MountShowRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns MountShowRequest instance + */ + public static create(properties?: vtctldata.IMountShowRequest): vtctldata.MountShowRequest; + + /** + * Encodes the specified MountShowRequest message. Does not implicitly {@link vtctldata.MountShowRequest.verify|verify} messages. + * @param message MountShowRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMountShowRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MountShowRequest message, length delimited. Does not implicitly {@link vtctldata.MountShowRequest.verify|verify} messages. + * @param message MountShowRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMountShowRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MountShowRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MountShowRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountShowRequest; + + /** + * Decodes a MountShowRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MountShowRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountShowRequest; + + /** + * Verifies a MountShowRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MountShowRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MountShowRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MountShowRequest; + + /** + * Creates a plain object from a MountShowRequest message. Also converts values to other types if specified. + * @param message MountShowRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MountShowRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MountShowRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MountShowRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MountShowResponse. */ + interface IMountShowResponse { + + /** MountShowResponse topo_type */ + topo_type?: (string|null); + + /** MountShowResponse topo_server */ + topo_server?: (string|null); + + /** MountShowResponse topo_root */ + topo_root?: (string|null); + + /** MountShowResponse name */ + name?: (string|null); + } + + /** Represents a MountShowResponse. */ + class MountShowResponse implements IMountShowResponse { + + /** + * Constructs a new MountShowResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMountShowResponse); + + /** MountShowResponse topo_type. */ + public topo_type: string; + + /** MountShowResponse topo_server. */ + public topo_server: string; + + /** MountShowResponse topo_root. */ + public topo_root: string; + + /** MountShowResponse name. */ + public name: string; + + /** + * Creates a new MountShowResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns MountShowResponse instance + */ + public static create(properties?: vtctldata.IMountShowResponse): vtctldata.MountShowResponse; + + /** + * Encodes the specified MountShowResponse message. Does not implicitly {@link vtctldata.MountShowResponse.verify|verify} messages. + * @param message MountShowResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMountShowResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MountShowResponse message, length delimited. Does not implicitly {@link vtctldata.MountShowResponse.verify|verify} messages. + * @param message MountShowResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMountShowResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MountShowResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MountShowResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountShowResponse; + + /** + * Decodes a MountShowResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MountShowResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountShowResponse; + + /** + * Verifies a MountShowResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MountShowResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MountShowResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MountShowResponse; + + /** + * Creates a plain object from a MountShowResponse message. Also converts values to other types if specified. + * @param message MountShowResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MountShowResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MountShowResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MountShowResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MountListRequest. */ + interface IMountListRequest { + } + + /** Represents a MountListRequest. */ + class MountListRequest implements IMountListRequest { + + /** + * Constructs a new MountListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMountListRequest); + + /** + * Creates a new MountListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns MountListRequest instance + */ + public static create(properties?: vtctldata.IMountListRequest): vtctldata.MountListRequest; + + /** + * Encodes the specified MountListRequest message. Does not implicitly {@link vtctldata.MountListRequest.verify|verify} messages. + * @param message MountListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMountListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MountListRequest message, length delimited. Does not implicitly {@link vtctldata.MountListRequest.verify|verify} messages. + * @param message MountListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMountListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MountListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MountListRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountListRequest; + + /** + * Decodes a MountListRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MountListRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountListRequest; + + /** + * Verifies a MountListRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MountListRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MountListRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MountListRequest; + + /** + * Creates a plain object from a MountListRequest message. Also converts values to other types if specified. + * @param message MountListRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MountListRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MountListRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MountListRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MountListResponse. */ + interface IMountListResponse { + + /** MountListResponse names */ + names?: (string[]|null); + } + + /** Represents a MountListResponse. */ + class MountListResponse implements IMountListResponse { + + /** + * Constructs a new MountListResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMountListResponse); + + /** MountListResponse names. */ + public names: string[]; + + /** + * Creates a new MountListResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns MountListResponse instance + */ + public static create(properties?: vtctldata.IMountListResponse): vtctldata.MountListResponse; + + /** + * Encodes the specified MountListResponse message. Does not implicitly {@link vtctldata.MountListResponse.verify|verify} messages. + * @param message MountListResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMountListResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MountListResponse message, length delimited. Does not implicitly {@link vtctldata.MountListResponse.verify|verify} messages. + * @param message MountListResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMountListResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MountListResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MountListResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountListResponse; + + /** + * Decodes a MountListResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MountListResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountListResponse; + + /** + * Verifies a MountListResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MountListResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MountListResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MountListResponse; + + /** + * Creates a plain object from a MountListResponse message. Also converts values to other types if specified. + * @param message MountListResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MountListResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MountListResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MountListResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MoveTablesCreateRequest. */ + interface IMoveTablesCreateRequest { + + /** MoveTablesCreateRequest workflow */ + workflow?: (string|null); + + /** MoveTablesCreateRequest source_keyspace */ + source_keyspace?: (string|null); + + /** MoveTablesCreateRequest target_keyspace */ + target_keyspace?: (string|null); + + /** MoveTablesCreateRequest cells */ + cells?: (string[]|null); + + /** MoveTablesCreateRequest tablet_types */ + tablet_types?: (topodata.TabletType[]|null); + + /** MoveTablesCreateRequest tablet_selection_preference */ + tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); + + /** MoveTablesCreateRequest source_shards */ + source_shards?: (string[]|null); + + /** MoveTablesCreateRequest all_tables */ + all_tables?: (boolean|null); + + /** MoveTablesCreateRequest include_tables */ + include_tables?: (string[]|null); + + /** MoveTablesCreateRequest exclude_tables */ + exclude_tables?: (string[]|null); + + /** MoveTablesCreateRequest external_cluster_name */ + external_cluster_name?: (string|null); + + /** MoveTablesCreateRequest source_time_zone */ + source_time_zone?: (string|null); + + /** MoveTablesCreateRequest on_ddl */ + on_ddl?: (string|null); + + /** MoveTablesCreateRequest stop_after_copy */ + stop_after_copy?: (boolean|null); + + /** MoveTablesCreateRequest drop_foreign_keys */ + drop_foreign_keys?: (boolean|null); + + /** MoveTablesCreateRequest defer_secondary_keys */ + defer_secondary_keys?: (boolean|null); + + /** MoveTablesCreateRequest auto_start */ + auto_start?: (boolean|null); + + /** MoveTablesCreateRequest no_routing_rules */ + no_routing_rules?: (boolean|null); + + /** MoveTablesCreateRequest atomic_copy */ + atomic_copy?: (boolean|null); + + /** MoveTablesCreateRequest workflow_options */ + workflow_options?: (vtctldata.IWorkflowOptions|null); + } + + /** Represents a MoveTablesCreateRequest. */ + class MoveTablesCreateRequest implements IMoveTablesCreateRequest { + + /** + * Constructs a new MoveTablesCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMoveTablesCreateRequest); + + /** MoveTablesCreateRequest workflow. */ + public workflow: string; + + /** MoveTablesCreateRequest source_keyspace. */ + public source_keyspace: string; + + /** MoveTablesCreateRequest target_keyspace. */ + public target_keyspace: string; + + /** MoveTablesCreateRequest cells. */ + public cells: string[]; + + /** MoveTablesCreateRequest tablet_types. */ + public tablet_types: topodata.TabletType[]; + + /** MoveTablesCreateRequest tablet_selection_preference. */ + public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; + + /** MoveTablesCreateRequest source_shards. */ + public source_shards: string[]; + + /** MoveTablesCreateRequest all_tables. */ + public all_tables: boolean; + + /** MoveTablesCreateRequest include_tables. */ + public include_tables: string[]; + + /** MoveTablesCreateRequest exclude_tables. */ + public exclude_tables: string[]; + + /** MoveTablesCreateRequest external_cluster_name. */ + public external_cluster_name: string; + + /** MoveTablesCreateRequest source_time_zone. */ + public source_time_zone: string; + + /** MoveTablesCreateRequest on_ddl. */ + public on_ddl: string; + + /** MoveTablesCreateRequest stop_after_copy. */ + public stop_after_copy: boolean; + + /** MoveTablesCreateRequest drop_foreign_keys. */ + public drop_foreign_keys: boolean; + + /** MoveTablesCreateRequest defer_secondary_keys. */ + public defer_secondary_keys: boolean; + + /** MoveTablesCreateRequest auto_start. */ + public auto_start: boolean; + + /** MoveTablesCreateRequest no_routing_rules. */ + public no_routing_rules: boolean; + + /** MoveTablesCreateRequest atomic_copy. */ + public atomic_copy: boolean; + + /** MoveTablesCreateRequest workflow_options. */ + public workflow_options?: (vtctldata.IWorkflowOptions|null); + + /** + * Creates a new MoveTablesCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns MoveTablesCreateRequest instance + */ + public static create(properties?: vtctldata.IMoveTablesCreateRequest): vtctldata.MoveTablesCreateRequest; + + /** + * Encodes the specified MoveTablesCreateRequest message. Does not implicitly {@link vtctldata.MoveTablesCreateRequest.verify|verify} messages. + * @param message MoveTablesCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMoveTablesCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MoveTablesCreateRequest message, length delimited. Does not implicitly {@link vtctldata.MoveTablesCreateRequest.verify|verify} messages. + * @param message MoveTablesCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMoveTablesCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MoveTablesCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MoveTablesCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MoveTablesCreateRequest; + + /** + * Decodes a MoveTablesCreateRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MoveTablesCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MoveTablesCreateRequest; + + /** + * Verifies a MoveTablesCreateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MoveTablesCreateRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MoveTablesCreateRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MoveTablesCreateRequest; + + /** + * Creates a plain object from a MoveTablesCreateRequest message. Also converts values to other types if specified. + * @param message MoveTablesCreateRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MoveTablesCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MoveTablesCreateRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MoveTablesCreateRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MoveTablesCreateResponse. */ + interface IMoveTablesCreateResponse { + + /** MoveTablesCreateResponse summary */ + summary?: (string|null); + + /** MoveTablesCreateResponse details */ + details?: (vtctldata.MoveTablesCreateResponse.ITabletInfo[]|null); + } + + /** Represents a MoveTablesCreateResponse. */ + class MoveTablesCreateResponse implements IMoveTablesCreateResponse { + + /** + * Constructs a new MoveTablesCreateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMoveTablesCreateResponse); + + /** MoveTablesCreateResponse summary. */ + public summary: string; + + /** MoveTablesCreateResponse details. */ + public details: vtctldata.MoveTablesCreateResponse.ITabletInfo[]; + + /** + * Creates a new MoveTablesCreateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns MoveTablesCreateResponse instance + */ + public static create(properties?: vtctldata.IMoveTablesCreateResponse): vtctldata.MoveTablesCreateResponse; + + /** + * Encodes the specified MoveTablesCreateResponse message. Does not implicitly {@link vtctldata.MoveTablesCreateResponse.verify|verify} messages. + * @param message MoveTablesCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMoveTablesCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MoveTablesCreateResponse message, length delimited. Does not implicitly {@link vtctldata.MoveTablesCreateResponse.verify|verify} messages. + * @param message MoveTablesCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMoveTablesCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MoveTablesCreateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MoveTablesCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MoveTablesCreateResponse; + + /** + * Decodes a MoveTablesCreateResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MoveTablesCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MoveTablesCreateResponse; + + /** + * Verifies a MoveTablesCreateResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MoveTablesCreateResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MoveTablesCreateResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MoveTablesCreateResponse; + + /** + * Creates a plain object from a MoveTablesCreateResponse message. Also converts values to other types if specified. + * @param message MoveTablesCreateResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MoveTablesCreateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MoveTablesCreateResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MoveTablesCreateResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace MoveTablesCreateResponse { + + /** Properties of a TabletInfo. */ + interface ITabletInfo { + + /** TabletInfo tablet */ + tablet?: (topodata.ITabletAlias|null); + + /** TabletInfo created */ + created?: (boolean|null); + } + + /** Represents a TabletInfo. */ + class TabletInfo implements ITabletInfo { + + /** + * Constructs a new TabletInfo. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.MoveTablesCreateResponse.ITabletInfo); + + /** TabletInfo tablet. */ + public tablet?: (topodata.ITabletAlias|null); + + /** TabletInfo created. */ + public created: boolean; + + /** + * Creates a new TabletInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns TabletInfo instance + */ + public static create(properties?: vtctldata.MoveTablesCreateResponse.ITabletInfo): vtctldata.MoveTablesCreateResponse.TabletInfo; + + /** + * Encodes the specified TabletInfo message. Does not implicitly {@link vtctldata.MoveTablesCreateResponse.TabletInfo.verify|verify} messages. + * @param message TabletInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.MoveTablesCreateResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified TabletInfo message, length delimited. Does not implicitly {@link vtctldata.MoveTablesCreateResponse.TabletInfo.verify|verify} messages. + * @param message TabletInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.MoveTablesCreateResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TabletInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TabletInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MoveTablesCreateResponse.TabletInfo; + + /** + * Decodes a TabletInfo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns TabletInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MoveTablesCreateResponse.TabletInfo; + + /** + * Verifies a TabletInfo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a TabletInfo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns TabletInfo + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MoveTablesCreateResponse.TabletInfo; + + /** + * Creates a plain object from a TabletInfo message. Also converts values to other types if specified. + * @param message TabletInfo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MoveTablesCreateResponse.TabletInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this TabletInfo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TabletInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + } + + /** Properties of a MoveTablesCompleteRequest. */ + interface IMoveTablesCompleteRequest { + + /** MoveTablesCompleteRequest workflow */ + workflow?: (string|null); + + /** MoveTablesCompleteRequest target_keyspace */ + target_keyspace?: (string|null); + + /** MoveTablesCompleteRequest keep_data */ + keep_data?: (boolean|null); + + /** MoveTablesCompleteRequest keep_routing_rules */ + keep_routing_rules?: (boolean|null); + + /** MoveTablesCompleteRequest rename_tables */ + rename_tables?: (boolean|null); + + /** MoveTablesCompleteRequest dry_run */ + dry_run?: (boolean|null); + + /** MoveTablesCompleteRequest shards */ + shards?: (string[]|null); + } + + /** Represents a MoveTablesCompleteRequest. */ + class MoveTablesCompleteRequest implements IMoveTablesCompleteRequest { + + /** + * Constructs a new MoveTablesCompleteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMoveTablesCompleteRequest); + + /** MoveTablesCompleteRequest workflow. */ + public workflow: string; + + /** MoveTablesCompleteRequest target_keyspace. */ + public target_keyspace: string; + + /** MoveTablesCompleteRequest keep_data. */ + public keep_data: boolean; + + /** MoveTablesCompleteRequest keep_routing_rules. */ + public keep_routing_rules: boolean; + + /** MoveTablesCompleteRequest rename_tables. */ + public rename_tables: boolean; + + /** MoveTablesCompleteRequest dry_run. */ + public dry_run: boolean; + + /** MoveTablesCompleteRequest shards. */ + public shards: string[]; + + /** + * Creates a new MoveTablesCompleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns MoveTablesCompleteRequest instance + */ + public static create(properties?: vtctldata.IMoveTablesCompleteRequest): vtctldata.MoveTablesCompleteRequest; + + /** + * Encodes the specified MoveTablesCompleteRequest message. Does not implicitly {@link vtctldata.MoveTablesCompleteRequest.verify|verify} messages. + * @param message MoveTablesCompleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMoveTablesCompleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MoveTablesCompleteRequest message, length delimited. Does not implicitly {@link vtctldata.MoveTablesCompleteRequest.verify|verify} messages. + * @param message MoveTablesCompleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMoveTablesCompleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MoveTablesCompleteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MoveTablesCompleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MoveTablesCompleteRequest; + + /** + * Decodes a MoveTablesCompleteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MoveTablesCompleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MoveTablesCompleteRequest; + + /** + * Verifies a MoveTablesCompleteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MoveTablesCompleteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MoveTablesCompleteRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MoveTablesCompleteRequest; + + /** + * Creates a plain object from a MoveTablesCompleteRequest message. Also converts values to other types if specified. + * @param message MoveTablesCompleteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MoveTablesCompleteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MoveTablesCompleteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MoveTablesCompleteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a MoveTablesCompleteResponse. */ + interface IMoveTablesCompleteResponse { + + /** MoveTablesCompleteResponse summary */ + summary?: (string|null); + + /** MoveTablesCompleteResponse dry_run_results */ + dry_run_results?: (string[]|null); + } + + /** Represents a MoveTablesCompleteResponse. */ + class MoveTablesCompleteResponse implements IMoveTablesCompleteResponse { + + /** + * Constructs a new MoveTablesCompleteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IMoveTablesCompleteResponse); + + /** MoveTablesCompleteResponse summary. */ + public summary: string; + + /** MoveTablesCompleteResponse dry_run_results. */ + public dry_run_results: string[]; + + /** + * Creates a new MoveTablesCompleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns MoveTablesCompleteResponse instance + */ + public static create(properties?: vtctldata.IMoveTablesCompleteResponse): vtctldata.MoveTablesCompleteResponse; + + /** + * Encodes the specified MoveTablesCompleteResponse message. Does not implicitly {@link vtctldata.MoveTablesCompleteResponse.verify|verify} messages. + * @param message MoveTablesCompleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IMoveTablesCompleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MoveTablesCompleteResponse message, length delimited. Does not implicitly {@link vtctldata.MoveTablesCompleteResponse.verify|verify} messages. + * @param message MoveTablesCompleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IMoveTablesCompleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MoveTablesCompleteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MoveTablesCompleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MoveTablesCompleteResponse; + + /** + * Decodes a MoveTablesCompleteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MoveTablesCompleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MoveTablesCompleteResponse; + + /** + * Verifies a MoveTablesCompleteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MoveTablesCompleteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MoveTablesCompleteResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.MoveTablesCompleteResponse; + + /** + * Creates a plain object from a MoveTablesCompleteResponse message. Also converts values to other types if specified. + * @param message MoveTablesCompleteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.MoveTablesCompleteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MoveTablesCompleteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MoveTablesCompleteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a PingTabletRequest. */ + interface IPingTabletRequest { + + /** PingTabletRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a PingTabletRequest. */ + class PingTabletRequest implements IPingTabletRequest { + + /** + * Constructs a new PingTabletRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IPingTabletRequest); + + /** PingTabletRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new PingTabletRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns PingTabletRequest instance + */ + public static create(properties?: vtctldata.IPingTabletRequest): vtctldata.PingTabletRequest; + + /** + * Encodes the specified PingTabletRequest message. Does not implicitly {@link vtctldata.PingTabletRequest.verify|verify} messages. + * @param message PingTabletRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IPingTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified PingTabletRequest message, length delimited. Does not implicitly {@link vtctldata.PingTabletRequest.verify|verify} messages. + * @param message PingTabletRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IPingTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PingTabletRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PingTabletRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PingTabletRequest; + + /** + * Decodes a PingTabletRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns PingTabletRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PingTabletRequest; + + /** + * Verifies a PingTabletRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a PingTabletRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns PingTabletRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.PingTabletRequest; + + /** + * Creates a plain object from a PingTabletRequest message. Also converts values to other types if specified. + * @param message PingTabletRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.PingTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this PingTabletRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PingTabletRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a PingTabletResponse. */ + interface IPingTabletResponse { + } + + /** Represents a PingTabletResponse. */ + class PingTabletResponse implements IPingTabletResponse { + + /** + * Constructs a new PingTabletResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IPingTabletResponse); + + /** + * Creates a new PingTabletResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns PingTabletResponse instance + */ + public static create(properties?: vtctldata.IPingTabletResponse): vtctldata.PingTabletResponse; + + /** + * Encodes the specified PingTabletResponse message. Does not implicitly {@link vtctldata.PingTabletResponse.verify|verify} messages. + * @param message PingTabletResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IPingTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified PingTabletResponse message, length delimited. Does not implicitly {@link vtctldata.PingTabletResponse.verify|verify} messages. + * @param message PingTabletResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IPingTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PingTabletResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PingTabletResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PingTabletResponse; + + /** + * Decodes a PingTabletResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns PingTabletResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PingTabletResponse; + + /** + * Verifies a PingTabletResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a PingTabletResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns PingTabletResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.PingTabletResponse; + + /** + * Creates a plain object from a PingTabletResponse message. Also converts values to other types if specified. + * @param message PingTabletResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.PingTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this PingTabletResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PingTabletResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a PlannedReparentShardRequest. */ + interface IPlannedReparentShardRequest { + + /** PlannedReparentShardRequest keyspace */ + keyspace?: (string|null); + + /** PlannedReparentShardRequest shard */ + shard?: (string|null); + + /** PlannedReparentShardRequest new_primary */ + new_primary?: (topodata.ITabletAlias|null); + + /** PlannedReparentShardRequest avoid_primary */ + avoid_primary?: (topodata.ITabletAlias|null); + + /** PlannedReparentShardRequest wait_replicas_timeout */ + wait_replicas_timeout?: (vttime.IDuration|null); + + /** PlannedReparentShardRequest tolerable_replication_lag */ + tolerable_replication_lag?: (vttime.IDuration|null); + + /** PlannedReparentShardRequest allow_cross_cell_promotion */ + allow_cross_cell_promotion?: (boolean|null); + + /** PlannedReparentShardRequest expected_primary */ + expected_primary?: (topodata.ITabletAlias|null); + } + + /** Represents a PlannedReparentShardRequest. */ + class PlannedReparentShardRequest implements IPlannedReparentShardRequest { + + /** + * Constructs a new PlannedReparentShardRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IPlannedReparentShardRequest); + + /** PlannedReparentShardRequest keyspace. */ + public keyspace: string; + + /** PlannedReparentShardRequest shard. */ + public shard: string; + + /** PlannedReparentShardRequest new_primary. */ + public new_primary?: (topodata.ITabletAlias|null); + + /** PlannedReparentShardRequest avoid_primary. */ + public avoid_primary?: (topodata.ITabletAlias|null); + + /** PlannedReparentShardRequest wait_replicas_timeout. */ + public wait_replicas_timeout?: (vttime.IDuration|null); + + /** PlannedReparentShardRequest tolerable_replication_lag. */ + public tolerable_replication_lag?: (vttime.IDuration|null); + + /** PlannedReparentShardRequest allow_cross_cell_promotion. */ + public allow_cross_cell_promotion: boolean; + + /** PlannedReparentShardRequest expected_primary. */ + public expected_primary?: (topodata.ITabletAlias|null); + + /** + * Creates a new PlannedReparentShardRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns PlannedReparentShardRequest instance + */ + public static create(properties?: vtctldata.IPlannedReparentShardRequest): vtctldata.PlannedReparentShardRequest; + + /** + * Encodes the specified PlannedReparentShardRequest message. Does not implicitly {@link vtctldata.PlannedReparentShardRequest.verify|verify} messages. + * @param message PlannedReparentShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IPlannedReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified PlannedReparentShardRequest message, length delimited. Does not implicitly {@link vtctldata.PlannedReparentShardRequest.verify|verify} messages. + * @param message PlannedReparentShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IPlannedReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PlannedReparentShardRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PlannedReparentShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PlannedReparentShardRequest; + + /** + * Decodes a PlannedReparentShardRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns PlannedReparentShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PlannedReparentShardRequest; + + /** + * Verifies a PlannedReparentShardRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a PlannedReparentShardRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns PlannedReparentShardRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.PlannedReparentShardRequest; + + /** + * Creates a plain object from a PlannedReparentShardRequest message. Also converts values to other types if specified. + * @param message PlannedReparentShardRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.PlannedReparentShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this PlannedReparentShardRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PlannedReparentShardRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a PlannedReparentShardResponse. */ + interface IPlannedReparentShardResponse { + + /** PlannedReparentShardResponse keyspace */ + keyspace?: (string|null); + + /** PlannedReparentShardResponse shard */ + shard?: (string|null); + + /** PlannedReparentShardResponse promoted_primary */ + promoted_primary?: (topodata.ITabletAlias|null); + + /** PlannedReparentShardResponse events */ + events?: (logutil.IEvent[]|null); + } + + /** Represents a PlannedReparentShardResponse. */ + class PlannedReparentShardResponse implements IPlannedReparentShardResponse { + + /** + * Constructs a new PlannedReparentShardResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IPlannedReparentShardResponse); + + /** PlannedReparentShardResponse keyspace. */ + public keyspace: string; + + /** PlannedReparentShardResponse shard. */ + public shard: string; + + /** PlannedReparentShardResponse promoted_primary. */ + public promoted_primary?: (topodata.ITabletAlias|null); + + /** PlannedReparentShardResponse events. */ + public events: logutil.IEvent[]; + + /** + * Creates a new PlannedReparentShardResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns PlannedReparentShardResponse instance + */ + public static create(properties?: vtctldata.IPlannedReparentShardResponse): vtctldata.PlannedReparentShardResponse; + + /** + * Encodes the specified PlannedReparentShardResponse message. Does not implicitly {@link vtctldata.PlannedReparentShardResponse.verify|verify} messages. + * @param message PlannedReparentShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IPlannedReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified PlannedReparentShardResponse message, length delimited. Does not implicitly {@link vtctldata.PlannedReparentShardResponse.verify|verify} messages. + * @param message PlannedReparentShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IPlannedReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PlannedReparentShardResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PlannedReparentShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PlannedReparentShardResponse; + + /** + * Decodes a PlannedReparentShardResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns PlannedReparentShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PlannedReparentShardResponse; + + /** + * Verifies a PlannedReparentShardResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a PlannedReparentShardResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns PlannedReparentShardResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.PlannedReparentShardResponse; + + /** + * Creates a plain object from a PlannedReparentShardResponse message. Also converts values to other types if specified. + * @param message PlannedReparentShardResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.PlannedReparentShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this PlannedReparentShardResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PlannedReparentShardResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RebuildKeyspaceGraphRequest. */ + interface IRebuildKeyspaceGraphRequest { + + /** RebuildKeyspaceGraphRequest keyspace */ + keyspace?: (string|null); + + /** RebuildKeyspaceGraphRequest cells */ + cells?: (string[]|null); + + /** RebuildKeyspaceGraphRequest allow_partial */ + allow_partial?: (boolean|null); + } + + /** Represents a RebuildKeyspaceGraphRequest. */ + class RebuildKeyspaceGraphRequest implements IRebuildKeyspaceGraphRequest { + + /** + * Constructs a new RebuildKeyspaceGraphRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRebuildKeyspaceGraphRequest); + + /** RebuildKeyspaceGraphRequest keyspace. */ + public keyspace: string; + + /** RebuildKeyspaceGraphRequest cells. */ + public cells: string[]; + + /** RebuildKeyspaceGraphRequest allow_partial. */ + public allow_partial: boolean; + + /** + * Creates a new RebuildKeyspaceGraphRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RebuildKeyspaceGraphRequest instance + */ + public static create(properties?: vtctldata.IRebuildKeyspaceGraphRequest): vtctldata.RebuildKeyspaceGraphRequest; + + /** + * Encodes the specified RebuildKeyspaceGraphRequest message. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphRequest.verify|verify} messages. + * @param message RebuildKeyspaceGraphRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRebuildKeyspaceGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RebuildKeyspaceGraphRequest message, length delimited. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphRequest.verify|verify} messages. + * @param message RebuildKeyspaceGraphRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRebuildKeyspaceGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RebuildKeyspaceGraphRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RebuildKeyspaceGraphRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildKeyspaceGraphRequest; + + /** + * Decodes a RebuildKeyspaceGraphRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RebuildKeyspaceGraphRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildKeyspaceGraphRequest; + + /** + * Verifies a RebuildKeyspaceGraphRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RebuildKeyspaceGraphRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RebuildKeyspaceGraphRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RebuildKeyspaceGraphRequest; + + /** + * Creates a plain object from a RebuildKeyspaceGraphRequest message. Also converts values to other types if specified. + * @param message RebuildKeyspaceGraphRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RebuildKeyspaceGraphRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RebuildKeyspaceGraphRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RebuildKeyspaceGraphRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RebuildKeyspaceGraphResponse. */ + interface IRebuildKeyspaceGraphResponse { + } + + /** Represents a RebuildKeyspaceGraphResponse. */ + class RebuildKeyspaceGraphResponse implements IRebuildKeyspaceGraphResponse { + + /** + * Constructs a new RebuildKeyspaceGraphResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRebuildKeyspaceGraphResponse); + + /** + * Creates a new RebuildKeyspaceGraphResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RebuildKeyspaceGraphResponse instance + */ + public static create(properties?: vtctldata.IRebuildKeyspaceGraphResponse): vtctldata.RebuildKeyspaceGraphResponse; + + /** + * Encodes the specified RebuildKeyspaceGraphResponse message. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphResponse.verify|verify} messages. + * @param message RebuildKeyspaceGraphResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRebuildKeyspaceGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RebuildKeyspaceGraphResponse message, length delimited. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphResponse.verify|verify} messages. + * @param message RebuildKeyspaceGraphResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRebuildKeyspaceGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RebuildKeyspaceGraphResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RebuildKeyspaceGraphResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildKeyspaceGraphResponse; + + /** + * Decodes a RebuildKeyspaceGraphResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RebuildKeyspaceGraphResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildKeyspaceGraphResponse; + + /** + * Verifies a RebuildKeyspaceGraphResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RebuildKeyspaceGraphResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RebuildKeyspaceGraphResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RebuildKeyspaceGraphResponse; + + /** + * Creates a plain object from a RebuildKeyspaceGraphResponse message. Also converts values to other types if specified. + * @param message RebuildKeyspaceGraphResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RebuildKeyspaceGraphResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RebuildKeyspaceGraphResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RebuildKeyspaceGraphResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RebuildVSchemaGraphRequest. */ + interface IRebuildVSchemaGraphRequest { + + /** RebuildVSchemaGraphRequest cells */ + cells?: (string[]|null); + } + + /** Represents a RebuildVSchemaGraphRequest. */ + class RebuildVSchemaGraphRequest implements IRebuildVSchemaGraphRequest { + + /** + * Constructs a new RebuildVSchemaGraphRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRebuildVSchemaGraphRequest); + + /** RebuildVSchemaGraphRequest cells. */ + public cells: string[]; + + /** + * Creates a new RebuildVSchemaGraphRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RebuildVSchemaGraphRequest instance + */ + public static create(properties?: vtctldata.IRebuildVSchemaGraphRequest): vtctldata.RebuildVSchemaGraphRequest; + + /** + * Encodes the specified RebuildVSchemaGraphRequest message. Does not implicitly {@link vtctldata.RebuildVSchemaGraphRequest.verify|verify} messages. + * @param message RebuildVSchemaGraphRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRebuildVSchemaGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RebuildVSchemaGraphRequest message, length delimited. Does not implicitly {@link vtctldata.RebuildVSchemaGraphRequest.verify|verify} messages. + * @param message RebuildVSchemaGraphRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRebuildVSchemaGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RebuildVSchemaGraphRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RebuildVSchemaGraphRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildVSchemaGraphRequest; + + /** + * Decodes a RebuildVSchemaGraphRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RebuildVSchemaGraphRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildVSchemaGraphRequest; + + /** + * Verifies a RebuildVSchemaGraphRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RebuildVSchemaGraphRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RebuildVSchemaGraphRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RebuildVSchemaGraphRequest; + + /** + * Creates a plain object from a RebuildVSchemaGraphRequest message. Also converts values to other types if specified. + * @param message RebuildVSchemaGraphRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RebuildVSchemaGraphRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RebuildVSchemaGraphRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RebuildVSchemaGraphRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RebuildVSchemaGraphResponse. */ + interface IRebuildVSchemaGraphResponse { + } + + /** Represents a RebuildVSchemaGraphResponse. */ + class RebuildVSchemaGraphResponse implements IRebuildVSchemaGraphResponse { + + /** + * Constructs a new RebuildVSchemaGraphResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRebuildVSchemaGraphResponse); + + /** + * Creates a new RebuildVSchemaGraphResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RebuildVSchemaGraphResponse instance + */ + public static create(properties?: vtctldata.IRebuildVSchemaGraphResponse): vtctldata.RebuildVSchemaGraphResponse; + + /** + * Encodes the specified RebuildVSchemaGraphResponse message. Does not implicitly {@link vtctldata.RebuildVSchemaGraphResponse.verify|verify} messages. + * @param message RebuildVSchemaGraphResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRebuildVSchemaGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RebuildVSchemaGraphResponse message, length delimited. Does not implicitly {@link vtctldata.RebuildVSchemaGraphResponse.verify|verify} messages. + * @param message RebuildVSchemaGraphResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRebuildVSchemaGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RebuildVSchemaGraphResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RebuildVSchemaGraphResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildVSchemaGraphResponse; + + /** + * Decodes a RebuildVSchemaGraphResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RebuildVSchemaGraphResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildVSchemaGraphResponse; + + /** + * Verifies a RebuildVSchemaGraphResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RebuildVSchemaGraphResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RebuildVSchemaGraphResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RebuildVSchemaGraphResponse; + + /** + * Creates a plain object from a RebuildVSchemaGraphResponse message. Also converts values to other types if specified. + * @param message RebuildVSchemaGraphResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RebuildVSchemaGraphResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RebuildVSchemaGraphResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RebuildVSchemaGraphResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RefreshStateRequest. */ + interface IRefreshStateRequest { + + /** RefreshStateRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a RefreshStateRequest. */ + class RefreshStateRequest implements IRefreshStateRequest { + + /** + * Constructs a new RefreshStateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRefreshStateRequest); + + /** RefreshStateRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new RefreshStateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RefreshStateRequest instance + */ + public static create(properties?: vtctldata.IRefreshStateRequest): vtctldata.RefreshStateRequest; + + /** + * Encodes the specified RefreshStateRequest message. Does not implicitly {@link vtctldata.RefreshStateRequest.verify|verify} messages. + * @param message RefreshStateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRefreshStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RefreshStateRequest message, length delimited. Does not implicitly {@link vtctldata.RefreshStateRequest.verify|verify} messages. + * @param message RefreshStateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRefreshStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RefreshStateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RefreshStateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateRequest; + + /** + * Decodes a RefreshStateRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RefreshStateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateRequest; + + /** + * Verifies a RefreshStateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RefreshStateRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RefreshStateRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateRequest; + + /** + * Creates a plain object from a RefreshStateRequest message. Also converts values to other types if specified. + * @param message RefreshStateRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RefreshStateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RefreshStateRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RefreshStateRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RefreshStateResponse. */ + interface IRefreshStateResponse { + } + + /** Represents a RefreshStateResponse. */ + class RefreshStateResponse implements IRefreshStateResponse { + + /** + * Constructs a new RefreshStateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRefreshStateResponse); + + /** + * Creates a new RefreshStateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RefreshStateResponse instance + */ + public static create(properties?: vtctldata.IRefreshStateResponse): vtctldata.RefreshStateResponse; + + /** + * Encodes the specified RefreshStateResponse message. Does not implicitly {@link vtctldata.RefreshStateResponse.verify|verify} messages. + * @param message RefreshStateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRefreshStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RefreshStateResponse message, length delimited. Does not implicitly {@link vtctldata.RefreshStateResponse.verify|verify} messages. + * @param message RefreshStateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRefreshStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RefreshStateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RefreshStateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateResponse; + + /** + * Decodes a RefreshStateResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RefreshStateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateResponse; + + /** + * Verifies a RefreshStateResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RefreshStateResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RefreshStateResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateResponse; + + /** + * Creates a plain object from a RefreshStateResponse message. Also converts values to other types if specified. + * @param message RefreshStateResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RefreshStateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RefreshStateResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RefreshStateResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RefreshStateByShardRequest. */ + interface IRefreshStateByShardRequest { + + /** RefreshStateByShardRequest keyspace */ + keyspace?: (string|null); + + /** RefreshStateByShardRequest shard */ + shard?: (string|null); + + /** RefreshStateByShardRequest cells */ + cells?: (string[]|null); + } + + /** Represents a RefreshStateByShardRequest. */ + class RefreshStateByShardRequest implements IRefreshStateByShardRequest { + + /** + * Constructs a new RefreshStateByShardRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRefreshStateByShardRequest); + + /** RefreshStateByShardRequest keyspace. */ + public keyspace: string; + + /** RefreshStateByShardRequest shard. */ + public shard: string; + + /** RefreshStateByShardRequest cells. */ + public cells: string[]; + + /** + * Creates a new RefreshStateByShardRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RefreshStateByShardRequest instance + */ + public static create(properties?: vtctldata.IRefreshStateByShardRequest): vtctldata.RefreshStateByShardRequest; + + /** + * Encodes the specified RefreshStateByShardRequest message. Does not implicitly {@link vtctldata.RefreshStateByShardRequest.verify|verify} messages. + * @param message RefreshStateByShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRefreshStateByShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RefreshStateByShardRequest message, length delimited. Does not implicitly {@link vtctldata.RefreshStateByShardRequest.verify|verify} messages. + * @param message RefreshStateByShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRefreshStateByShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RefreshStateByShardRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RefreshStateByShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateByShardRequest; + + /** + * Decodes a RefreshStateByShardRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RefreshStateByShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateByShardRequest; + + /** + * Verifies a RefreshStateByShardRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RefreshStateByShardRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RefreshStateByShardRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateByShardRequest; + + /** + * Creates a plain object from a RefreshStateByShardRequest message. Also converts values to other types if specified. + * @param message RefreshStateByShardRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RefreshStateByShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RefreshStateByShardRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RefreshStateByShardRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RefreshStateByShardResponse. */ + interface IRefreshStateByShardResponse { + + /** RefreshStateByShardResponse is_partial_refresh */ + is_partial_refresh?: (boolean|null); + + /** RefreshStateByShardResponse partial_refresh_details */ + partial_refresh_details?: (string|null); + } + + /** Represents a RefreshStateByShardResponse. */ + class RefreshStateByShardResponse implements IRefreshStateByShardResponse { + + /** + * Constructs a new RefreshStateByShardResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRefreshStateByShardResponse); + + /** RefreshStateByShardResponse is_partial_refresh. */ + public is_partial_refresh: boolean; + + /** RefreshStateByShardResponse partial_refresh_details. */ + public partial_refresh_details: string; + + /** + * Creates a new RefreshStateByShardResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RefreshStateByShardResponse instance + */ + public static create(properties?: vtctldata.IRefreshStateByShardResponse): vtctldata.RefreshStateByShardResponse; + + /** + * Encodes the specified RefreshStateByShardResponse message. Does not implicitly {@link vtctldata.RefreshStateByShardResponse.verify|verify} messages. + * @param message RefreshStateByShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRefreshStateByShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RefreshStateByShardResponse message, length delimited. Does not implicitly {@link vtctldata.RefreshStateByShardResponse.verify|verify} messages. + * @param message RefreshStateByShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRefreshStateByShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RefreshStateByShardResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RefreshStateByShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateByShardResponse; + + /** + * Decodes a RefreshStateByShardResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RefreshStateByShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateByShardResponse; + + /** + * Verifies a RefreshStateByShardResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RefreshStateByShardResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RefreshStateByShardResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateByShardResponse; + + /** + * Creates a plain object from a RefreshStateByShardResponse message. Also converts values to other types if specified. + * @param message RefreshStateByShardResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RefreshStateByShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RefreshStateByShardResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RefreshStateByShardResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReloadSchemaRequest. */ + interface IReloadSchemaRequest { + + /** ReloadSchemaRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a ReloadSchemaRequest. */ + class ReloadSchemaRequest implements IReloadSchemaRequest { + + /** + * Constructs a new ReloadSchemaRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IReloadSchemaRequest); + + /** ReloadSchemaRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new ReloadSchemaRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ReloadSchemaRequest instance + */ + public static create(properties?: vtctldata.IReloadSchemaRequest): vtctldata.ReloadSchemaRequest; + + /** + * Encodes the specified ReloadSchemaRequest message. Does not implicitly {@link vtctldata.ReloadSchemaRequest.verify|verify} messages. + * @param message ReloadSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IReloadSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReloadSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaRequest.verify|verify} messages. + * @param message ReloadSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IReloadSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReloadSchemaRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReloadSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaRequest; + + /** + * Decodes a ReloadSchemaRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReloadSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaRequest; + + /** + * Verifies a ReloadSchemaRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReloadSchemaRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReloadSchemaRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaRequest; + + /** + * Creates a plain object from a ReloadSchemaRequest message. Also converts values to other types if specified. + * @param message ReloadSchemaRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ReloadSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReloadSchemaRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReloadSchemaRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReloadSchemaResponse. */ + interface IReloadSchemaResponse { + } + + /** Represents a ReloadSchemaResponse. */ + class ReloadSchemaResponse implements IReloadSchemaResponse { + + /** + * Constructs a new ReloadSchemaResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IReloadSchemaResponse); + + /** + * Creates a new ReloadSchemaResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReloadSchemaResponse instance + */ + public static create(properties?: vtctldata.IReloadSchemaResponse): vtctldata.ReloadSchemaResponse; + + /** + * Encodes the specified ReloadSchemaResponse message. Does not implicitly {@link vtctldata.ReloadSchemaResponse.verify|verify} messages. + * @param message ReloadSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IReloadSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReloadSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaResponse.verify|verify} messages. + * @param message ReloadSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IReloadSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReloadSchemaResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReloadSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaResponse; + + /** + * Decodes a ReloadSchemaResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReloadSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaResponse; + + /** + * Verifies a ReloadSchemaResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReloadSchemaResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReloadSchemaResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaResponse; + + /** + * Creates a plain object from a ReloadSchemaResponse message. Also converts values to other types if specified. + * @param message ReloadSchemaResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ReloadSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReloadSchemaResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReloadSchemaResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReloadSchemaKeyspaceRequest. */ + interface IReloadSchemaKeyspaceRequest { + + /** ReloadSchemaKeyspaceRequest keyspace */ + keyspace?: (string|null); + + /** ReloadSchemaKeyspaceRequest wait_position */ + wait_position?: (string|null); + + /** ReloadSchemaKeyspaceRequest include_primary */ + include_primary?: (boolean|null); + + /** ReloadSchemaKeyspaceRequest concurrency */ + concurrency?: (number|null); + } + + /** Represents a ReloadSchemaKeyspaceRequest. */ + class ReloadSchemaKeyspaceRequest implements IReloadSchemaKeyspaceRequest { + + /** + * Constructs a new ReloadSchemaKeyspaceRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IReloadSchemaKeyspaceRequest); + + /** ReloadSchemaKeyspaceRequest keyspace. */ + public keyspace: string; + + /** ReloadSchemaKeyspaceRequest wait_position. */ + public wait_position: string; + + /** ReloadSchemaKeyspaceRequest include_primary. */ + public include_primary: boolean; + + /** ReloadSchemaKeyspaceRequest concurrency. */ + public concurrency: number; + + /** + * Creates a new ReloadSchemaKeyspaceRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ReloadSchemaKeyspaceRequest instance + */ + public static create(properties?: vtctldata.IReloadSchemaKeyspaceRequest): vtctldata.ReloadSchemaKeyspaceRequest; + + /** + * Encodes the specified ReloadSchemaKeyspaceRequest message. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceRequest.verify|verify} messages. + * @param message ReloadSchemaKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IReloadSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReloadSchemaKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceRequest.verify|verify} messages. + * @param message ReloadSchemaKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IReloadSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReloadSchemaKeyspaceRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReloadSchemaKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaKeyspaceRequest; + + /** + * Decodes a ReloadSchemaKeyspaceRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReloadSchemaKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaKeyspaceRequest; + + /** + * Verifies a ReloadSchemaKeyspaceRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReloadSchemaKeyspaceRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReloadSchemaKeyspaceRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaKeyspaceRequest; + + /** + * Creates a plain object from a ReloadSchemaKeyspaceRequest message. Also converts values to other types if specified. + * @param message ReloadSchemaKeyspaceRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ReloadSchemaKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReloadSchemaKeyspaceRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReloadSchemaKeyspaceRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReloadSchemaKeyspaceResponse. */ + interface IReloadSchemaKeyspaceResponse { + + /** ReloadSchemaKeyspaceResponse events */ + events?: (logutil.IEvent[]|null); + } + + /** Represents a ReloadSchemaKeyspaceResponse. */ + class ReloadSchemaKeyspaceResponse implements IReloadSchemaKeyspaceResponse { + + /** + * Constructs a new ReloadSchemaKeyspaceResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IReloadSchemaKeyspaceResponse); + + /** ReloadSchemaKeyspaceResponse events. */ + public events: logutil.IEvent[]; + + /** + * Creates a new ReloadSchemaKeyspaceResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReloadSchemaKeyspaceResponse instance + */ + public static create(properties?: vtctldata.IReloadSchemaKeyspaceResponse): vtctldata.ReloadSchemaKeyspaceResponse; + + /** + * Encodes the specified ReloadSchemaKeyspaceResponse message. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceResponse.verify|verify} messages. + * @param message ReloadSchemaKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IReloadSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReloadSchemaKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceResponse.verify|verify} messages. + * @param message ReloadSchemaKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IReloadSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReloadSchemaKeyspaceResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReloadSchemaKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaKeyspaceResponse; + + /** + * Decodes a ReloadSchemaKeyspaceResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReloadSchemaKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaKeyspaceResponse; + + /** + * Verifies a ReloadSchemaKeyspaceResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReloadSchemaKeyspaceResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReloadSchemaKeyspaceResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaKeyspaceResponse; + + /** + * Creates a plain object from a ReloadSchemaKeyspaceResponse message. Also converts values to other types if specified. + * @param message ReloadSchemaKeyspaceResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ReloadSchemaKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReloadSchemaKeyspaceResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReloadSchemaKeyspaceResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReloadSchemaShardRequest. */ + interface IReloadSchemaShardRequest { + + /** ReloadSchemaShardRequest keyspace */ + keyspace?: (string|null); + + /** ReloadSchemaShardRequest shard */ + shard?: (string|null); + + /** ReloadSchemaShardRequest wait_position */ + wait_position?: (string|null); + + /** ReloadSchemaShardRequest include_primary */ + include_primary?: (boolean|null); + + /** ReloadSchemaShardRequest concurrency */ + concurrency?: (number|null); + } + + /** Represents a ReloadSchemaShardRequest. */ + class ReloadSchemaShardRequest implements IReloadSchemaShardRequest { + + /** + * Constructs a new ReloadSchemaShardRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IReloadSchemaShardRequest); + + /** ReloadSchemaShardRequest keyspace. */ + public keyspace: string; + + /** ReloadSchemaShardRequest shard. */ + public shard: string; + + /** ReloadSchemaShardRequest wait_position. */ + public wait_position: string; + + /** ReloadSchemaShardRequest include_primary. */ + public include_primary: boolean; + + /** ReloadSchemaShardRequest concurrency. */ + public concurrency: number; + + /** + * Creates a new ReloadSchemaShardRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ReloadSchemaShardRequest instance + */ + public static create(properties?: vtctldata.IReloadSchemaShardRequest): vtctldata.ReloadSchemaShardRequest; + + /** + * Encodes the specified ReloadSchemaShardRequest message. Does not implicitly {@link vtctldata.ReloadSchemaShardRequest.verify|verify} messages. + * @param message ReloadSchemaShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IReloadSchemaShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReloadSchemaShardRequest message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaShardRequest.verify|verify} messages. + * @param message ReloadSchemaShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IReloadSchemaShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReloadSchemaShardRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReloadSchemaShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaShardRequest; + + /** + * Decodes a ReloadSchemaShardRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReloadSchemaShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaShardRequest; + + /** + * Verifies a ReloadSchemaShardRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReloadSchemaShardRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReloadSchemaShardRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaShardRequest; + + /** + * Creates a plain object from a ReloadSchemaShardRequest message. Also converts values to other types if specified. + * @param message ReloadSchemaShardRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ReloadSchemaShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReloadSchemaShardRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReloadSchemaShardRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReloadSchemaShardResponse. */ + interface IReloadSchemaShardResponse { + + /** ReloadSchemaShardResponse events */ + events?: (logutil.IEvent[]|null); + } + + /** Represents a ReloadSchemaShardResponse. */ + class ReloadSchemaShardResponse implements IReloadSchemaShardResponse { + + /** + * Constructs a new ReloadSchemaShardResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IReloadSchemaShardResponse); + + /** ReloadSchemaShardResponse events. */ + public events: logutil.IEvent[]; + + /** + * Creates a new ReloadSchemaShardResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReloadSchemaShardResponse instance + */ + public static create(properties?: vtctldata.IReloadSchemaShardResponse): vtctldata.ReloadSchemaShardResponse; + + /** + * Encodes the specified ReloadSchemaShardResponse message. Does not implicitly {@link vtctldata.ReloadSchemaShardResponse.verify|verify} messages. + * @param message ReloadSchemaShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IReloadSchemaShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReloadSchemaShardResponse message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaShardResponse.verify|verify} messages. + * @param message ReloadSchemaShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IReloadSchemaShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReloadSchemaShardResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReloadSchemaShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaShardResponse; + + /** + * Decodes a ReloadSchemaShardResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReloadSchemaShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaShardResponse; + + /** + * Verifies a ReloadSchemaShardResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReloadSchemaShardResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReloadSchemaShardResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaShardResponse; + + /** + * Creates a plain object from a ReloadSchemaShardResponse message. Also converts values to other types if specified. + * @param message ReloadSchemaShardResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ReloadSchemaShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReloadSchemaShardResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReloadSchemaShardResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RemoveBackupRequest. */ + interface IRemoveBackupRequest { + + /** RemoveBackupRequest keyspace */ + keyspace?: (string|null); + + /** RemoveBackupRequest shard */ + shard?: (string|null); + + /** RemoveBackupRequest name */ + name?: (string|null); + } + + /** Represents a RemoveBackupRequest. */ + class RemoveBackupRequest implements IRemoveBackupRequest { + + /** + * Constructs a new RemoveBackupRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRemoveBackupRequest); + + /** RemoveBackupRequest keyspace. */ + public keyspace: string; + + /** RemoveBackupRequest shard. */ + public shard: string; + + /** RemoveBackupRequest name. */ + public name: string; + + /** + * Creates a new RemoveBackupRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RemoveBackupRequest instance + */ + public static create(properties?: vtctldata.IRemoveBackupRequest): vtctldata.RemoveBackupRequest; + + /** + * Encodes the specified RemoveBackupRequest message. Does not implicitly {@link vtctldata.RemoveBackupRequest.verify|verify} messages. + * @param message RemoveBackupRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRemoveBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RemoveBackupRequest message, length delimited. Does not implicitly {@link vtctldata.RemoveBackupRequest.verify|verify} messages. + * @param message RemoveBackupRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRemoveBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RemoveBackupRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RemoveBackupRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveBackupRequest; + + /** + * Decodes a RemoveBackupRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RemoveBackupRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveBackupRequest; + + /** + * Verifies a RemoveBackupRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RemoveBackupRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RemoveBackupRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RemoveBackupRequest; + + /** + * Creates a plain object from a RemoveBackupRequest message. Also converts values to other types if specified. + * @param message RemoveBackupRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RemoveBackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RemoveBackupRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RemoveBackupRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RemoveBackupResponse. */ + interface IRemoveBackupResponse { + } + + /** Represents a RemoveBackupResponse. */ + class RemoveBackupResponse implements IRemoveBackupResponse { + + /** + * Constructs a new RemoveBackupResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRemoveBackupResponse); + + /** + * Creates a new RemoveBackupResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RemoveBackupResponse instance + */ + public static create(properties?: vtctldata.IRemoveBackupResponse): vtctldata.RemoveBackupResponse; + + /** + * Encodes the specified RemoveBackupResponse message. Does not implicitly {@link vtctldata.RemoveBackupResponse.verify|verify} messages. + * @param message RemoveBackupResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRemoveBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RemoveBackupResponse message, length delimited. Does not implicitly {@link vtctldata.RemoveBackupResponse.verify|verify} messages. + * @param message RemoveBackupResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRemoveBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RemoveBackupResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RemoveBackupResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveBackupResponse; + + /** + * Decodes a RemoveBackupResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RemoveBackupResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveBackupResponse; + + /** + * Verifies a RemoveBackupResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RemoveBackupResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RemoveBackupResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RemoveBackupResponse; + + /** + * Creates a plain object from a RemoveBackupResponse message. Also converts values to other types if specified. + * @param message RemoveBackupResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RemoveBackupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RemoveBackupResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RemoveBackupResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RemoveKeyspaceCellRequest. */ + interface IRemoveKeyspaceCellRequest { + + /** RemoveKeyspaceCellRequest keyspace */ + keyspace?: (string|null); + + /** RemoveKeyspaceCellRequest cell */ + cell?: (string|null); + + /** RemoveKeyspaceCellRequest force */ + force?: (boolean|null); + + /** RemoveKeyspaceCellRequest recursive */ + recursive?: (boolean|null); + } + + /** Represents a RemoveKeyspaceCellRequest. */ + class RemoveKeyspaceCellRequest implements IRemoveKeyspaceCellRequest { + + /** + * Constructs a new RemoveKeyspaceCellRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRemoveKeyspaceCellRequest); + + /** RemoveKeyspaceCellRequest keyspace. */ + public keyspace: string; + + /** RemoveKeyspaceCellRequest cell. */ + public cell: string; + + /** RemoveKeyspaceCellRequest force. */ + public force: boolean; + + /** RemoveKeyspaceCellRequest recursive. */ + public recursive: boolean; + + /** + * Creates a new RemoveKeyspaceCellRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RemoveKeyspaceCellRequest instance + */ + public static create(properties?: vtctldata.IRemoveKeyspaceCellRequest): vtctldata.RemoveKeyspaceCellRequest; + + /** + * Encodes the specified RemoveKeyspaceCellRequest message. Does not implicitly {@link vtctldata.RemoveKeyspaceCellRequest.verify|verify} messages. + * @param message RemoveKeyspaceCellRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRemoveKeyspaceCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RemoveKeyspaceCellRequest message, length delimited. Does not implicitly {@link vtctldata.RemoveKeyspaceCellRequest.verify|verify} messages. + * @param message RemoveKeyspaceCellRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRemoveKeyspaceCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RemoveKeyspaceCellRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RemoveKeyspaceCellRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveKeyspaceCellRequest; + + /** + * Decodes a RemoveKeyspaceCellRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RemoveKeyspaceCellRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveKeyspaceCellRequest; + + /** + * Verifies a RemoveKeyspaceCellRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RemoveKeyspaceCellRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RemoveKeyspaceCellRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RemoveKeyspaceCellRequest; + + /** + * Creates a plain object from a RemoveKeyspaceCellRequest message. Also converts values to other types if specified. + * @param message RemoveKeyspaceCellRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RemoveKeyspaceCellRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RemoveKeyspaceCellRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RemoveKeyspaceCellRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RemoveKeyspaceCellResponse. */ + interface IRemoveKeyspaceCellResponse { + } + + /** Represents a RemoveKeyspaceCellResponse. */ + class RemoveKeyspaceCellResponse implements IRemoveKeyspaceCellResponse { + + /** + * Constructs a new RemoveKeyspaceCellResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRemoveKeyspaceCellResponse); + + /** + * Creates a new RemoveKeyspaceCellResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RemoveKeyspaceCellResponse instance + */ + public static create(properties?: vtctldata.IRemoveKeyspaceCellResponse): vtctldata.RemoveKeyspaceCellResponse; + + /** + * Encodes the specified RemoveKeyspaceCellResponse message. Does not implicitly {@link vtctldata.RemoveKeyspaceCellResponse.verify|verify} messages. + * @param message RemoveKeyspaceCellResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRemoveKeyspaceCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RemoveKeyspaceCellResponse message, length delimited. Does not implicitly {@link vtctldata.RemoveKeyspaceCellResponse.verify|verify} messages. + * @param message RemoveKeyspaceCellResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRemoveKeyspaceCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RemoveKeyspaceCellResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RemoveKeyspaceCellResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveKeyspaceCellResponse; + + /** + * Decodes a RemoveKeyspaceCellResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RemoveKeyspaceCellResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveKeyspaceCellResponse; + + /** + * Verifies a RemoveKeyspaceCellResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RemoveKeyspaceCellResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RemoveKeyspaceCellResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RemoveKeyspaceCellResponse; + + /** + * Creates a plain object from a RemoveKeyspaceCellResponse message. Also converts values to other types if specified. + * @param message RemoveKeyspaceCellResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RemoveKeyspaceCellResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RemoveKeyspaceCellResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RemoveKeyspaceCellResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RemoveShardCellRequest. */ + interface IRemoveShardCellRequest { + + /** RemoveShardCellRequest keyspace */ + keyspace?: (string|null); + + /** RemoveShardCellRequest shard_name */ + shard_name?: (string|null); + + /** RemoveShardCellRequest cell */ + cell?: (string|null); + + /** RemoveShardCellRequest force */ + force?: (boolean|null); + + /** RemoveShardCellRequest recursive */ + recursive?: (boolean|null); + } + + /** Represents a RemoveShardCellRequest. */ + class RemoveShardCellRequest implements IRemoveShardCellRequest { + + /** + * Constructs a new RemoveShardCellRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRemoveShardCellRequest); + + /** RemoveShardCellRequest keyspace. */ + public keyspace: string; + + /** RemoveShardCellRequest shard_name. */ + public shard_name: string; + + /** RemoveShardCellRequest cell. */ + public cell: string; + + /** RemoveShardCellRequest force. */ + public force: boolean; + + /** RemoveShardCellRequest recursive. */ + public recursive: boolean; + + /** + * Creates a new RemoveShardCellRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RemoveShardCellRequest instance + */ + public static create(properties?: vtctldata.IRemoveShardCellRequest): vtctldata.RemoveShardCellRequest; + + /** + * Encodes the specified RemoveShardCellRequest message. Does not implicitly {@link vtctldata.RemoveShardCellRequest.verify|verify} messages. + * @param message RemoveShardCellRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRemoveShardCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RemoveShardCellRequest message, length delimited. Does not implicitly {@link vtctldata.RemoveShardCellRequest.verify|verify} messages. + * @param message RemoveShardCellRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRemoveShardCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RemoveShardCellRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RemoveShardCellRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveShardCellRequest; + + /** + * Decodes a RemoveShardCellRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RemoveShardCellRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveShardCellRequest; + + /** + * Verifies a RemoveShardCellRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RemoveShardCellRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RemoveShardCellRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RemoveShardCellRequest; + + /** + * Creates a plain object from a RemoveShardCellRequest message. Also converts values to other types if specified. + * @param message RemoveShardCellRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RemoveShardCellRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RemoveShardCellRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RemoveShardCellRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RemoveShardCellResponse. */ + interface IRemoveShardCellResponse { + } + + /** Represents a RemoveShardCellResponse. */ + class RemoveShardCellResponse implements IRemoveShardCellResponse { + + /** + * Constructs a new RemoveShardCellResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRemoveShardCellResponse); + + /** + * Creates a new RemoveShardCellResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RemoveShardCellResponse instance + */ + public static create(properties?: vtctldata.IRemoveShardCellResponse): vtctldata.RemoveShardCellResponse; + + /** + * Encodes the specified RemoveShardCellResponse message. Does not implicitly {@link vtctldata.RemoveShardCellResponse.verify|verify} messages. + * @param message RemoveShardCellResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRemoveShardCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RemoveShardCellResponse message, length delimited. Does not implicitly {@link vtctldata.RemoveShardCellResponse.verify|verify} messages. + * @param message RemoveShardCellResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRemoveShardCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RemoveShardCellResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RemoveShardCellResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveShardCellResponse; + + /** + * Decodes a RemoveShardCellResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RemoveShardCellResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveShardCellResponse; + + /** + * Verifies a RemoveShardCellResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RemoveShardCellResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RemoveShardCellResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RemoveShardCellResponse; + + /** + * Creates a plain object from a RemoveShardCellResponse message. Also converts values to other types if specified. + * @param message RemoveShardCellResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RemoveShardCellResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RemoveShardCellResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RemoveShardCellResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReparentTabletRequest. */ + interface IReparentTabletRequest { + + /** ReparentTabletRequest tablet */ + tablet?: (topodata.ITabletAlias|null); + } + + /** Represents a ReparentTabletRequest. */ + class ReparentTabletRequest implements IReparentTabletRequest { + + /** + * Constructs a new ReparentTabletRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IReparentTabletRequest); + + /** ReparentTabletRequest tablet. */ + public tablet?: (topodata.ITabletAlias|null); + + /** + * Creates a new ReparentTabletRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ReparentTabletRequest instance + */ + public static create(properties?: vtctldata.IReparentTabletRequest): vtctldata.ReparentTabletRequest; + + /** + * Encodes the specified ReparentTabletRequest message. Does not implicitly {@link vtctldata.ReparentTabletRequest.verify|verify} messages. + * @param message ReparentTabletRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IReparentTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReparentTabletRequest message, length delimited. Does not implicitly {@link vtctldata.ReparentTabletRequest.verify|verify} messages. + * @param message ReparentTabletRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IReparentTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReparentTabletRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReparentTabletRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReparentTabletRequest; + + /** + * Decodes a ReparentTabletRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReparentTabletRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReparentTabletRequest; + + /** + * Verifies a ReparentTabletRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReparentTabletRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReparentTabletRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ReparentTabletRequest; + + /** + * Creates a plain object from a ReparentTabletRequest message. Also converts values to other types if specified. + * @param message ReparentTabletRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ReparentTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReparentTabletRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReparentTabletRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReparentTabletResponse. */ + interface IReparentTabletResponse { + + /** ReparentTabletResponse keyspace */ + keyspace?: (string|null); + + /** ReparentTabletResponse shard */ + shard?: (string|null); + + /** ReparentTabletResponse primary */ + primary?: (topodata.ITabletAlias|null); + } + + /** Represents a ReparentTabletResponse. */ + class ReparentTabletResponse implements IReparentTabletResponse { + + /** + * Constructs a new ReparentTabletResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IReparentTabletResponse); + + /** ReparentTabletResponse keyspace. */ + public keyspace: string; + + /** ReparentTabletResponse shard. */ + public shard: string; + + /** ReparentTabletResponse primary. */ + public primary?: (topodata.ITabletAlias|null); + + /** + * Creates a new ReparentTabletResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReparentTabletResponse instance + */ + public static create(properties?: vtctldata.IReparentTabletResponse): vtctldata.ReparentTabletResponse; + + /** + * Encodes the specified ReparentTabletResponse message. Does not implicitly {@link vtctldata.ReparentTabletResponse.verify|verify} messages. + * @param message ReparentTabletResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IReparentTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReparentTabletResponse message, length delimited. Does not implicitly {@link vtctldata.ReparentTabletResponse.verify|verify} messages. + * @param message ReparentTabletResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IReparentTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReparentTabletResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReparentTabletResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReparentTabletResponse; + + /** + * Decodes a ReparentTabletResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReparentTabletResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReparentTabletResponse; + + /** + * Verifies a ReparentTabletResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReparentTabletResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReparentTabletResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ReparentTabletResponse; + + /** + * Creates a plain object from a ReparentTabletResponse message. Also converts values to other types if specified. + * @param message ReparentTabletResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ReparentTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReparentTabletResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReparentTabletResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ReshardCreateRequest. */ + interface IReshardCreateRequest { + + /** ReshardCreateRequest workflow */ + workflow?: (string|null); + + /** ReshardCreateRequest keyspace */ + keyspace?: (string|null); + + /** ReshardCreateRequest source_shards */ + source_shards?: (string[]|null); + + /** ReshardCreateRequest target_shards */ + target_shards?: (string[]|null); + + /** ReshardCreateRequest cells */ + cells?: (string[]|null); + + /** ReshardCreateRequest tablet_types */ + tablet_types?: (topodata.TabletType[]|null); + + /** ReshardCreateRequest tablet_selection_preference */ + tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); + + /** ReshardCreateRequest skip_schema_copy */ + skip_schema_copy?: (boolean|null); + + /** ReshardCreateRequest on_ddl */ + on_ddl?: (string|null); + + /** ReshardCreateRequest stop_after_copy */ + stop_after_copy?: (boolean|null); + + /** ReshardCreateRequest defer_secondary_keys */ + defer_secondary_keys?: (boolean|null); + + /** ReshardCreateRequest auto_start */ + auto_start?: (boolean|null); + + /** ReshardCreateRequest workflow_options */ + workflow_options?: (vtctldata.IWorkflowOptions|null); + } + + /** Represents a ReshardCreateRequest. */ + class ReshardCreateRequest implements IReshardCreateRequest { + + /** + * Constructs a new ReshardCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IReshardCreateRequest); + + /** ReshardCreateRequest workflow. */ + public workflow: string; + + /** ReshardCreateRequest keyspace. */ + public keyspace: string; + + /** ReshardCreateRequest source_shards. */ + public source_shards: string[]; + + /** ReshardCreateRequest target_shards. */ + public target_shards: string[]; + + /** ReshardCreateRequest cells. */ + public cells: string[]; + + /** ReshardCreateRequest tablet_types. */ + public tablet_types: topodata.TabletType[]; + + /** ReshardCreateRequest tablet_selection_preference. */ + public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; + + /** ReshardCreateRequest skip_schema_copy. */ + public skip_schema_copy: boolean; + + /** ReshardCreateRequest on_ddl. */ + public on_ddl: string; + + /** ReshardCreateRequest stop_after_copy. */ + public stop_after_copy: boolean; + + /** ReshardCreateRequest defer_secondary_keys. */ + public defer_secondary_keys: boolean; + + /** ReshardCreateRequest auto_start. */ + public auto_start: boolean; + + /** ReshardCreateRequest workflow_options. */ + public workflow_options?: (vtctldata.IWorkflowOptions|null); + + /** + * Creates a new ReshardCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ReshardCreateRequest instance + */ + public static create(properties?: vtctldata.IReshardCreateRequest): vtctldata.ReshardCreateRequest; + + /** + * Encodes the specified ReshardCreateRequest message. Does not implicitly {@link vtctldata.ReshardCreateRequest.verify|verify} messages. + * @param message ReshardCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IReshardCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReshardCreateRequest message, length delimited. Does not implicitly {@link vtctldata.ReshardCreateRequest.verify|verify} messages. + * @param message ReshardCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IReshardCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReshardCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReshardCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReshardCreateRequest; + + /** + * Decodes a ReshardCreateRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReshardCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReshardCreateRequest; + + /** + * Verifies a ReshardCreateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReshardCreateRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReshardCreateRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ReshardCreateRequest; + + /** + * Creates a plain object from a ReshardCreateRequest message. Also converts values to other types if specified. + * @param message ReshardCreateRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ReshardCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReshardCreateRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReshardCreateRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RestoreFromBackupRequest. */ + interface IRestoreFromBackupRequest { + + /** RestoreFromBackupRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** RestoreFromBackupRequest backup_time */ + backup_time?: (vttime.ITime|null); + + /** RestoreFromBackupRequest restore_to_pos */ + restore_to_pos?: (string|null); + + /** RestoreFromBackupRequest dry_run */ + dry_run?: (boolean|null); + + /** RestoreFromBackupRequest restore_to_timestamp */ + restore_to_timestamp?: (vttime.ITime|null); + + /** RestoreFromBackupRequest allowed_backup_engines */ + allowed_backup_engines?: (string[]|null); + } + + /** Represents a RestoreFromBackupRequest. */ + class RestoreFromBackupRequest implements IRestoreFromBackupRequest { + + /** + * Constructs a new RestoreFromBackupRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRestoreFromBackupRequest); + + /** RestoreFromBackupRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** RestoreFromBackupRequest backup_time. */ + public backup_time?: (vttime.ITime|null); + + /** RestoreFromBackupRequest restore_to_pos. */ + public restore_to_pos: string; + + /** RestoreFromBackupRequest dry_run. */ + public dry_run: boolean; + + /** RestoreFromBackupRequest restore_to_timestamp. */ + public restore_to_timestamp?: (vttime.ITime|null); + + /** RestoreFromBackupRequest allowed_backup_engines. */ + public allowed_backup_engines: string[]; + + /** + * Creates a new RestoreFromBackupRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RestoreFromBackupRequest instance + */ + public static create(properties?: vtctldata.IRestoreFromBackupRequest): vtctldata.RestoreFromBackupRequest; + + /** + * Encodes the specified RestoreFromBackupRequest message. Does not implicitly {@link vtctldata.RestoreFromBackupRequest.verify|verify} messages. + * @param message RestoreFromBackupRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRestoreFromBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RestoreFromBackupRequest message, length delimited. Does not implicitly {@link vtctldata.RestoreFromBackupRequest.verify|verify} messages. + * @param message RestoreFromBackupRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRestoreFromBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RestoreFromBackupRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RestoreFromBackupRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RestoreFromBackupRequest; + + /** + * Decodes a RestoreFromBackupRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RestoreFromBackupRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RestoreFromBackupRequest; + + /** + * Verifies a RestoreFromBackupRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RestoreFromBackupRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RestoreFromBackupRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RestoreFromBackupRequest; + + /** + * Creates a plain object from a RestoreFromBackupRequest message. Also converts values to other types if specified. + * @param message RestoreFromBackupRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RestoreFromBackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RestoreFromBackupRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RestoreFromBackupRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RestoreFromBackupResponse. */ + interface IRestoreFromBackupResponse { + + /** RestoreFromBackupResponse tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** RestoreFromBackupResponse keyspace */ + keyspace?: (string|null); + + /** RestoreFromBackupResponse shard */ + shard?: (string|null); + + /** RestoreFromBackupResponse event */ + event?: (logutil.IEvent|null); + } + + /** Represents a RestoreFromBackupResponse. */ + class RestoreFromBackupResponse implements IRestoreFromBackupResponse { + + /** + * Constructs a new RestoreFromBackupResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRestoreFromBackupResponse); + + /** RestoreFromBackupResponse tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** RestoreFromBackupResponse keyspace. */ + public keyspace: string; + + /** RestoreFromBackupResponse shard. */ + public shard: string; + + /** RestoreFromBackupResponse event. */ + public event?: (logutil.IEvent|null); + + /** + * Creates a new RestoreFromBackupResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RestoreFromBackupResponse instance + */ + public static create(properties?: vtctldata.IRestoreFromBackupResponse): vtctldata.RestoreFromBackupResponse; + + /** + * Encodes the specified RestoreFromBackupResponse message. Does not implicitly {@link vtctldata.RestoreFromBackupResponse.verify|verify} messages. + * @param message RestoreFromBackupResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRestoreFromBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RestoreFromBackupResponse message, length delimited. Does not implicitly {@link vtctldata.RestoreFromBackupResponse.verify|verify} messages. + * @param message RestoreFromBackupResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRestoreFromBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RestoreFromBackupResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RestoreFromBackupResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RestoreFromBackupResponse; + + /** + * Decodes a RestoreFromBackupResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RestoreFromBackupResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RestoreFromBackupResponse; + + /** + * Verifies a RestoreFromBackupResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RestoreFromBackupResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RestoreFromBackupResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RestoreFromBackupResponse; + + /** + * Creates a plain object from a RestoreFromBackupResponse message. Also converts values to other types if specified. + * @param message RestoreFromBackupResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RestoreFromBackupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RestoreFromBackupResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RestoreFromBackupResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RetrySchemaMigrationRequest. */ + interface IRetrySchemaMigrationRequest { + + /** RetrySchemaMigrationRequest keyspace */ + keyspace?: (string|null); + + /** RetrySchemaMigrationRequest uuid */ + uuid?: (string|null); + } + + /** Represents a RetrySchemaMigrationRequest. */ + class RetrySchemaMigrationRequest implements IRetrySchemaMigrationRequest { + + /** + * Constructs a new RetrySchemaMigrationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRetrySchemaMigrationRequest); + + /** RetrySchemaMigrationRequest keyspace. */ + public keyspace: string; + + /** RetrySchemaMigrationRequest uuid. */ + public uuid: string; + + /** + * Creates a new RetrySchemaMigrationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RetrySchemaMigrationRequest instance + */ + public static create(properties?: vtctldata.IRetrySchemaMigrationRequest): vtctldata.RetrySchemaMigrationRequest; + + /** + * Encodes the specified RetrySchemaMigrationRequest message. Does not implicitly {@link vtctldata.RetrySchemaMigrationRequest.verify|verify} messages. + * @param message RetrySchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRetrySchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RetrySchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.RetrySchemaMigrationRequest.verify|verify} messages. + * @param message RetrySchemaMigrationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRetrySchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RetrySchemaMigrationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RetrySchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RetrySchemaMigrationRequest; + + /** + * Decodes a RetrySchemaMigrationRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RetrySchemaMigrationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RetrySchemaMigrationRequest; + + /** + * Verifies a RetrySchemaMigrationRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RetrySchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RetrySchemaMigrationRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RetrySchemaMigrationRequest; + + /** + * Creates a plain object from a RetrySchemaMigrationRequest message. Also converts values to other types if specified. + * @param message RetrySchemaMigrationRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RetrySchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RetrySchemaMigrationRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RetrySchemaMigrationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RetrySchemaMigrationResponse. */ + interface IRetrySchemaMigrationResponse { + + /** RetrySchemaMigrationResponse rows_affected_by_shard */ + rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); + } + + /** Represents a RetrySchemaMigrationResponse. */ + class RetrySchemaMigrationResponse implements IRetrySchemaMigrationResponse { + + /** + * Constructs a new RetrySchemaMigrationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRetrySchemaMigrationResponse); + + /** RetrySchemaMigrationResponse rows_affected_by_shard. */ + public rows_affected_by_shard: { [k: string]: (number|Long) }; + + /** + * Creates a new RetrySchemaMigrationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RetrySchemaMigrationResponse instance + */ + public static create(properties?: vtctldata.IRetrySchemaMigrationResponse): vtctldata.RetrySchemaMigrationResponse; + + /** + * Encodes the specified RetrySchemaMigrationResponse message. Does not implicitly {@link vtctldata.RetrySchemaMigrationResponse.verify|verify} messages. + * @param message RetrySchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRetrySchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RetrySchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.RetrySchemaMigrationResponse.verify|verify} messages. + * @param message RetrySchemaMigrationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRetrySchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RetrySchemaMigrationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RetrySchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RetrySchemaMigrationResponse; + + /** + * Decodes a RetrySchemaMigrationResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RetrySchemaMigrationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RetrySchemaMigrationResponse; + + /** + * Verifies a RetrySchemaMigrationResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RetrySchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RetrySchemaMigrationResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RetrySchemaMigrationResponse; + + /** + * Creates a plain object from a RetrySchemaMigrationResponse message. Also converts values to other types if specified. + * @param message RetrySchemaMigrationResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RetrySchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RetrySchemaMigrationResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RetrySchemaMigrationResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RunHealthCheckRequest. */ + interface IRunHealthCheckRequest { + + /** RunHealthCheckRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a RunHealthCheckRequest. */ + class RunHealthCheckRequest implements IRunHealthCheckRequest { + + /** + * Constructs a new RunHealthCheckRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRunHealthCheckRequest); + + /** RunHealthCheckRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new RunHealthCheckRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns RunHealthCheckRequest instance + */ + public static create(properties?: vtctldata.IRunHealthCheckRequest): vtctldata.RunHealthCheckRequest; + + /** + * Encodes the specified RunHealthCheckRequest message. Does not implicitly {@link vtctldata.RunHealthCheckRequest.verify|verify} messages. + * @param message RunHealthCheckRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRunHealthCheckRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RunHealthCheckRequest message, length delimited. Does not implicitly {@link vtctldata.RunHealthCheckRequest.verify|verify} messages. + * @param message RunHealthCheckRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRunHealthCheckRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RunHealthCheckRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RunHealthCheckRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RunHealthCheckRequest; + + /** + * Decodes a RunHealthCheckRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RunHealthCheckRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RunHealthCheckRequest; + + /** + * Verifies a RunHealthCheckRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RunHealthCheckRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RunHealthCheckRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RunHealthCheckRequest; + + /** + * Creates a plain object from a RunHealthCheckRequest message. Also converts values to other types if specified. + * @param message RunHealthCheckRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RunHealthCheckRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RunHealthCheckRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RunHealthCheckRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a RunHealthCheckResponse. */ + interface IRunHealthCheckResponse { + } + + /** Represents a RunHealthCheckResponse. */ + class RunHealthCheckResponse implements IRunHealthCheckResponse { + + /** + * Constructs a new RunHealthCheckResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IRunHealthCheckResponse); + + /** + * Creates a new RunHealthCheckResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns RunHealthCheckResponse instance + */ + public static create(properties?: vtctldata.IRunHealthCheckResponse): vtctldata.RunHealthCheckResponse; + + /** + * Encodes the specified RunHealthCheckResponse message. Does not implicitly {@link vtctldata.RunHealthCheckResponse.verify|verify} messages. + * @param message RunHealthCheckResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IRunHealthCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified RunHealthCheckResponse message, length delimited. Does not implicitly {@link vtctldata.RunHealthCheckResponse.verify|verify} messages. + * @param message RunHealthCheckResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IRunHealthCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RunHealthCheckResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RunHealthCheckResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RunHealthCheckResponse; + + /** + * Decodes a RunHealthCheckResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns RunHealthCheckResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RunHealthCheckResponse; + + /** + * Verifies a RunHealthCheckResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a RunHealthCheckResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns RunHealthCheckResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.RunHealthCheckResponse; + + /** + * Creates a plain object from a RunHealthCheckResponse message. Also converts values to other types if specified. + * @param message RunHealthCheckResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.RunHealthCheckResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this RunHealthCheckResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RunHealthCheckResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetKeyspaceDurabilityPolicyRequest. */ + interface ISetKeyspaceDurabilityPolicyRequest { + + /** SetKeyspaceDurabilityPolicyRequest keyspace */ + keyspace?: (string|null); + + /** SetKeyspaceDurabilityPolicyRequest durability_policy */ + durability_policy?: (string|null); + } + + /** Represents a SetKeyspaceDurabilityPolicyRequest. */ + class SetKeyspaceDurabilityPolicyRequest implements ISetKeyspaceDurabilityPolicyRequest { + + /** + * Constructs a new SetKeyspaceDurabilityPolicyRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISetKeyspaceDurabilityPolicyRequest); + + /** SetKeyspaceDurabilityPolicyRequest keyspace. */ + public keyspace: string; + + /** SetKeyspaceDurabilityPolicyRequest durability_policy. */ + public durability_policy: string; + + /** + * Creates a new SetKeyspaceDurabilityPolicyRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SetKeyspaceDurabilityPolicyRequest instance + */ + public static create(properties?: vtctldata.ISetKeyspaceDurabilityPolicyRequest): vtctldata.SetKeyspaceDurabilityPolicyRequest; + + /** + * Encodes the specified SetKeyspaceDurabilityPolicyRequest message. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyRequest.verify|verify} messages. + * @param message SetKeyspaceDurabilityPolicyRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISetKeyspaceDurabilityPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetKeyspaceDurabilityPolicyRequest message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyRequest.verify|verify} messages. + * @param message SetKeyspaceDurabilityPolicyRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISetKeyspaceDurabilityPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetKeyspaceDurabilityPolicyRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetKeyspaceDurabilityPolicyRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceDurabilityPolicyRequest; + + /** + * Decodes a SetKeyspaceDurabilityPolicyRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetKeyspaceDurabilityPolicyRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceDurabilityPolicyRequest; + + /** + * Verifies a SetKeyspaceDurabilityPolicyRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetKeyspaceDurabilityPolicyRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetKeyspaceDurabilityPolicyRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceDurabilityPolicyRequest; + + /** + * Creates a plain object from a SetKeyspaceDurabilityPolicyRequest message. Also converts values to other types if specified. + * @param message SetKeyspaceDurabilityPolicyRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SetKeyspaceDurabilityPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetKeyspaceDurabilityPolicyRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetKeyspaceDurabilityPolicyRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetKeyspaceDurabilityPolicyResponse. */ + interface ISetKeyspaceDurabilityPolicyResponse { + + /** SetKeyspaceDurabilityPolicyResponse keyspace */ + keyspace?: (topodata.IKeyspace|null); + } + + /** Represents a SetKeyspaceDurabilityPolicyResponse. */ + class SetKeyspaceDurabilityPolicyResponse implements ISetKeyspaceDurabilityPolicyResponse { + + /** + * Constructs a new SetKeyspaceDurabilityPolicyResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISetKeyspaceDurabilityPolicyResponse); + + /** SetKeyspaceDurabilityPolicyResponse keyspace. */ + public keyspace?: (topodata.IKeyspace|null); + + /** + * Creates a new SetKeyspaceDurabilityPolicyResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SetKeyspaceDurabilityPolicyResponse instance + */ + public static create(properties?: vtctldata.ISetKeyspaceDurabilityPolicyResponse): vtctldata.SetKeyspaceDurabilityPolicyResponse; + + /** + * Encodes the specified SetKeyspaceDurabilityPolicyResponse message. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyResponse.verify|verify} messages. + * @param message SetKeyspaceDurabilityPolicyResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISetKeyspaceDurabilityPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetKeyspaceDurabilityPolicyResponse message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyResponse.verify|verify} messages. + * @param message SetKeyspaceDurabilityPolicyResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISetKeyspaceDurabilityPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetKeyspaceDurabilityPolicyResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetKeyspaceDurabilityPolicyResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceDurabilityPolicyResponse; + + /** + * Decodes a SetKeyspaceDurabilityPolicyResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetKeyspaceDurabilityPolicyResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceDurabilityPolicyResponse; + + /** + * Verifies a SetKeyspaceDurabilityPolicyResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetKeyspaceDurabilityPolicyResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetKeyspaceDurabilityPolicyResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceDurabilityPolicyResponse; + + /** + * Creates a plain object from a SetKeyspaceDurabilityPolicyResponse message. Also converts values to other types if specified. + * @param message SetKeyspaceDurabilityPolicyResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SetKeyspaceDurabilityPolicyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetKeyspaceDurabilityPolicyResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetKeyspaceDurabilityPolicyResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetKeyspaceShardingInfoRequest. */ + interface ISetKeyspaceShardingInfoRequest { + + /** SetKeyspaceShardingInfoRequest keyspace */ + keyspace?: (string|null); + + /** SetKeyspaceShardingInfoRequest force */ + force?: (boolean|null); + } + + /** Represents a SetKeyspaceShardingInfoRequest. */ + class SetKeyspaceShardingInfoRequest implements ISetKeyspaceShardingInfoRequest { + + /** + * Constructs a new SetKeyspaceShardingInfoRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISetKeyspaceShardingInfoRequest); + + /** SetKeyspaceShardingInfoRequest keyspace. */ + public keyspace: string; + + /** SetKeyspaceShardingInfoRequest force. */ + public force: boolean; + + /** + * Creates a new SetKeyspaceShardingInfoRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SetKeyspaceShardingInfoRequest instance + */ + public static create(properties?: vtctldata.ISetKeyspaceShardingInfoRequest): vtctldata.SetKeyspaceShardingInfoRequest; + + /** + * Encodes the specified SetKeyspaceShardingInfoRequest message. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoRequest.verify|verify} messages. + * @param message SetKeyspaceShardingInfoRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISetKeyspaceShardingInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetKeyspaceShardingInfoRequest message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoRequest.verify|verify} messages. + * @param message SetKeyspaceShardingInfoRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISetKeyspaceShardingInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetKeyspaceShardingInfoRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetKeyspaceShardingInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceShardingInfoRequest; + + /** + * Decodes a SetKeyspaceShardingInfoRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetKeyspaceShardingInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceShardingInfoRequest; + + /** + * Verifies a SetKeyspaceShardingInfoRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetKeyspaceShardingInfoRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetKeyspaceShardingInfoRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceShardingInfoRequest; + + /** + * Creates a plain object from a SetKeyspaceShardingInfoRequest message. Also converts values to other types if specified. + * @param message SetKeyspaceShardingInfoRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SetKeyspaceShardingInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetKeyspaceShardingInfoRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetKeyspaceShardingInfoRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetKeyspaceShardingInfoResponse. */ + interface ISetKeyspaceShardingInfoResponse { + + /** SetKeyspaceShardingInfoResponse keyspace */ + keyspace?: (topodata.IKeyspace|null); + } + + /** Represents a SetKeyspaceShardingInfoResponse. */ + class SetKeyspaceShardingInfoResponse implements ISetKeyspaceShardingInfoResponse { + + /** + * Constructs a new SetKeyspaceShardingInfoResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISetKeyspaceShardingInfoResponse); + + /** SetKeyspaceShardingInfoResponse keyspace. */ + public keyspace?: (topodata.IKeyspace|null); + + /** + * Creates a new SetKeyspaceShardingInfoResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SetKeyspaceShardingInfoResponse instance + */ + public static create(properties?: vtctldata.ISetKeyspaceShardingInfoResponse): vtctldata.SetKeyspaceShardingInfoResponse; + + /** + * Encodes the specified SetKeyspaceShardingInfoResponse message. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoResponse.verify|verify} messages. + * @param message SetKeyspaceShardingInfoResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISetKeyspaceShardingInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetKeyspaceShardingInfoResponse message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoResponse.verify|verify} messages. + * @param message SetKeyspaceShardingInfoResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISetKeyspaceShardingInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetKeyspaceShardingInfoResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetKeyspaceShardingInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceShardingInfoResponse; + + /** + * Decodes a SetKeyspaceShardingInfoResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetKeyspaceShardingInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceShardingInfoResponse; + + /** + * Verifies a SetKeyspaceShardingInfoResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetKeyspaceShardingInfoResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetKeyspaceShardingInfoResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceShardingInfoResponse; + + /** + * Creates a plain object from a SetKeyspaceShardingInfoResponse message. Also converts values to other types if specified. + * @param message SetKeyspaceShardingInfoResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SetKeyspaceShardingInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetKeyspaceShardingInfoResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetKeyspaceShardingInfoResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetShardIsPrimaryServingRequest. */ + interface ISetShardIsPrimaryServingRequest { + + /** SetShardIsPrimaryServingRequest keyspace */ + keyspace?: (string|null); + + /** SetShardIsPrimaryServingRequest shard */ + shard?: (string|null); + + /** SetShardIsPrimaryServingRequest is_serving */ + is_serving?: (boolean|null); + } + + /** Represents a SetShardIsPrimaryServingRequest. */ + class SetShardIsPrimaryServingRequest implements ISetShardIsPrimaryServingRequest { + + /** + * Constructs a new SetShardIsPrimaryServingRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISetShardIsPrimaryServingRequest); + + /** SetShardIsPrimaryServingRequest keyspace. */ + public keyspace: string; + + /** SetShardIsPrimaryServingRequest shard. */ + public shard: string; + + /** SetShardIsPrimaryServingRequest is_serving. */ + public is_serving: boolean; + + /** + * Creates a new SetShardIsPrimaryServingRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SetShardIsPrimaryServingRequest instance + */ + public static create(properties?: vtctldata.ISetShardIsPrimaryServingRequest): vtctldata.SetShardIsPrimaryServingRequest; + + /** + * Encodes the specified SetShardIsPrimaryServingRequest message. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingRequest.verify|verify} messages. + * @param message SetShardIsPrimaryServingRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISetShardIsPrimaryServingRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetShardIsPrimaryServingRequest message, length delimited. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingRequest.verify|verify} messages. + * @param message SetShardIsPrimaryServingRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISetShardIsPrimaryServingRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetShardIsPrimaryServingRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetShardIsPrimaryServingRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardIsPrimaryServingRequest; + + /** + * Decodes a SetShardIsPrimaryServingRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetShardIsPrimaryServingRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardIsPrimaryServingRequest; + + /** + * Verifies a SetShardIsPrimaryServingRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetShardIsPrimaryServingRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetShardIsPrimaryServingRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SetShardIsPrimaryServingRequest; + + /** + * Creates a plain object from a SetShardIsPrimaryServingRequest message. Also converts values to other types if specified. + * @param message SetShardIsPrimaryServingRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SetShardIsPrimaryServingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetShardIsPrimaryServingRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetShardIsPrimaryServingRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetShardIsPrimaryServingResponse. */ + interface ISetShardIsPrimaryServingResponse { + + /** SetShardIsPrimaryServingResponse shard */ + shard?: (topodata.IShard|null); + } + + /** Represents a SetShardIsPrimaryServingResponse. */ + class SetShardIsPrimaryServingResponse implements ISetShardIsPrimaryServingResponse { + + /** + * Constructs a new SetShardIsPrimaryServingResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISetShardIsPrimaryServingResponse); + + /** SetShardIsPrimaryServingResponse shard. */ + public shard?: (topodata.IShard|null); + + /** + * Creates a new SetShardIsPrimaryServingResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SetShardIsPrimaryServingResponse instance + */ + public static create(properties?: vtctldata.ISetShardIsPrimaryServingResponse): vtctldata.SetShardIsPrimaryServingResponse; + + /** + * Encodes the specified SetShardIsPrimaryServingResponse message. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingResponse.verify|verify} messages. + * @param message SetShardIsPrimaryServingResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISetShardIsPrimaryServingResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetShardIsPrimaryServingResponse message, length delimited. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingResponse.verify|verify} messages. + * @param message SetShardIsPrimaryServingResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISetShardIsPrimaryServingResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetShardIsPrimaryServingResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetShardIsPrimaryServingResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardIsPrimaryServingResponse; + + /** + * Decodes a SetShardIsPrimaryServingResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetShardIsPrimaryServingResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardIsPrimaryServingResponse; + + /** + * Verifies a SetShardIsPrimaryServingResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetShardIsPrimaryServingResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetShardIsPrimaryServingResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SetShardIsPrimaryServingResponse; + + /** + * Creates a plain object from a SetShardIsPrimaryServingResponse message. Also converts values to other types if specified. + * @param message SetShardIsPrimaryServingResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SetShardIsPrimaryServingResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetShardIsPrimaryServingResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetShardIsPrimaryServingResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetShardTabletControlRequest. */ + interface ISetShardTabletControlRequest { + + /** SetShardTabletControlRequest keyspace */ + keyspace?: (string|null); + + /** SetShardTabletControlRequest shard */ + shard?: (string|null); + + /** SetShardTabletControlRequest tablet_type */ + tablet_type?: (topodata.TabletType|null); + + /** SetShardTabletControlRequest cells */ + cells?: (string[]|null); + + /** SetShardTabletControlRequest denied_tables */ + denied_tables?: (string[]|null); + + /** SetShardTabletControlRequest disable_query_service */ + disable_query_service?: (boolean|null); + + /** SetShardTabletControlRequest remove */ + remove?: (boolean|null); + } + + /** Represents a SetShardTabletControlRequest. */ + class SetShardTabletControlRequest implements ISetShardTabletControlRequest { + + /** + * Constructs a new SetShardTabletControlRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISetShardTabletControlRequest); + + /** SetShardTabletControlRequest keyspace. */ + public keyspace: string; + + /** SetShardTabletControlRequest shard. */ + public shard: string; + + /** SetShardTabletControlRequest tablet_type. */ + public tablet_type: topodata.TabletType; + + /** SetShardTabletControlRequest cells. */ + public cells: string[]; + + /** SetShardTabletControlRequest denied_tables. */ + public denied_tables: string[]; + + /** SetShardTabletControlRequest disable_query_service. */ + public disable_query_service: boolean; + + /** SetShardTabletControlRequest remove. */ + public remove: boolean; + + /** + * Creates a new SetShardTabletControlRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SetShardTabletControlRequest instance + */ + public static create(properties?: vtctldata.ISetShardTabletControlRequest): vtctldata.SetShardTabletControlRequest; + + /** + * Encodes the specified SetShardTabletControlRequest message. Does not implicitly {@link vtctldata.SetShardTabletControlRequest.verify|verify} messages. + * @param message SetShardTabletControlRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISetShardTabletControlRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetShardTabletControlRequest message, length delimited. Does not implicitly {@link vtctldata.SetShardTabletControlRequest.verify|verify} messages. + * @param message SetShardTabletControlRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISetShardTabletControlRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetShardTabletControlRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetShardTabletControlRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardTabletControlRequest; + + /** + * Decodes a SetShardTabletControlRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetShardTabletControlRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardTabletControlRequest; + + /** + * Verifies a SetShardTabletControlRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetShardTabletControlRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetShardTabletControlRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SetShardTabletControlRequest; + + /** + * Creates a plain object from a SetShardTabletControlRequest message. Also converts values to other types if specified. + * @param message SetShardTabletControlRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SetShardTabletControlRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetShardTabletControlRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetShardTabletControlRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetShardTabletControlResponse. */ + interface ISetShardTabletControlResponse { + + /** SetShardTabletControlResponse shard */ + shard?: (topodata.IShard|null); + } + + /** Represents a SetShardTabletControlResponse. */ + class SetShardTabletControlResponse implements ISetShardTabletControlResponse { + + /** + * Constructs a new SetShardTabletControlResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISetShardTabletControlResponse); + + /** SetShardTabletControlResponse shard. */ + public shard?: (topodata.IShard|null); + + /** + * Creates a new SetShardTabletControlResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SetShardTabletControlResponse instance + */ + public static create(properties?: vtctldata.ISetShardTabletControlResponse): vtctldata.SetShardTabletControlResponse; + + /** + * Encodes the specified SetShardTabletControlResponse message. Does not implicitly {@link vtctldata.SetShardTabletControlResponse.verify|verify} messages. + * @param message SetShardTabletControlResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISetShardTabletControlResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetShardTabletControlResponse message, length delimited. Does not implicitly {@link vtctldata.SetShardTabletControlResponse.verify|verify} messages. + * @param message SetShardTabletControlResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISetShardTabletControlResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetShardTabletControlResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetShardTabletControlResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardTabletControlResponse; + + /** + * Decodes a SetShardTabletControlResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetShardTabletControlResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardTabletControlResponse; + + /** + * Verifies a SetShardTabletControlResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetShardTabletControlResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetShardTabletControlResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SetShardTabletControlResponse; + + /** + * Creates a plain object from a SetShardTabletControlResponse message. Also converts values to other types if specified. + * @param message SetShardTabletControlResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SetShardTabletControlResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetShardTabletControlResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetShardTabletControlResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetWritableRequest. */ + interface ISetWritableRequest { + + /** SetWritableRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** SetWritableRequest writable */ + writable?: (boolean|null); + } + + /** Represents a SetWritableRequest. */ + class SetWritableRequest implements ISetWritableRequest { + + /** + * Constructs a new SetWritableRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISetWritableRequest); + + /** SetWritableRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** SetWritableRequest writable. */ + public writable: boolean; + + /** + * Creates a new SetWritableRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SetWritableRequest instance + */ + public static create(properties?: vtctldata.ISetWritableRequest): vtctldata.SetWritableRequest; + + /** + * Encodes the specified SetWritableRequest message. Does not implicitly {@link vtctldata.SetWritableRequest.verify|verify} messages. + * @param message SetWritableRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISetWritableRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetWritableRequest message, length delimited. Does not implicitly {@link vtctldata.SetWritableRequest.verify|verify} messages. + * @param message SetWritableRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISetWritableRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetWritableRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetWritableRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetWritableRequest; + + /** + * Decodes a SetWritableRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetWritableRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetWritableRequest; + + /** + * Verifies a SetWritableRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetWritableRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetWritableRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SetWritableRequest; + + /** + * Creates a plain object from a SetWritableRequest message. Also converts values to other types if specified. + * @param message SetWritableRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SetWritableRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetWritableRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetWritableRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SetWritableResponse. */ + interface ISetWritableResponse { + } + + /** Represents a SetWritableResponse. */ + class SetWritableResponse implements ISetWritableResponse { + + /** + * Constructs a new SetWritableResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISetWritableResponse); + + /** + * Creates a new SetWritableResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SetWritableResponse instance + */ + public static create(properties?: vtctldata.ISetWritableResponse): vtctldata.SetWritableResponse; + + /** + * Encodes the specified SetWritableResponse message. Does not implicitly {@link vtctldata.SetWritableResponse.verify|verify} messages. + * @param message SetWritableResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISetWritableResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SetWritableResponse message, length delimited. Does not implicitly {@link vtctldata.SetWritableResponse.verify|verify} messages. + * @param message SetWritableResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISetWritableResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SetWritableResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SetWritableResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetWritableResponse; + + /** + * Decodes a SetWritableResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SetWritableResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetWritableResponse; + + /** + * Verifies a SetWritableResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SetWritableResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SetWritableResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SetWritableResponse; + + /** + * Creates a plain object from a SetWritableResponse message. Also converts values to other types if specified. + * @param message SetWritableResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SetWritableResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SetWritableResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SetWritableResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardReplicationAddRequest. */ + interface IShardReplicationAddRequest { + + /** ShardReplicationAddRequest keyspace */ + keyspace?: (string|null); + + /** ShardReplicationAddRequest shard */ + shard?: (string|null); + + /** ShardReplicationAddRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a ShardReplicationAddRequest. */ + class ShardReplicationAddRequest implements IShardReplicationAddRequest { + + /** + * Constructs a new ShardReplicationAddRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IShardReplicationAddRequest); + + /** ShardReplicationAddRequest keyspace. */ + public keyspace: string; + + /** ShardReplicationAddRequest shard. */ + public shard: string; + + /** ShardReplicationAddRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new ShardReplicationAddRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardReplicationAddRequest instance + */ + public static create(properties?: vtctldata.IShardReplicationAddRequest): vtctldata.ShardReplicationAddRequest; + + /** + * Encodes the specified ShardReplicationAddRequest message. Does not implicitly {@link vtctldata.ShardReplicationAddRequest.verify|verify} messages. + * @param message ShardReplicationAddRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IShardReplicationAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardReplicationAddRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationAddRequest.verify|verify} messages. + * @param message ShardReplicationAddRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IShardReplicationAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardReplicationAddRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardReplicationAddRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationAddRequest; + + /** + * Decodes a ShardReplicationAddRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardReplicationAddRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationAddRequest; + + /** + * Verifies a ShardReplicationAddRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardReplicationAddRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardReplicationAddRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationAddRequest; + + /** + * Creates a plain object from a ShardReplicationAddRequest message. Also converts values to other types if specified. + * @param message ShardReplicationAddRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ShardReplicationAddRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardReplicationAddRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardReplicationAddRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardReplicationAddResponse. */ + interface IShardReplicationAddResponse { + } + + /** Represents a ShardReplicationAddResponse. */ + class ShardReplicationAddResponse implements IShardReplicationAddResponse { + + /** + * Constructs a new ShardReplicationAddResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IShardReplicationAddResponse); + + /** + * Creates a new ShardReplicationAddResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardReplicationAddResponse instance + */ + public static create(properties?: vtctldata.IShardReplicationAddResponse): vtctldata.ShardReplicationAddResponse; + + /** + * Encodes the specified ShardReplicationAddResponse message. Does not implicitly {@link vtctldata.ShardReplicationAddResponse.verify|verify} messages. + * @param message ShardReplicationAddResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IShardReplicationAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardReplicationAddResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationAddResponse.verify|verify} messages. + * @param message ShardReplicationAddResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IShardReplicationAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardReplicationAddResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardReplicationAddResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationAddResponse; + + /** + * Decodes a ShardReplicationAddResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardReplicationAddResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationAddResponse; + + /** + * Verifies a ShardReplicationAddResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardReplicationAddResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardReplicationAddResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationAddResponse; + + /** + * Creates a plain object from a ShardReplicationAddResponse message. Also converts values to other types if specified. + * @param message ShardReplicationAddResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ShardReplicationAddResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardReplicationAddResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardReplicationAddResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardReplicationFixRequest. */ + interface IShardReplicationFixRequest { + + /** ShardReplicationFixRequest keyspace */ + keyspace?: (string|null); + + /** ShardReplicationFixRequest shard */ + shard?: (string|null); + + /** ShardReplicationFixRequest cell */ + cell?: (string|null); + } + + /** Represents a ShardReplicationFixRequest. */ + class ShardReplicationFixRequest implements IShardReplicationFixRequest { + + /** + * Constructs a new ShardReplicationFixRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IShardReplicationFixRequest); + + /** ShardReplicationFixRequest keyspace. */ + public keyspace: string; + + /** ShardReplicationFixRequest shard. */ + public shard: string; + + /** ShardReplicationFixRequest cell. */ + public cell: string; + + /** + * Creates a new ShardReplicationFixRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardReplicationFixRequest instance + */ + public static create(properties?: vtctldata.IShardReplicationFixRequest): vtctldata.ShardReplicationFixRequest; + + /** + * Encodes the specified ShardReplicationFixRequest message. Does not implicitly {@link vtctldata.ShardReplicationFixRequest.verify|verify} messages. + * @param message ShardReplicationFixRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IShardReplicationFixRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardReplicationFixRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationFixRequest.verify|verify} messages. + * @param message ShardReplicationFixRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IShardReplicationFixRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardReplicationFixRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardReplicationFixRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationFixRequest; + + /** + * Decodes a ShardReplicationFixRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardReplicationFixRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationFixRequest; + + /** + * Verifies a ShardReplicationFixRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardReplicationFixRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardReplicationFixRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationFixRequest; + + /** + * Creates a plain object from a ShardReplicationFixRequest message. Also converts values to other types if specified. + * @param message ShardReplicationFixRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ShardReplicationFixRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardReplicationFixRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardReplicationFixRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardReplicationFixResponse. */ + interface IShardReplicationFixResponse { + + /** ShardReplicationFixResponse error */ + error?: (topodata.IShardReplicationError|null); + } + + /** Represents a ShardReplicationFixResponse. */ + class ShardReplicationFixResponse implements IShardReplicationFixResponse { + + /** + * Constructs a new ShardReplicationFixResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IShardReplicationFixResponse); + + /** ShardReplicationFixResponse error. */ + public error?: (topodata.IShardReplicationError|null); + + /** + * Creates a new ShardReplicationFixResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardReplicationFixResponse instance + */ + public static create(properties?: vtctldata.IShardReplicationFixResponse): vtctldata.ShardReplicationFixResponse; + + /** + * Encodes the specified ShardReplicationFixResponse message. Does not implicitly {@link vtctldata.ShardReplicationFixResponse.verify|verify} messages. + * @param message ShardReplicationFixResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IShardReplicationFixResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardReplicationFixResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationFixResponse.verify|verify} messages. + * @param message ShardReplicationFixResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IShardReplicationFixResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardReplicationFixResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardReplicationFixResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationFixResponse; + + /** + * Decodes a ShardReplicationFixResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardReplicationFixResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationFixResponse; + + /** + * Verifies a ShardReplicationFixResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardReplicationFixResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardReplicationFixResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationFixResponse; + + /** + * Creates a plain object from a ShardReplicationFixResponse message. Also converts values to other types if specified. + * @param message ShardReplicationFixResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ShardReplicationFixResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardReplicationFixResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardReplicationFixResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardReplicationPositionsRequest. */ + interface IShardReplicationPositionsRequest { + + /** ShardReplicationPositionsRequest keyspace */ + keyspace?: (string|null); + + /** ShardReplicationPositionsRequest shard */ + shard?: (string|null); + } + + /** Represents a ShardReplicationPositionsRequest. */ + class ShardReplicationPositionsRequest implements IShardReplicationPositionsRequest { + + /** + * Constructs a new ShardReplicationPositionsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IShardReplicationPositionsRequest); + + /** ShardReplicationPositionsRequest keyspace. */ + public keyspace: string; + + /** ShardReplicationPositionsRequest shard. */ + public shard: string; + + /** + * Creates a new ShardReplicationPositionsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardReplicationPositionsRequest instance + */ + public static create(properties?: vtctldata.IShardReplicationPositionsRequest): vtctldata.ShardReplicationPositionsRequest; + + /** + * Encodes the specified ShardReplicationPositionsRequest message. Does not implicitly {@link vtctldata.ShardReplicationPositionsRequest.verify|verify} messages. + * @param message ShardReplicationPositionsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IShardReplicationPositionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardReplicationPositionsRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationPositionsRequest.verify|verify} messages. + * @param message ShardReplicationPositionsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IShardReplicationPositionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardReplicationPositionsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardReplicationPositionsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationPositionsRequest; + + /** + * Decodes a ShardReplicationPositionsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardReplicationPositionsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationPositionsRequest; + + /** + * Verifies a ShardReplicationPositionsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardReplicationPositionsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardReplicationPositionsRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationPositionsRequest; + + /** + * Creates a plain object from a ShardReplicationPositionsRequest message. Also converts values to other types if specified. + * @param message ShardReplicationPositionsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ShardReplicationPositionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardReplicationPositionsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardReplicationPositionsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardReplicationPositionsResponse. */ + interface IShardReplicationPositionsResponse { + + /** ShardReplicationPositionsResponse replication_statuses */ + replication_statuses?: ({ [k: string]: replicationdata.IStatus }|null); + + /** ShardReplicationPositionsResponse tablet_map */ + tablet_map?: ({ [k: string]: topodata.ITablet }|null); + } + + /** Represents a ShardReplicationPositionsResponse. */ + class ShardReplicationPositionsResponse implements IShardReplicationPositionsResponse { + + /** + * Constructs a new ShardReplicationPositionsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IShardReplicationPositionsResponse); + + /** ShardReplicationPositionsResponse replication_statuses. */ + public replication_statuses: { [k: string]: replicationdata.IStatus }; + + /** ShardReplicationPositionsResponse tablet_map. */ + public tablet_map: { [k: string]: topodata.ITablet }; + + /** + * Creates a new ShardReplicationPositionsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardReplicationPositionsResponse instance + */ + public static create(properties?: vtctldata.IShardReplicationPositionsResponse): vtctldata.ShardReplicationPositionsResponse; + + /** + * Encodes the specified ShardReplicationPositionsResponse message. Does not implicitly {@link vtctldata.ShardReplicationPositionsResponse.verify|verify} messages. + * @param message ShardReplicationPositionsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IShardReplicationPositionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardReplicationPositionsResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationPositionsResponse.verify|verify} messages. + * @param message ShardReplicationPositionsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IShardReplicationPositionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardReplicationPositionsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardReplicationPositionsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationPositionsResponse; + + /** + * Decodes a ShardReplicationPositionsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardReplicationPositionsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationPositionsResponse; + + /** + * Verifies a ShardReplicationPositionsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardReplicationPositionsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardReplicationPositionsResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationPositionsResponse; + + /** + * Creates a plain object from a ShardReplicationPositionsResponse message. Also converts values to other types if specified. + * @param message ShardReplicationPositionsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ShardReplicationPositionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardReplicationPositionsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardReplicationPositionsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardReplicationRemoveRequest. */ + interface IShardReplicationRemoveRequest { + + /** ShardReplicationRemoveRequest keyspace */ + keyspace?: (string|null); + + /** ShardReplicationRemoveRequest shard */ + shard?: (string|null); + + /** ShardReplicationRemoveRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a ShardReplicationRemoveRequest. */ + class ShardReplicationRemoveRequest implements IShardReplicationRemoveRequest { + + /** + * Constructs a new ShardReplicationRemoveRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IShardReplicationRemoveRequest); + + /** ShardReplicationRemoveRequest keyspace. */ + public keyspace: string; + + /** ShardReplicationRemoveRequest shard. */ + public shard: string; + + /** ShardReplicationRemoveRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new ShardReplicationRemoveRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardReplicationRemoveRequest instance + */ + public static create(properties?: vtctldata.IShardReplicationRemoveRequest): vtctldata.ShardReplicationRemoveRequest; + + /** + * Encodes the specified ShardReplicationRemoveRequest message. Does not implicitly {@link vtctldata.ShardReplicationRemoveRequest.verify|verify} messages. + * @param message ShardReplicationRemoveRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IShardReplicationRemoveRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardReplicationRemoveRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationRemoveRequest.verify|verify} messages. + * @param message ShardReplicationRemoveRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IShardReplicationRemoveRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardReplicationRemoveRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardReplicationRemoveRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationRemoveRequest; + + /** + * Decodes a ShardReplicationRemoveRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardReplicationRemoveRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationRemoveRequest; + + /** + * Verifies a ShardReplicationRemoveRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardReplicationRemoveRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardReplicationRemoveRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationRemoveRequest; + + /** + * Creates a plain object from a ShardReplicationRemoveRequest message. Also converts values to other types if specified. + * @param message ShardReplicationRemoveRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ShardReplicationRemoveRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardReplicationRemoveRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardReplicationRemoveRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardReplicationRemoveResponse. */ + interface IShardReplicationRemoveResponse { + } + + /** Represents a ShardReplicationRemoveResponse. */ + class ShardReplicationRemoveResponse implements IShardReplicationRemoveResponse { + + /** + * Constructs a new ShardReplicationRemoveResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IShardReplicationRemoveResponse); + + /** + * Creates a new ShardReplicationRemoveResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardReplicationRemoveResponse instance + */ + public static create(properties?: vtctldata.IShardReplicationRemoveResponse): vtctldata.ShardReplicationRemoveResponse; + + /** + * Encodes the specified ShardReplicationRemoveResponse message. Does not implicitly {@link vtctldata.ShardReplicationRemoveResponse.verify|verify} messages. + * @param message ShardReplicationRemoveResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IShardReplicationRemoveResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardReplicationRemoveResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationRemoveResponse.verify|verify} messages. + * @param message ShardReplicationRemoveResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IShardReplicationRemoveResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardReplicationRemoveResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardReplicationRemoveResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationRemoveResponse; + + /** + * Decodes a ShardReplicationRemoveResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardReplicationRemoveResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationRemoveResponse; + + /** + * Verifies a ShardReplicationRemoveResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardReplicationRemoveResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardReplicationRemoveResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationRemoveResponse; + + /** + * Creates a plain object from a ShardReplicationRemoveResponse message. Also converts values to other types if specified. + * @param message ShardReplicationRemoveResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ShardReplicationRemoveResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardReplicationRemoveResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardReplicationRemoveResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SleepTabletRequest. */ + interface ISleepTabletRequest { + + /** SleepTabletRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + + /** SleepTabletRequest duration */ + duration?: (vttime.IDuration|null); + } + + /** Represents a SleepTabletRequest. */ + class SleepTabletRequest implements ISleepTabletRequest { + + /** + * Constructs a new SleepTabletRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISleepTabletRequest); + + /** SleepTabletRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** SleepTabletRequest duration. */ + public duration?: (vttime.IDuration|null); + + /** + * Creates a new SleepTabletRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SleepTabletRequest instance + */ + public static create(properties?: vtctldata.ISleepTabletRequest): vtctldata.SleepTabletRequest; + + /** + * Encodes the specified SleepTabletRequest message. Does not implicitly {@link vtctldata.SleepTabletRequest.verify|verify} messages. + * @param message SleepTabletRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISleepTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SleepTabletRequest message, length delimited. Does not implicitly {@link vtctldata.SleepTabletRequest.verify|verify} messages. + * @param message SleepTabletRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISleepTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SleepTabletRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SleepTabletRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SleepTabletRequest; + + /** + * Decodes a SleepTabletRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SleepTabletRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SleepTabletRequest; + + /** + * Verifies a SleepTabletRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SleepTabletRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SleepTabletRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SleepTabletRequest; + + /** + * Creates a plain object from a SleepTabletRequest message. Also converts values to other types if specified. + * @param message SleepTabletRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SleepTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SleepTabletRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SleepTabletRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SleepTabletResponse. */ + interface ISleepTabletResponse { + } + + /** Represents a SleepTabletResponse. */ + class SleepTabletResponse implements ISleepTabletResponse { + + /** + * Constructs a new SleepTabletResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISleepTabletResponse); + + /** + * Creates a new SleepTabletResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SleepTabletResponse instance + */ + public static create(properties?: vtctldata.ISleepTabletResponse): vtctldata.SleepTabletResponse; + + /** + * Encodes the specified SleepTabletResponse message. Does not implicitly {@link vtctldata.SleepTabletResponse.verify|verify} messages. + * @param message SleepTabletResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISleepTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SleepTabletResponse message, length delimited. Does not implicitly {@link vtctldata.SleepTabletResponse.verify|verify} messages. + * @param message SleepTabletResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISleepTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SleepTabletResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SleepTabletResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SleepTabletResponse; + + /** + * Decodes a SleepTabletResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SleepTabletResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SleepTabletResponse; + + /** + * Verifies a SleepTabletResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SleepTabletResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SleepTabletResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SleepTabletResponse; + + /** + * Creates a plain object from a SleepTabletResponse message. Also converts values to other types if specified. + * @param message SleepTabletResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SleepTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SleepTabletResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SleepTabletResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SourceShardAddRequest. */ + interface ISourceShardAddRequest { + + /** SourceShardAddRequest keyspace */ + keyspace?: (string|null); + + /** SourceShardAddRequest shard */ + shard?: (string|null); + + /** SourceShardAddRequest uid */ + uid?: (number|null); + + /** SourceShardAddRequest source_keyspace */ + source_keyspace?: (string|null); + + /** SourceShardAddRequest source_shard */ + source_shard?: (string|null); + + /** SourceShardAddRequest key_range */ + key_range?: (topodata.IKeyRange|null); + + /** SourceShardAddRequest tables */ + tables?: (string[]|null); + } + + /** Represents a SourceShardAddRequest. */ + class SourceShardAddRequest implements ISourceShardAddRequest { + + /** + * Constructs a new SourceShardAddRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISourceShardAddRequest); + + /** SourceShardAddRequest keyspace. */ + public keyspace: string; + + /** SourceShardAddRequest shard. */ + public shard: string; + + /** SourceShardAddRequest uid. */ + public uid: number; + + /** SourceShardAddRequest source_keyspace. */ + public source_keyspace: string; + + /** SourceShardAddRequest source_shard. */ + public source_shard: string; + + /** SourceShardAddRequest key_range. */ + public key_range?: (topodata.IKeyRange|null); + + /** SourceShardAddRequest tables. */ + public tables: string[]; + + /** + * Creates a new SourceShardAddRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SourceShardAddRequest instance + */ + public static create(properties?: vtctldata.ISourceShardAddRequest): vtctldata.SourceShardAddRequest; + + /** + * Encodes the specified SourceShardAddRequest message. Does not implicitly {@link vtctldata.SourceShardAddRequest.verify|verify} messages. + * @param message SourceShardAddRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISourceShardAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SourceShardAddRequest message, length delimited. Does not implicitly {@link vtctldata.SourceShardAddRequest.verify|verify} messages. + * @param message SourceShardAddRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISourceShardAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SourceShardAddRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SourceShardAddRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardAddRequest; + + /** + * Decodes a SourceShardAddRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SourceShardAddRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardAddRequest; + + /** + * Verifies a SourceShardAddRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SourceShardAddRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SourceShardAddRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardAddRequest; + + /** + * Creates a plain object from a SourceShardAddRequest message. Also converts values to other types if specified. + * @param message SourceShardAddRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SourceShardAddRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SourceShardAddRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SourceShardAddRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SourceShardAddResponse. */ + interface ISourceShardAddResponse { + + /** SourceShardAddResponse shard */ + shard?: (topodata.IShard|null); + } + + /** Represents a SourceShardAddResponse. */ + class SourceShardAddResponse implements ISourceShardAddResponse { + + /** + * Constructs a new SourceShardAddResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISourceShardAddResponse); + + /** SourceShardAddResponse shard. */ + public shard?: (topodata.IShard|null); + + /** + * Creates a new SourceShardAddResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SourceShardAddResponse instance + */ + public static create(properties?: vtctldata.ISourceShardAddResponse): vtctldata.SourceShardAddResponse; + + /** + * Encodes the specified SourceShardAddResponse message. Does not implicitly {@link vtctldata.SourceShardAddResponse.verify|verify} messages. + * @param message SourceShardAddResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISourceShardAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SourceShardAddResponse message, length delimited. Does not implicitly {@link vtctldata.SourceShardAddResponse.verify|verify} messages. + * @param message SourceShardAddResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISourceShardAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SourceShardAddResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SourceShardAddResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardAddResponse; + + /** + * Decodes a SourceShardAddResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SourceShardAddResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardAddResponse; + + /** + * Verifies a SourceShardAddResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SourceShardAddResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SourceShardAddResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardAddResponse; + + /** + * Creates a plain object from a SourceShardAddResponse message. Also converts values to other types if specified. + * @param message SourceShardAddResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SourceShardAddResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SourceShardAddResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SourceShardAddResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SourceShardDeleteRequest. */ + interface ISourceShardDeleteRequest { + + /** SourceShardDeleteRequest keyspace */ + keyspace?: (string|null); + + /** SourceShardDeleteRequest shard */ + shard?: (string|null); + + /** SourceShardDeleteRequest uid */ + uid?: (number|null); + } + + /** Represents a SourceShardDeleteRequest. */ + class SourceShardDeleteRequest implements ISourceShardDeleteRequest { + + /** + * Constructs a new SourceShardDeleteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISourceShardDeleteRequest); + + /** SourceShardDeleteRequest keyspace. */ + public keyspace: string; + + /** SourceShardDeleteRequest shard. */ + public shard: string; + + /** SourceShardDeleteRequest uid. */ + public uid: number; + + /** + * Creates a new SourceShardDeleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SourceShardDeleteRequest instance + */ + public static create(properties?: vtctldata.ISourceShardDeleteRequest): vtctldata.SourceShardDeleteRequest; + + /** + * Encodes the specified SourceShardDeleteRequest message. Does not implicitly {@link vtctldata.SourceShardDeleteRequest.verify|verify} messages. + * @param message SourceShardDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISourceShardDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SourceShardDeleteRequest message, length delimited. Does not implicitly {@link vtctldata.SourceShardDeleteRequest.verify|verify} messages. + * @param message SourceShardDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISourceShardDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SourceShardDeleteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SourceShardDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardDeleteRequest; + + /** + * Decodes a SourceShardDeleteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SourceShardDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardDeleteRequest; + + /** + * Verifies a SourceShardDeleteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SourceShardDeleteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SourceShardDeleteRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardDeleteRequest; + + /** + * Creates a plain object from a SourceShardDeleteRequest message. Also converts values to other types if specified. + * @param message SourceShardDeleteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SourceShardDeleteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SourceShardDeleteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SourceShardDeleteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SourceShardDeleteResponse. */ + interface ISourceShardDeleteResponse { + + /** SourceShardDeleteResponse shard */ + shard?: (topodata.IShard|null); + } + + /** Represents a SourceShardDeleteResponse. */ + class SourceShardDeleteResponse implements ISourceShardDeleteResponse { + + /** + * Constructs a new SourceShardDeleteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ISourceShardDeleteResponse); + + /** SourceShardDeleteResponse shard. */ + public shard?: (topodata.IShard|null); + + /** + * Creates a new SourceShardDeleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SourceShardDeleteResponse instance + */ + public static create(properties?: vtctldata.ISourceShardDeleteResponse): vtctldata.SourceShardDeleteResponse; + + /** + * Encodes the specified SourceShardDeleteResponse message. Does not implicitly {@link vtctldata.SourceShardDeleteResponse.verify|verify} messages. + * @param message SourceShardDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ISourceShardDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SourceShardDeleteResponse message, length delimited. Does not implicitly {@link vtctldata.SourceShardDeleteResponse.verify|verify} messages. + * @param message SourceShardDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ISourceShardDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SourceShardDeleteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SourceShardDeleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardDeleteResponse; + + /** + * Decodes a SourceShardDeleteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SourceShardDeleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardDeleteResponse; + + /** + * Verifies a SourceShardDeleteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SourceShardDeleteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SourceShardDeleteResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardDeleteResponse; + + /** + * Creates a plain object from a SourceShardDeleteResponse message. Also converts values to other types if specified. + * @param message SourceShardDeleteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.SourceShardDeleteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SourceShardDeleteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SourceShardDeleteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StartReplicationRequest. */ + interface IStartReplicationRequest { + + /** StartReplicationRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a StartReplicationRequest. */ + class StartReplicationRequest implements IStartReplicationRequest { + + /** + * Constructs a new StartReplicationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IStartReplicationRequest); + + /** StartReplicationRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new StartReplicationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns StartReplicationRequest instance + */ + public static create(properties?: vtctldata.IStartReplicationRequest): vtctldata.StartReplicationRequest; + + /** + * Encodes the specified StartReplicationRequest message. Does not implicitly {@link vtctldata.StartReplicationRequest.verify|verify} messages. + * @param message StartReplicationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IStartReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StartReplicationRequest message, length delimited. Does not implicitly {@link vtctldata.StartReplicationRequest.verify|verify} messages. + * @param message StartReplicationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IStartReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StartReplicationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StartReplicationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StartReplicationRequest; + + /** + * Decodes a StartReplicationRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StartReplicationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StartReplicationRequest; + + /** + * Verifies a StartReplicationRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StartReplicationRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StartReplicationRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.StartReplicationRequest; + + /** + * Creates a plain object from a StartReplicationRequest message. Also converts values to other types if specified. + * @param message StartReplicationRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.StartReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StartReplicationRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StartReplicationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StartReplicationResponse. */ + interface IStartReplicationResponse { + } + + /** Represents a StartReplicationResponse. */ + class StartReplicationResponse implements IStartReplicationResponse { + + /** + * Constructs a new StartReplicationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IStartReplicationResponse); + + /** + * Creates a new StartReplicationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns StartReplicationResponse instance + */ + public static create(properties?: vtctldata.IStartReplicationResponse): vtctldata.StartReplicationResponse; + + /** + * Encodes the specified StartReplicationResponse message. Does not implicitly {@link vtctldata.StartReplicationResponse.verify|verify} messages. + * @param message StartReplicationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IStartReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StartReplicationResponse message, length delimited. Does not implicitly {@link vtctldata.StartReplicationResponse.verify|verify} messages. + * @param message StartReplicationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IStartReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StartReplicationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StartReplicationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StartReplicationResponse; + + /** + * Decodes a StartReplicationResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StartReplicationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StartReplicationResponse; + + /** + * Verifies a StartReplicationResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StartReplicationResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StartReplicationResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.StartReplicationResponse; + + /** + * Creates a plain object from a StartReplicationResponse message. Also converts values to other types if specified. + * @param message StartReplicationResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.StartReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StartReplicationResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StartReplicationResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StopReplicationRequest. */ + interface IStopReplicationRequest { + + /** StopReplicationRequest tablet_alias */ + tablet_alias?: (topodata.ITabletAlias|null); + } + + /** Represents a StopReplicationRequest. */ + class StopReplicationRequest implements IStopReplicationRequest { + + /** + * Constructs a new StopReplicationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IStopReplicationRequest); + + /** StopReplicationRequest tablet_alias. */ + public tablet_alias?: (topodata.ITabletAlias|null); + + /** + * Creates a new StopReplicationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns StopReplicationRequest instance + */ + public static create(properties?: vtctldata.IStopReplicationRequest): vtctldata.StopReplicationRequest; + + /** + * Encodes the specified StopReplicationRequest message. Does not implicitly {@link vtctldata.StopReplicationRequest.verify|verify} messages. + * @param message StopReplicationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IStopReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StopReplicationRequest message, length delimited. Does not implicitly {@link vtctldata.StopReplicationRequest.verify|verify} messages. + * @param message StopReplicationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IStopReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StopReplicationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StopReplicationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StopReplicationRequest; + + /** + * Decodes a StopReplicationRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StopReplicationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StopReplicationRequest; + + /** + * Verifies a StopReplicationRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StopReplicationRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StopReplicationRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.StopReplicationRequest; + + /** + * Creates a plain object from a StopReplicationRequest message. Also converts values to other types if specified. + * @param message StopReplicationRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.StopReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StopReplicationRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StopReplicationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a StopReplicationResponse. */ + interface IStopReplicationResponse { + } + + /** Represents a StopReplicationResponse. */ + class StopReplicationResponse implements IStopReplicationResponse { + + /** + * Constructs a new StopReplicationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IStopReplicationResponse); + + /** + * Creates a new StopReplicationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns StopReplicationResponse instance + */ + public static create(properties?: vtctldata.IStopReplicationResponse): vtctldata.StopReplicationResponse; + + /** + * Encodes the specified StopReplicationResponse message. Does not implicitly {@link vtctldata.StopReplicationResponse.verify|verify} messages. + * @param message StopReplicationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IStopReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified StopReplicationResponse message, length delimited. Does not implicitly {@link vtctldata.StopReplicationResponse.verify|verify} messages. + * @param message StopReplicationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IStopReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StopReplicationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StopReplicationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StopReplicationResponse; + + /** + * Decodes a StopReplicationResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns StopReplicationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StopReplicationResponse; + + /** + * Verifies a StopReplicationResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a StopReplicationResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns StopReplicationResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.StopReplicationResponse; + + /** + * Creates a plain object from a StopReplicationResponse message. Also converts values to other types if specified. + * @param message StopReplicationResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.StopReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this StopReplicationResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StopReplicationResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a TabletExternallyReparentedRequest. */ + interface ITabletExternallyReparentedRequest { + + /** TabletExternallyReparentedRequest tablet */ + tablet?: (topodata.ITabletAlias|null); + } + + /** Represents a TabletExternallyReparentedRequest. */ + class TabletExternallyReparentedRequest implements ITabletExternallyReparentedRequest { + + /** + * Constructs a new TabletExternallyReparentedRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ITabletExternallyReparentedRequest); + + /** TabletExternallyReparentedRequest tablet. */ + public tablet?: (topodata.ITabletAlias|null); + + /** + * Creates a new TabletExternallyReparentedRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TabletExternallyReparentedRequest instance + */ + public static create(properties?: vtctldata.ITabletExternallyReparentedRequest): vtctldata.TabletExternallyReparentedRequest; + + /** + * Encodes the specified TabletExternallyReparentedRequest message. Does not implicitly {@link vtctldata.TabletExternallyReparentedRequest.verify|verify} messages. + * @param message TabletExternallyReparentedRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ITabletExternallyReparentedRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified TabletExternallyReparentedRequest message, length delimited. Does not implicitly {@link vtctldata.TabletExternallyReparentedRequest.verify|verify} messages. + * @param message TabletExternallyReparentedRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ITabletExternallyReparentedRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TabletExternallyReparentedRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TabletExternallyReparentedRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TabletExternallyReparentedRequest; + + /** + * Decodes a TabletExternallyReparentedRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns TabletExternallyReparentedRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TabletExternallyReparentedRequest; + + /** + * Verifies a TabletExternallyReparentedRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a TabletExternallyReparentedRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns TabletExternallyReparentedRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.TabletExternallyReparentedRequest; + + /** + * Creates a plain object from a TabletExternallyReparentedRequest message. Also converts values to other types if specified. + * @param message TabletExternallyReparentedRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.TabletExternallyReparentedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this TabletExternallyReparentedRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TabletExternallyReparentedRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a TabletExternallyReparentedResponse. */ + interface ITabletExternallyReparentedResponse { + + /** TabletExternallyReparentedResponse keyspace */ + keyspace?: (string|null); + + /** TabletExternallyReparentedResponse shard */ + shard?: (string|null); + + /** TabletExternallyReparentedResponse new_primary */ + new_primary?: (topodata.ITabletAlias|null); + + /** TabletExternallyReparentedResponse old_primary */ + old_primary?: (topodata.ITabletAlias|null); + } + + /** Represents a TabletExternallyReparentedResponse. */ + class TabletExternallyReparentedResponse implements ITabletExternallyReparentedResponse { + + /** + * Constructs a new TabletExternallyReparentedResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.ITabletExternallyReparentedResponse); + + /** TabletExternallyReparentedResponse keyspace. */ + public keyspace: string; + + /** TabletExternallyReparentedResponse shard. */ + public shard: string; + + /** TabletExternallyReparentedResponse new_primary. */ + public new_primary?: (topodata.ITabletAlias|null); + + /** TabletExternallyReparentedResponse old_primary. */ + public old_primary?: (topodata.ITabletAlias|null); + + /** + * Creates a new TabletExternallyReparentedResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TabletExternallyReparentedResponse instance + */ + public static create(properties?: vtctldata.ITabletExternallyReparentedResponse): vtctldata.TabletExternallyReparentedResponse; + + /** + * Encodes the specified TabletExternallyReparentedResponse message. Does not implicitly {@link vtctldata.TabletExternallyReparentedResponse.verify|verify} messages. + * @param message TabletExternallyReparentedResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.ITabletExternallyReparentedResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified TabletExternallyReparentedResponse message, length delimited. Does not implicitly {@link vtctldata.TabletExternallyReparentedResponse.verify|verify} messages. + * @param message TabletExternallyReparentedResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.ITabletExternallyReparentedResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TabletExternallyReparentedResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TabletExternallyReparentedResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TabletExternallyReparentedResponse; + + /** + * Decodes a TabletExternallyReparentedResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns TabletExternallyReparentedResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TabletExternallyReparentedResponse; + + /** + * Verifies a TabletExternallyReparentedResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a TabletExternallyReparentedResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns TabletExternallyReparentedResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.TabletExternallyReparentedResponse; + + /** + * Creates a plain object from a TabletExternallyReparentedResponse message. Also converts values to other types if specified. + * @param message TabletExternallyReparentedResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.TabletExternallyReparentedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this TabletExternallyReparentedResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TabletExternallyReparentedResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an UpdateCellInfoRequest. */ + interface IUpdateCellInfoRequest { + + /** UpdateCellInfoRequest name */ + name?: (string|null); + + /** UpdateCellInfoRequest cell_info */ + cell_info?: (topodata.ICellInfo|null); + } + + /** Represents an UpdateCellInfoRequest. */ + class UpdateCellInfoRequest implements IUpdateCellInfoRequest { + + /** + * Constructs a new UpdateCellInfoRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IUpdateCellInfoRequest); + + /** UpdateCellInfoRequest name. */ + public name: string; + + /** UpdateCellInfoRequest cell_info. */ + public cell_info?: (topodata.ICellInfo|null); + + /** + * Creates a new UpdateCellInfoRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns UpdateCellInfoRequest instance + */ + public static create(properties?: vtctldata.IUpdateCellInfoRequest): vtctldata.UpdateCellInfoRequest; + + /** + * Encodes the specified UpdateCellInfoRequest message. Does not implicitly {@link vtctldata.UpdateCellInfoRequest.verify|verify} messages. + * @param message UpdateCellInfoRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IUpdateCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified UpdateCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.UpdateCellInfoRequest.verify|verify} messages. + * @param message UpdateCellInfoRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IUpdateCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UpdateCellInfoRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UpdateCellInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellInfoRequest; + + /** + * Decodes an UpdateCellInfoRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns UpdateCellInfoRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellInfoRequest; + + /** + * Verifies an UpdateCellInfoRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an UpdateCellInfoRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns UpdateCellInfoRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellInfoRequest; + + /** + * Creates a plain object from an UpdateCellInfoRequest message. Also converts values to other types if specified. + * @param message UpdateCellInfoRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.UpdateCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this UpdateCellInfoRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateCellInfoRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an UpdateCellInfoResponse. */ + interface IUpdateCellInfoResponse { + + /** UpdateCellInfoResponse name */ + name?: (string|null); + + /** UpdateCellInfoResponse cell_info */ + cell_info?: (topodata.ICellInfo|null); + } + + /** Represents an UpdateCellInfoResponse. */ + class UpdateCellInfoResponse implements IUpdateCellInfoResponse { + + /** + * Constructs a new UpdateCellInfoResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IUpdateCellInfoResponse); + + /** UpdateCellInfoResponse name. */ + public name: string; + + /** UpdateCellInfoResponse cell_info. */ + public cell_info?: (topodata.ICellInfo|null); + + /** + * Creates a new UpdateCellInfoResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns UpdateCellInfoResponse instance + */ + public static create(properties?: vtctldata.IUpdateCellInfoResponse): vtctldata.UpdateCellInfoResponse; + + /** + * Encodes the specified UpdateCellInfoResponse message. Does not implicitly {@link vtctldata.UpdateCellInfoResponse.verify|verify} messages. + * @param message UpdateCellInfoResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IUpdateCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified UpdateCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.UpdateCellInfoResponse.verify|verify} messages. + * @param message UpdateCellInfoResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IUpdateCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UpdateCellInfoResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UpdateCellInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellInfoResponse; + + /** + * Decodes an UpdateCellInfoResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns UpdateCellInfoResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellInfoResponse; + + /** + * Verifies an UpdateCellInfoResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an UpdateCellInfoResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns UpdateCellInfoResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellInfoResponse; + + /** + * Creates a plain object from an UpdateCellInfoResponse message. Also converts values to other types if specified. + * @param message UpdateCellInfoResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.UpdateCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this UpdateCellInfoResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateCellInfoResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an UpdateCellsAliasRequest. */ + interface IUpdateCellsAliasRequest { + + /** UpdateCellsAliasRequest name */ + name?: (string|null); + + /** UpdateCellsAliasRequest cells_alias */ + cells_alias?: (topodata.ICellsAlias|null); + } + + /** Represents an UpdateCellsAliasRequest. */ + class UpdateCellsAliasRequest implements IUpdateCellsAliasRequest { + + /** + * Constructs a new UpdateCellsAliasRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IUpdateCellsAliasRequest); + + /** UpdateCellsAliasRequest name. */ + public name: string; + + /** UpdateCellsAliasRequest cells_alias. */ + public cells_alias?: (topodata.ICellsAlias|null); + + /** + * Creates a new UpdateCellsAliasRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns UpdateCellsAliasRequest instance + */ + public static create(properties?: vtctldata.IUpdateCellsAliasRequest): vtctldata.UpdateCellsAliasRequest; + + /** + * Encodes the specified UpdateCellsAliasRequest message. Does not implicitly {@link vtctldata.UpdateCellsAliasRequest.verify|verify} messages. + * @param message UpdateCellsAliasRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IUpdateCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified UpdateCellsAliasRequest message, length delimited. Does not implicitly {@link vtctldata.UpdateCellsAliasRequest.verify|verify} messages. + * @param message UpdateCellsAliasRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IUpdateCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UpdateCellsAliasRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UpdateCellsAliasRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellsAliasRequest; + + /** + * Decodes an UpdateCellsAliasRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns UpdateCellsAliasRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellsAliasRequest; + + /** + * Verifies an UpdateCellsAliasRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an UpdateCellsAliasRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns UpdateCellsAliasRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellsAliasRequest; + + /** + * Creates a plain object from an UpdateCellsAliasRequest message. Also converts values to other types if specified. + * @param message UpdateCellsAliasRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.UpdateCellsAliasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this UpdateCellsAliasRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateCellsAliasRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an UpdateCellsAliasResponse. */ + interface IUpdateCellsAliasResponse { + + /** UpdateCellsAliasResponse name */ + name?: (string|null); + + /** UpdateCellsAliasResponse cells_alias */ + cells_alias?: (topodata.ICellsAlias|null); + } + + /** Represents an UpdateCellsAliasResponse. */ + class UpdateCellsAliasResponse implements IUpdateCellsAliasResponse { + + /** + * Constructs a new UpdateCellsAliasResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IUpdateCellsAliasResponse); + + /** UpdateCellsAliasResponse name. */ + public name: string; + + /** UpdateCellsAliasResponse cells_alias. */ + public cells_alias?: (topodata.ICellsAlias|null); + + /** + * Creates a new UpdateCellsAliasResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns UpdateCellsAliasResponse instance + */ + public static create(properties?: vtctldata.IUpdateCellsAliasResponse): vtctldata.UpdateCellsAliasResponse; + + /** + * Encodes the specified UpdateCellsAliasResponse message. Does not implicitly {@link vtctldata.UpdateCellsAliasResponse.verify|verify} messages. + * @param message UpdateCellsAliasResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IUpdateCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified UpdateCellsAliasResponse message, length delimited. Does not implicitly {@link vtctldata.UpdateCellsAliasResponse.verify|verify} messages. + * @param message UpdateCellsAliasResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IUpdateCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UpdateCellsAliasResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UpdateCellsAliasResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellsAliasResponse; + + /** + * Decodes an UpdateCellsAliasResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns UpdateCellsAliasResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellsAliasResponse; + + /** + * Verifies an UpdateCellsAliasResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an UpdateCellsAliasResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns UpdateCellsAliasResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellsAliasResponse; + + /** + * Creates a plain object from an UpdateCellsAliasResponse message. Also converts values to other types if specified. + * @param message UpdateCellsAliasResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.UpdateCellsAliasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this UpdateCellsAliasResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateCellsAliasResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateRequest. */ + interface IValidateRequest { + + /** ValidateRequest ping_tablets */ + ping_tablets?: (boolean|null); + } + + /** Represents a ValidateRequest. */ + class ValidateRequest implements IValidateRequest { + + /** + * Constructs a new ValidateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateRequest); + + /** ValidateRequest ping_tablets. */ + public ping_tablets: boolean; + + /** + * Creates a new ValidateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateRequest instance + */ + public static create(properties?: vtctldata.IValidateRequest): vtctldata.ValidateRequest; + + /** + * Encodes the specified ValidateRequest message. Does not implicitly {@link vtctldata.ValidateRequest.verify|verify} messages. + * @param message ValidateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateRequest.verify|verify} messages. + * @param message ValidateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateRequest; + + /** + * Decodes a ValidateRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateRequest; + + /** + * Verifies a ValidateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateRequest; + + /** + * Creates a plain object from a ValidateRequest message. Also converts values to other types if specified. + * @param message ValidateRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateResponse. */ + interface IValidateResponse { + + /** ValidateResponse results */ + results?: (string[]|null); + + /** ValidateResponse results_by_keyspace */ + results_by_keyspace?: ({ [k: string]: vtctldata.IValidateKeyspaceResponse }|null); + } + + /** Represents a ValidateResponse. */ + class ValidateResponse implements IValidateResponse { + + /** + * Constructs a new ValidateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateResponse); + + /** ValidateResponse results. */ + public results: string[]; + + /** ValidateResponse results_by_keyspace. */ + public results_by_keyspace: { [k: string]: vtctldata.IValidateKeyspaceResponse }; + + /** + * Creates a new ValidateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateResponse instance + */ + public static create(properties?: vtctldata.IValidateResponse): vtctldata.ValidateResponse; + + /** + * Encodes the specified ValidateResponse message. Does not implicitly {@link vtctldata.ValidateResponse.verify|verify} messages. + * @param message ValidateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateResponse.verify|verify} messages. + * @param message ValidateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateResponse; + + /** + * Decodes a ValidateResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateResponse; + + /** + * Verifies a ValidateResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateResponse; + + /** + * Creates a plain object from a ValidateResponse message. Also converts values to other types if specified. + * @param message ValidateResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateKeyspaceRequest. */ + interface IValidateKeyspaceRequest { + + /** ValidateKeyspaceRequest keyspace */ + keyspace?: (string|null); + + /** ValidateKeyspaceRequest ping_tablets */ + ping_tablets?: (boolean|null); + } + + /** Represents a ValidateKeyspaceRequest. */ + class ValidateKeyspaceRequest implements IValidateKeyspaceRequest { + + /** + * Constructs a new ValidateKeyspaceRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateKeyspaceRequest); + + /** ValidateKeyspaceRequest keyspace. */ + public keyspace: string; + + /** ValidateKeyspaceRequest ping_tablets. */ + public ping_tablets: boolean; + + /** + * Creates a new ValidateKeyspaceRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateKeyspaceRequest instance + */ + public static create(properties?: vtctldata.IValidateKeyspaceRequest): vtctldata.ValidateKeyspaceRequest; + + /** + * Encodes the specified ValidateKeyspaceRequest message. Does not implicitly {@link vtctldata.ValidateKeyspaceRequest.verify|verify} messages. + * @param message ValidateKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateKeyspaceRequest.verify|verify} messages. + * @param message ValidateKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateKeyspaceRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateKeyspaceRequest; + + /** + * Decodes a ValidateKeyspaceRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateKeyspaceRequest; + + /** + * Verifies a ValidateKeyspaceRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateKeyspaceRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateKeyspaceRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateKeyspaceRequest; + + /** + * Creates a plain object from a ValidateKeyspaceRequest message. Also converts values to other types if specified. + * @param message ValidateKeyspaceRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateKeyspaceRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateKeyspaceRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateKeyspaceResponse. */ + interface IValidateKeyspaceResponse { + + /** ValidateKeyspaceResponse results */ + results?: (string[]|null); + + /** ValidateKeyspaceResponse results_by_shard */ + results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); + } + + /** Represents a ValidateKeyspaceResponse. */ + class ValidateKeyspaceResponse implements IValidateKeyspaceResponse { + + /** + * Constructs a new ValidateKeyspaceResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateKeyspaceResponse); + + /** ValidateKeyspaceResponse results. */ + public results: string[]; + + /** ValidateKeyspaceResponse results_by_shard. */ + public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; + + /** + * Creates a new ValidateKeyspaceResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateKeyspaceResponse instance + */ + public static create(properties?: vtctldata.IValidateKeyspaceResponse): vtctldata.ValidateKeyspaceResponse; + + /** + * Encodes the specified ValidateKeyspaceResponse message. Does not implicitly {@link vtctldata.ValidateKeyspaceResponse.verify|verify} messages. + * @param message ValidateKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateKeyspaceResponse.verify|verify} messages. + * @param message ValidateKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateKeyspaceResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateKeyspaceResponse; + + /** + * Decodes a ValidateKeyspaceResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateKeyspaceResponse; + + /** + * Verifies a ValidateKeyspaceResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateKeyspaceResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateKeyspaceResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateKeyspaceResponse; + + /** + * Creates a plain object from a ValidateKeyspaceResponse message. Also converts values to other types if specified. + * @param message ValidateKeyspaceResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateKeyspaceResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateKeyspaceResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateSchemaKeyspaceRequest. */ + interface IValidateSchemaKeyspaceRequest { + + /** ValidateSchemaKeyspaceRequest keyspace */ + keyspace?: (string|null); + + /** ValidateSchemaKeyspaceRequest exclude_tables */ + exclude_tables?: (string[]|null); + + /** ValidateSchemaKeyspaceRequest include_views */ + include_views?: (boolean|null); + + /** ValidateSchemaKeyspaceRequest skip_no_primary */ + skip_no_primary?: (boolean|null); + + /** ValidateSchemaKeyspaceRequest include_vschema */ + include_vschema?: (boolean|null); + } + + /** Represents a ValidateSchemaKeyspaceRequest. */ + class ValidateSchemaKeyspaceRequest implements IValidateSchemaKeyspaceRequest { + + /** + * Constructs a new ValidateSchemaKeyspaceRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateSchemaKeyspaceRequest); + + /** ValidateSchemaKeyspaceRequest keyspace. */ + public keyspace: string; + + /** ValidateSchemaKeyspaceRequest exclude_tables. */ + public exclude_tables: string[]; + + /** ValidateSchemaKeyspaceRequest include_views. */ + public include_views: boolean; + + /** ValidateSchemaKeyspaceRequest skip_no_primary. */ + public skip_no_primary: boolean; + + /** ValidateSchemaKeyspaceRequest include_vschema. */ + public include_vschema: boolean; + + /** + * Creates a new ValidateSchemaKeyspaceRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateSchemaKeyspaceRequest instance + */ + public static create(properties?: vtctldata.IValidateSchemaKeyspaceRequest): vtctldata.ValidateSchemaKeyspaceRequest; + + /** + * Encodes the specified ValidateSchemaKeyspaceRequest message. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceRequest.verify|verify} messages. + * @param message ValidateSchemaKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateSchemaKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceRequest.verify|verify} messages. + * @param message ValidateSchemaKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateSchemaKeyspaceRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateSchemaKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateSchemaKeyspaceRequest; + + /** + * Decodes a ValidateSchemaKeyspaceRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateSchemaKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateSchemaKeyspaceRequest; + + /** + * Verifies a ValidateSchemaKeyspaceRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateSchemaKeyspaceRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateSchemaKeyspaceRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateSchemaKeyspaceRequest; + + /** + * Creates a plain object from a ValidateSchemaKeyspaceRequest message. Also converts values to other types if specified. + * @param message ValidateSchemaKeyspaceRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateSchemaKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateSchemaKeyspaceRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateSchemaKeyspaceRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateSchemaKeyspaceResponse. */ + interface IValidateSchemaKeyspaceResponse { + + /** ValidateSchemaKeyspaceResponse results */ + results?: (string[]|null); + + /** ValidateSchemaKeyspaceResponse results_by_shard */ + results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); + } + + /** Represents a ValidateSchemaKeyspaceResponse. */ + class ValidateSchemaKeyspaceResponse implements IValidateSchemaKeyspaceResponse { + + /** + * Constructs a new ValidateSchemaKeyspaceResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateSchemaKeyspaceResponse); + + /** ValidateSchemaKeyspaceResponse results. */ + public results: string[]; + + /** ValidateSchemaKeyspaceResponse results_by_shard. */ + public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; + + /** + * Creates a new ValidateSchemaKeyspaceResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateSchemaKeyspaceResponse instance + */ + public static create(properties?: vtctldata.IValidateSchemaKeyspaceResponse): vtctldata.ValidateSchemaKeyspaceResponse; + + /** + * Encodes the specified ValidateSchemaKeyspaceResponse message. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceResponse.verify|verify} messages. + * @param message ValidateSchemaKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateSchemaKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceResponse.verify|verify} messages. + * @param message ValidateSchemaKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateSchemaKeyspaceResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateSchemaKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateSchemaKeyspaceResponse; + + /** + * Decodes a ValidateSchemaKeyspaceResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateSchemaKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateSchemaKeyspaceResponse; + + /** + * Verifies a ValidateSchemaKeyspaceResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateSchemaKeyspaceResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateSchemaKeyspaceResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateSchemaKeyspaceResponse; + + /** + * Creates a plain object from a ValidateSchemaKeyspaceResponse message. Also converts values to other types if specified. + * @param message ValidateSchemaKeyspaceResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateSchemaKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateSchemaKeyspaceResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateSchemaKeyspaceResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateShardRequest. */ + interface IValidateShardRequest { + + /** ValidateShardRequest keyspace */ + keyspace?: (string|null); + + /** ValidateShardRequest shard */ + shard?: (string|null); + + /** ValidateShardRequest ping_tablets */ + ping_tablets?: (boolean|null); + } + + /** Represents a ValidateShardRequest. */ + class ValidateShardRequest implements IValidateShardRequest { + + /** + * Constructs a new ValidateShardRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateShardRequest); + + /** ValidateShardRequest keyspace. */ + public keyspace: string; + + /** ValidateShardRequest shard. */ + public shard: string; + + /** ValidateShardRequest ping_tablets. */ + public ping_tablets: boolean; + + /** + * Creates a new ValidateShardRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateShardRequest instance + */ + public static create(properties?: vtctldata.IValidateShardRequest): vtctldata.ValidateShardRequest; + + /** + * Encodes the specified ValidateShardRequest message. Does not implicitly {@link vtctldata.ValidateShardRequest.verify|verify} messages. + * @param message ValidateShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateShardRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateShardRequest.verify|verify} messages. + * @param message ValidateShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateShardRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateShardRequest; + + /** + * Decodes a ValidateShardRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateShardRequest; + + /** + * Verifies a ValidateShardRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateShardRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateShardRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateShardRequest; + + /** + * Creates a plain object from a ValidateShardRequest message. Also converts values to other types if specified. + * @param message ValidateShardRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateShardRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateShardRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateShardResponse. */ + interface IValidateShardResponse { + + /** ValidateShardResponse results */ + results?: (string[]|null); + } + + /** Represents a ValidateShardResponse. */ + class ValidateShardResponse implements IValidateShardResponse { + + /** + * Constructs a new ValidateShardResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateShardResponse); + + /** ValidateShardResponse results. */ + public results: string[]; + + /** + * Creates a new ValidateShardResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateShardResponse instance + */ + public static create(properties?: vtctldata.IValidateShardResponse): vtctldata.ValidateShardResponse; + + /** + * Encodes the specified ValidateShardResponse message. Does not implicitly {@link vtctldata.ValidateShardResponse.verify|verify} messages. + * @param message ValidateShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateShardResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateShardResponse.verify|verify} messages. + * @param message ValidateShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateShardResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateShardResponse; + + /** + * Decodes a ValidateShardResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateShardResponse; + + /** + * Verifies a ValidateShardResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateShardResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateShardResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateShardResponse; + + /** + * Creates a plain object from a ValidateShardResponse message. Also converts values to other types if specified. + * @param message ValidateShardResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateShardResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateShardResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateVersionKeyspaceRequest. */ + interface IValidateVersionKeyspaceRequest { + + /** ValidateVersionKeyspaceRequest keyspace */ + keyspace?: (string|null); + } + + /** Represents a ValidateVersionKeyspaceRequest. */ + class ValidateVersionKeyspaceRequest implements IValidateVersionKeyspaceRequest { + + /** + * Constructs a new ValidateVersionKeyspaceRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateVersionKeyspaceRequest); + + /** ValidateVersionKeyspaceRequest keyspace. */ + public keyspace: string; + + /** + * Creates a new ValidateVersionKeyspaceRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateVersionKeyspaceRequest instance + */ + public static create(properties?: vtctldata.IValidateVersionKeyspaceRequest): vtctldata.ValidateVersionKeyspaceRequest; + + /** + * Encodes the specified ValidateVersionKeyspaceRequest message. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceRequest.verify|verify} messages. + * @param message ValidateVersionKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateVersionKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateVersionKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceRequest.verify|verify} messages. + * @param message ValidateVersionKeyspaceRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateVersionKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateVersionKeyspaceRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateVersionKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionKeyspaceRequest; + + /** + * Decodes a ValidateVersionKeyspaceRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateVersionKeyspaceRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionKeyspaceRequest; + + /** + * Verifies a ValidateVersionKeyspaceRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateVersionKeyspaceRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateVersionKeyspaceRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionKeyspaceRequest; + + /** + * Creates a plain object from a ValidateVersionKeyspaceRequest message. Also converts values to other types if specified. + * @param message ValidateVersionKeyspaceRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateVersionKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateVersionKeyspaceRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateVersionKeyspaceRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateVersionKeyspaceResponse. */ + interface IValidateVersionKeyspaceResponse { + + /** ValidateVersionKeyspaceResponse results */ + results?: (string[]|null); + + /** ValidateVersionKeyspaceResponse results_by_shard */ + results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); + } + + /** Represents a ValidateVersionKeyspaceResponse. */ + class ValidateVersionKeyspaceResponse implements IValidateVersionKeyspaceResponse { + + /** + * Constructs a new ValidateVersionKeyspaceResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateVersionKeyspaceResponse); + + /** ValidateVersionKeyspaceResponse results. */ + public results: string[]; + + /** ValidateVersionKeyspaceResponse results_by_shard. */ + public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; + + /** + * Creates a new ValidateVersionKeyspaceResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateVersionKeyspaceResponse instance + */ + public static create(properties?: vtctldata.IValidateVersionKeyspaceResponse): vtctldata.ValidateVersionKeyspaceResponse; + + /** + * Encodes the specified ValidateVersionKeyspaceResponse message. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceResponse.verify|verify} messages. + * @param message ValidateVersionKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateVersionKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateVersionKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceResponse.verify|verify} messages. + * @param message ValidateVersionKeyspaceResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateVersionKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateVersionKeyspaceResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateVersionKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionKeyspaceResponse; + + /** + * Decodes a ValidateVersionKeyspaceResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateVersionKeyspaceResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionKeyspaceResponse; + + /** + * Verifies a ValidateVersionKeyspaceResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateVersionKeyspaceResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateVersionKeyspaceResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionKeyspaceResponse; + + /** + * Creates a plain object from a ValidateVersionKeyspaceResponse message. Also converts values to other types if specified. + * @param message ValidateVersionKeyspaceResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateVersionKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateVersionKeyspaceResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateVersionKeyspaceResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateVersionShardRequest. */ + interface IValidateVersionShardRequest { + + /** ValidateVersionShardRequest keyspace */ + keyspace?: (string|null); + + /** ValidateVersionShardRequest shard */ + shard?: (string|null); + } + + /** Represents a ValidateVersionShardRequest. */ + class ValidateVersionShardRequest implements IValidateVersionShardRequest { + + /** + * Constructs a new ValidateVersionShardRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateVersionShardRequest); + + /** ValidateVersionShardRequest keyspace. */ + public keyspace: string; + + /** ValidateVersionShardRequest shard. */ + public shard: string; + + /** + * Creates a new ValidateVersionShardRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateVersionShardRequest instance + */ + public static create(properties?: vtctldata.IValidateVersionShardRequest): vtctldata.ValidateVersionShardRequest; + + /** + * Encodes the specified ValidateVersionShardRequest message. Does not implicitly {@link vtctldata.ValidateVersionShardRequest.verify|verify} messages. + * @param message ValidateVersionShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateVersionShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateVersionShardRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionShardRequest.verify|verify} messages. + * @param message ValidateVersionShardRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateVersionShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateVersionShardRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateVersionShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionShardRequest; + + /** + * Decodes a ValidateVersionShardRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateVersionShardRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionShardRequest; + + /** + * Verifies a ValidateVersionShardRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateVersionShardRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateVersionShardRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionShardRequest; + + /** + * Creates a plain object from a ValidateVersionShardRequest message. Also converts values to other types if specified. + * @param message ValidateVersionShardRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateVersionShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateVersionShardRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateVersionShardRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateVersionShardResponse. */ + interface IValidateVersionShardResponse { + + /** ValidateVersionShardResponse results */ + results?: (string[]|null); + } + + /** Represents a ValidateVersionShardResponse. */ + class ValidateVersionShardResponse implements IValidateVersionShardResponse { + + /** + * Constructs a new ValidateVersionShardResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateVersionShardResponse); + + /** ValidateVersionShardResponse results. */ + public results: string[]; + + /** + * Creates a new ValidateVersionShardResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateVersionShardResponse instance + */ + public static create(properties?: vtctldata.IValidateVersionShardResponse): vtctldata.ValidateVersionShardResponse; + + /** + * Encodes the specified ValidateVersionShardResponse message. Does not implicitly {@link vtctldata.ValidateVersionShardResponse.verify|verify} messages. + * @param message ValidateVersionShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateVersionShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateVersionShardResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionShardResponse.verify|verify} messages. + * @param message ValidateVersionShardResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateVersionShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateVersionShardResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateVersionShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionShardResponse; + + /** + * Decodes a ValidateVersionShardResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateVersionShardResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionShardResponse; + + /** + * Verifies a ValidateVersionShardResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateVersionShardResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateVersionShardResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionShardResponse; + + /** + * Creates a plain object from a ValidateVersionShardResponse message. Also converts values to other types if specified. + * @param message ValidateVersionShardResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateVersionShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateVersionShardResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateVersionShardResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateVSchemaRequest. */ + interface IValidateVSchemaRequest { + + /** ValidateVSchemaRequest keyspace */ + keyspace?: (string|null); + + /** ValidateVSchemaRequest shards */ + shards?: (string[]|null); + + /** ValidateVSchemaRequest exclude_tables */ + exclude_tables?: (string[]|null); + + /** ValidateVSchemaRequest include_views */ + include_views?: (boolean|null); + } + + /** Represents a ValidateVSchemaRequest. */ + class ValidateVSchemaRequest implements IValidateVSchemaRequest { + + /** + * Constructs a new ValidateVSchemaRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateVSchemaRequest); + + /** ValidateVSchemaRequest keyspace. */ + public keyspace: string; + + /** ValidateVSchemaRequest shards. */ + public shards: string[]; + + /** ValidateVSchemaRequest exclude_tables. */ + public exclude_tables: string[]; + + /** ValidateVSchemaRequest include_views. */ + public include_views: boolean; + + /** + * Creates a new ValidateVSchemaRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateVSchemaRequest instance + */ + public static create(properties?: vtctldata.IValidateVSchemaRequest): vtctldata.ValidateVSchemaRequest; + + /** + * Encodes the specified ValidateVSchemaRequest message. Does not implicitly {@link vtctldata.ValidateVSchemaRequest.verify|verify} messages. + * @param message ValidateVSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateVSchemaRequest.verify|verify} messages. + * @param message ValidateVSchemaRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateVSchemaRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateVSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVSchemaRequest; + + /** + * Decodes a ValidateVSchemaRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateVSchemaRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVSchemaRequest; + + /** + * Verifies a ValidateVSchemaRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateVSchemaRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateVSchemaRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVSchemaRequest; + + /** + * Creates a plain object from a ValidateVSchemaRequest message. Also converts values to other types if specified. + * @param message ValidateVSchemaRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateVSchemaRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateVSchemaRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ValidateVSchemaResponse. */ + interface IValidateVSchemaResponse { + + /** ValidateVSchemaResponse results */ + results?: (string[]|null); + + /** ValidateVSchemaResponse results_by_shard */ + results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); + } + + /** Represents a ValidateVSchemaResponse. */ + class ValidateVSchemaResponse implements IValidateVSchemaResponse { + + /** + * Constructs a new ValidateVSchemaResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IValidateVSchemaResponse); + + /** ValidateVSchemaResponse results. */ + public results: string[]; + + /** ValidateVSchemaResponse results_by_shard. */ + public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; + + /** + * Creates a new ValidateVSchemaResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ValidateVSchemaResponse instance + */ + public static create(properties?: vtctldata.IValidateVSchemaResponse): vtctldata.ValidateVSchemaResponse; + + /** + * Encodes the specified ValidateVSchemaResponse message. Does not implicitly {@link vtctldata.ValidateVSchemaResponse.verify|verify} messages. + * @param message ValidateVSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IValidateVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ValidateVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateVSchemaResponse.verify|verify} messages. + * @param message ValidateVSchemaResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IValidateVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ValidateVSchemaResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ValidateVSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVSchemaResponse; + + /** + * Decodes a ValidateVSchemaResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ValidateVSchemaResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVSchemaResponse; + + /** + * Verifies a ValidateVSchemaResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ValidateVSchemaResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ValidateVSchemaResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVSchemaResponse; + + /** + * Creates a plain object from a ValidateVSchemaResponse message. Also converts values to other types if specified. + * @param message ValidateVSchemaResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.ValidateVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ValidateVSchemaResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ValidateVSchemaResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VDiffCreateRequest. */ + interface IVDiffCreateRequest { + + /** VDiffCreateRequest workflow */ + workflow?: (string|null); + + /** VDiffCreateRequest target_keyspace */ + target_keyspace?: (string|null); + + /** VDiffCreateRequest uuid */ + uuid?: (string|null); + + /** VDiffCreateRequest source_cells */ + source_cells?: (string[]|null); + + /** VDiffCreateRequest target_cells */ + target_cells?: (string[]|null); + + /** VDiffCreateRequest tablet_types */ + tablet_types?: (topodata.TabletType[]|null); + + /** VDiffCreateRequest tablet_selection_preference */ + tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); + + /** VDiffCreateRequest tables */ + tables?: (string[]|null); + + /** VDiffCreateRequest limit */ + limit?: (number|Long|null); + + /** VDiffCreateRequest filtered_replication_wait_time */ + filtered_replication_wait_time?: (vttime.IDuration|null); + + /** VDiffCreateRequest debug_query */ + debug_query?: (boolean|null); + + /** VDiffCreateRequest only_p_ks */ + only_p_ks?: (boolean|null); + + /** VDiffCreateRequest update_table_stats */ + update_table_stats?: (boolean|null); + + /** VDiffCreateRequest max_extra_rows_to_compare */ + max_extra_rows_to_compare?: (number|Long|null); + + /** VDiffCreateRequest wait */ + wait?: (boolean|null); + + /** VDiffCreateRequest wait_update_interval */ + wait_update_interval?: (vttime.IDuration|null); + + /** VDiffCreateRequest auto_retry */ + auto_retry?: (boolean|null); + + /** VDiffCreateRequest verbose */ + verbose?: (boolean|null); + + /** VDiffCreateRequest max_report_sample_rows */ + max_report_sample_rows?: (number|Long|null); + + /** VDiffCreateRequest max_diff_duration */ + max_diff_duration?: (vttime.IDuration|null); + + /** VDiffCreateRequest row_diff_column_truncate_at */ + row_diff_column_truncate_at?: (number|Long|null); + + /** VDiffCreateRequest auto_start */ + auto_start?: (boolean|null); + } + + /** Represents a VDiffCreateRequest. */ + class VDiffCreateRequest implements IVDiffCreateRequest { + + /** + * Constructs a new VDiffCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IVDiffCreateRequest); + + /** VDiffCreateRequest workflow. */ + public workflow: string; + + /** VDiffCreateRequest target_keyspace. */ + public target_keyspace: string; + + /** VDiffCreateRequest uuid. */ + public uuid: string; + + /** VDiffCreateRequest source_cells. */ + public source_cells: string[]; + + /** VDiffCreateRequest target_cells. */ + public target_cells: string[]; + + /** VDiffCreateRequest tablet_types. */ + public tablet_types: topodata.TabletType[]; + + /** VDiffCreateRequest tablet_selection_preference. */ + public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; + + /** VDiffCreateRequest tables. */ + public tables: string[]; + + /** VDiffCreateRequest limit. */ + public limit: (number|Long); + + /** VDiffCreateRequest filtered_replication_wait_time. */ + public filtered_replication_wait_time?: (vttime.IDuration|null); + + /** VDiffCreateRequest debug_query. */ + public debug_query: boolean; + + /** VDiffCreateRequest only_p_ks. */ + public only_p_ks: boolean; + + /** VDiffCreateRequest update_table_stats. */ + public update_table_stats: boolean; + + /** VDiffCreateRequest max_extra_rows_to_compare. */ + public max_extra_rows_to_compare: (number|Long); + + /** VDiffCreateRequest wait. */ + public wait: boolean; + + /** VDiffCreateRequest wait_update_interval. */ + public wait_update_interval?: (vttime.IDuration|null); + + /** VDiffCreateRequest auto_retry. */ + public auto_retry: boolean; + + /** VDiffCreateRequest verbose. */ + public verbose: boolean; + + /** VDiffCreateRequest max_report_sample_rows. */ + public max_report_sample_rows: (number|Long); + + /** VDiffCreateRequest max_diff_duration. */ + public max_diff_duration?: (vttime.IDuration|null); + + /** VDiffCreateRequest row_diff_column_truncate_at. */ + public row_diff_column_truncate_at: (number|Long); + + /** VDiffCreateRequest auto_start. */ + public auto_start?: (boolean|null); + + /** VDiffCreateRequest _auto_start. */ + public _auto_start?: "auto_start"; + + /** + * Creates a new VDiffCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns VDiffCreateRequest instance + */ + public static create(properties?: vtctldata.IVDiffCreateRequest): vtctldata.VDiffCreateRequest; + + /** + * Encodes the specified VDiffCreateRequest message. Does not implicitly {@link vtctldata.VDiffCreateRequest.verify|verify} messages. + * @param message VDiffCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IVDiffCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VDiffCreateRequest message, length delimited. Does not implicitly {@link vtctldata.VDiffCreateRequest.verify|verify} messages. + * @param message VDiffCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IVDiffCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VDiffCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VDiffCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffCreateRequest; + + /** + * Decodes a VDiffCreateRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VDiffCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffCreateRequest; + + /** + * Verifies a VDiffCreateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VDiffCreateRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VDiffCreateRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.VDiffCreateRequest; + + /** + * Creates a plain object from a VDiffCreateRequest message. Also converts values to other types if specified. + * @param message VDiffCreateRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.VDiffCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VDiffCreateRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VDiffCreateRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VDiffCreateResponse. */ + interface IVDiffCreateResponse { + + /** VDiffCreateResponse UUID */ + UUID?: (string|null); + } + + /** Represents a VDiffCreateResponse. */ + class VDiffCreateResponse implements IVDiffCreateResponse { + + /** + * Constructs a new VDiffCreateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IVDiffCreateResponse); + + /** VDiffCreateResponse UUID. */ + public UUID: string; + + /** + * Creates a new VDiffCreateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns VDiffCreateResponse instance + */ + public static create(properties?: vtctldata.IVDiffCreateResponse): vtctldata.VDiffCreateResponse; + + /** + * Encodes the specified VDiffCreateResponse message. Does not implicitly {@link vtctldata.VDiffCreateResponse.verify|verify} messages. + * @param message VDiffCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IVDiffCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VDiffCreateResponse message, length delimited. Does not implicitly {@link vtctldata.VDiffCreateResponse.verify|verify} messages. + * @param message VDiffCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IVDiffCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VDiffCreateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VDiffCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffCreateResponse; + + /** + * Decodes a VDiffCreateResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VDiffCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffCreateResponse; + + /** + * Verifies a VDiffCreateResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VDiffCreateResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VDiffCreateResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.VDiffCreateResponse; + + /** + * Creates a plain object from a VDiffCreateResponse message. Also converts values to other types if specified. + * @param message VDiffCreateResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.VDiffCreateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VDiffCreateResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VDiffCreateResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VDiffDeleteRequest. */ + interface IVDiffDeleteRequest { + + /** VDiffDeleteRequest workflow */ + workflow?: (string|null); + + /** VDiffDeleteRequest target_keyspace */ + target_keyspace?: (string|null); + + /** VDiffDeleteRequest arg */ + arg?: (string|null); + } + + /** Represents a VDiffDeleteRequest. */ + class VDiffDeleteRequest implements IVDiffDeleteRequest { + + /** + * Constructs a new VDiffDeleteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IVDiffDeleteRequest); + + /** VDiffDeleteRequest workflow. */ + public workflow: string; + + /** VDiffDeleteRequest target_keyspace. */ + public target_keyspace: string; + + /** VDiffDeleteRequest arg. */ + public arg: string; + + /** + * Creates a new VDiffDeleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns VDiffDeleteRequest instance + */ + public static create(properties?: vtctldata.IVDiffDeleteRequest): vtctldata.VDiffDeleteRequest; + + /** + * Encodes the specified VDiffDeleteRequest message. Does not implicitly {@link vtctldata.VDiffDeleteRequest.verify|verify} messages. + * @param message VDiffDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IVDiffDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VDiffDeleteRequest message, length delimited. Does not implicitly {@link vtctldata.VDiffDeleteRequest.verify|verify} messages. + * @param message VDiffDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IVDiffDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VDiffDeleteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VDiffDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffDeleteRequest; + + /** + * Decodes a VDiffDeleteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VDiffDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffDeleteRequest; + + /** + * Verifies a VDiffDeleteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VDiffDeleteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VDiffDeleteRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.VDiffDeleteRequest; + + /** + * Creates a plain object from a VDiffDeleteRequest message. Also converts values to other types if specified. + * @param message VDiffDeleteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.VDiffDeleteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VDiffDeleteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VDiffDeleteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VDiffDeleteResponse. */ + interface IVDiffDeleteResponse { + } + + /** Represents a VDiffDeleteResponse. */ + class VDiffDeleteResponse implements IVDiffDeleteResponse { + + /** + * Constructs a new VDiffDeleteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IVDiffDeleteResponse); + + /** + * Creates a new VDiffDeleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns VDiffDeleteResponse instance + */ + public static create(properties?: vtctldata.IVDiffDeleteResponse): vtctldata.VDiffDeleteResponse; + + /** + * Encodes the specified VDiffDeleteResponse message. Does not implicitly {@link vtctldata.VDiffDeleteResponse.verify|verify} messages. + * @param message VDiffDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IVDiffDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VDiffDeleteResponse message, length delimited. Does not implicitly {@link vtctldata.VDiffDeleteResponse.verify|verify} messages. + * @param message VDiffDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IVDiffDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VDiffDeleteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VDiffDeleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffDeleteResponse; + + /** + * Decodes a VDiffDeleteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VDiffDeleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffDeleteResponse; + + /** + * Verifies a VDiffDeleteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VDiffDeleteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VDiffDeleteResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.VDiffDeleteResponse; + + /** + * Creates a plain object from a VDiffDeleteResponse message. Also converts values to other types if specified. + * @param message VDiffDeleteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.VDiffDeleteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VDiffDeleteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VDiffDeleteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VDiffResumeRequest. */ + interface IVDiffResumeRequest { + + /** VDiffResumeRequest workflow */ + workflow?: (string|null); + + /** VDiffResumeRequest target_keyspace */ + target_keyspace?: (string|null); + + /** VDiffResumeRequest uuid */ + uuid?: (string|null); + + /** VDiffResumeRequest target_shards */ + target_shards?: (string[]|null); + } + + /** Represents a VDiffResumeRequest. */ + class VDiffResumeRequest implements IVDiffResumeRequest { + + /** + * Constructs a new VDiffResumeRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IVDiffResumeRequest); + + /** VDiffResumeRequest workflow. */ + public workflow: string; + + /** VDiffResumeRequest target_keyspace. */ + public target_keyspace: string; + + /** VDiffResumeRequest uuid. */ + public uuid: string; + + /** VDiffResumeRequest target_shards. */ + public target_shards: string[]; + + /** + * Creates a new VDiffResumeRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns VDiffResumeRequest instance + */ + public static create(properties?: vtctldata.IVDiffResumeRequest): vtctldata.VDiffResumeRequest; + + /** + * Encodes the specified VDiffResumeRequest message. Does not implicitly {@link vtctldata.VDiffResumeRequest.verify|verify} messages. + * @param message VDiffResumeRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IVDiffResumeRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VDiffResumeRequest message, length delimited. Does not implicitly {@link vtctldata.VDiffResumeRequest.verify|verify} messages. + * @param message VDiffResumeRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IVDiffResumeRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VDiffResumeRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VDiffResumeRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffResumeRequest; + + /** + * Decodes a VDiffResumeRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VDiffResumeRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffResumeRequest; + + /** + * Verifies a VDiffResumeRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VDiffResumeRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VDiffResumeRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.VDiffResumeRequest; + + /** + * Creates a plain object from a VDiffResumeRequest message. Also converts values to other types if specified. + * @param message VDiffResumeRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.VDiffResumeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VDiffResumeRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VDiffResumeRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VDiffResumeResponse. */ + interface IVDiffResumeResponse { + } + + /** Represents a VDiffResumeResponse. */ + class VDiffResumeResponse implements IVDiffResumeResponse { + + /** + * Constructs a new VDiffResumeResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IVDiffResumeResponse); + + /** + * Creates a new VDiffResumeResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns VDiffResumeResponse instance + */ + public static create(properties?: vtctldata.IVDiffResumeResponse): vtctldata.VDiffResumeResponse; + + /** + * Encodes the specified VDiffResumeResponse message. Does not implicitly {@link vtctldata.VDiffResumeResponse.verify|verify} messages. + * @param message VDiffResumeResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IVDiffResumeResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VDiffResumeResponse message, length delimited. Does not implicitly {@link vtctldata.VDiffResumeResponse.verify|verify} messages. + * @param message VDiffResumeResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IVDiffResumeResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VDiffResumeResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VDiffResumeResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffResumeResponse; + + /** + * Decodes a VDiffResumeResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VDiffResumeResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffResumeResponse; + + /** + * Verifies a VDiffResumeResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VDiffResumeResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VDiffResumeResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.VDiffResumeResponse; + + /** + * Creates a plain object from a VDiffResumeResponse message. Also converts values to other types if specified. + * @param message VDiffResumeResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.VDiffResumeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VDiffResumeResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VDiffResumeResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VDiffShowRequest. */ + interface IVDiffShowRequest { + + /** VDiffShowRequest workflow */ + workflow?: (string|null); + + /** VDiffShowRequest target_keyspace */ + target_keyspace?: (string|null); + + /** VDiffShowRequest arg */ + arg?: (string|null); + } + + /** Represents a VDiffShowRequest. */ + class VDiffShowRequest implements IVDiffShowRequest { + + /** + * Constructs a new VDiffShowRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IVDiffShowRequest); + + /** VDiffShowRequest workflow. */ + public workflow: string; + + /** VDiffShowRequest target_keyspace. */ + public target_keyspace: string; + + /** VDiffShowRequest arg. */ + public arg: string; + + /** + * Creates a new VDiffShowRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns VDiffShowRequest instance + */ + public static create(properties?: vtctldata.IVDiffShowRequest): vtctldata.VDiffShowRequest; + + /** + * Encodes the specified VDiffShowRequest message. Does not implicitly {@link vtctldata.VDiffShowRequest.verify|verify} messages. + * @param message VDiffShowRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IVDiffShowRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VDiffShowRequest message, length delimited. Does not implicitly {@link vtctldata.VDiffShowRequest.verify|verify} messages. + * @param message VDiffShowRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IVDiffShowRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VDiffShowRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VDiffShowRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffShowRequest; + + /** + * Decodes a VDiffShowRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VDiffShowRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffShowRequest; + + /** + * Verifies a VDiffShowRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VDiffShowRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VDiffShowRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.VDiffShowRequest; + + /** + * Creates a plain object from a VDiffShowRequest message. Also converts values to other types if specified. + * @param message VDiffShowRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.VDiffShowRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VDiffShowRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VDiffShowRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VDiffShowResponse. */ + interface IVDiffShowResponse { + + /** VDiffShowResponse tablet_responses */ + tablet_responses?: ({ [k: string]: tabletmanagerdata.IVDiffResponse }|null); + } + + /** Represents a VDiffShowResponse. */ + class VDiffShowResponse implements IVDiffShowResponse { + + /** + * Constructs a new VDiffShowResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IVDiffShowResponse); + + /** VDiffShowResponse tablet_responses. */ + public tablet_responses: { [k: string]: tabletmanagerdata.IVDiffResponse }; + + /** + * Creates a new VDiffShowResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns VDiffShowResponse instance + */ + public static create(properties?: vtctldata.IVDiffShowResponse): vtctldata.VDiffShowResponse; + + /** + * Encodes the specified VDiffShowResponse message. Does not implicitly {@link vtctldata.VDiffShowResponse.verify|verify} messages. + * @param message VDiffShowResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IVDiffShowResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VDiffShowResponse message, length delimited. Does not implicitly {@link vtctldata.VDiffShowResponse.verify|verify} messages. + * @param message VDiffShowResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IVDiffShowResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VDiffShowResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VDiffShowResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffShowResponse; + + /** + * Decodes a VDiffShowResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VDiffShowResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffShowResponse; + + /** + * Verifies a VDiffShowResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VDiffShowResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VDiffShowResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.VDiffShowResponse; + + /** + * Creates a plain object from a VDiffShowResponse message. Also converts values to other types if specified. + * @param message VDiffShowResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.VDiffShowResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VDiffShowResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VDiffShowResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VDiffStopRequest. */ + interface IVDiffStopRequest { + + /** VDiffStopRequest workflow */ + workflow?: (string|null); + + /** VDiffStopRequest target_keyspace */ + target_keyspace?: (string|null); + + /** VDiffStopRequest uuid */ + uuid?: (string|null); + + /** VDiffStopRequest target_shards */ + target_shards?: (string[]|null); + } + + /** Represents a VDiffStopRequest. */ + class VDiffStopRequest implements IVDiffStopRequest { + + /** + * Constructs a new VDiffStopRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IVDiffStopRequest); + + /** VDiffStopRequest workflow. */ + public workflow: string; + + /** VDiffStopRequest target_keyspace. */ + public target_keyspace: string; + + /** VDiffStopRequest uuid. */ + public uuid: string; + + /** VDiffStopRequest target_shards. */ + public target_shards: string[]; + + /** + * Creates a new VDiffStopRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns VDiffStopRequest instance + */ + public static create(properties?: vtctldata.IVDiffStopRequest): vtctldata.VDiffStopRequest; + + /** + * Encodes the specified VDiffStopRequest message. Does not implicitly {@link vtctldata.VDiffStopRequest.verify|verify} messages. + * @param message VDiffStopRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IVDiffStopRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VDiffStopRequest message, length delimited. Does not implicitly {@link vtctldata.VDiffStopRequest.verify|verify} messages. + * @param message VDiffStopRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IVDiffStopRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VDiffStopRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VDiffStopRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffStopRequest; + + /** + * Decodes a VDiffStopRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VDiffStopRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffStopRequest; + + /** + * Verifies a VDiffStopRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VDiffStopRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VDiffStopRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.VDiffStopRequest; + + /** + * Creates a plain object from a VDiffStopRequest message. Also converts values to other types if specified. + * @param message VDiffStopRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.VDiffStopRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VDiffStopRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VDiffStopRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a VDiffStopResponse. */ + interface IVDiffStopResponse { + } + + /** Represents a VDiffStopResponse. */ + class VDiffStopResponse implements IVDiffStopResponse { + + /** + * Constructs a new VDiffStopResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IVDiffStopResponse); + + /** + * Creates a new VDiffStopResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns VDiffStopResponse instance + */ + public static create(properties?: vtctldata.IVDiffStopResponse): vtctldata.VDiffStopResponse; + + /** + * Encodes the specified VDiffStopResponse message. Does not implicitly {@link vtctldata.VDiffStopResponse.verify|verify} messages. + * @param message VDiffStopResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IVDiffStopResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VDiffStopResponse message, length delimited. Does not implicitly {@link vtctldata.VDiffStopResponse.verify|verify} messages. + * @param message VDiffStopResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IVDiffStopResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VDiffStopResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns VDiffStopResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffStopResponse; + + /** + * Decodes a VDiffStopResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns VDiffStopResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffStopResponse; + + /** + * Verifies a VDiffStopResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VDiffStopResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VDiffStopResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.VDiffStopResponse; + + /** + * Creates a plain object from a VDiffStopResponse message. Also converts values to other types if specified. + * @param message VDiffStopResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.VDiffStopResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VDiffStopResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for VDiffStopResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a WorkflowDeleteRequest. */ + interface IWorkflowDeleteRequest { + + /** WorkflowDeleteRequest keyspace */ + keyspace?: (string|null); + + /** WorkflowDeleteRequest workflow */ + workflow?: (string|null); + + /** WorkflowDeleteRequest keep_data */ + keep_data?: (boolean|null); + + /** WorkflowDeleteRequest keep_routing_rules */ + keep_routing_rules?: (boolean|null); + + /** WorkflowDeleteRequest shards */ + shards?: (string[]|null); + } + + /** Represents a WorkflowDeleteRequest. */ + class WorkflowDeleteRequest implements IWorkflowDeleteRequest { + + /** + * Constructs a new WorkflowDeleteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflowDeleteRequest); + + /** WorkflowDeleteRequest keyspace. */ + public keyspace: string; + + /** WorkflowDeleteRequest workflow. */ + public workflow: string; + + /** WorkflowDeleteRequest keep_data. */ + public keep_data: boolean; + + /** WorkflowDeleteRequest keep_routing_rules. */ + public keep_routing_rules: boolean; + + /** WorkflowDeleteRequest shards. */ + public shards: string[]; + + /** + * Creates a new WorkflowDeleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowDeleteRequest instance + */ + public static create(properties?: vtctldata.IWorkflowDeleteRequest): vtctldata.WorkflowDeleteRequest; + + /** + * Encodes the specified WorkflowDeleteRequest message. Does not implicitly {@link vtctldata.WorkflowDeleteRequest.verify|verify} messages. + * @param message WorkflowDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflowDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WorkflowDeleteRequest message, length delimited. Does not implicitly {@link vtctldata.WorkflowDeleteRequest.verify|verify} messages. + * @param message WorkflowDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflowDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowDeleteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowDeleteRequest; + + /** + * Decodes a WorkflowDeleteRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WorkflowDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowDeleteRequest; + + /** + * Verifies a WorkflowDeleteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WorkflowDeleteRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WorkflowDeleteRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowDeleteRequest; + + /** + * Creates a plain object from a WorkflowDeleteRequest message. Also converts values to other types if specified. + * @param message WorkflowDeleteRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowDeleteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WorkflowDeleteRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkflowDeleteRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a WorkflowDeleteResponse. */ + interface IWorkflowDeleteResponse { + + /** WorkflowDeleteResponse summary */ + summary?: (string|null); + + /** WorkflowDeleteResponse details */ + details?: (vtctldata.WorkflowDeleteResponse.ITabletInfo[]|null); + } + + /** Represents a WorkflowDeleteResponse. */ + class WorkflowDeleteResponse implements IWorkflowDeleteResponse { + + /** + * Constructs a new WorkflowDeleteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflowDeleteResponse); + + /** WorkflowDeleteResponse summary. */ + public summary: string; + + /** WorkflowDeleteResponse details. */ + public details: vtctldata.WorkflowDeleteResponse.ITabletInfo[]; + + /** + * Creates a new WorkflowDeleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowDeleteResponse instance + */ + public static create(properties?: vtctldata.IWorkflowDeleteResponse): vtctldata.WorkflowDeleteResponse; + + /** + * Encodes the specified WorkflowDeleteResponse message. Does not implicitly {@link vtctldata.WorkflowDeleteResponse.verify|verify} messages. + * @param message WorkflowDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflowDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WorkflowDeleteResponse message, length delimited. Does not implicitly {@link vtctldata.WorkflowDeleteResponse.verify|verify} messages. + * @param message WorkflowDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflowDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowDeleteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowDeleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowDeleteResponse; + + /** + * Decodes a WorkflowDeleteResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WorkflowDeleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowDeleteResponse; + + /** + * Verifies a WorkflowDeleteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WorkflowDeleteResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WorkflowDeleteResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowDeleteResponse; + + /** + * Creates a plain object from a WorkflowDeleteResponse message. Also converts values to other types if specified. + * @param message WorkflowDeleteResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowDeleteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WorkflowDeleteResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkflowDeleteResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace WorkflowDeleteResponse { + + /** Properties of a TabletInfo. */ + interface ITabletInfo { + + /** TabletInfo tablet */ + tablet?: (topodata.ITabletAlias|null); + + /** TabletInfo deleted */ + deleted?: (boolean|null); + } + + /** Represents a TabletInfo. */ + class TabletInfo implements ITabletInfo { + + /** + * Constructs a new TabletInfo. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.WorkflowDeleteResponse.ITabletInfo); + + /** TabletInfo tablet. */ + public tablet?: (topodata.ITabletAlias|null); + + /** TabletInfo deleted. */ + public deleted: boolean; + + /** + * Creates a new TabletInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns TabletInfo instance + */ + public static create(properties?: vtctldata.WorkflowDeleteResponse.ITabletInfo): vtctldata.WorkflowDeleteResponse.TabletInfo; + + /** + * Encodes the specified TabletInfo message. Does not implicitly {@link vtctldata.WorkflowDeleteResponse.TabletInfo.verify|verify} messages. + * @param message TabletInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.WorkflowDeleteResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified TabletInfo message, length delimited. Does not implicitly {@link vtctldata.WorkflowDeleteResponse.TabletInfo.verify|verify} messages. + * @param message TabletInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.WorkflowDeleteResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TabletInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TabletInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowDeleteResponse.TabletInfo; + + /** + * Decodes a TabletInfo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns TabletInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowDeleteResponse.TabletInfo; + + /** + * Verifies a TabletInfo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a TabletInfo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns TabletInfo + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowDeleteResponse.TabletInfo; + + /** + * Creates a plain object from a TabletInfo message. Also converts values to other types if specified. + * @param message TabletInfo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowDeleteResponse.TabletInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this TabletInfo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TabletInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + } + + /** Properties of a WorkflowStatusRequest. */ + interface IWorkflowStatusRequest { + + /** WorkflowStatusRequest keyspace */ + keyspace?: (string|null); + + /** WorkflowStatusRequest workflow */ + workflow?: (string|null); + + /** WorkflowStatusRequest shards */ + shards?: (string[]|null); + } + + /** Represents a WorkflowStatusRequest. */ + class WorkflowStatusRequest implements IWorkflowStatusRequest { + + /** + * Constructs a new WorkflowStatusRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflowStatusRequest); + + /** WorkflowStatusRequest keyspace. */ + public keyspace: string; + + /** WorkflowStatusRequest workflow. */ + public workflow: string; + + /** WorkflowStatusRequest shards. */ + public shards: string[]; + + /** + * Creates a new WorkflowStatusRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowStatusRequest instance + */ + public static create(properties?: vtctldata.IWorkflowStatusRequest): vtctldata.WorkflowStatusRequest; + + /** + * Encodes the specified WorkflowStatusRequest message. Does not implicitly {@link vtctldata.WorkflowStatusRequest.verify|verify} messages. + * @param message WorkflowStatusRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflowStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WorkflowStatusRequest message, length delimited. Does not implicitly {@link vtctldata.WorkflowStatusRequest.verify|verify} messages. + * @param message WorkflowStatusRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflowStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowStatusRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowStatusRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowStatusRequest; + + /** + * Decodes a WorkflowStatusRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WorkflowStatusRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowStatusRequest; + + /** + * Verifies a WorkflowStatusRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WorkflowStatusRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WorkflowStatusRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowStatusRequest; + + /** + * Creates a plain object from a WorkflowStatusRequest message. Also converts values to other types if specified. + * @param message WorkflowStatusRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WorkflowStatusRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkflowStatusRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a WorkflowStatusResponse. */ + interface IWorkflowStatusResponse { + + /** WorkflowStatusResponse table_copy_state */ + table_copy_state?: ({ [k: string]: vtctldata.WorkflowStatusResponse.ITableCopyState }|null); + + /** WorkflowStatusResponse shard_streams */ + shard_streams?: ({ [k: string]: vtctldata.WorkflowStatusResponse.IShardStreams }|null); + + /** WorkflowStatusResponse traffic_state */ + traffic_state?: (string|null); + } + + /** Represents a WorkflowStatusResponse. */ + class WorkflowStatusResponse implements IWorkflowStatusResponse { + + /** + * Constructs a new WorkflowStatusResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflowStatusResponse); + + /** WorkflowStatusResponse table_copy_state. */ + public table_copy_state: { [k: string]: vtctldata.WorkflowStatusResponse.ITableCopyState }; + + /** WorkflowStatusResponse shard_streams. */ + public shard_streams: { [k: string]: vtctldata.WorkflowStatusResponse.IShardStreams }; + + /** WorkflowStatusResponse traffic_state. */ + public traffic_state: string; + + /** + * Creates a new WorkflowStatusResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowStatusResponse instance + */ + public static create(properties?: vtctldata.IWorkflowStatusResponse): vtctldata.WorkflowStatusResponse; + + /** + * Encodes the specified WorkflowStatusResponse message. Does not implicitly {@link vtctldata.WorkflowStatusResponse.verify|verify} messages. + * @param message WorkflowStatusResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflowStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WorkflowStatusResponse message, length delimited. Does not implicitly {@link vtctldata.WorkflowStatusResponse.verify|verify} messages. + * @param message WorkflowStatusResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflowStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowStatusResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowStatusResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowStatusResponse; + + /** + * Decodes a WorkflowStatusResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WorkflowStatusResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowStatusResponse; + + /** + * Verifies a WorkflowStatusResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WorkflowStatusResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WorkflowStatusResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowStatusResponse; + + /** + * Creates a plain object from a WorkflowStatusResponse message. Also converts values to other types if specified. + * @param message WorkflowStatusResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowStatusResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WorkflowStatusResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkflowStatusResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace WorkflowStatusResponse { + + /** Properties of a TableCopyState. */ + interface ITableCopyState { + + /** TableCopyState rows_copied */ + rows_copied?: (number|Long|null); + + /** TableCopyState rows_total */ + rows_total?: (number|Long|null); + + /** TableCopyState rows_percentage */ + rows_percentage?: (number|null); + + /** TableCopyState bytes_copied */ + bytes_copied?: (number|Long|null); + + /** TableCopyState bytes_total */ + bytes_total?: (number|Long|null); + + /** TableCopyState bytes_percentage */ + bytes_percentage?: (number|null); + } + + /** Represents a TableCopyState. */ + class TableCopyState implements ITableCopyState { + + /** + * Constructs a new TableCopyState. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.WorkflowStatusResponse.ITableCopyState); + + /** TableCopyState rows_copied. */ + public rows_copied: (number|Long); + + /** TableCopyState rows_total. */ + public rows_total: (number|Long); + + /** TableCopyState rows_percentage. */ + public rows_percentage: number; + + /** TableCopyState bytes_copied. */ + public bytes_copied: (number|Long); + + /** TableCopyState bytes_total. */ + public bytes_total: (number|Long); + + /** TableCopyState bytes_percentage. */ + public bytes_percentage: number; + + /** + * Creates a new TableCopyState instance using the specified properties. + * @param [properties] Properties to set + * @returns TableCopyState instance + */ + public static create(properties?: vtctldata.WorkflowStatusResponse.ITableCopyState): vtctldata.WorkflowStatusResponse.TableCopyState; + + /** + * Encodes the specified TableCopyState message. Does not implicitly {@link vtctldata.WorkflowStatusResponse.TableCopyState.verify|verify} messages. + * @param message TableCopyState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.WorkflowStatusResponse.ITableCopyState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified TableCopyState message, length delimited. Does not implicitly {@link vtctldata.WorkflowStatusResponse.TableCopyState.verify|verify} messages. + * @param message TableCopyState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.WorkflowStatusResponse.ITableCopyState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TableCopyState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TableCopyState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowStatusResponse.TableCopyState; + + /** + * Decodes a TableCopyState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns TableCopyState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowStatusResponse.TableCopyState; + + /** + * Verifies a TableCopyState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a TableCopyState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns TableCopyState + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowStatusResponse.TableCopyState; + + /** + * Creates a plain object from a TableCopyState message. Also converts values to other types if specified. + * @param message TableCopyState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowStatusResponse.TableCopyState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this TableCopyState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TableCopyState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardStreamState. */ + interface IShardStreamState { + + /** ShardStreamState id */ + id?: (number|null); + + /** ShardStreamState tablet */ + tablet?: (topodata.ITabletAlias|null); + + /** ShardStreamState source_shard */ + source_shard?: (string|null); + + /** ShardStreamState position */ + position?: (string|null); + + /** ShardStreamState status */ + status?: (string|null); + + /** ShardStreamState info */ + info?: (string|null); + } + + /** Represents a ShardStreamState. */ + class ShardStreamState implements IShardStreamState { + + /** + * Constructs a new ShardStreamState. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.WorkflowStatusResponse.IShardStreamState); + + /** ShardStreamState id. */ + public id: number; + + /** ShardStreamState tablet. */ + public tablet?: (topodata.ITabletAlias|null); + + /** ShardStreamState source_shard. */ + public source_shard: string; + + /** ShardStreamState position. */ + public position: string; + + /** ShardStreamState status. */ + public status: string; + + /** ShardStreamState info. */ + public info: string; + + /** + * Creates a new ShardStreamState instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardStreamState instance + */ + public static create(properties?: vtctldata.WorkflowStatusResponse.IShardStreamState): vtctldata.WorkflowStatusResponse.ShardStreamState; + + /** + * Encodes the specified ShardStreamState message. Does not implicitly {@link vtctldata.WorkflowStatusResponse.ShardStreamState.verify|verify} messages. + * @param message ShardStreamState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.WorkflowStatusResponse.IShardStreamState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardStreamState message, length delimited. Does not implicitly {@link vtctldata.WorkflowStatusResponse.ShardStreamState.verify|verify} messages. + * @param message ShardStreamState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.WorkflowStatusResponse.IShardStreamState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardStreamState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardStreamState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowStatusResponse.ShardStreamState; + + /** + * Decodes a ShardStreamState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardStreamState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowStatusResponse.ShardStreamState; + + /** + * Verifies a ShardStreamState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardStreamState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardStreamState + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowStatusResponse.ShardStreamState; + + /** + * Creates a plain object from a ShardStreamState message. Also converts values to other types if specified. + * @param message ShardStreamState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowStatusResponse.ShardStreamState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardStreamState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardStreamState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ShardStreams. */ + interface IShardStreams { + + /** ShardStreams streams */ + streams?: (vtctldata.WorkflowStatusResponse.IShardStreamState[]|null); + } + + /** Represents a ShardStreams. */ + class ShardStreams implements IShardStreams { + + /** + * Constructs a new ShardStreams. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.WorkflowStatusResponse.IShardStreams); + + /** ShardStreams streams. */ + public streams: vtctldata.WorkflowStatusResponse.IShardStreamState[]; + + /** + * Creates a new ShardStreams instance using the specified properties. + * @param [properties] Properties to set + * @returns ShardStreams instance + */ + public static create(properties?: vtctldata.WorkflowStatusResponse.IShardStreams): vtctldata.WorkflowStatusResponse.ShardStreams; + + /** + * Encodes the specified ShardStreams message. Does not implicitly {@link vtctldata.WorkflowStatusResponse.ShardStreams.verify|verify} messages. + * @param message ShardStreams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.WorkflowStatusResponse.IShardStreams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShardStreams message, length delimited. Does not implicitly {@link vtctldata.WorkflowStatusResponse.ShardStreams.verify|verify} messages. + * @param message ShardStreams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.WorkflowStatusResponse.IShardStreams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShardStreams message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShardStreams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowStatusResponse.ShardStreams; + + /** + * Decodes a ShardStreams message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShardStreams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowStatusResponse.ShardStreams; + + /** + * Verifies a ShardStreams message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShardStreams message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShardStreams + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowStatusResponse.ShardStreams; + + /** + * Creates a plain object from a ShardStreams message. Also converts values to other types if specified. + * @param message ShardStreams + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowStatusResponse.ShardStreams, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShardStreams to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShardStreams + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + } + + /** Properties of a WorkflowSwitchTrafficRequest. */ + interface IWorkflowSwitchTrafficRequest { + + /** WorkflowSwitchTrafficRequest keyspace */ + keyspace?: (string|null); + + /** WorkflowSwitchTrafficRequest workflow */ + workflow?: (string|null); + + /** WorkflowSwitchTrafficRequest cells */ + cells?: (string[]|null); + + /** WorkflowSwitchTrafficRequest tablet_types */ + tablet_types?: (topodata.TabletType[]|null); + + /** WorkflowSwitchTrafficRequest max_replication_lag_allowed */ + max_replication_lag_allowed?: (vttime.IDuration|null); + + /** WorkflowSwitchTrafficRequest enable_reverse_replication */ + enable_reverse_replication?: (boolean|null); + + /** WorkflowSwitchTrafficRequest direction */ + direction?: (number|null); + + /** WorkflowSwitchTrafficRequest timeout */ + timeout?: (vttime.IDuration|null); + + /** WorkflowSwitchTrafficRequest dry_run */ + dry_run?: (boolean|null); + + /** WorkflowSwitchTrafficRequest initialize_target_sequences */ + initialize_target_sequences?: (boolean|null); + + /** WorkflowSwitchTrafficRequest shards */ + shards?: (string[]|null); + + /** WorkflowSwitchTrafficRequest force */ + force?: (boolean|null); + } + + /** Represents a WorkflowSwitchTrafficRequest. */ + class WorkflowSwitchTrafficRequest implements IWorkflowSwitchTrafficRequest { + + /** + * Constructs a new WorkflowSwitchTrafficRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflowSwitchTrafficRequest); + + /** WorkflowSwitchTrafficRequest keyspace. */ + public keyspace: string; + + /** WorkflowSwitchTrafficRequest workflow. */ + public workflow: string; + + /** WorkflowSwitchTrafficRequest cells. */ + public cells: string[]; + + /** WorkflowSwitchTrafficRequest tablet_types. */ + public tablet_types: topodata.TabletType[]; + + /** WorkflowSwitchTrafficRequest max_replication_lag_allowed. */ + public max_replication_lag_allowed?: (vttime.IDuration|null); + + /** WorkflowSwitchTrafficRequest enable_reverse_replication. */ + public enable_reverse_replication: boolean; + + /** WorkflowSwitchTrafficRequest direction. */ + public direction: number; + + /** WorkflowSwitchTrafficRequest timeout. */ + public timeout?: (vttime.IDuration|null); + + /** WorkflowSwitchTrafficRequest dry_run. */ + public dry_run: boolean; + + /** WorkflowSwitchTrafficRequest initialize_target_sequences. */ + public initialize_target_sequences: boolean; + + /** WorkflowSwitchTrafficRequest shards. */ + public shards: string[]; + + /** WorkflowSwitchTrafficRequest force. */ + public force: boolean; + + /** + * Creates a new WorkflowSwitchTrafficRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowSwitchTrafficRequest instance + */ + public static create(properties?: vtctldata.IWorkflowSwitchTrafficRequest): vtctldata.WorkflowSwitchTrafficRequest; + + /** + * Encodes the specified WorkflowSwitchTrafficRequest message. Does not implicitly {@link vtctldata.WorkflowSwitchTrafficRequest.verify|verify} messages. + * @param message WorkflowSwitchTrafficRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflowSwitchTrafficRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WorkflowSwitchTrafficRequest message, length delimited. Does not implicitly {@link vtctldata.WorkflowSwitchTrafficRequest.verify|verify} messages. + * @param message WorkflowSwitchTrafficRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflowSwitchTrafficRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowSwitchTrafficRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowSwitchTrafficRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowSwitchTrafficRequest; + + /** + * Decodes a WorkflowSwitchTrafficRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WorkflowSwitchTrafficRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowSwitchTrafficRequest; + + /** + * Verifies a WorkflowSwitchTrafficRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WorkflowSwitchTrafficRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WorkflowSwitchTrafficRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowSwitchTrafficRequest; + + /** + * Creates a plain object from a WorkflowSwitchTrafficRequest message. Also converts values to other types if specified. + * @param message WorkflowSwitchTrafficRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowSwitchTrafficRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WorkflowSwitchTrafficRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkflowSwitchTrafficRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a WorkflowSwitchTrafficResponse. */ + interface IWorkflowSwitchTrafficResponse { + + /** WorkflowSwitchTrafficResponse summary */ + summary?: (string|null); + + /** WorkflowSwitchTrafficResponse start_state */ + start_state?: (string|null); + + /** WorkflowSwitchTrafficResponse current_state */ + current_state?: (string|null); + + /** WorkflowSwitchTrafficResponse dry_run_results */ + dry_run_results?: (string[]|null); + } + + /** Represents a WorkflowSwitchTrafficResponse. */ + class WorkflowSwitchTrafficResponse implements IWorkflowSwitchTrafficResponse { + + /** + * Constructs a new WorkflowSwitchTrafficResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflowSwitchTrafficResponse); + + /** WorkflowSwitchTrafficResponse summary. */ + public summary: string; + + /** WorkflowSwitchTrafficResponse start_state. */ + public start_state: string; + + /** WorkflowSwitchTrafficResponse current_state. */ + public current_state: string; + + /** WorkflowSwitchTrafficResponse dry_run_results. */ + public dry_run_results: string[]; + + /** + * Creates a new WorkflowSwitchTrafficResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowSwitchTrafficResponse instance + */ + public static create(properties?: vtctldata.IWorkflowSwitchTrafficResponse): vtctldata.WorkflowSwitchTrafficResponse; + + /** + * Encodes the specified WorkflowSwitchTrafficResponse message. Does not implicitly {@link vtctldata.WorkflowSwitchTrafficResponse.verify|verify} messages. + * @param message WorkflowSwitchTrafficResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflowSwitchTrafficResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WorkflowSwitchTrafficResponse message, length delimited. Does not implicitly {@link vtctldata.WorkflowSwitchTrafficResponse.verify|verify} messages. + * @param message WorkflowSwitchTrafficResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflowSwitchTrafficResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowSwitchTrafficResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowSwitchTrafficResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowSwitchTrafficResponse; + + /** + * Decodes a WorkflowSwitchTrafficResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WorkflowSwitchTrafficResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowSwitchTrafficResponse; + + /** + * Verifies a WorkflowSwitchTrafficResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WorkflowSwitchTrafficResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WorkflowSwitchTrafficResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowSwitchTrafficResponse; + + /** + * Creates a plain object from a WorkflowSwitchTrafficResponse message. Also converts values to other types if specified. + * @param message WorkflowSwitchTrafficResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowSwitchTrafficResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WorkflowSwitchTrafficResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkflowSwitchTrafficResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a WorkflowUpdateRequest. */ + interface IWorkflowUpdateRequest { + + /** WorkflowUpdateRequest keyspace */ + keyspace?: (string|null); + + /** WorkflowUpdateRequest tablet_request */ + tablet_request?: (tabletmanagerdata.IUpdateVReplicationWorkflowRequest|null); + } + + /** Represents a WorkflowUpdateRequest. */ + class WorkflowUpdateRequest implements IWorkflowUpdateRequest { + + /** + * Constructs a new WorkflowUpdateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflowUpdateRequest); + + /** WorkflowUpdateRequest keyspace. */ + public keyspace: string; + + /** WorkflowUpdateRequest tablet_request. */ + public tablet_request?: (tabletmanagerdata.IUpdateVReplicationWorkflowRequest|null); + + /** + * Creates a new WorkflowUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowUpdateRequest instance + */ + public static create(properties?: vtctldata.IWorkflowUpdateRequest): vtctldata.WorkflowUpdateRequest; + + /** + * Encodes the specified WorkflowUpdateRequest message. Does not implicitly {@link vtctldata.WorkflowUpdateRequest.verify|verify} messages. + * @param message WorkflowUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflowUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WorkflowUpdateRequest message, length delimited. Does not implicitly {@link vtctldata.WorkflowUpdateRequest.verify|verify} messages. + * @param message WorkflowUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflowUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowUpdateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowUpdateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowUpdateRequest; + + /** + * Decodes a WorkflowUpdateRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WorkflowUpdateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowUpdateRequest; + + /** + * Verifies a WorkflowUpdateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WorkflowUpdateRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WorkflowUpdateRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowUpdateRequest; + + /** + * Creates a plain object from a WorkflowUpdateRequest message. Also converts values to other types if specified. + * @param message WorkflowUpdateRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowUpdateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WorkflowUpdateRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkflowUpdateRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a WorkflowUpdateResponse. */ + interface IWorkflowUpdateResponse { + + /** WorkflowUpdateResponse summary */ + summary?: (string|null); + + /** WorkflowUpdateResponse details */ + details?: (vtctldata.WorkflowUpdateResponse.ITabletInfo[]|null); + } + + /** Represents a WorkflowUpdateResponse. */ + class WorkflowUpdateResponse implements IWorkflowUpdateResponse { + + /** + * Constructs a new WorkflowUpdateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflowUpdateResponse); + + /** WorkflowUpdateResponse summary. */ + public summary: string; + + /** WorkflowUpdateResponse details. */ + public details: vtctldata.WorkflowUpdateResponse.ITabletInfo[]; + + /** + * Creates a new WorkflowUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowUpdateResponse instance + */ + public static create(properties?: vtctldata.IWorkflowUpdateResponse): vtctldata.WorkflowUpdateResponse; + + /** + * Encodes the specified WorkflowUpdateResponse message. Does not implicitly {@link vtctldata.WorkflowUpdateResponse.verify|verify} messages. + * @param message WorkflowUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflowUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WorkflowUpdateResponse message, length delimited. Does not implicitly {@link vtctldata.WorkflowUpdateResponse.verify|verify} messages. + * @param message WorkflowUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflowUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowUpdateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowUpdateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowUpdateResponse; + + /** + * Decodes a WorkflowUpdateResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WorkflowUpdateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowUpdateResponse; + + /** + * Verifies a WorkflowUpdateResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WorkflowUpdateResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WorkflowUpdateResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowUpdateResponse; + + /** + * Creates a plain object from a WorkflowUpdateResponse message. Also converts values to other types if specified. + * @param message WorkflowUpdateResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowUpdateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WorkflowUpdateResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkflowUpdateResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace WorkflowUpdateResponse { + + /** Properties of a TabletInfo. */ + interface ITabletInfo { + + /** TabletInfo tablet */ + tablet?: (topodata.ITabletAlias|null); + + /** TabletInfo changed */ + changed?: (boolean|null); + } + + /** Represents a TabletInfo. */ + class TabletInfo implements ITabletInfo { + + /** + * Constructs a new TabletInfo. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.WorkflowUpdateResponse.ITabletInfo); + + /** TabletInfo tablet. */ + public tablet?: (topodata.ITabletAlias|null); + + /** TabletInfo changed. */ + public changed: boolean; + + /** + * Creates a new TabletInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns TabletInfo instance + */ + public static create(properties?: vtctldata.WorkflowUpdateResponse.ITabletInfo): vtctldata.WorkflowUpdateResponse.TabletInfo; + + /** + * Encodes the specified TabletInfo message. Does not implicitly {@link vtctldata.WorkflowUpdateResponse.TabletInfo.verify|verify} messages. + * @param message TabletInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.WorkflowUpdateResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified TabletInfo message, length delimited. Does not implicitly {@link vtctldata.WorkflowUpdateResponse.TabletInfo.verify|verify} messages. + * @param message TabletInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.WorkflowUpdateResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TabletInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TabletInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowUpdateResponse.TabletInfo; + + /** + * Decodes a TabletInfo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns TabletInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowUpdateResponse.TabletInfo; + + /** + * Verifies a TabletInfo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a TabletInfo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns TabletInfo + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowUpdateResponse.TabletInfo; + + /** + * Creates a plain object from a TabletInfo message. Also converts values to other types if specified. + * @param message TabletInfo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowUpdateResponse.TabletInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this TabletInfo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TabletInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + } + + /** Properties of a GetMirrorRulesRequest. */ + interface IGetMirrorRulesRequest { + } + + /** Represents a GetMirrorRulesRequest. */ + class GetMirrorRulesRequest implements IGetMirrorRulesRequest { + + /** + * Constructs a new GetMirrorRulesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetMirrorRulesRequest); + + /** + * Creates a new GetMirrorRulesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetMirrorRulesRequest instance + */ + public static create(properties?: vtctldata.IGetMirrorRulesRequest): vtctldata.GetMirrorRulesRequest; + + /** + * Encodes the specified GetMirrorRulesRequest message. Does not implicitly {@link vtctldata.GetMirrorRulesRequest.verify|verify} messages. + * @param message GetMirrorRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetMirrorRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetMirrorRulesRequest message, length delimited. Does not implicitly {@link vtctldata.GetMirrorRulesRequest.verify|verify} messages. + * @param message GetMirrorRulesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetMirrorRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetMirrorRulesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetMirrorRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetMirrorRulesRequest; + + /** + * Decodes a GetMirrorRulesRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetMirrorRulesRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetMirrorRulesRequest; + + /** + * Verifies a GetMirrorRulesRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetMirrorRulesRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetMirrorRulesRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetMirrorRulesRequest; + + /** + * Creates a plain object from a GetMirrorRulesRequest message. Also converts values to other types if specified. + * @param message GetMirrorRulesRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetMirrorRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetMirrorRulesRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetMirrorRulesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetMirrorRulesResponse. */ + interface IGetMirrorRulesResponse { + + /** GetMirrorRulesResponse mirror_rules */ + mirror_rules?: (vschema.IMirrorRules|null); + } + + /** Represents a GetMirrorRulesResponse. */ + class GetMirrorRulesResponse implements IGetMirrorRulesResponse { + + /** + * Constructs a new GetMirrorRulesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IGetMirrorRulesResponse); + + /** GetMirrorRulesResponse mirror_rules. */ + public mirror_rules?: (vschema.IMirrorRules|null); + + /** + * Creates a new GetMirrorRulesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetMirrorRulesResponse instance + */ + public static create(properties?: vtctldata.IGetMirrorRulesResponse): vtctldata.GetMirrorRulesResponse; + + /** + * Encodes the specified GetMirrorRulesResponse message. Does not implicitly {@link vtctldata.GetMirrorRulesResponse.verify|verify} messages. + * @param message GetMirrorRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IGetMirrorRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetMirrorRulesResponse message, length delimited. Does not implicitly {@link vtctldata.GetMirrorRulesResponse.verify|verify} messages. + * @param message GetMirrorRulesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IGetMirrorRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetMirrorRulesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetMirrorRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetMirrorRulesResponse; + + /** + * Decodes a GetMirrorRulesResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetMirrorRulesResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetMirrorRulesResponse; + + /** + * Verifies a GetMirrorRulesResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a GetMirrorRulesResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetMirrorRulesResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.GetMirrorRulesResponse; + + /** + * Creates a plain object from a GetMirrorRulesResponse message. Also converts values to other types if specified. + * @param message GetMirrorRulesResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.GetMirrorRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetMirrorRulesResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetMirrorRulesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a WorkflowMirrorTrafficRequest. */ + interface IWorkflowMirrorTrafficRequest { + + /** WorkflowMirrorTrafficRequest keyspace */ + keyspace?: (string|null); + + /** WorkflowMirrorTrafficRequest workflow */ + workflow?: (string|null); + + /** WorkflowMirrorTrafficRequest tablet_types */ + tablet_types?: (topodata.TabletType[]|null); + + /** WorkflowMirrorTrafficRequest percent */ + percent?: (number|null); + } + + /** Represents a WorkflowMirrorTrafficRequest. */ + class WorkflowMirrorTrafficRequest implements IWorkflowMirrorTrafficRequest { + + /** + * Constructs a new WorkflowMirrorTrafficRequest. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflowMirrorTrafficRequest); + + /** WorkflowMirrorTrafficRequest keyspace. */ + public keyspace: string; + + /** WorkflowMirrorTrafficRequest workflow. */ + public workflow: string; + + /** WorkflowMirrorTrafficRequest tablet_types. */ + public tablet_types: topodata.TabletType[]; + + /** WorkflowMirrorTrafficRequest percent. */ + public percent: number; + + /** + * Creates a new WorkflowMirrorTrafficRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowMirrorTrafficRequest instance + */ + public static create(properties?: vtctldata.IWorkflowMirrorTrafficRequest): vtctldata.WorkflowMirrorTrafficRequest; + + /** + * Encodes the specified WorkflowMirrorTrafficRequest message. Does not implicitly {@link vtctldata.WorkflowMirrorTrafficRequest.verify|verify} messages. + * @param message WorkflowMirrorTrafficRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflowMirrorTrafficRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WorkflowMirrorTrafficRequest message, length delimited. Does not implicitly {@link vtctldata.WorkflowMirrorTrafficRequest.verify|verify} messages. + * @param message WorkflowMirrorTrafficRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflowMirrorTrafficRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowMirrorTrafficRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowMirrorTrafficRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowMirrorTrafficRequest; + + /** + * Decodes a WorkflowMirrorTrafficRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WorkflowMirrorTrafficRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowMirrorTrafficRequest; + + /** + * Verifies a WorkflowMirrorTrafficRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WorkflowMirrorTrafficRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WorkflowMirrorTrafficRequest + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowMirrorTrafficRequest; + + /** + * Creates a plain object from a WorkflowMirrorTrafficRequest message. Also converts values to other types if specified. + * @param message WorkflowMirrorTrafficRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowMirrorTrafficRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WorkflowMirrorTrafficRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkflowMirrorTrafficRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a WorkflowMirrorTrafficResponse. */ + interface IWorkflowMirrorTrafficResponse { + + /** WorkflowMirrorTrafficResponse summary */ + summary?: (string|null); + + /** WorkflowMirrorTrafficResponse start_state */ + start_state?: (string|null); + + /** WorkflowMirrorTrafficResponse current_state */ + current_state?: (string|null); + } + + /** Represents a WorkflowMirrorTrafficResponse. */ + class WorkflowMirrorTrafficResponse implements IWorkflowMirrorTrafficResponse { + + /** + * Constructs a new WorkflowMirrorTrafficResponse. + * @param [properties] Properties to set + */ + constructor(properties?: vtctldata.IWorkflowMirrorTrafficResponse); + + /** WorkflowMirrorTrafficResponse summary. */ + public summary: string; + + /** WorkflowMirrorTrafficResponse start_state. */ + public start_state: string; + + /** WorkflowMirrorTrafficResponse current_state. */ + public current_state: string; + + /** + * Creates a new WorkflowMirrorTrafficResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowMirrorTrafficResponse instance + */ + public static create(properties?: vtctldata.IWorkflowMirrorTrafficResponse): vtctldata.WorkflowMirrorTrafficResponse; + + /** + * Encodes the specified WorkflowMirrorTrafficResponse message. Does not implicitly {@link vtctldata.WorkflowMirrorTrafficResponse.verify|verify} messages. + * @param message WorkflowMirrorTrafficResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: vtctldata.IWorkflowMirrorTrafficResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WorkflowMirrorTrafficResponse message, length delimited. Does not implicitly {@link vtctldata.WorkflowMirrorTrafficResponse.verify|verify} messages. + * @param message WorkflowMirrorTrafficResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: vtctldata.IWorkflowMirrorTrafficResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowMirrorTrafficResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowMirrorTrafficResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowMirrorTrafficResponse; + + /** + * Decodes a WorkflowMirrorTrafficResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WorkflowMirrorTrafficResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowMirrorTrafficResponse; + + /** + * Verifies a WorkflowMirrorTrafficResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WorkflowMirrorTrafficResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WorkflowMirrorTrafficResponse + */ + public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowMirrorTrafficResponse; + + /** + * Creates a plain object from a WorkflowMirrorTrafficResponse message. Also converts values to other types if specified. + * @param message WorkflowMirrorTrafficResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: vtctldata.WorkflowMirrorTrafficResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WorkflowMirrorTrafficResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkflowMirrorTrafficResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) } } diff --git a/web/vtadmin/src/proto/vtadmin.js b/web/vtadmin/src/proto/vtadmin.js index 87ba1d2efd8..27c327929bb 100644 --- a/web/vtadmin/src/proto/vtadmin.js +++ b/web/vtadmin/src/proto/vtadmin.js @@ -89874,6 +89874,11 @@ $root.vtctldata = (function() { * @property {Array.|null} [ignore_replicas] EmergencyReparentShardRequest ignore_replicas * @property {vttime.IDuration|null} [wait_replicas_timeout] EmergencyReparentShardRequest wait_replicas_timeout * @property {boolean|null} [prevent_cross_cell_promotion] EmergencyReparentShardRequest prevent_cross_cell_promotion +<<<<<<< HEAD +======= + * @property {boolean|null} [wait_for_all_tablets] EmergencyReparentShardRequest wait_for_all_tablets + * @property {topodata.ITabletAlias|null} [expected_primary] EmergencyReparentShardRequest expected_primary +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) */ /** @@ -89941,6 +89946,25 @@ $root.vtctldata = (function() { EmergencyReparentShardRequest.prototype.prevent_cross_cell_promotion = false; /** +<<<<<<< HEAD +======= + * EmergencyReparentShardRequest wait_for_all_tablets. + * @member {boolean} wait_for_all_tablets + * @memberof vtctldata.EmergencyReparentShardRequest + * @instance + */ + EmergencyReparentShardRequest.prototype.wait_for_all_tablets = false; + + /** + * EmergencyReparentShardRequest expected_primary. + * @member {topodata.ITabletAlias|null|undefined} expected_primary + * @memberof vtctldata.EmergencyReparentShardRequest + * @instance + */ + EmergencyReparentShardRequest.prototype.expected_primary = null; + + /** +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) * Creates a new EmergencyReparentShardRequest instance using the specified properties. * @function create * @memberof vtctldata.EmergencyReparentShardRequest @@ -89977,6 +90001,13 @@ $root.vtctldata = (function() { $root.vttime.Duration.encode(message.wait_replicas_timeout, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); if (message.prevent_cross_cell_promotion != null && Object.hasOwnProperty.call(message, "prevent_cross_cell_promotion")) writer.uint32(/* id 6, wireType 0 =*/48).bool(message.prevent_cross_cell_promotion); +<<<<<<< HEAD +======= + if (message.wait_for_all_tablets != null && Object.hasOwnProperty.call(message, "wait_for_all_tablets")) + writer.uint32(/* id 7, wireType 0 =*/56).bool(message.wait_for_all_tablets); + if (message.expected_primary != null && Object.hasOwnProperty.call(message, "expected_primary")) + $root.topodata.TabletAlias.encode(message.expected_primary, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return writer; }; @@ -90011,6 +90042,7 @@ $root.vtctldata = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { +<<<<<<< HEAD case 1: message.keyspace = reader.string(); break; @@ -90031,6 +90063,42 @@ $root.vtctldata = (function() { case 6: message.prevent_cross_cell_promotion = reader.bool(); break; +======= + case 1: { + message.keyspace = reader.string(); + break; + } + case 2: { + message.shard = reader.string(); + break; + } + case 3: { + message.new_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); + break; + } + case 4: { + if (!(message.ignore_replicas && message.ignore_replicas.length)) + message.ignore_replicas = []; + message.ignore_replicas.push($root.topodata.TabletAlias.decode(reader, reader.uint32())); + break; + } + case 5: { + message.wait_replicas_timeout = $root.vttime.Duration.decode(reader, reader.uint32()); + break; + } + case 6: { + message.prevent_cross_cell_promotion = reader.bool(); + break; + } + case 7: { + message.wait_for_all_tablets = reader.bool(); + break; + } + case 8: { + message.expected_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); + break; + } +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) default: reader.skipType(tag & 7); break; @@ -90094,6 +90162,17 @@ $root.vtctldata = (function() { if (message.prevent_cross_cell_promotion != null && message.hasOwnProperty("prevent_cross_cell_promotion")) if (typeof message.prevent_cross_cell_promotion !== "boolean") return "prevent_cross_cell_promotion: boolean expected"; +<<<<<<< HEAD +======= + if (message.wait_for_all_tablets != null && message.hasOwnProperty("wait_for_all_tablets")) + if (typeof message.wait_for_all_tablets !== "boolean") + return "wait_for_all_tablets: boolean expected"; + if (message.expected_primary != null && message.hasOwnProperty("expected_primary")) { + let error = $root.topodata.TabletAlias.verify(message.expected_primary); + if (error) + return "expected_primary." + error; + } +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return null; }; @@ -90135,6 +90214,16 @@ $root.vtctldata = (function() { } if (object.prevent_cross_cell_promotion != null) message.prevent_cross_cell_promotion = Boolean(object.prevent_cross_cell_promotion); +<<<<<<< HEAD +======= + if (object.wait_for_all_tablets != null) + message.wait_for_all_tablets = Boolean(object.wait_for_all_tablets); + if (object.expected_primary != null) { + if (typeof object.expected_primary !== "object") + throw TypeError(".vtctldata.EmergencyReparentShardRequest.expected_primary: object expected"); + message.expected_primary = $root.topodata.TabletAlias.fromObject(object.expected_primary); + } +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return message; }; @@ -90159,6 +90248,11 @@ $root.vtctldata = (function() { object.new_primary = null; object.wait_replicas_timeout = null; object.prevent_cross_cell_promotion = false; +<<<<<<< HEAD +======= + object.wait_for_all_tablets = false; + object.expected_primary = null; +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) } if (message.keyspace != null && message.hasOwnProperty("keyspace")) object.keyspace = message.keyspace; @@ -90175,6 +90269,13 @@ $root.vtctldata = (function() { object.wait_replicas_timeout = $root.vttime.Duration.toObject(message.wait_replicas_timeout, options); if (message.prevent_cross_cell_promotion != null && message.hasOwnProperty("prevent_cross_cell_promotion")) object.prevent_cross_cell_promotion = message.prevent_cross_cell_promotion; +<<<<<<< HEAD +======= + if (message.wait_for_all_tablets != null && message.hasOwnProperty("wait_for_all_tablets")) + object.wait_for_all_tablets = message.wait_for_all_tablets; + if (message.expected_primary != null && message.hasOwnProperty("expected_primary")) + object.expected_primary = $root.topodata.TabletAlias.toObject(message.expected_primary, options); +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return object; }; @@ -102611,6 +102712,12 @@ $root.vtctldata = (function() { * @property {topodata.ITabletAlias|null} [new_primary] PlannedReparentShardRequest new_primary * @property {topodata.ITabletAlias|null} [avoid_primary] PlannedReparentShardRequest avoid_primary * @property {vttime.IDuration|null} [wait_replicas_timeout] PlannedReparentShardRequest wait_replicas_timeout +<<<<<<< HEAD +======= + * @property {vttime.IDuration|null} [tolerable_replication_lag] PlannedReparentShardRequest tolerable_replication_lag + * @property {boolean|null} [allow_cross_cell_promotion] PlannedReparentShardRequest allow_cross_cell_promotion + * @property {topodata.ITabletAlias|null} [expected_primary] PlannedReparentShardRequest expected_primary +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) */ /** @@ -102669,6 +102776,33 @@ $root.vtctldata = (function() { PlannedReparentShardRequest.prototype.wait_replicas_timeout = null; /** +<<<<<<< HEAD +======= + * PlannedReparentShardRequest tolerable_replication_lag. + * @member {vttime.IDuration|null|undefined} tolerable_replication_lag + * @memberof vtctldata.PlannedReparentShardRequest + * @instance + */ + PlannedReparentShardRequest.prototype.tolerable_replication_lag = null; + + /** + * PlannedReparentShardRequest allow_cross_cell_promotion. + * @member {boolean} allow_cross_cell_promotion + * @memberof vtctldata.PlannedReparentShardRequest + * @instance + */ + PlannedReparentShardRequest.prototype.allow_cross_cell_promotion = false; + + /** + * PlannedReparentShardRequest expected_primary. + * @member {topodata.ITabletAlias|null|undefined} expected_primary + * @memberof vtctldata.PlannedReparentShardRequest + * @instance + */ + PlannedReparentShardRequest.prototype.expected_primary = null; + + /** +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) * Creates a new PlannedReparentShardRequest instance using the specified properties. * @function create * @memberof vtctldata.PlannedReparentShardRequest @@ -102702,6 +102836,15 @@ $root.vtctldata = (function() { $root.topodata.TabletAlias.encode(message.avoid_primary, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.wait_replicas_timeout != null && Object.hasOwnProperty.call(message, "wait_replicas_timeout")) $root.vttime.Duration.encode(message.wait_replicas_timeout, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); +<<<<<<< HEAD +======= + if (message.tolerable_replication_lag != null && Object.hasOwnProperty.call(message, "tolerable_replication_lag")) + $root.vttime.Duration.encode(message.tolerable_replication_lag, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.allow_cross_cell_promotion != null && Object.hasOwnProperty.call(message, "allow_cross_cell_promotion")) + writer.uint32(/* id 7, wireType 0 =*/56).bool(message.allow_cross_cell_promotion); + if (message.expected_primary != null && Object.hasOwnProperty.call(message, "expected_primary")) + $root.topodata.TabletAlias.encode(message.expected_primary, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return writer; }; @@ -102736,6 +102879,7 @@ $root.vtctldata = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { +<<<<<<< HEAD case 1: message.keyspace = reader.string(); break; @@ -102751,6 +102895,40 @@ $root.vtctldata = (function() { case 5: message.wait_replicas_timeout = $root.vttime.Duration.decode(reader, reader.uint32()); break; +======= + case 1: { + message.keyspace = reader.string(); + break; + } + case 2: { + message.shard = reader.string(); + break; + } + case 3: { + message.new_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); + break; + } + case 4: { + message.avoid_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); + break; + } + case 5: { + message.wait_replicas_timeout = $root.vttime.Duration.decode(reader, reader.uint32()); + break; + } + case 6: { + message.tolerable_replication_lag = $root.vttime.Duration.decode(reader, reader.uint32()); + break; + } + case 7: { + message.allow_cross_cell_promotion = reader.bool(); + break; + } + case 8: { + message.expected_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); + break; + } +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) default: reader.skipType(tag & 7); break; @@ -102807,6 +102985,22 @@ $root.vtctldata = (function() { if (error) return "wait_replicas_timeout." + error; } +<<<<<<< HEAD +======= + if (message.tolerable_replication_lag != null && message.hasOwnProperty("tolerable_replication_lag")) { + let error = $root.vttime.Duration.verify(message.tolerable_replication_lag); + if (error) + return "tolerable_replication_lag." + error; + } + if (message.allow_cross_cell_promotion != null && message.hasOwnProperty("allow_cross_cell_promotion")) + if (typeof message.allow_cross_cell_promotion !== "boolean") + return "allow_cross_cell_promotion: boolean expected"; + if (message.expected_primary != null && message.hasOwnProperty("expected_primary")) { + let error = $root.topodata.TabletAlias.verify(message.expected_primary); + if (error) + return "expected_primary." + error; + } +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return null; }; @@ -102841,6 +103035,21 @@ $root.vtctldata = (function() { throw TypeError(".vtctldata.PlannedReparentShardRequest.wait_replicas_timeout: object expected"); message.wait_replicas_timeout = $root.vttime.Duration.fromObject(object.wait_replicas_timeout); } +<<<<<<< HEAD +======= + if (object.tolerable_replication_lag != null) { + if (typeof object.tolerable_replication_lag !== "object") + throw TypeError(".vtctldata.PlannedReparentShardRequest.tolerable_replication_lag: object expected"); + message.tolerable_replication_lag = $root.vttime.Duration.fromObject(object.tolerable_replication_lag); + } + if (object.allow_cross_cell_promotion != null) + message.allow_cross_cell_promotion = Boolean(object.allow_cross_cell_promotion); + if (object.expected_primary != null) { + if (typeof object.expected_primary !== "object") + throw TypeError(".vtctldata.PlannedReparentShardRequest.expected_primary: object expected"); + message.expected_primary = $root.topodata.TabletAlias.fromObject(object.expected_primary); + } +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return message; }; @@ -102863,6 +103072,12 @@ $root.vtctldata = (function() { object.new_primary = null; object.avoid_primary = null; object.wait_replicas_timeout = null; +<<<<<<< HEAD +======= + object.tolerable_replication_lag = null; + object.allow_cross_cell_promotion = false; + object.expected_primary = null; +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) } if (message.keyspace != null && message.hasOwnProperty("keyspace")) object.keyspace = message.keyspace; @@ -102874,6 +103089,15 @@ $root.vtctldata = (function() { object.avoid_primary = $root.topodata.TabletAlias.toObject(message.avoid_primary, options); if (message.wait_replicas_timeout != null && message.hasOwnProperty("wait_replicas_timeout")) object.wait_replicas_timeout = $root.vttime.Duration.toObject(message.wait_replicas_timeout, options); +<<<<<<< HEAD +======= + if (message.tolerable_replication_lag != null && message.hasOwnProperty("tolerable_replication_lag")) + object.tolerable_replication_lag = $root.vttime.Duration.toObject(message.tolerable_replication_lag, options); + if (message.allow_cross_cell_promotion != null && message.hasOwnProperty("allow_cross_cell_promotion")) + object.allow_cross_cell_promotion = message.allow_cross_cell_promotion; + if (message.expected_primary != null && message.hasOwnProperty("expected_primary")) + object.expected_primary = $root.topodata.TabletAlias.toObject(message.expected_primary, options); +>>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return object; }; From 48ae3d86d5c19b4381112a65652864e425a4b501 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Wed, 9 Oct 2024 19:41:51 +0200 Subject: [PATCH 2/3] make vtadmin_web_proto_types Signed-off-by: Tim Vaillancourt --- web/vtadmin/src/proto/vtadmin.d.ts | 39209 +-------------------------- web/vtadmin/src/proto/vtadmin.js | 186 +- 2 files changed, 20 insertions(+), 39375 deletions(-) diff --git a/web/vtadmin/src/proto/vtadmin.d.ts b/web/vtadmin/src/proto/vtadmin.d.ts index 6275eb413c3..f620fddf7fd 100644 --- a/web/vtadmin/src/proto/vtadmin.d.ts +++ b/web/vtadmin/src/proto/vtadmin.d.ts @@ -37704,6 +37704,9 @@ export namespace vtctldata { /** EmergencyReparentShardRequest prevent_cross_cell_promotion */ prevent_cross_cell_promotion?: (boolean|null); + + /** EmergencyReparentShardRequest expected_primary */ + expected_primary?: (topodata.ITabletAlias|null); } /** Represents an EmergencyReparentShardRequest. */ @@ -37733,6 +37736,9 @@ export namespace vtctldata { /** EmergencyReparentShardRequest prevent_cross_cell_promotion. */ public prevent_cross_cell_promotion: boolean; + /** EmergencyReparentShardRequest expected_primary. */ + public expected_primary?: (topodata.ITabletAlias|null); + /** * Creates a new EmergencyReparentShardRequest instance using the specified properties. * @param [properties] Properties to set @@ -43314,6 +43320,9 @@ export namespace vtctldata { /** PlannedReparentShardRequest wait_replicas_timeout */ wait_replicas_timeout?: (vttime.IDuration|null); + + /** PlannedReparentShardRequest expected_primary */ + expected_primary?: (topodata.ITabletAlias|null); } /** Represents a PlannedReparentShardRequest. */ @@ -43340,6 +43349,9 @@ export namespace vtctldata { /** PlannedReparentShardRequest wait_replicas_timeout. */ public wait_replicas_timeout?: (vttime.IDuration|null); + /** PlannedReparentShardRequest expected_primary. */ + public expected_primary?: (topodata.ITabletAlias|null); + /** * Creates a new PlannedReparentShardRequest instance using the specified properties. * @param [properties] Properties to set @@ -53967,39202 +53979,5 @@ export namespace binlogdata { * @returns JSON object */ public toJSON(): { [k: string]: any }; -<<<<<<< HEAD -======= - - /** - * Gets the default type url for VStreamResultsResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } -} - -/** Namespace query. */ -export namespace query { - - /** Properties of a Target. */ - interface ITarget { - - /** Target keyspace */ - keyspace?: (string|null); - - /** Target shard */ - shard?: (string|null); - - /** Target tablet_type */ - tablet_type?: (topodata.TabletType|null); - - /** Target cell */ - cell?: (string|null); - } - - /** Represents a Target. */ - class Target implements ITarget { - - /** - * Constructs a new Target. - * @param [properties] Properties to set - */ - constructor(properties?: query.ITarget); - - /** Target keyspace. */ - public keyspace: string; - - /** Target shard. */ - public shard: string; - - /** Target tablet_type. */ - public tablet_type: topodata.TabletType; - - /** Target cell. */ - public cell: string; - - /** - * Creates a new Target instance using the specified properties. - * @param [properties] Properties to set - * @returns Target instance - */ - public static create(properties?: query.ITarget): query.Target; - - /** - * Encodes the specified Target message. Does not implicitly {@link query.Target.verify|verify} messages. - * @param message Target message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.ITarget, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Target message, length delimited. Does not implicitly {@link query.Target.verify|verify} messages. - * @param message Target message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.ITarget, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Target message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Target - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Target; - - /** - * Decodes a Target message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Target - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Target; - - /** - * Verifies a Target message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Target message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Target - */ - public static fromObject(object: { [k: string]: any }): query.Target; - - /** - * Creates a plain object from a Target message. Also converts values to other types if specified. - * @param message Target - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.Target, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Target to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Target - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a VTGateCallerID. */ - interface IVTGateCallerID { - - /** VTGateCallerID username */ - username?: (string|null); - - /** VTGateCallerID groups */ - groups?: (string[]|null); - } - - /** Represents a VTGateCallerID. */ - class VTGateCallerID implements IVTGateCallerID { - - /** - * Constructs a new VTGateCallerID. - * @param [properties] Properties to set - */ - constructor(properties?: query.IVTGateCallerID); - - /** VTGateCallerID username. */ - public username: string; - - /** VTGateCallerID groups. */ - public groups: string[]; - - /** - * Creates a new VTGateCallerID instance using the specified properties. - * @param [properties] Properties to set - * @returns VTGateCallerID instance - */ - public static create(properties?: query.IVTGateCallerID): query.VTGateCallerID; - - /** - * Encodes the specified VTGateCallerID message. Does not implicitly {@link query.VTGateCallerID.verify|verify} messages. - * @param message VTGateCallerID message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IVTGateCallerID, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VTGateCallerID message, length delimited. Does not implicitly {@link query.VTGateCallerID.verify|verify} messages. - * @param message VTGateCallerID message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IVTGateCallerID, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VTGateCallerID message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VTGateCallerID - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.VTGateCallerID; - - /** - * Decodes a VTGateCallerID message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VTGateCallerID - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.VTGateCallerID; - - /** - * Verifies a VTGateCallerID message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VTGateCallerID message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VTGateCallerID - */ - public static fromObject(object: { [k: string]: any }): query.VTGateCallerID; - - /** - * Creates a plain object from a VTGateCallerID message. Also converts values to other types if specified. - * @param message VTGateCallerID - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.VTGateCallerID, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VTGateCallerID to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VTGateCallerID - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an EventToken. */ - interface IEventToken { - - /** EventToken timestamp */ - timestamp?: (number|Long|null); - - /** EventToken shard */ - shard?: (string|null); - - /** EventToken position */ - position?: (string|null); - } - - /** Represents an EventToken. */ - class EventToken implements IEventToken { - - /** - * Constructs a new EventToken. - * @param [properties] Properties to set - */ - constructor(properties?: query.IEventToken); - - /** EventToken timestamp. */ - public timestamp: (number|Long); - - /** EventToken shard. */ - public shard: string; - - /** EventToken position. */ - public position: string; - - /** - * Creates a new EventToken instance using the specified properties. - * @param [properties] Properties to set - * @returns EventToken instance - */ - public static create(properties?: query.IEventToken): query.EventToken; - - /** - * Encodes the specified EventToken message. Does not implicitly {@link query.EventToken.verify|verify} messages. - * @param message EventToken message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IEventToken, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified EventToken message, length delimited. Does not implicitly {@link query.EventToken.verify|verify} messages. - * @param message EventToken message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IEventToken, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an EventToken message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns EventToken - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.EventToken; - - /** - * Decodes an EventToken message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns EventToken - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.EventToken; - - /** - * Verifies an EventToken message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an EventToken message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns EventToken - */ - public static fromObject(object: { [k: string]: any }): query.EventToken; - - /** - * Creates a plain object from an EventToken message. Also converts values to other types if specified. - * @param message EventToken - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.EventToken, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this EventToken to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for EventToken - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** MySqlFlag enum. */ - enum MySqlFlag { - EMPTY = 0, - NOT_NULL_FLAG = 1, - PRI_KEY_FLAG = 2, - UNIQUE_KEY_FLAG = 4, - MULTIPLE_KEY_FLAG = 8, - BLOB_FLAG = 16, - UNSIGNED_FLAG = 32, - ZEROFILL_FLAG = 64, - BINARY_FLAG = 128, - ENUM_FLAG = 256, - AUTO_INCREMENT_FLAG = 512, - TIMESTAMP_FLAG = 1024, - SET_FLAG = 2048, - NO_DEFAULT_VALUE_FLAG = 4096, - ON_UPDATE_NOW_FLAG = 8192, - NUM_FLAG = 32768, - PART_KEY_FLAG = 16384, - GROUP_FLAG = 32768, - UNIQUE_FLAG = 65536, - BINCMP_FLAG = 131072 - } - - /** Flag enum. */ - enum Flag { - NONE = 0, - ISINTEGRAL = 256, - ISUNSIGNED = 512, - ISFLOAT = 1024, - ISQUOTED = 2048, - ISTEXT = 4096, - ISBINARY = 8192 - } - - /** Type enum. */ - enum Type { - NULL_TYPE = 0, - INT8 = 257, - UINT8 = 770, - INT16 = 259, - UINT16 = 772, - INT24 = 261, - UINT24 = 774, - INT32 = 263, - UINT32 = 776, - INT64 = 265, - UINT64 = 778, - FLOAT32 = 1035, - FLOAT64 = 1036, - TIMESTAMP = 2061, - DATE = 2062, - TIME = 2063, - DATETIME = 2064, - YEAR = 785, - DECIMAL = 18, - TEXT = 6163, - BLOB = 10260, - VARCHAR = 6165, - VARBINARY = 10262, - CHAR = 6167, - BINARY = 10264, - BIT = 2073, - ENUM = 2074, - SET = 2075, - TUPLE = 28, - GEOMETRY = 2077, - JSON = 2078, - EXPRESSION = 31, - HEXNUM = 4128, - HEXVAL = 4129, - BITNUM = 4130, - VECTOR = 2083, - RAW = 2084 - } - - /** Properties of a Value. */ - interface IValue { - - /** Value type */ - type?: (query.Type|null); - - /** Value value */ - value?: (Uint8Array|null); - } - - /** Represents a Value. */ - class Value implements IValue { - - /** - * Constructs a new Value. - * @param [properties] Properties to set - */ - constructor(properties?: query.IValue); - - /** Value type. */ - public type: query.Type; - - /** Value value. */ - public value: Uint8Array; - - /** - * Creates a new Value instance using the specified properties. - * @param [properties] Properties to set - * @returns Value instance - */ - public static create(properties?: query.IValue): query.Value; - - /** - * Encodes the specified Value message. Does not implicitly {@link query.Value.verify|verify} messages. - * @param message Value message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Value message, length delimited. Does not implicitly {@link query.Value.verify|verify} messages. - * @param message Value message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Value message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Value - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Value; - - /** - * Decodes a Value message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Value - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Value; - - /** - * Verifies a Value message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Value message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Value - */ - public static fromObject(object: { [k: string]: any }): query.Value; - - /** - * Creates a plain object from a Value message. Also converts values to other types if specified. - * @param message Value - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Value to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Value - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a BindVariable. */ - interface IBindVariable { - - /** BindVariable type */ - type?: (query.Type|null); - - /** BindVariable value */ - value?: (Uint8Array|null); - - /** BindVariable values */ - values?: (query.IValue[]|null); - } - - /** Represents a BindVariable. */ - class BindVariable implements IBindVariable { - - /** - * Constructs a new BindVariable. - * @param [properties] Properties to set - */ - constructor(properties?: query.IBindVariable); - - /** BindVariable type. */ - public type: query.Type; - - /** BindVariable value. */ - public value: Uint8Array; - - /** BindVariable values. */ - public values: query.IValue[]; - - /** - * Creates a new BindVariable instance using the specified properties. - * @param [properties] Properties to set - * @returns BindVariable instance - */ - public static create(properties?: query.IBindVariable): query.BindVariable; - - /** - * Encodes the specified BindVariable message. Does not implicitly {@link query.BindVariable.verify|verify} messages. - * @param message BindVariable message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IBindVariable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BindVariable message, length delimited. Does not implicitly {@link query.BindVariable.verify|verify} messages. - * @param message BindVariable message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IBindVariable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BindVariable message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BindVariable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BindVariable; - - /** - * Decodes a BindVariable message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BindVariable - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BindVariable; - - /** - * Verifies a BindVariable message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a BindVariable message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BindVariable - */ - public static fromObject(object: { [k: string]: any }): query.BindVariable; - - /** - * Creates a plain object from a BindVariable message. Also converts values to other types if specified. - * @param message BindVariable - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.BindVariable, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BindVariable to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BindVariable - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a BoundQuery. */ - interface IBoundQuery { - - /** BoundQuery sql */ - sql?: (string|null); - - /** BoundQuery bind_variables */ - bind_variables?: ({ [k: string]: query.IBindVariable }|null); - } - - /** Represents a BoundQuery. */ - class BoundQuery implements IBoundQuery { - - /** - * Constructs a new BoundQuery. - * @param [properties] Properties to set - */ - constructor(properties?: query.IBoundQuery); - - /** BoundQuery sql. */ - public sql: string; - - /** BoundQuery bind_variables. */ - public bind_variables: { [k: string]: query.IBindVariable }; - - /** - * Creates a new BoundQuery instance using the specified properties. - * @param [properties] Properties to set - * @returns BoundQuery instance - */ - public static create(properties?: query.IBoundQuery): query.BoundQuery; - - /** - * Encodes the specified BoundQuery message. Does not implicitly {@link query.BoundQuery.verify|verify} messages. - * @param message BoundQuery message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IBoundQuery, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BoundQuery message, length delimited. Does not implicitly {@link query.BoundQuery.verify|verify} messages. - * @param message BoundQuery message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IBoundQuery, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BoundQuery message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BoundQuery - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BoundQuery; - - /** - * Decodes a BoundQuery message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BoundQuery - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BoundQuery; - - /** - * Verifies a BoundQuery message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a BoundQuery message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BoundQuery - */ - public static fromObject(object: { [k: string]: any }): query.BoundQuery; - - /** - * Creates a plain object from a BoundQuery message. Also converts values to other types if specified. - * @param message BoundQuery - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.BoundQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BoundQuery to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BoundQuery - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ExecuteOptions. */ - interface IExecuteOptions { - - /** ExecuteOptions included_fields */ - included_fields?: (query.ExecuteOptions.IncludedFields|null); - - /** ExecuteOptions client_found_rows */ - client_found_rows?: (boolean|null); - - /** ExecuteOptions workload */ - workload?: (query.ExecuteOptions.Workload|null); - - /** ExecuteOptions sql_select_limit */ - sql_select_limit?: (number|Long|null); - - /** ExecuteOptions transaction_isolation */ - transaction_isolation?: (query.ExecuteOptions.TransactionIsolation|null); - - /** ExecuteOptions skip_query_plan_cache */ - skip_query_plan_cache?: (boolean|null); - - /** ExecuteOptions planner_version */ - planner_version?: (query.ExecuteOptions.PlannerVersion|null); - - /** ExecuteOptions has_created_temp_tables */ - has_created_temp_tables?: (boolean|null); - - /** ExecuteOptions consolidator */ - consolidator?: (query.ExecuteOptions.Consolidator|null); - - /** ExecuteOptions transaction_access_mode */ - transaction_access_mode?: (query.ExecuteOptions.TransactionAccessMode[]|null); - - /** ExecuteOptions WorkloadName */ - WorkloadName?: (string|null); - - /** ExecuteOptions priority */ - priority?: (string|null); - - /** ExecuteOptions authoritative_timeout */ - authoritative_timeout?: (number|Long|null); - } - - /** Represents an ExecuteOptions. */ - class ExecuteOptions implements IExecuteOptions { - - /** - * Constructs a new ExecuteOptions. - * @param [properties] Properties to set - */ - constructor(properties?: query.IExecuteOptions); - - /** ExecuteOptions included_fields. */ - public included_fields: query.ExecuteOptions.IncludedFields; - - /** ExecuteOptions client_found_rows. */ - public client_found_rows: boolean; - - /** ExecuteOptions workload. */ - public workload: query.ExecuteOptions.Workload; - - /** ExecuteOptions sql_select_limit. */ - public sql_select_limit: (number|Long); - - /** ExecuteOptions transaction_isolation. */ - public transaction_isolation: query.ExecuteOptions.TransactionIsolation; - - /** ExecuteOptions skip_query_plan_cache. */ - public skip_query_plan_cache: boolean; - - /** ExecuteOptions planner_version. */ - public planner_version: query.ExecuteOptions.PlannerVersion; - - /** ExecuteOptions has_created_temp_tables. */ - public has_created_temp_tables: boolean; - - /** ExecuteOptions consolidator. */ - public consolidator: query.ExecuteOptions.Consolidator; - - /** ExecuteOptions transaction_access_mode. */ - public transaction_access_mode: query.ExecuteOptions.TransactionAccessMode[]; - - /** ExecuteOptions WorkloadName. */ - public WorkloadName: string; - - /** ExecuteOptions priority. */ - public priority: string; - - /** ExecuteOptions authoritative_timeout. */ - public authoritative_timeout?: (number|Long|null); - - /** ExecuteOptions timeout. */ - public timeout?: "authoritative_timeout"; - - /** - * Creates a new ExecuteOptions instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteOptions instance - */ - public static create(properties?: query.IExecuteOptions): query.ExecuteOptions; - - /** - * Encodes the specified ExecuteOptions message. Does not implicitly {@link query.ExecuteOptions.verify|verify} messages. - * @param message ExecuteOptions message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IExecuteOptions, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteOptions message, length delimited. Does not implicitly {@link query.ExecuteOptions.verify|verify} messages. - * @param message ExecuteOptions message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IExecuteOptions, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteOptions message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ExecuteOptions; - - /** - * Decodes an ExecuteOptions message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ExecuteOptions; - - /** - * Verifies an ExecuteOptions message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteOptions message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteOptions - */ - public static fromObject(object: { [k: string]: any }): query.ExecuteOptions; - - /** - * Creates a plain object from an ExecuteOptions message. Also converts values to other types if specified. - * @param message ExecuteOptions - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ExecuteOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteOptions to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteOptions - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace ExecuteOptions { - - /** IncludedFields enum. */ - enum IncludedFields { - TYPE_AND_NAME = 0, - TYPE_ONLY = 1, - ALL = 2 - } - - /** Workload enum. */ - enum Workload { - UNSPECIFIED = 0, - OLTP = 1, - OLAP = 2, - DBA = 3 - } - - /** TransactionIsolation enum. */ - enum TransactionIsolation { - DEFAULT = 0, - REPEATABLE_READ = 1, - READ_COMMITTED = 2, - READ_UNCOMMITTED = 3, - SERIALIZABLE = 4, - CONSISTENT_SNAPSHOT_READ_ONLY = 5, - AUTOCOMMIT = 6 - } - - /** PlannerVersion enum. */ - enum PlannerVersion { - DEFAULT_PLANNER = 0, - V3 = 1, - Gen4 = 2, - Gen4Greedy = 3, - Gen4Left2Right = 4, - Gen4WithFallback = 5, - Gen4CompareV3 = 6, - V3Insert = 7 - } - - /** Consolidator enum. */ - enum Consolidator { - CONSOLIDATOR_UNSPECIFIED = 0, - CONSOLIDATOR_DISABLED = 1, - CONSOLIDATOR_ENABLED = 2, - CONSOLIDATOR_ENABLED_REPLICAS = 3 - } - - /** TransactionAccessMode enum. */ - enum TransactionAccessMode { - CONSISTENT_SNAPSHOT = 0, - READ_WRITE = 1, - READ_ONLY = 2 - } - } - - /** Properties of a Field. */ - interface IField { - - /** Field name */ - name?: (string|null); - - /** Field type */ - type?: (query.Type|null); - - /** Field table */ - table?: (string|null); - - /** Field org_table */ - org_table?: (string|null); - - /** Field database */ - database?: (string|null); - - /** Field org_name */ - org_name?: (string|null); - - /** Field column_length */ - column_length?: (number|null); - - /** Field charset */ - charset?: (number|null); - - /** Field decimals */ - decimals?: (number|null); - - /** Field flags */ - flags?: (number|null); - - /** Field column_type */ - column_type?: (string|null); - } - - /** Represents a Field. */ - class Field implements IField { - - /** - * Constructs a new Field. - * @param [properties] Properties to set - */ - constructor(properties?: query.IField); - - /** Field name. */ - public name: string; - - /** Field type. */ - public type: query.Type; - - /** Field table. */ - public table: string; - - /** Field org_table. */ - public org_table: string; - - /** Field database. */ - public database: string; - - /** Field org_name. */ - public org_name: string; - - /** Field column_length. */ - public column_length: number; - - /** Field charset. */ - public charset: number; - - /** Field decimals. */ - public decimals: number; - - /** Field flags. */ - public flags: number; - - /** Field column_type. */ - public column_type: string; - - /** - * Creates a new Field instance using the specified properties. - * @param [properties] Properties to set - * @returns Field instance - */ - public static create(properties?: query.IField): query.Field; - - /** - * Encodes the specified Field message. Does not implicitly {@link query.Field.verify|verify} messages. - * @param message Field message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IField, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Field message, length delimited. Does not implicitly {@link query.Field.verify|verify} messages. - * @param message Field message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IField, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Field message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Field - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Field; - - /** - * Decodes a Field message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Field - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Field; - - /** - * Verifies a Field message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Field message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Field - */ - public static fromObject(object: { [k: string]: any }): query.Field; - - /** - * Creates a plain object from a Field message. Also converts values to other types if specified. - * @param message Field - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.Field, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Field to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Field - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Row. */ - interface IRow { - - /** Row lengths */ - lengths?: ((number|Long)[]|null); - - /** Row values */ - values?: (Uint8Array|null); - } - - /** Represents a Row. */ - class Row implements IRow { - - /** - * Constructs a new Row. - * @param [properties] Properties to set - */ - constructor(properties?: query.IRow); - - /** Row lengths. */ - public lengths: (number|Long)[]; - - /** Row values. */ - public values: Uint8Array; - - /** - * Creates a new Row instance using the specified properties. - * @param [properties] Properties to set - * @returns Row instance - */ - public static create(properties?: query.IRow): query.Row; - - /** - * Encodes the specified Row message. Does not implicitly {@link query.Row.verify|verify} messages. - * @param message Row message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IRow, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Row message, length delimited. Does not implicitly {@link query.Row.verify|verify} messages. - * @param message Row message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IRow, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Row message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Row - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.Row; - - /** - * Decodes a Row message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Row - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.Row; - - /** - * Verifies a Row message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Row message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Row - */ - public static fromObject(object: { [k: string]: any }): query.Row; - - /** - * Creates a plain object from a Row message. Also converts values to other types if specified. - * @param message Row - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.Row, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Row to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Row - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a QueryResult. */ - interface IQueryResult { - - /** QueryResult fields */ - fields?: (query.IField[]|null); - - /** QueryResult rows_affected */ - rows_affected?: (number|Long|null); - - /** QueryResult insert_id */ - insert_id?: (number|Long|null); - - /** QueryResult rows */ - rows?: (query.IRow[]|null); - - /** QueryResult info */ - info?: (string|null); - - /** QueryResult session_state_changes */ - session_state_changes?: (string|null); - } - - /** Represents a QueryResult. */ - class QueryResult implements IQueryResult { - - /** - * Constructs a new QueryResult. - * @param [properties] Properties to set - */ - constructor(properties?: query.IQueryResult); - - /** QueryResult fields. */ - public fields: query.IField[]; - - /** QueryResult rows_affected. */ - public rows_affected: (number|Long); - - /** QueryResult insert_id. */ - public insert_id: (number|Long); - - /** QueryResult rows. */ - public rows: query.IRow[]; - - /** QueryResult info. */ - public info: string; - - /** QueryResult session_state_changes. */ - public session_state_changes: string; - - /** - * Creates a new QueryResult instance using the specified properties. - * @param [properties] Properties to set - * @returns QueryResult instance - */ - public static create(properties?: query.IQueryResult): query.QueryResult; - - /** - * Encodes the specified QueryResult message. Does not implicitly {@link query.QueryResult.verify|verify} messages. - * @param message QueryResult message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified QueryResult message, length delimited. Does not implicitly {@link query.QueryResult.verify|verify} messages. - * @param message QueryResult message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a QueryResult message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns QueryResult - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.QueryResult; - - /** - * Decodes a QueryResult message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns QueryResult - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.QueryResult; - - /** - * Verifies a QueryResult message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a QueryResult message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns QueryResult - */ - public static fromObject(object: { [k: string]: any }): query.QueryResult; - - /** - * Creates a plain object from a QueryResult message. Also converts values to other types if specified. - * @param message QueryResult - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.QueryResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this QueryResult to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for QueryResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a QueryWarning. */ - interface IQueryWarning { - - /** QueryWarning code */ - code?: (number|null); - - /** QueryWarning message */ - message?: (string|null); - } - - /** Represents a QueryWarning. */ - class QueryWarning implements IQueryWarning { - - /** - * Constructs a new QueryWarning. - * @param [properties] Properties to set - */ - constructor(properties?: query.IQueryWarning); - - /** QueryWarning code. */ - public code: number; - - /** QueryWarning message. */ - public message: string; - - /** - * Creates a new QueryWarning instance using the specified properties. - * @param [properties] Properties to set - * @returns QueryWarning instance - */ - public static create(properties?: query.IQueryWarning): query.QueryWarning; - - /** - * Encodes the specified QueryWarning message. Does not implicitly {@link query.QueryWarning.verify|verify} messages. - * @param message QueryWarning message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IQueryWarning, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified QueryWarning message, length delimited. Does not implicitly {@link query.QueryWarning.verify|verify} messages. - * @param message QueryWarning message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IQueryWarning, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a QueryWarning message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns QueryWarning - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.QueryWarning; - - /** - * Decodes a QueryWarning message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns QueryWarning - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.QueryWarning; - - /** - * Verifies a QueryWarning message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a QueryWarning message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns QueryWarning - */ - public static fromObject(object: { [k: string]: any }): query.QueryWarning; - - /** - * Creates a plain object from a QueryWarning message. Also converts values to other types if specified. - * @param message QueryWarning - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.QueryWarning, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this QueryWarning to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for QueryWarning - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StreamEvent. */ - interface IStreamEvent { - - /** StreamEvent statements */ - statements?: (query.StreamEvent.IStatement[]|null); - - /** StreamEvent event_token */ - event_token?: (query.IEventToken|null); - } - - /** Represents a StreamEvent. */ - class StreamEvent implements IStreamEvent { - - /** - * Constructs a new StreamEvent. - * @param [properties] Properties to set - */ - constructor(properties?: query.IStreamEvent); - - /** StreamEvent statements. */ - public statements: query.StreamEvent.IStatement[]; - - /** StreamEvent event_token. */ - public event_token?: (query.IEventToken|null); - - /** - * Creates a new StreamEvent instance using the specified properties. - * @param [properties] Properties to set - * @returns StreamEvent instance - */ - public static create(properties?: query.IStreamEvent): query.StreamEvent; - - /** - * Encodes the specified StreamEvent message. Does not implicitly {@link query.StreamEvent.verify|verify} messages. - * @param message StreamEvent message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IStreamEvent, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StreamEvent message, length delimited. Does not implicitly {@link query.StreamEvent.verify|verify} messages. - * @param message StreamEvent message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IStreamEvent, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StreamEvent message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StreamEvent - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamEvent; - - /** - * Decodes a StreamEvent message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StreamEvent - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamEvent; - - /** - * Verifies a StreamEvent message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StreamEvent message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StreamEvent - */ - public static fromObject(object: { [k: string]: any }): query.StreamEvent; - - /** - * Creates a plain object from a StreamEvent message. Also converts values to other types if specified. - * @param message StreamEvent - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.StreamEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StreamEvent to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StreamEvent - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace StreamEvent { - - /** Properties of a Statement. */ - interface IStatement { - - /** Statement category */ - category?: (query.StreamEvent.Statement.Category|null); - - /** Statement table_name */ - table_name?: (string|null); - - /** Statement primary_key_fields */ - primary_key_fields?: (query.IField[]|null); - - /** Statement primary_key_values */ - primary_key_values?: (query.IRow[]|null); - - /** Statement sql */ - sql?: (Uint8Array|null); - } - - /** Represents a Statement. */ - class Statement implements IStatement { - - /** - * Constructs a new Statement. - * @param [properties] Properties to set - */ - constructor(properties?: query.StreamEvent.IStatement); - - /** Statement category. */ - public category: query.StreamEvent.Statement.Category; - - /** Statement table_name. */ - public table_name: string; - - /** Statement primary_key_fields. */ - public primary_key_fields: query.IField[]; - - /** Statement primary_key_values. */ - public primary_key_values: query.IRow[]; - - /** Statement sql. */ - public sql: Uint8Array; - - /** - * Creates a new Statement instance using the specified properties. - * @param [properties] Properties to set - * @returns Statement instance - */ - public static create(properties?: query.StreamEvent.IStatement): query.StreamEvent.Statement; - - /** - * Encodes the specified Statement message. Does not implicitly {@link query.StreamEvent.Statement.verify|verify} messages. - * @param message Statement message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.StreamEvent.IStatement, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Statement message, length delimited. Does not implicitly {@link query.StreamEvent.Statement.verify|verify} messages. - * @param message Statement message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.StreamEvent.IStatement, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Statement message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Statement - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamEvent.Statement; - - /** - * Decodes a Statement message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Statement - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamEvent.Statement; - - /** - * Verifies a Statement message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Statement message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Statement - */ - public static fromObject(object: { [k: string]: any }): query.StreamEvent.Statement; - - /** - * Creates a plain object from a Statement message. Also converts values to other types if specified. - * @param message Statement - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.StreamEvent.Statement, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Statement to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Statement - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace Statement { - - /** Category enum. */ - enum Category { - Error = 0, - DML = 1, - DDL = 2 - } - } - } - - /** Properties of an ExecuteRequest. */ - interface IExecuteRequest { - - /** ExecuteRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** ExecuteRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ExecuteRequest target */ - target?: (query.ITarget|null); - - /** ExecuteRequest query */ - query?: (query.IBoundQuery|null); - - /** ExecuteRequest transaction_id */ - transaction_id?: (number|Long|null); - - /** ExecuteRequest options */ - options?: (query.IExecuteOptions|null); - - /** ExecuteRequest reserved_id */ - reserved_id?: (number|Long|null); - } - - /** Represents an ExecuteRequest. */ - class ExecuteRequest implements IExecuteRequest { - - /** - * Constructs a new ExecuteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IExecuteRequest); - - /** ExecuteRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** ExecuteRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ExecuteRequest target. */ - public target?: (query.ITarget|null); - - /** ExecuteRequest query. */ - public query?: (query.IBoundQuery|null); - - /** ExecuteRequest transaction_id. */ - public transaction_id: (number|Long); - - /** ExecuteRequest options. */ - public options?: (query.IExecuteOptions|null); - - /** ExecuteRequest reserved_id. */ - public reserved_id: (number|Long); - - /** - * Creates a new ExecuteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteRequest instance - */ - public static create(properties?: query.IExecuteRequest): query.ExecuteRequest; - - /** - * Encodes the specified ExecuteRequest message. Does not implicitly {@link query.ExecuteRequest.verify|verify} messages. - * @param message ExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteRequest message, length delimited. Does not implicitly {@link query.ExecuteRequest.verify|verify} messages. - * @param message ExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ExecuteRequest; - - /** - * Decodes an ExecuteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ExecuteRequest; - - /** - * Verifies an ExecuteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteRequest - */ - public static fromObject(object: { [k: string]: any }): query.ExecuteRequest; - - /** - * Creates a plain object from an ExecuteRequest message. Also converts values to other types if specified. - * @param message ExecuteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ExecuteResponse. */ - interface IExecuteResponse { - - /** ExecuteResponse result */ - result?: (query.IQueryResult|null); - } - - /** Represents an ExecuteResponse. */ - class ExecuteResponse implements IExecuteResponse { - - /** - * Constructs a new ExecuteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IExecuteResponse); - - /** ExecuteResponse result. */ - public result?: (query.IQueryResult|null); - - /** - * Creates a new ExecuteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteResponse instance - */ - public static create(properties?: query.IExecuteResponse): query.ExecuteResponse; - - /** - * Encodes the specified ExecuteResponse message. Does not implicitly {@link query.ExecuteResponse.verify|verify} messages. - * @param message ExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteResponse message, length delimited. Does not implicitly {@link query.ExecuteResponse.verify|verify} messages. - * @param message ExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ExecuteResponse; - - /** - * Decodes an ExecuteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ExecuteResponse; - - /** - * Verifies an ExecuteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteResponse - */ - public static fromObject(object: { [k: string]: any }): query.ExecuteResponse; - - /** - * Creates a plain object from an ExecuteResponse message. Also converts values to other types if specified. - * @param message ExecuteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ResultWithError. */ - interface IResultWithError { - - /** ResultWithError error */ - error?: (vtrpc.IRPCError|null); - - /** ResultWithError result */ - result?: (query.IQueryResult|null); - } - - /** Represents a ResultWithError. */ - class ResultWithError implements IResultWithError { - - /** - * Constructs a new ResultWithError. - * @param [properties] Properties to set - */ - constructor(properties?: query.IResultWithError); - - /** ResultWithError error. */ - public error?: (vtrpc.IRPCError|null); - - /** ResultWithError result. */ - public result?: (query.IQueryResult|null); - - /** - * Creates a new ResultWithError instance using the specified properties. - * @param [properties] Properties to set - * @returns ResultWithError instance - */ - public static create(properties?: query.IResultWithError): query.ResultWithError; - - /** - * Encodes the specified ResultWithError message. Does not implicitly {@link query.ResultWithError.verify|verify} messages. - * @param message ResultWithError message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IResultWithError, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ResultWithError message, length delimited. Does not implicitly {@link query.ResultWithError.verify|verify} messages. - * @param message ResultWithError message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IResultWithError, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ResultWithError message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ResultWithError - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ResultWithError; - - /** - * Decodes a ResultWithError message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ResultWithError - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ResultWithError; - - /** - * Verifies a ResultWithError message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ResultWithError message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ResultWithError - */ - public static fromObject(object: { [k: string]: any }): query.ResultWithError; - - /** - * Creates a plain object from a ResultWithError message. Also converts values to other types if specified. - * @param message ResultWithError - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ResultWithError, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ResultWithError to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ResultWithError - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StreamExecuteRequest. */ - interface IStreamExecuteRequest { - - /** StreamExecuteRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** StreamExecuteRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** StreamExecuteRequest target */ - target?: (query.ITarget|null); - - /** StreamExecuteRequest query */ - query?: (query.IBoundQuery|null); - - /** StreamExecuteRequest options */ - options?: (query.IExecuteOptions|null); - - /** StreamExecuteRequest transaction_id */ - transaction_id?: (number|Long|null); - - /** StreamExecuteRequest reserved_id */ - reserved_id?: (number|Long|null); - } - - /** Represents a StreamExecuteRequest. */ - class StreamExecuteRequest implements IStreamExecuteRequest { - - /** - * Constructs a new StreamExecuteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IStreamExecuteRequest); - - /** StreamExecuteRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** StreamExecuteRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** StreamExecuteRequest target. */ - public target?: (query.ITarget|null); - - /** StreamExecuteRequest query. */ - public query?: (query.IBoundQuery|null); - - /** StreamExecuteRequest options. */ - public options?: (query.IExecuteOptions|null); - - /** StreamExecuteRequest transaction_id. */ - public transaction_id: (number|Long); - - /** StreamExecuteRequest reserved_id. */ - public reserved_id: (number|Long); - - /** - * Creates a new StreamExecuteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns StreamExecuteRequest instance - */ - public static create(properties?: query.IStreamExecuteRequest): query.StreamExecuteRequest; - - /** - * Encodes the specified StreamExecuteRequest message. Does not implicitly {@link query.StreamExecuteRequest.verify|verify} messages. - * @param message StreamExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StreamExecuteRequest message, length delimited. Does not implicitly {@link query.StreamExecuteRequest.verify|verify} messages. - * @param message StreamExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StreamExecuteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StreamExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamExecuteRequest; - - /** - * Decodes a StreamExecuteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StreamExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamExecuteRequest; - - /** - * Verifies a StreamExecuteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StreamExecuteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StreamExecuteRequest - */ - public static fromObject(object: { [k: string]: any }): query.StreamExecuteRequest; - - /** - * Creates a plain object from a StreamExecuteRequest message. Also converts values to other types if specified. - * @param message StreamExecuteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.StreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StreamExecuteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StreamExecuteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StreamExecuteResponse. */ - interface IStreamExecuteResponse { - - /** StreamExecuteResponse result */ - result?: (query.IQueryResult|null); - } - - /** Represents a StreamExecuteResponse. */ - class StreamExecuteResponse implements IStreamExecuteResponse { - - /** - * Constructs a new StreamExecuteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IStreamExecuteResponse); - - /** StreamExecuteResponse result. */ - public result?: (query.IQueryResult|null); - - /** - * Creates a new StreamExecuteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns StreamExecuteResponse instance - */ - public static create(properties?: query.IStreamExecuteResponse): query.StreamExecuteResponse; - - /** - * Encodes the specified StreamExecuteResponse message. Does not implicitly {@link query.StreamExecuteResponse.verify|verify} messages. - * @param message StreamExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StreamExecuteResponse message, length delimited. Does not implicitly {@link query.StreamExecuteResponse.verify|verify} messages. - * @param message StreamExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StreamExecuteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StreamExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamExecuteResponse; - - /** - * Decodes a StreamExecuteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StreamExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamExecuteResponse; - - /** - * Verifies a StreamExecuteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StreamExecuteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StreamExecuteResponse - */ - public static fromObject(object: { [k: string]: any }): query.StreamExecuteResponse; - - /** - * Creates a plain object from a StreamExecuteResponse message. Also converts values to other types if specified. - * @param message StreamExecuteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.StreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StreamExecuteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StreamExecuteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a BeginRequest. */ - interface IBeginRequest { - - /** BeginRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** BeginRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** BeginRequest target */ - target?: (query.ITarget|null); - - /** BeginRequest options */ - options?: (query.IExecuteOptions|null); - } - - /** Represents a BeginRequest. */ - class BeginRequest implements IBeginRequest { - - /** - * Constructs a new BeginRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IBeginRequest); - - /** BeginRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** BeginRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** BeginRequest target. */ - public target?: (query.ITarget|null); - - /** BeginRequest options. */ - public options?: (query.IExecuteOptions|null); - - /** - * Creates a new BeginRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns BeginRequest instance - */ - public static create(properties?: query.IBeginRequest): query.BeginRequest; - - /** - * Encodes the specified BeginRequest message. Does not implicitly {@link query.BeginRequest.verify|verify} messages. - * @param message BeginRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IBeginRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BeginRequest message, length delimited. Does not implicitly {@link query.BeginRequest.verify|verify} messages. - * @param message BeginRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IBeginRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BeginRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BeginRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginRequest; - - /** - * Decodes a BeginRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BeginRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginRequest; - - /** - * Verifies a BeginRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a BeginRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BeginRequest - */ - public static fromObject(object: { [k: string]: any }): query.BeginRequest; - - /** - * Creates a plain object from a BeginRequest message. Also converts values to other types if specified. - * @param message BeginRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.BeginRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BeginRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BeginRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a BeginResponse. */ - interface IBeginResponse { - - /** BeginResponse transaction_id */ - transaction_id?: (number|Long|null); - - /** BeginResponse tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** BeginResponse session_state_changes */ - session_state_changes?: (string|null); - } - - /** Represents a BeginResponse. */ - class BeginResponse implements IBeginResponse { - - /** - * Constructs a new BeginResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IBeginResponse); - - /** BeginResponse transaction_id. */ - public transaction_id: (number|Long); - - /** BeginResponse tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** BeginResponse session_state_changes. */ - public session_state_changes: string; - - /** - * Creates a new BeginResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns BeginResponse instance - */ - public static create(properties?: query.IBeginResponse): query.BeginResponse; - - /** - * Encodes the specified BeginResponse message. Does not implicitly {@link query.BeginResponse.verify|verify} messages. - * @param message BeginResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IBeginResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BeginResponse message, length delimited. Does not implicitly {@link query.BeginResponse.verify|verify} messages. - * @param message BeginResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IBeginResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BeginResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BeginResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginResponse; - - /** - * Decodes a BeginResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BeginResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginResponse; - - /** - * Verifies a BeginResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a BeginResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BeginResponse - */ - public static fromObject(object: { [k: string]: any }): query.BeginResponse; - - /** - * Creates a plain object from a BeginResponse message. Also converts values to other types if specified. - * @param message BeginResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.BeginResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BeginResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BeginResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CommitRequest. */ - interface ICommitRequest { - - /** CommitRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** CommitRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** CommitRequest target */ - target?: (query.ITarget|null); - - /** CommitRequest transaction_id */ - transaction_id?: (number|Long|null); - } - - /** Represents a CommitRequest. */ - class CommitRequest implements ICommitRequest { - - /** - * Constructs a new CommitRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.ICommitRequest); - - /** CommitRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** CommitRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** CommitRequest target. */ - public target?: (query.ITarget|null); - - /** CommitRequest transaction_id. */ - public transaction_id: (number|Long); - - /** - * Creates a new CommitRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns CommitRequest instance - */ - public static create(properties?: query.ICommitRequest): query.CommitRequest; - - /** - * Encodes the specified CommitRequest message. Does not implicitly {@link query.CommitRequest.verify|verify} messages. - * @param message CommitRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.ICommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CommitRequest message, length delimited. Does not implicitly {@link query.CommitRequest.verify|verify} messages. - * @param message CommitRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.ICommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CommitRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CommitRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitRequest; - - /** - * Decodes a CommitRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CommitRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitRequest; - - /** - * Verifies a CommitRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CommitRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CommitRequest - */ - public static fromObject(object: { [k: string]: any }): query.CommitRequest; - - /** - * Creates a plain object from a CommitRequest message. Also converts values to other types if specified. - * @param message CommitRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.CommitRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CommitRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CommitRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CommitResponse. */ - interface ICommitResponse { - - /** CommitResponse reserved_id */ - reserved_id?: (number|Long|null); - } - - /** Represents a CommitResponse. */ - class CommitResponse implements ICommitResponse { - - /** - * Constructs a new CommitResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.ICommitResponse); - - /** CommitResponse reserved_id. */ - public reserved_id: (number|Long); - - /** - * Creates a new CommitResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns CommitResponse instance - */ - public static create(properties?: query.ICommitResponse): query.CommitResponse; - - /** - * Encodes the specified CommitResponse message. Does not implicitly {@link query.CommitResponse.verify|verify} messages. - * @param message CommitResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.ICommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CommitResponse message, length delimited. Does not implicitly {@link query.CommitResponse.verify|verify} messages. - * @param message CommitResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.ICommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CommitResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CommitResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitResponse; - - /** - * Decodes a CommitResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CommitResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitResponse; - - /** - * Verifies a CommitResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CommitResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CommitResponse - */ - public static fromObject(object: { [k: string]: any }): query.CommitResponse; - - /** - * Creates a plain object from a CommitResponse message. Also converts values to other types if specified. - * @param message CommitResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.CommitResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CommitResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CommitResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RollbackRequest. */ - interface IRollbackRequest { - - /** RollbackRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** RollbackRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** RollbackRequest target */ - target?: (query.ITarget|null); - - /** RollbackRequest transaction_id */ - transaction_id?: (number|Long|null); - } - - /** Represents a RollbackRequest. */ - class RollbackRequest implements IRollbackRequest { - - /** - * Constructs a new RollbackRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IRollbackRequest); - - /** RollbackRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** RollbackRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** RollbackRequest target. */ - public target?: (query.ITarget|null); - - /** RollbackRequest transaction_id. */ - public transaction_id: (number|Long); - - /** - * Creates a new RollbackRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RollbackRequest instance - */ - public static create(properties?: query.IRollbackRequest): query.RollbackRequest; - - /** - * Encodes the specified RollbackRequest message. Does not implicitly {@link query.RollbackRequest.verify|verify} messages. - * @param message RollbackRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RollbackRequest message, length delimited. Does not implicitly {@link query.RollbackRequest.verify|verify} messages. - * @param message RollbackRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RollbackRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RollbackRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackRequest; - - /** - * Decodes a RollbackRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RollbackRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackRequest; - - /** - * Verifies a RollbackRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RollbackRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RollbackRequest - */ - public static fromObject(object: { [k: string]: any }): query.RollbackRequest; - - /** - * Creates a plain object from a RollbackRequest message. Also converts values to other types if specified. - * @param message RollbackRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.RollbackRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RollbackRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RollbackRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RollbackResponse. */ - interface IRollbackResponse { - - /** RollbackResponse reserved_id */ - reserved_id?: (number|Long|null); - } - - /** Represents a RollbackResponse. */ - class RollbackResponse implements IRollbackResponse { - - /** - * Constructs a new RollbackResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IRollbackResponse); - - /** RollbackResponse reserved_id. */ - public reserved_id: (number|Long); - - /** - * Creates a new RollbackResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RollbackResponse instance - */ - public static create(properties?: query.IRollbackResponse): query.RollbackResponse; - - /** - * Encodes the specified RollbackResponse message. Does not implicitly {@link query.RollbackResponse.verify|verify} messages. - * @param message RollbackResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RollbackResponse message, length delimited. Does not implicitly {@link query.RollbackResponse.verify|verify} messages. - * @param message RollbackResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RollbackResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RollbackResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackResponse; - - /** - * Decodes a RollbackResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RollbackResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackResponse; - - /** - * Verifies a RollbackResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RollbackResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RollbackResponse - */ - public static fromObject(object: { [k: string]: any }): query.RollbackResponse; - - /** - * Creates a plain object from a RollbackResponse message. Also converts values to other types if specified. - * @param message RollbackResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.RollbackResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RollbackResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RollbackResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a PrepareRequest. */ - interface IPrepareRequest { - - /** PrepareRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** PrepareRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** PrepareRequest target */ - target?: (query.ITarget|null); - - /** PrepareRequest transaction_id */ - transaction_id?: (number|Long|null); - - /** PrepareRequest dtid */ - dtid?: (string|null); - } - - /** Represents a PrepareRequest. */ - class PrepareRequest implements IPrepareRequest { - - /** - * Constructs a new PrepareRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IPrepareRequest); - - /** PrepareRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** PrepareRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** PrepareRequest target. */ - public target?: (query.ITarget|null); - - /** PrepareRequest transaction_id. */ - public transaction_id: (number|Long); - - /** PrepareRequest dtid. */ - public dtid: string; - - /** - * Creates a new PrepareRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns PrepareRequest instance - */ - public static create(properties?: query.IPrepareRequest): query.PrepareRequest; - - /** - * Encodes the specified PrepareRequest message. Does not implicitly {@link query.PrepareRequest.verify|verify} messages. - * @param message PrepareRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IPrepareRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PrepareRequest message, length delimited. Does not implicitly {@link query.PrepareRequest.verify|verify} messages. - * @param message PrepareRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IPrepareRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PrepareRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PrepareRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.PrepareRequest; - - /** - * Decodes a PrepareRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PrepareRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.PrepareRequest; - - /** - * Verifies a PrepareRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a PrepareRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PrepareRequest - */ - public static fromObject(object: { [k: string]: any }): query.PrepareRequest; - - /** - * Creates a plain object from a PrepareRequest message. Also converts values to other types if specified. - * @param message PrepareRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.PrepareRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PrepareRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PrepareRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a PrepareResponse. */ - interface IPrepareResponse { - } - - /** Represents a PrepareResponse. */ - class PrepareResponse implements IPrepareResponse { - - /** - * Constructs a new PrepareResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IPrepareResponse); - - /** - * Creates a new PrepareResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns PrepareResponse instance - */ - public static create(properties?: query.IPrepareResponse): query.PrepareResponse; - - /** - * Encodes the specified PrepareResponse message. Does not implicitly {@link query.PrepareResponse.verify|verify} messages. - * @param message PrepareResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IPrepareResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PrepareResponse message, length delimited. Does not implicitly {@link query.PrepareResponse.verify|verify} messages. - * @param message PrepareResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IPrepareResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PrepareResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PrepareResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.PrepareResponse; - - /** - * Decodes a PrepareResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PrepareResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.PrepareResponse; - - /** - * Verifies a PrepareResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a PrepareResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PrepareResponse - */ - public static fromObject(object: { [k: string]: any }): query.PrepareResponse; - - /** - * Creates a plain object from a PrepareResponse message. Also converts values to other types if specified. - * @param message PrepareResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.PrepareResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PrepareResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PrepareResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CommitPreparedRequest. */ - interface ICommitPreparedRequest { - - /** CommitPreparedRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** CommitPreparedRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** CommitPreparedRequest target */ - target?: (query.ITarget|null); - - /** CommitPreparedRequest dtid */ - dtid?: (string|null); - } - - /** Represents a CommitPreparedRequest. */ - class CommitPreparedRequest implements ICommitPreparedRequest { - - /** - * Constructs a new CommitPreparedRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.ICommitPreparedRequest); - - /** CommitPreparedRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** CommitPreparedRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** CommitPreparedRequest target. */ - public target?: (query.ITarget|null); - - /** CommitPreparedRequest dtid. */ - public dtid: string; - - /** - * Creates a new CommitPreparedRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns CommitPreparedRequest instance - */ - public static create(properties?: query.ICommitPreparedRequest): query.CommitPreparedRequest; - - /** - * Encodes the specified CommitPreparedRequest message. Does not implicitly {@link query.CommitPreparedRequest.verify|verify} messages. - * @param message CommitPreparedRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.ICommitPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CommitPreparedRequest message, length delimited. Does not implicitly {@link query.CommitPreparedRequest.verify|verify} messages. - * @param message CommitPreparedRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.ICommitPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CommitPreparedRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CommitPreparedRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitPreparedRequest; - - /** - * Decodes a CommitPreparedRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CommitPreparedRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitPreparedRequest; - - /** - * Verifies a CommitPreparedRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CommitPreparedRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CommitPreparedRequest - */ - public static fromObject(object: { [k: string]: any }): query.CommitPreparedRequest; - - /** - * Creates a plain object from a CommitPreparedRequest message. Also converts values to other types if specified. - * @param message CommitPreparedRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.CommitPreparedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CommitPreparedRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CommitPreparedRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CommitPreparedResponse. */ - interface ICommitPreparedResponse { - } - - /** Represents a CommitPreparedResponse. */ - class CommitPreparedResponse implements ICommitPreparedResponse { - - /** - * Constructs a new CommitPreparedResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.ICommitPreparedResponse); - - /** - * Creates a new CommitPreparedResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns CommitPreparedResponse instance - */ - public static create(properties?: query.ICommitPreparedResponse): query.CommitPreparedResponse; - - /** - * Encodes the specified CommitPreparedResponse message. Does not implicitly {@link query.CommitPreparedResponse.verify|verify} messages. - * @param message CommitPreparedResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.ICommitPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CommitPreparedResponse message, length delimited. Does not implicitly {@link query.CommitPreparedResponse.verify|verify} messages. - * @param message CommitPreparedResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.ICommitPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CommitPreparedResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CommitPreparedResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CommitPreparedResponse; - - /** - * Decodes a CommitPreparedResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CommitPreparedResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CommitPreparedResponse; - - /** - * Verifies a CommitPreparedResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CommitPreparedResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CommitPreparedResponse - */ - public static fromObject(object: { [k: string]: any }): query.CommitPreparedResponse; - - /** - * Creates a plain object from a CommitPreparedResponse message. Also converts values to other types if specified. - * @param message CommitPreparedResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.CommitPreparedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CommitPreparedResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CommitPreparedResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RollbackPreparedRequest. */ - interface IRollbackPreparedRequest { - - /** RollbackPreparedRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** RollbackPreparedRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** RollbackPreparedRequest target */ - target?: (query.ITarget|null); - - /** RollbackPreparedRequest transaction_id */ - transaction_id?: (number|Long|null); - - /** RollbackPreparedRequest dtid */ - dtid?: (string|null); - } - - /** Represents a RollbackPreparedRequest. */ - class RollbackPreparedRequest implements IRollbackPreparedRequest { - - /** - * Constructs a new RollbackPreparedRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IRollbackPreparedRequest); - - /** RollbackPreparedRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** RollbackPreparedRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** RollbackPreparedRequest target. */ - public target?: (query.ITarget|null); - - /** RollbackPreparedRequest transaction_id. */ - public transaction_id: (number|Long); - - /** RollbackPreparedRequest dtid. */ - public dtid: string; - - /** - * Creates a new RollbackPreparedRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RollbackPreparedRequest instance - */ - public static create(properties?: query.IRollbackPreparedRequest): query.RollbackPreparedRequest; - - /** - * Encodes the specified RollbackPreparedRequest message. Does not implicitly {@link query.RollbackPreparedRequest.verify|verify} messages. - * @param message RollbackPreparedRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IRollbackPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RollbackPreparedRequest message, length delimited. Does not implicitly {@link query.RollbackPreparedRequest.verify|verify} messages. - * @param message RollbackPreparedRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IRollbackPreparedRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RollbackPreparedRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RollbackPreparedRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackPreparedRequest; - - /** - * Decodes a RollbackPreparedRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RollbackPreparedRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackPreparedRequest; - - /** - * Verifies a RollbackPreparedRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RollbackPreparedRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RollbackPreparedRequest - */ - public static fromObject(object: { [k: string]: any }): query.RollbackPreparedRequest; - - /** - * Creates a plain object from a RollbackPreparedRequest message. Also converts values to other types if specified. - * @param message RollbackPreparedRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.RollbackPreparedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RollbackPreparedRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RollbackPreparedRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RollbackPreparedResponse. */ - interface IRollbackPreparedResponse { - } - - /** Represents a RollbackPreparedResponse. */ - class RollbackPreparedResponse implements IRollbackPreparedResponse { - - /** - * Constructs a new RollbackPreparedResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IRollbackPreparedResponse); - - /** - * Creates a new RollbackPreparedResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RollbackPreparedResponse instance - */ - public static create(properties?: query.IRollbackPreparedResponse): query.RollbackPreparedResponse; - - /** - * Encodes the specified RollbackPreparedResponse message. Does not implicitly {@link query.RollbackPreparedResponse.verify|verify} messages. - * @param message RollbackPreparedResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IRollbackPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RollbackPreparedResponse message, length delimited. Does not implicitly {@link query.RollbackPreparedResponse.verify|verify} messages. - * @param message RollbackPreparedResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IRollbackPreparedResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RollbackPreparedResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RollbackPreparedResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RollbackPreparedResponse; - - /** - * Decodes a RollbackPreparedResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RollbackPreparedResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RollbackPreparedResponse; - - /** - * Verifies a RollbackPreparedResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RollbackPreparedResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RollbackPreparedResponse - */ - public static fromObject(object: { [k: string]: any }): query.RollbackPreparedResponse; - - /** - * Creates a plain object from a RollbackPreparedResponse message. Also converts values to other types if specified. - * @param message RollbackPreparedResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.RollbackPreparedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RollbackPreparedResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RollbackPreparedResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CreateTransactionRequest. */ - interface ICreateTransactionRequest { - - /** CreateTransactionRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** CreateTransactionRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** CreateTransactionRequest target */ - target?: (query.ITarget|null); - - /** CreateTransactionRequest dtid */ - dtid?: (string|null); - - /** CreateTransactionRequest participants */ - participants?: (query.ITarget[]|null); - } - - /** Represents a CreateTransactionRequest. */ - class CreateTransactionRequest implements ICreateTransactionRequest { - - /** - * Constructs a new CreateTransactionRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.ICreateTransactionRequest); - - /** CreateTransactionRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** CreateTransactionRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** CreateTransactionRequest target. */ - public target?: (query.ITarget|null); - - /** CreateTransactionRequest dtid. */ - public dtid: string; - - /** CreateTransactionRequest participants. */ - public participants: query.ITarget[]; - - /** - * Creates a new CreateTransactionRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns CreateTransactionRequest instance - */ - public static create(properties?: query.ICreateTransactionRequest): query.CreateTransactionRequest; - - /** - * Encodes the specified CreateTransactionRequest message. Does not implicitly {@link query.CreateTransactionRequest.verify|verify} messages. - * @param message CreateTransactionRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.ICreateTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CreateTransactionRequest message, length delimited. Does not implicitly {@link query.CreateTransactionRequest.verify|verify} messages. - * @param message CreateTransactionRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.ICreateTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CreateTransactionRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CreateTransactionRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CreateTransactionRequest; - - /** - * Decodes a CreateTransactionRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CreateTransactionRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CreateTransactionRequest; - - /** - * Verifies a CreateTransactionRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CreateTransactionRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CreateTransactionRequest - */ - public static fromObject(object: { [k: string]: any }): query.CreateTransactionRequest; - - /** - * Creates a plain object from a CreateTransactionRequest message. Also converts values to other types if specified. - * @param message CreateTransactionRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.CreateTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CreateTransactionRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CreateTransactionRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CreateTransactionResponse. */ - interface ICreateTransactionResponse { - } - - /** Represents a CreateTransactionResponse. */ - class CreateTransactionResponse implements ICreateTransactionResponse { - - /** - * Constructs a new CreateTransactionResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.ICreateTransactionResponse); - - /** - * Creates a new CreateTransactionResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns CreateTransactionResponse instance - */ - public static create(properties?: query.ICreateTransactionResponse): query.CreateTransactionResponse; - - /** - * Encodes the specified CreateTransactionResponse message. Does not implicitly {@link query.CreateTransactionResponse.verify|verify} messages. - * @param message CreateTransactionResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.ICreateTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CreateTransactionResponse message, length delimited. Does not implicitly {@link query.CreateTransactionResponse.verify|verify} messages. - * @param message CreateTransactionResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.ICreateTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CreateTransactionResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CreateTransactionResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.CreateTransactionResponse; - - /** - * Decodes a CreateTransactionResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CreateTransactionResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.CreateTransactionResponse; - - /** - * Verifies a CreateTransactionResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CreateTransactionResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CreateTransactionResponse - */ - public static fromObject(object: { [k: string]: any }): query.CreateTransactionResponse; - - /** - * Creates a plain object from a CreateTransactionResponse message. Also converts values to other types if specified. - * @param message CreateTransactionResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.CreateTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CreateTransactionResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CreateTransactionResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StartCommitRequest. */ - interface IStartCommitRequest { - - /** StartCommitRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** StartCommitRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** StartCommitRequest target */ - target?: (query.ITarget|null); - - /** StartCommitRequest transaction_id */ - transaction_id?: (number|Long|null); - - /** StartCommitRequest dtid */ - dtid?: (string|null); - } - - /** Represents a StartCommitRequest. */ - class StartCommitRequest implements IStartCommitRequest { - - /** - * Constructs a new StartCommitRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IStartCommitRequest); - - /** StartCommitRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** StartCommitRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** StartCommitRequest target. */ - public target?: (query.ITarget|null); - - /** StartCommitRequest transaction_id. */ - public transaction_id: (number|Long); - - /** StartCommitRequest dtid. */ - public dtid: string; - - /** - * Creates a new StartCommitRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns StartCommitRequest instance - */ - public static create(properties?: query.IStartCommitRequest): query.StartCommitRequest; - - /** - * Encodes the specified StartCommitRequest message. Does not implicitly {@link query.StartCommitRequest.verify|verify} messages. - * @param message StartCommitRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IStartCommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StartCommitRequest message, length delimited. Does not implicitly {@link query.StartCommitRequest.verify|verify} messages. - * @param message StartCommitRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IStartCommitRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StartCommitRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StartCommitRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StartCommitRequest; - - /** - * Decodes a StartCommitRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StartCommitRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StartCommitRequest; - - /** - * Verifies a StartCommitRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StartCommitRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StartCommitRequest - */ - public static fromObject(object: { [k: string]: any }): query.StartCommitRequest; - - /** - * Creates a plain object from a StartCommitRequest message. Also converts values to other types if specified. - * @param message StartCommitRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.StartCommitRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StartCommitRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StartCommitRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StartCommitResponse. */ - interface IStartCommitResponse { - } - - /** Represents a StartCommitResponse. */ - class StartCommitResponse implements IStartCommitResponse { - - /** - * Constructs a new StartCommitResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IStartCommitResponse); - - /** - * Creates a new StartCommitResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns StartCommitResponse instance - */ - public static create(properties?: query.IStartCommitResponse): query.StartCommitResponse; - - /** - * Encodes the specified StartCommitResponse message. Does not implicitly {@link query.StartCommitResponse.verify|verify} messages. - * @param message StartCommitResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IStartCommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StartCommitResponse message, length delimited. Does not implicitly {@link query.StartCommitResponse.verify|verify} messages. - * @param message StartCommitResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IStartCommitResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StartCommitResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StartCommitResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StartCommitResponse; - - /** - * Decodes a StartCommitResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StartCommitResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StartCommitResponse; - - /** - * Verifies a StartCommitResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StartCommitResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StartCommitResponse - */ - public static fromObject(object: { [k: string]: any }): query.StartCommitResponse; - - /** - * Creates a plain object from a StartCommitResponse message. Also converts values to other types if specified. - * @param message StartCommitResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.StartCommitResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StartCommitResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StartCommitResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetRollbackRequest. */ - interface ISetRollbackRequest { - - /** SetRollbackRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** SetRollbackRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** SetRollbackRequest target */ - target?: (query.ITarget|null); - - /** SetRollbackRequest transaction_id */ - transaction_id?: (number|Long|null); - - /** SetRollbackRequest dtid */ - dtid?: (string|null); - } - - /** Represents a SetRollbackRequest. */ - class SetRollbackRequest implements ISetRollbackRequest { - - /** - * Constructs a new SetRollbackRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.ISetRollbackRequest); - - /** SetRollbackRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** SetRollbackRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** SetRollbackRequest target. */ - public target?: (query.ITarget|null); - - /** SetRollbackRequest transaction_id. */ - public transaction_id: (number|Long); - - /** SetRollbackRequest dtid. */ - public dtid: string; - - /** - * Creates a new SetRollbackRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns SetRollbackRequest instance - */ - public static create(properties?: query.ISetRollbackRequest): query.SetRollbackRequest; - - /** - * Encodes the specified SetRollbackRequest message. Does not implicitly {@link query.SetRollbackRequest.verify|verify} messages. - * @param message SetRollbackRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.ISetRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetRollbackRequest message, length delimited. Does not implicitly {@link query.SetRollbackRequest.verify|verify} messages. - * @param message SetRollbackRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.ISetRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetRollbackRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetRollbackRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.SetRollbackRequest; - - /** - * Decodes a SetRollbackRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetRollbackRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.SetRollbackRequest; - - /** - * Verifies a SetRollbackRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetRollbackRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetRollbackRequest - */ - public static fromObject(object: { [k: string]: any }): query.SetRollbackRequest; - - /** - * Creates a plain object from a SetRollbackRequest message. Also converts values to other types if specified. - * @param message SetRollbackRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.SetRollbackRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetRollbackRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetRollbackRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetRollbackResponse. */ - interface ISetRollbackResponse { - } - - /** Represents a SetRollbackResponse. */ - class SetRollbackResponse implements ISetRollbackResponse { - - /** - * Constructs a new SetRollbackResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.ISetRollbackResponse); - - /** - * Creates a new SetRollbackResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns SetRollbackResponse instance - */ - public static create(properties?: query.ISetRollbackResponse): query.SetRollbackResponse; - - /** - * Encodes the specified SetRollbackResponse message. Does not implicitly {@link query.SetRollbackResponse.verify|verify} messages. - * @param message SetRollbackResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.ISetRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetRollbackResponse message, length delimited. Does not implicitly {@link query.SetRollbackResponse.verify|verify} messages. - * @param message SetRollbackResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.ISetRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetRollbackResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetRollbackResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.SetRollbackResponse; - - /** - * Decodes a SetRollbackResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetRollbackResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.SetRollbackResponse; - - /** - * Verifies a SetRollbackResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetRollbackResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetRollbackResponse - */ - public static fromObject(object: { [k: string]: any }): query.SetRollbackResponse; - - /** - * Creates a plain object from a SetRollbackResponse message. Also converts values to other types if specified. - * @param message SetRollbackResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.SetRollbackResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetRollbackResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetRollbackResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ConcludeTransactionRequest. */ - interface IConcludeTransactionRequest { - - /** ConcludeTransactionRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** ConcludeTransactionRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ConcludeTransactionRequest target */ - target?: (query.ITarget|null); - - /** ConcludeTransactionRequest dtid */ - dtid?: (string|null); - } - - /** Represents a ConcludeTransactionRequest. */ - class ConcludeTransactionRequest implements IConcludeTransactionRequest { - - /** - * Constructs a new ConcludeTransactionRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IConcludeTransactionRequest); - - /** ConcludeTransactionRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** ConcludeTransactionRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ConcludeTransactionRequest target. */ - public target?: (query.ITarget|null); - - /** ConcludeTransactionRequest dtid. */ - public dtid: string; - - /** - * Creates a new ConcludeTransactionRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ConcludeTransactionRequest instance - */ - public static create(properties?: query.IConcludeTransactionRequest): query.ConcludeTransactionRequest; - - /** - * Encodes the specified ConcludeTransactionRequest message. Does not implicitly {@link query.ConcludeTransactionRequest.verify|verify} messages. - * @param message ConcludeTransactionRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IConcludeTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ConcludeTransactionRequest message, length delimited. Does not implicitly {@link query.ConcludeTransactionRequest.verify|verify} messages. - * @param message ConcludeTransactionRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IConcludeTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ConcludeTransactionRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ConcludeTransactionRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ConcludeTransactionRequest; - - /** - * Decodes a ConcludeTransactionRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ConcludeTransactionRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ConcludeTransactionRequest; - - /** - * Verifies a ConcludeTransactionRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ConcludeTransactionRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ConcludeTransactionRequest - */ - public static fromObject(object: { [k: string]: any }): query.ConcludeTransactionRequest; - - /** - * Creates a plain object from a ConcludeTransactionRequest message. Also converts values to other types if specified. - * @param message ConcludeTransactionRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ConcludeTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ConcludeTransactionRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ConcludeTransactionRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ConcludeTransactionResponse. */ - interface IConcludeTransactionResponse { - } - - /** Represents a ConcludeTransactionResponse. */ - class ConcludeTransactionResponse implements IConcludeTransactionResponse { - - /** - * Constructs a new ConcludeTransactionResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IConcludeTransactionResponse); - - /** - * Creates a new ConcludeTransactionResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ConcludeTransactionResponse instance - */ - public static create(properties?: query.IConcludeTransactionResponse): query.ConcludeTransactionResponse; - - /** - * Encodes the specified ConcludeTransactionResponse message. Does not implicitly {@link query.ConcludeTransactionResponse.verify|verify} messages. - * @param message ConcludeTransactionResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IConcludeTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ConcludeTransactionResponse message, length delimited. Does not implicitly {@link query.ConcludeTransactionResponse.verify|verify} messages. - * @param message ConcludeTransactionResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IConcludeTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ConcludeTransactionResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ConcludeTransactionResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ConcludeTransactionResponse; - - /** - * Decodes a ConcludeTransactionResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ConcludeTransactionResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ConcludeTransactionResponse; - - /** - * Verifies a ConcludeTransactionResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ConcludeTransactionResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ConcludeTransactionResponse - */ - public static fromObject(object: { [k: string]: any }): query.ConcludeTransactionResponse; - - /** - * Creates a plain object from a ConcludeTransactionResponse message. Also converts values to other types if specified. - * @param message ConcludeTransactionResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ConcludeTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ConcludeTransactionResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ConcludeTransactionResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReadTransactionRequest. */ - interface IReadTransactionRequest { - - /** ReadTransactionRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReadTransactionRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReadTransactionRequest target */ - target?: (query.ITarget|null); - - /** ReadTransactionRequest dtid */ - dtid?: (string|null); - } - - /** Represents a ReadTransactionRequest. */ - class ReadTransactionRequest implements IReadTransactionRequest { - - /** - * Constructs a new ReadTransactionRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReadTransactionRequest); - - /** ReadTransactionRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReadTransactionRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReadTransactionRequest target. */ - public target?: (query.ITarget|null); - - /** ReadTransactionRequest dtid. */ - public dtid: string; - - /** - * Creates a new ReadTransactionRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ReadTransactionRequest instance - */ - public static create(properties?: query.IReadTransactionRequest): query.ReadTransactionRequest; - - /** - * Encodes the specified ReadTransactionRequest message. Does not implicitly {@link query.ReadTransactionRequest.verify|verify} messages. - * @param message ReadTransactionRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReadTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReadTransactionRequest message, length delimited. Does not implicitly {@link query.ReadTransactionRequest.verify|verify} messages. - * @param message ReadTransactionRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReadTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReadTransactionRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReadTransactionRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReadTransactionRequest; - - /** - * Decodes a ReadTransactionRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReadTransactionRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReadTransactionRequest; - - /** - * Verifies a ReadTransactionRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReadTransactionRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReadTransactionRequest - */ - public static fromObject(object: { [k: string]: any }): query.ReadTransactionRequest; - - /** - * Creates a plain object from a ReadTransactionRequest message. Also converts values to other types if specified. - * @param message ReadTransactionRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReadTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReadTransactionRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReadTransactionRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReadTransactionResponse. */ - interface IReadTransactionResponse { - - /** ReadTransactionResponse metadata */ - metadata?: (query.ITransactionMetadata|null); - } - - /** Represents a ReadTransactionResponse. */ - class ReadTransactionResponse implements IReadTransactionResponse { - - /** - * Constructs a new ReadTransactionResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReadTransactionResponse); - - /** ReadTransactionResponse metadata. */ - public metadata?: (query.ITransactionMetadata|null); - - /** - * Creates a new ReadTransactionResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ReadTransactionResponse instance - */ - public static create(properties?: query.IReadTransactionResponse): query.ReadTransactionResponse; - - /** - * Encodes the specified ReadTransactionResponse message. Does not implicitly {@link query.ReadTransactionResponse.verify|verify} messages. - * @param message ReadTransactionResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReadTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReadTransactionResponse message, length delimited. Does not implicitly {@link query.ReadTransactionResponse.verify|verify} messages. - * @param message ReadTransactionResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReadTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReadTransactionResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReadTransactionResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReadTransactionResponse; - - /** - * Decodes a ReadTransactionResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReadTransactionResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReadTransactionResponse; - - /** - * Verifies a ReadTransactionResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReadTransactionResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReadTransactionResponse - */ - public static fromObject(object: { [k: string]: any }): query.ReadTransactionResponse; - - /** - * Creates a plain object from a ReadTransactionResponse message. Also converts values to other types if specified. - * @param message ReadTransactionResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReadTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReadTransactionResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReadTransactionResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an UnresolvedTransactionsRequest. */ - interface IUnresolvedTransactionsRequest { - - /** UnresolvedTransactionsRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** UnresolvedTransactionsRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** UnresolvedTransactionsRequest target */ - target?: (query.ITarget|null); - - /** UnresolvedTransactionsRequest abandon_age */ - abandon_age?: (number|Long|null); - } - - /** Represents an UnresolvedTransactionsRequest. */ - class UnresolvedTransactionsRequest implements IUnresolvedTransactionsRequest { - - /** - * Constructs a new UnresolvedTransactionsRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IUnresolvedTransactionsRequest); - - /** UnresolvedTransactionsRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** UnresolvedTransactionsRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** UnresolvedTransactionsRequest target. */ - public target?: (query.ITarget|null); - - /** UnresolvedTransactionsRequest abandon_age. */ - public abandon_age: (number|Long); - - /** - * Creates a new UnresolvedTransactionsRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns UnresolvedTransactionsRequest instance - */ - public static create(properties?: query.IUnresolvedTransactionsRequest): query.UnresolvedTransactionsRequest; - - /** - * Encodes the specified UnresolvedTransactionsRequest message. Does not implicitly {@link query.UnresolvedTransactionsRequest.verify|verify} messages. - * @param message UnresolvedTransactionsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IUnresolvedTransactionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UnresolvedTransactionsRequest message, length delimited. Does not implicitly {@link query.UnresolvedTransactionsRequest.verify|verify} messages. - * @param message UnresolvedTransactionsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IUnresolvedTransactionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an UnresolvedTransactionsRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UnresolvedTransactionsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.UnresolvedTransactionsRequest; - - /** - * Decodes an UnresolvedTransactionsRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UnresolvedTransactionsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.UnresolvedTransactionsRequest; - - /** - * Verifies an UnresolvedTransactionsRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an UnresolvedTransactionsRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UnresolvedTransactionsRequest - */ - public static fromObject(object: { [k: string]: any }): query.UnresolvedTransactionsRequest; - - /** - * Creates a plain object from an UnresolvedTransactionsRequest message. Also converts values to other types if specified. - * @param message UnresolvedTransactionsRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.UnresolvedTransactionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UnresolvedTransactionsRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UnresolvedTransactionsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an UnresolvedTransactionsResponse. */ - interface IUnresolvedTransactionsResponse { - - /** UnresolvedTransactionsResponse transactions */ - transactions?: (query.ITransactionMetadata[]|null); - } - - /** Represents an UnresolvedTransactionsResponse. */ - class UnresolvedTransactionsResponse implements IUnresolvedTransactionsResponse { - - /** - * Constructs a new UnresolvedTransactionsResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IUnresolvedTransactionsResponse); - - /** UnresolvedTransactionsResponse transactions. */ - public transactions: query.ITransactionMetadata[]; - - /** - * Creates a new UnresolvedTransactionsResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns UnresolvedTransactionsResponse instance - */ - public static create(properties?: query.IUnresolvedTransactionsResponse): query.UnresolvedTransactionsResponse; - - /** - * Encodes the specified UnresolvedTransactionsResponse message. Does not implicitly {@link query.UnresolvedTransactionsResponse.verify|verify} messages. - * @param message UnresolvedTransactionsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IUnresolvedTransactionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UnresolvedTransactionsResponse message, length delimited. Does not implicitly {@link query.UnresolvedTransactionsResponse.verify|verify} messages. - * @param message UnresolvedTransactionsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IUnresolvedTransactionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an UnresolvedTransactionsResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UnresolvedTransactionsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.UnresolvedTransactionsResponse; - - /** - * Decodes an UnresolvedTransactionsResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UnresolvedTransactionsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.UnresolvedTransactionsResponse; - - /** - * Verifies an UnresolvedTransactionsResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an UnresolvedTransactionsResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UnresolvedTransactionsResponse - */ - public static fromObject(object: { [k: string]: any }): query.UnresolvedTransactionsResponse; - - /** - * Creates a plain object from an UnresolvedTransactionsResponse message. Also converts values to other types if specified. - * @param message UnresolvedTransactionsResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.UnresolvedTransactionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UnresolvedTransactionsResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UnresolvedTransactionsResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a BeginExecuteRequest. */ - interface IBeginExecuteRequest { - - /** BeginExecuteRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** BeginExecuteRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** BeginExecuteRequest target */ - target?: (query.ITarget|null); - - /** BeginExecuteRequest query */ - query?: (query.IBoundQuery|null); - - /** BeginExecuteRequest options */ - options?: (query.IExecuteOptions|null); - - /** BeginExecuteRequest reserved_id */ - reserved_id?: (number|Long|null); - - /** BeginExecuteRequest pre_queries */ - pre_queries?: (string[]|null); - } - - /** Represents a BeginExecuteRequest. */ - class BeginExecuteRequest implements IBeginExecuteRequest { - - /** - * Constructs a new BeginExecuteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IBeginExecuteRequest); - - /** BeginExecuteRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** BeginExecuteRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** BeginExecuteRequest target. */ - public target?: (query.ITarget|null); - - /** BeginExecuteRequest query. */ - public query?: (query.IBoundQuery|null); - - /** BeginExecuteRequest options. */ - public options?: (query.IExecuteOptions|null); - - /** BeginExecuteRequest reserved_id. */ - public reserved_id: (number|Long); - - /** BeginExecuteRequest pre_queries. */ - public pre_queries: string[]; - - /** - * Creates a new BeginExecuteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns BeginExecuteRequest instance - */ - public static create(properties?: query.IBeginExecuteRequest): query.BeginExecuteRequest; - - /** - * Encodes the specified BeginExecuteRequest message. Does not implicitly {@link query.BeginExecuteRequest.verify|verify} messages. - * @param message BeginExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BeginExecuteRequest message, length delimited. Does not implicitly {@link query.BeginExecuteRequest.verify|verify} messages. - * @param message BeginExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BeginExecuteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BeginExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginExecuteRequest; - - /** - * Decodes a BeginExecuteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BeginExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginExecuteRequest; - - /** - * Verifies a BeginExecuteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a BeginExecuteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BeginExecuteRequest - */ - public static fromObject(object: { [k: string]: any }): query.BeginExecuteRequest; - - /** - * Creates a plain object from a BeginExecuteRequest message. Also converts values to other types if specified. - * @param message BeginExecuteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.BeginExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BeginExecuteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BeginExecuteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a BeginExecuteResponse. */ - interface IBeginExecuteResponse { - - /** BeginExecuteResponse error */ - error?: (vtrpc.IRPCError|null); - - /** BeginExecuteResponse result */ - result?: (query.IQueryResult|null); - - /** BeginExecuteResponse transaction_id */ - transaction_id?: (number|Long|null); - - /** BeginExecuteResponse tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** BeginExecuteResponse session_state_changes */ - session_state_changes?: (string|null); - } - - /** Represents a BeginExecuteResponse. */ - class BeginExecuteResponse implements IBeginExecuteResponse { - - /** - * Constructs a new BeginExecuteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IBeginExecuteResponse); - - /** BeginExecuteResponse error. */ - public error?: (vtrpc.IRPCError|null); - - /** BeginExecuteResponse result. */ - public result?: (query.IQueryResult|null); - - /** BeginExecuteResponse transaction_id. */ - public transaction_id: (number|Long); - - /** BeginExecuteResponse tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** BeginExecuteResponse session_state_changes. */ - public session_state_changes: string; - - /** - * Creates a new BeginExecuteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns BeginExecuteResponse instance - */ - public static create(properties?: query.IBeginExecuteResponse): query.BeginExecuteResponse; - - /** - * Encodes the specified BeginExecuteResponse message. Does not implicitly {@link query.BeginExecuteResponse.verify|verify} messages. - * @param message BeginExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BeginExecuteResponse message, length delimited. Does not implicitly {@link query.BeginExecuteResponse.verify|verify} messages. - * @param message BeginExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BeginExecuteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BeginExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginExecuteResponse; - - /** - * Decodes a BeginExecuteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BeginExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginExecuteResponse; - - /** - * Verifies a BeginExecuteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a BeginExecuteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BeginExecuteResponse - */ - public static fromObject(object: { [k: string]: any }): query.BeginExecuteResponse; - - /** - * Creates a plain object from a BeginExecuteResponse message. Also converts values to other types if specified. - * @param message BeginExecuteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.BeginExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BeginExecuteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BeginExecuteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a BeginStreamExecuteRequest. */ - interface IBeginStreamExecuteRequest { - - /** BeginStreamExecuteRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** BeginStreamExecuteRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** BeginStreamExecuteRequest target */ - target?: (query.ITarget|null); - - /** BeginStreamExecuteRequest query */ - query?: (query.IBoundQuery|null); - - /** BeginStreamExecuteRequest options */ - options?: (query.IExecuteOptions|null); - - /** BeginStreamExecuteRequest pre_queries */ - pre_queries?: (string[]|null); - - /** BeginStreamExecuteRequest reserved_id */ - reserved_id?: (number|Long|null); - } - - /** Represents a BeginStreamExecuteRequest. */ - class BeginStreamExecuteRequest implements IBeginStreamExecuteRequest { - - /** - * Constructs a new BeginStreamExecuteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IBeginStreamExecuteRequest); - - /** BeginStreamExecuteRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** BeginStreamExecuteRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** BeginStreamExecuteRequest target. */ - public target?: (query.ITarget|null); - - /** BeginStreamExecuteRequest query. */ - public query?: (query.IBoundQuery|null); - - /** BeginStreamExecuteRequest options. */ - public options?: (query.IExecuteOptions|null); - - /** BeginStreamExecuteRequest pre_queries. */ - public pre_queries: string[]; - - /** BeginStreamExecuteRequest reserved_id. */ - public reserved_id: (number|Long); - - /** - * Creates a new BeginStreamExecuteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns BeginStreamExecuteRequest instance - */ - public static create(properties?: query.IBeginStreamExecuteRequest): query.BeginStreamExecuteRequest; - - /** - * Encodes the specified BeginStreamExecuteRequest message. Does not implicitly {@link query.BeginStreamExecuteRequest.verify|verify} messages. - * @param message BeginStreamExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BeginStreamExecuteRequest message, length delimited. Does not implicitly {@link query.BeginStreamExecuteRequest.verify|verify} messages. - * @param message BeginStreamExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BeginStreamExecuteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BeginStreamExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginStreamExecuteRequest; - - /** - * Decodes a BeginStreamExecuteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BeginStreamExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginStreamExecuteRequest; - - /** - * Verifies a BeginStreamExecuteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a BeginStreamExecuteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BeginStreamExecuteRequest - */ - public static fromObject(object: { [k: string]: any }): query.BeginStreamExecuteRequest; - - /** - * Creates a plain object from a BeginStreamExecuteRequest message. Also converts values to other types if specified. - * @param message BeginStreamExecuteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.BeginStreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BeginStreamExecuteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BeginStreamExecuteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a BeginStreamExecuteResponse. */ - interface IBeginStreamExecuteResponse { - - /** BeginStreamExecuteResponse error */ - error?: (vtrpc.IRPCError|null); - - /** BeginStreamExecuteResponse result */ - result?: (query.IQueryResult|null); - - /** BeginStreamExecuteResponse transaction_id */ - transaction_id?: (number|Long|null); - - /** BeginStreamExecuteResponse tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** BeginStreamExecuteResponse session_state_changes */ - session_state_changes?: (string|null); - } - - /** Represents a BeginStreamExecuteResponse. */ - class BeginStreamExecuteResponse implements IBeginStreamExecuteResponse { - - /** - * Constructs a new BeginStreamExecuteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IBeginStreamExecuteResponse); - - /** BeginStreamExecuteResponse error. */ - public error?: (vtrpc.IRPCError|null); - - /** BeginStreamExecuteResponse result. */ - public result?: (query.IQueryResult|null); - - /** BeginStreamExecuteResponse transaction_id. */ - public transaction_id: (number|Long); - - /** BeginStreamExecuteResponse tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** BeginStreamExecuteResponse session_state_changes. */ - public session_state_changes: string; - - /** - * Creates a new BeginStreamExecuteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns BeginStreamExecuteResponse instance - */ - public static create(properties?: query.IBeginStreamExecuteResponse): query.BeginStreamExecuteResponse; - - /** - * Encodes the specified BeginStreamExecuteResponse message. Does not implicitly {@link query.BeginStreamExecuteResponse.verify|verify} messages. - * @param message BeginStreamExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BeginStreamExecuteResponse message, length delimited. Does not implicitly {@link query.BeginStreamExecuteResponse.verify|verify} messages. - * @param message BeginStreamExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BeginStreamExecuteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BeginStreamExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.BeginStreamExecuteResponse; - - /** - * Decodes a BeginStreamExecuteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BeginStreamExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.BeginStreamExecuteResponse; - - /** - * Verifies a BeginStreamExecuteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a BeginStreamExecuteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BeginStreamExecuteResponse - */ - public static fromObject(object: { [k: string]: any }): query.BeginStreamExecuteResponse; - - /** - * Creates a plain object from a BeginStreamExecuteResponse message. Also converts values to other types if specified. - * @param message BeginStreamExecuteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.BeginStreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BeginStreamExecuteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BeginStreamExecuteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MessageStreamRequest. */ - interface IMessageStreamRequest { - - /** MessageStreamRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** MessageStreamRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** MessageStreamRequest target */ - target?: (query.ITarget|null); - - /** MessageStreamRequest name */ - name?: (string|null); - } - - /** Represents a MessageStreamRequest. */ - class MessageStreamRequest implements IMessageStreamRequest { - - /** - * Constructs a new MessageStreamRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IMessageStreamRequest); - - /** MessageStreamRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** MessageStreamRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** MessageStreamRequest target. */ - public target?: (query.ITarget|null); - - /** MessageStreamRequest name. */ - public name: string; - - /** - * Creates a new MessageStreamRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns MessageStreamRequest instance - */ - public static create(properties?: query.IMessageStreamRequest): query.MessageStreamRequest; - - /** - * Encodes the specified MessageStreamRequest message. Does not implicitly {@link query.MessageStreamRequest.verify|verify} messages. - * @param message MessageStreamRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IMessageStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MessageStreamRequest message, length delimited. Does not implicitly {@link query.MessageStreamRequest.verify|verify} messages. - * @param message MessageStreamRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IMessageStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MessageStreamRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MessageStreamRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageStreamRequest; - - /** - * Decodes a MessageStreamRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MessageStreamRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageStreamRequest; - - /** - * Verifies a MessageStreamRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MessageStreamRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MessageStreamRequest - */ - public static fromObject(object: { [k: string]: any }): query.MessageStreamRequest; - - /** - * Creates a plain object from a MessageStreamRequest message. Also converts values to other types if specified. - * @param message MessageStreamRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.MessageStreamRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MessageStreamRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MessageStreamRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MessageStreamResponse. */ - interface IMessageStreamResponse { - - /** MessageStreamResponse result */ - result?: (query.IQueryResult|null); - } - - /** Represents a MessageStreamResponse. */ - class MessageStreamResponse implements IMessageStreamResponse { - - /** - * Constructs a new MessageStreamResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IMessageStreamResponse); - - /** MessageStreamResponse result. */ - public result?: (query.IQueryResult|null); - - /** - * Creates a new MessageStreamResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns MessageStreamResponse instance - */ - public static create(properties?: query.IMessageStreamResponse): query.MessageStreamResponse; - - /** - * Encodes the specified MessageStreamResponse message. Does not implicitly {@link query.MessageStreamResponse.verify|verify} messages. - * @param message MessageStreamResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IMessageStreamResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MessageStreamResponse message, length delimited. Does not implicitly {@link query.MessageStreamResponse.verify|verify} messages. - * @param message MessageStreamResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IMessageStreamResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MessageStreamResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MessageStreamResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageStreamResponse; - - /** - * Decodes a MessageStreamResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MessageStreamResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageStreamResponse; - - /** - * Verifies a MessageStreamResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MessageStreamResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MessageStreamResponse - */ - public static fromObject(object: { [k: string]: any }): query.MessageStreamResponse; - - /** - * Creates a plain object from a MessageStreamResponse message. Also converts values to other types if specified. - * @param message MessageStreamResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.MessageStreamResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MessageStreamResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MessageStreamResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MessageAckRequest. */ - interface IMessageAckRequest { - - /** MessageAckRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** MessageAckRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** MessageAckRequest target */ - target?: (query.ITarget|null); - - /** MessageAckRequest name */ - name?: (string|null); - - /** MessageAckRequest ids */ - ids?: (query.IValue[]|null); - } - - /** Represents a MessageAckRequest. */ - class MessageAckRequest implements IMessageAckRequest { - - /** - * Constructs a new MessageAckRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IMessageAckRequest); - - /** MessageAckRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** MessageAckRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** MessageAckRequest target. */ - public target?: (query.ITarget|null); - - /** MessageAckRequest name. */ - public name: string; - - /** MessageAckRequest ids. */ - public ids: query.IValue[]; - - /** - * Creates a new MessageAckRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns MessageAckRequest instance - */ - public static create(properties?: query.IMessageAckRequest): query.MessageAckRequest; - - /** - * Encodes the specified MessageAckRequest message. Does not implicitly {@link query.MessageAckRequest.verify|verify} messages. - * @param message MessageAckRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IMessageAckRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MessageAckRequest message, length delimited. Does not implicitly {@link query.MessageAckRequest.verify|verify} messages. - * @param message MessageAckRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IMessageAckRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MessageAckRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MessageAckRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageAckRequest; - - /** - * Decodes a MessageAckRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MessageAckRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageAckRequest; - - /** - * Verifies a MessageAckRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MessageAckRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MessageAckRequest - */ - public static fromObject(object: { [k: string]: any }): query.MessageAckRequest; - - /** - * Creates a plain object from a MessageAckRequest message. Also converts values to other types if specified. - * @param message MessageAckRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.MessageAckRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MessageAckRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MessageAckRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MessageAckResponse. */ - interface IMessageAckResponse { - - /** MessageAckResponse result */ - result?: (query.IQueryResult|null); - } - - /** Represents a MessageAckResponse. */ - class MessageAckResponse implements IMessageAckResponse { - - /** - * Constructs a new MessageAckResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IMessageAckResponse); - - /** MessageAckResponse result. */ - public result?: (query.IQueryResult|null); - - /** - * Creates a new MessageAckResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns MessageAckResponse instance - */ - public static create(properties?: query.IMessageAckResponse): query.MessageAckResponse; - - /** - * Encodes the specified MessageAckResponse message. Does not implicitly {@link query.MessageAckResponse.verify|verify} messages. - * @param message MessageAckResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IMessageAckResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MessageAckResponse message, length delimited. Does not implicitly {@link query.MessageAckResponse.verify|verify} messages. - * @param message MessageAckResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IMessageAckResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MessageAckResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MessageAckResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.MessageAckResponse; - - /** - * Decodes a MessageAckResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MessageAckResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.MessageAckResponse; - - /** - * Verifies a MessageAckResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MessageAckResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MessageAckResponse - */ - public static fromObject(object: { [k: string]: any }): query.MessageAckResponse; - - /** - * Creates a plain object from a MessageAckResponse message. Also converts values to other types if specified. - * @param message MessageAckResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.MessageAckResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MessageAckResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MessageAckResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReserveExecuteRequest. */ - interface IReserveExecuteRequest { - - /** ReserveExecuteRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReserveExecuteRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReserveExecuteRequest target */ - target?: (query.ITarget|null); - - /** ReserveExecuteRequest query */ - query?: (query.IBoundQuery|null); - - /** ReserveExecuteRequest transaction_id */ - transaction_id?: (number|Long|null); - - /** ReserveExecuteRequest options */ - options?: (query.IExecuteOptions|null); - - /** ReserveExecuteRequest pre_queries */ - pre_queries?: (string[]|null); - } - - /** Represents a ReserveExecuteRequest. */ - class ReserveExecuteRequest implements IReserveExecuteRequest { - - /** - * Constructs a new ReserveExecuteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReserveExecuteRequest); - - /** ReserveExecuteRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReserveExecuteRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReserveExecuteRequest target. */ - public target?: (query.ITarget|null); - - /** ReserveExecuteRequest query. */ - public query?: (query.IBoundQuery|null); - - /** ReserveExecuteRequest transaction_id. */ - public transaction_id: (number|Long); - - /** ReserveExecuteRequest options. */ - public options?: (query.IExecuteOptions|null); - - /** ReserveExecuteRequest pre_queries. */ - public pre_queries: string[]; - - /** - * Creates a new ReserveExecuteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ReserveExecuteRequest instance - */ - public static create(properties?: query.IReserveExecuteRequest): query.ReserveExecuteRequest; - - /** - * Encodes the specified ReserveExecuteRequest message. Does not implicitly {@link query.ReserveExecuteRequest.verify|verify} messages. - * @param message ReserveExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReserveExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReserveExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveExecuteRequest.verify|verify} messages. - * @param message ReserveExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReserveExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReserveExecuteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReserveExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveExecuteRequest; - - /** - * Decodes a ReserveExecuteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReserveExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveExecuteRequest; - - /** - * Verifies a ReserveExecuteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReserveExecuteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReserveExecuteRequest - */ - public static fromObject(object: { [k: string]: any }): query.ReserveExecuteRequest; - - /** - * Creates a plain object from a ReserveExecuteRequest message. Also converts values to other types if specified. - * @param message ReserveExecuteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReserveExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReserveExecuteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReserveExecuteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReserveExecuteResponse. */ - interface IReserveExecuteResponse { - - /** ReserveExecuteResponse error */ - error?: (vtrpc.IRPCError|null); - - /** ReserveExecuteResponse result */ - result?: (query.IQueryResult|null); - - /** ReserveExecuteResponse reserved_id */ - reserved_id?: (number|Long|null); - - /** ReserveExecuteResponse tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a ReserveExecuteResponse. */ - class ReserveExecuteResponse implements IReserveExecuteResponse { - - /** - * Constructs a new ReserveExecuteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReserveExecuteResponse); - - /** ReserveExecuteResponse error. */ - public error?: (vtrpc.IRPCError|null); - - /** ReserveExecuteResponse result. */ - public result?: (query.IQueryResult|null); - - /** ReserveExecuteResponse reserved_id. */ - public reserved_id: (number|Long); - - /** ReserveExecuteResponse tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new ReserveExecuteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ReserveExecuteResponse instance - */ - public static create(properties?: query.IReserveExecuteResponse): query.ReserveExecuteResponse; - - /** - * Encodes the specified ReserveExecuteResponse message. Does not implicitly {@link query.ReserveExecuteResponse.verify|verify} messages. - * @param message ReserveExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReserveExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReserveExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveExecuteResponse.verify|verify} messages. - * @param message ReserveExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReserveExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReserveExecuteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReserveExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveExecuteResponse; - - /** - * Decodes a ReserveExecuteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReserveExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveExecuteResponse; - - /** - * Verifies a ReserveExecuteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReserveExecuteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReserveExecuteResponse - */ - public static fromObject(object: { [k: string]: any }): query.ReserveExecuteResponse; - - /** - * Creates a plain object from a ReserveExecuteResponse message. Also converts values to other types if specified. - * @param message ReserveExecuteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReserveExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReserveExecuteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReserveExecuteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReserveStreamExecuteRequest. */ - interface IReserveStreamExecuteRequest { - - /** ReserveStreamExecuteRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReserveStreamExecuteRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReserveStreamExecuteRequest target */ - target?: (query.ITarget|null); - - /** ReserveStreamExecuteRequest query */ - query?: (query.IBoundQuery|null); - - /** ReserveStreamExecuteRequest options */ - options?: (query.IExecuteOptions|null); - - /** ReserveStreamExecuteRequest transaction_id */ - transaction_id?: (number|Long|null); - - /** ReserveStreamExecuteRequest pre_queries */ - pre_queries?: (string[]|null); - } - - /** Represents a ReserveStreamExecuteRequest. */ - class ReserveStreamExecuteRequest implements IReserveStreamExecuteRequest { - - /** - * Constructs a new ReserveStreamExecuteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReserveStreamExecuteRequest); - - /** ReserveStreamExecuteRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReserveStreamExecuteRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReserveStreamExecuteRequest target. */ - public target?: (query.ITarget|null); - - /** ReserveStreamExecuteRequest query. */ - public query?: (query.IBoundQuery|null); - - /** ReserveStreamExecuteRequest options. */ - public options?: (query.IExecuteOptions|null); - - /** ReserveStreamExecuteRequest transaction_id. */ - public transaction_id: (number|Long); - - /** ReserveStreamExecuteRequest pre_queries. */ - public pre_queries: string[]; - - /** - * Creates a new ReserveStreamExecuteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ReserveStreamExecuteRequest instance - */ - public static create(properties?: query.IReserveStreamExecuteRequest): query.ReserveStreamExecuteRequest; - - /** - * Encodes the specified ReserveStreamExecuteRequest message. Does not implicitly {@link query.ReserveStreamExecuteRequest.verify|verify} messages. - * @param message ReserveStreamExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReserveStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReserveStreamExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveStreamExecuteRequest.verify|verify} messages. - * @param message ReserveStreamExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReserveStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReserveStreamExecuteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReserveStreamExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveStreamExecuteRequest; - - /** - * Decodes a ReserveStreamExecuteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReserveStreamExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveStreamExecuteRequest; - - /** - * Verifies a ReserveStreamExecuteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReserveStreamExecuteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReserveStreamExecuteRequest - */ - public static fromObject(object: { [k: string]: any }): query.ReserveStreamExecuteRequest; - - /** - * Creates a plain object from a ReserveStreamExecuteRequest message. Also converts values to other types if specified. - * @param message ReserveStreamExecuteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReserveStreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReserveStreamExecuteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReserveStreamExecuteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReserveStreamExecuteResponse. */ - interface IReserveStreamExecuteResponse { - - /** ReserveStreamExecuteResponse error */ - error?: (vtrpc.IRPCError|null); - - /** ReserveStreamExecuteResponse result */ - result?: (query.IQueryResult|null); - - /** ReserveStreamExecuteResponse reserved_id */ - reserved_id?: (number|Long|null); - - /** ReserveStreamExecuteResponse tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a ReserveStreamExecuteResponse. */ - class ReserveStreamExecuteResponse implements IReserveStreamExecuteResponse { - - /** - * Constructs a new ReserveStreamExecuteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReserveStreamExecuteResponse); - - /** ReserveStreamExecuteResponse error. */ - public error?: (vtrpc.IRPCError|null); - - /** ReserveStreamExecuteResponse result. */ - public result?: (query.IQueryResult|null); - - /** ReserveStreamExecuteResponse reserved_id. */ - public reserved_id: (number|Long); - - /** ReserveStreamExecuteResponse tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new ReserveStreamExecuteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ReserveStreamExecuteResponse instance - */ - public static create(properties?: query.IReserveStreamExecuteResponse): query.ReserveStreamExecuteResponse; - - /** - * Encodes the specified ReserveStreamExecuteResponse message. Does not implicitly {@link query.ReserveStreamExecuteResponse.verify|verify} messages. - * @param message ReserveStreamExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReserveStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReserveStreamExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveStreamExecuteResponse.verify|verify} messages. - * @param message ReserveStreamExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReserveStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReserveStreamExecuteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReserveStreamExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveStreamExecuteResponse; - - /** - * Decodes a ReserveStreamExecuteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReserveStreamExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveStreamExecuteResponse; - - /** - * Verifies a ReserveStreamExecuteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReserveStreamExecuteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReserveStreamExecuteResponse - */ - public static fromObject(object: { [k: string]: any }): query.ReserveStreamExecuteResponse; - - /** - * Creates a plain object from a ReserveStreamExecuteResponse message. Also converts values to other types if specified. - * @param message ReserveStreamExecuteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReserveStreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReserveStreamExecuteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReserveStreamExecuteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReserveBeginExecuteRequest. */ - interface IReserveBeginExecuteRequest { - - /** ReserveBeginExecuteRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReserveBeginExecuteRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReserveBeginExecuteRequest target */ - target?: (query.ITarget|null); - - /** ReserveBeginExecuteRequest query */ - query?: (query.IBoundQuery|null); - - /** ReserveBeginExecuteRequest options */ - options?: (query.IExecuteOptions|null); - - /** ReserveBeginExecuteRequest pre_queries */ - pre_queries?: (string[]|null); - - /** ReserveBeginExecuteRequest post_begin_queries */ - post_begin_queries?: (string[]|null); - } - - /** Represents a ReserveBeginExecuteRequest. */ - class ReserveBeginExecuteRequest implements IReserveBeginExecuteRequest { - - /** - * Constructs a new ReserveBeginExecuteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReserveBeginExecuteRequest); - - /** ReserveBeginExecuteRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReserveBeginExecuteRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReserveBeginExecuteRequest target. */ - public target?: (query.ITarget|null); - - /** ReserveBeginExecuteRequest query. */ - public query?: (query.IBoundQuery|null); - - /** ReserveBeginExecuteRequest options. */ - public options?: (query.IExecuteOptions|null); - - /** ReserveBeginExecuteRequest pre_queries. */ - public pre_queries: string[]; - - /** ReserveBeginExecuteRequest post_begin_queries. */ - public post_begin_queries: string[]; - - /** - * Creates a new ReserveBeginExecuteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ReserveBeginExecuteRequest instance - */ - public static create(properties?: query.IReserveBeginExecuteRequest): query.ReserveBeginExecuteRequest; - - /** - * Encodes the specified ReserveBeginExecuteRequest message. Does not implicitly {@link query.ReserveBeginExecuteRequest.verify|verify} messages. - * @param message ReserveBeginExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReserveBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReserveBeginExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveBeginExecuteRequest.verify|verify} messages. - * @param message ReserveBeginExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReserveBeginExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReserveBeginExecuteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReserveBeginExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginExecuteRequest; - - /** - * Decodes a ReserveBeginExecuteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReserveBeginExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginExecuteRequest; - - /** - * Verifies a ReserveBeginExecuteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReserveBeginExecuteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReserveBeginExecuteRequest - */ - public static fromObject(object: { [k: string]: any }): query.ReserveBeginExecuteRequest; - - /** - * Creates a plain object from a ReserveBeginExecuteRequest message. Also converts values to other types if specified. - * @param message ReserveBeginExecuteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReserveBeginExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReserveBeginExecuteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReserveBeginExecuteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReserveBeginExecuteResponse. */ - interface IReserveBeginExecuteResponse { - - /** ReserveBeginExecuteResponse error */ - error?: (vtrpc.IRPCError|null); - - /** ReserveBeginExecuteResponse result */ - result?: (query.IQueryResult|null); - - /** ReserveBeginExecuteResponse transaction_id */ - transaction_id?: (number|Long|null); - - /** ReserveBeginExecuteResponse reserved_id */ - reserved_id?: (number|Long|null); - - /** ReserveBeginExecuteResponse tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** ReserveBeginExecuteResponse session_state_changes */ - session_state_changes?: (string|null); - } - - /** Represents a ReserveBeginExecuteResponse. */ - class ReserveBeginExecuteResponse implements IReserveBeginExecuteResponse { - - /** - * Constructs a new ReserveBeginExecuteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReserveBeginExecuteResponse); - - /** ReserveBeginExecuteResponse error. */ - public error?: (vtrpc.IRPCError|null); - - /** ReserveBeginExecuteResponse result. */ - public result?: (query.IQueryResult|null); - - /** ReserveBeginExecuteResponse transaction_id. */ - public transaction_id: (number|Long); - - /** ReserveBeginExecuteResponse reserved_id. */ - public reserved_id: (number|Long); - - /** ReserveBeginExecuteResponse tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** ReserveBeginExecuteResponse session_state_changes. */ - public session_state_changes: string; - - /** - * Creates a new ReserveBeginExecuteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ReserveBeginExecuteResponse instance - */ - public static create(properties?: query.IReserveBeginExecuteResponse): query.ReserveBeginExecuteResponse; - - /** - * Encodes the specified ReserveBeginExecuteResponse message. Does not implicitly {@link query.ReserveBeginExecuteResponse.verify|verify} messages. - * @param message ReserveBeginExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReserveBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReserveBeginExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveBeginExecuteResponse.verify|verify} messages. - * @param message ReserveBeginExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReserveBeginExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReserveBeginExecuteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReserveBeginExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginExecuteResponse; - - /** - * Decodes a ReserveBeginExecuteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReserveBeginExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginExecuteResponse; - - /** - * Verifies a ReserveBeginExecuteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReserveBeginExecuteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReserveBeginExecuteResponse - */ - public static fromObject(object: { [k: string]: any }): query.ReserveBeginExecuteResponse; - - /** - * Creates a plain object from a ReserveBeginExecuteResponse message. Also converts values to other types if specified. - * @param message ReserveBeginExecuteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReserveBeginExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReserveBeginExecuteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReserveBeginExecuteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReserveBeginStreamExecuteRequest. */ - interface IReserveBeginStreamExecuteRequest { - - /** ReserveBeginStreamExecuteRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReserveBeginStreamExecuteRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReserveBeginStreamExecuteRequest target */ - target?: (query.ITarget|null); - - /** ReserveBeginStreamExecuteRequest query */ - query?: (query.IBoundQuery|null); - - /** ReserveBeginStreamExecuteRequest options */ - options?: (query.IExecuteOptions|null); - - /** ReserveBeginStreamExecuteRequest pre_queries */ - pre_queries?: (string[]|null); - - /** ReserveBeginStreamExecuteRequest post_begin_queries */ - post_begin_queries?: (string[]|null); - } - - /** Represents a ReserveBeginStreamExecuteRequest. */ - class ReserveBeginStreamExecuteRequest implements IReserveBeginStreamExecuteRequest { - - /** - * Constructs a new ReserveBeginStreamExecuteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReserveBeginStreamExecuteRequest); - - /** ReserveBeginStreamExecuteRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReserveBeginStreamExecuteRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReserveBeginStreamExecuteRequest target. */ - public target?: (query.ITarget|null); - - /** ReserveBeginStreamExecuteRequest query. */ - public query?: (query.IBoundQuery|null); - - /** ReserveBeginStreamExecuteRequest options. */ - public options?: (query.IExecuteOptions|null); - - /** ReserveBeginStreamExecuteRequest pre_queries. */ - public pre_queries: string[]; - - /** ReserveBeginStreamExecuteRequest post_begin_queries. */ - public post_begin_queries: string[]; - - /** - * Creates a new ReserveBeginStreamExecuteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ReserveBeginStreamExecuteRequest instance - */ - public static create(properties?: query.IReserveBeginStreamExecuteRequest): query.ReserveBeginStreamExecuteRequest; - - /** - * Encodes the specified ReserveBeginStreamExecuteRequest message. Does not implicitly {@link query.ReserveBeginStreamExecuteRequest.verify|verify} messages. - * @param message ReserveBeginStreamExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReserveBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReserveBeginStreamExecuteRequest message, length delimited. Does not implicitly {@link query.ReserveBeginStreamExecuteRequest.verify|verify} messages. - * @param message ReserveBeginStreamExecuteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReserveBeginStreamExecuteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReserveBeginStreamExecuteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReserveBeginStreamExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginStreamExecuteRequest; - - /** - * Decodes a ReserveBeginStreamExecuteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReserveBeginStreamExecuteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginStreamExecuteRequest; - - /** - * Verifies a ReserveBeginStreamExecuteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReserveBeginStreamExecuteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReserveBeginStreamExecuteRequest - */ - public static fromObject(object: { [k: string]: any }): query.ReserveBeginStreamExecuteRequest; - - /** - * Creates a plain object from a ReserveBeginStreamExecuteRequest message. Also converts values to other types if specified. - * @param message ReserveBeginStreamExecuteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReserveBeginStreamExecuteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReserveBeginStreamExecuteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReserveBeginStreamExecuteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReserveBeginStreamExecuteResponse. */ - interface IReserveBeginStreamExecuteResponse { - - /** ReserveBeginStreamExecuteResponse error */ - error?: (vtrpc.IRPCError|null); - - /** ReserveBeginStreamExecuteResponse result */ - result?: (query.IQueryResult|null); - - /** ReserveBeginStreamExecuteResponse transaction_id */ - transaction_id?: (number|Long|null); - - /** ReserveBeginStreamExecuteResponse reserved_id */ - reserved_id?: (number|Long|null); - - /** ReserveBeginStreamExecuteResponse tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** ReserveBeginStreamExecuteResponse session_state_changes */ - session_state_changes?: (string|null); - } - - /** Represents a ReserveBeginStreamExecuteResponse. */ - class ReserveBeginStreamExecuteResponse implements IReserveBeginStreamExecuteResponse { - - /** - * Constructs a new ReserveBeginStreamExecuteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReserveBeginStreamExecuteResponse); - - /** ReserveBeginStreamExecuteResponse error. */ - public error?: (vtrpc.IRPCError|null); - - /** ReserveBeginStreamExecuteResponse result. */ - public result?: (query.IQueryResult|null); - - /** ReserveBeginStreamExecuteResponse transaction_id. */ - public transaction_id: (number|Long); - - /** ReserveBeginStreamExecuteResponse reserved_id. */ - public reserved_id: (number|Long); - - /** ReserveBeginStreamExecuteResponse tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** ReserveBeginStreamExecuteResponse session_state_changes. */ - public session_state_changes: string; - - /** - * Creates a new ReserveBeginStreamExecuteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ReserveBeginStreamExecuteResponse instance - */ - public static create(properties?: query.IReserveBeginStreamExecuteResponse): query.ReserveBeginStreamExecuteResponse; - - /** - * Encodes the specified ReserveBeginStreamExecuteResponse message. Does not implicitly {@link query.ReserveBeginStreamExecuteResponse.verify|verify} messages. - * @param message ReserveBeginStreamExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReserveBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReserveBeginStreamExecuteResponse message, length delimited. Does not implicitly {@link query.ReserveBeginStreamExecuteResponse.verify|verify} messages. - * @param message ReserveBeginStreamExecuteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReserveBeginStreamExecuteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReserveBeginStreamExecuteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReserveBeginStreamExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReserveBeginStreamExecuteResponse; - - /** - * Decodes a ReserveBeginStreamExecuteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReserveBeginStreamExecuteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReserveBeginStreamExecuteResponse; - - /** - * Verifies a ReserveBeginStreamExecuteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReserveBeginStreamExecuteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReserveBeginStreamExecuteResponse - */ - public static fromObject(object: { [k: string]: any }): query.ReserveBeginStreamExecuteResponse; - - /** - * Creates a plain object from a ReserveBeginStreamExecuteResponse message. Also converts values to other types if specified. - * @param message ReserveBeginStreamExecuteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReserveBeginStreamExecuteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReserveBeginStreamExecuteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReserveBeginStreamExecuteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReleaseRequest. */ - interface IReleaseRequest { - - /** ReleaseRequest effective_caller_id */ - effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReleaseRequest immediate_caller_id */ - immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReleaseRequest target */ - target?: (query.ITarget|null); - - /** ReleaseRequest transaction_id */ - transaction_id?: (number|Long|null); - - /** ReleaseRequest reserved_id */ - reserved_id?: (number|Long|null); - } - - /** Represents a ReleaseRequest. */ - class ReleaseRequest implements IReleaseRequest { - - /** - * Constructs a new ReleaseRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReleaseRequest); - - /** ReleaseRequest effective_caller_id. */ - public effective_caller_id?: (vtrpc.ICallerID|null); - - /** ReleaseRequest immediate_caller_id. */ - public immediate_caller_id?: (query.IVTGateCallerID|null); - - /** ReleaseRequest target. */ - public target?: (query.ITarget|null); - - /** ReleaseRequest transaction_id. */ - public transaction_id: (number|Long); - - /** ReleaseRequest reserved_id. */ - public reserved_id: (number|Long); - - /** - * Creates a new ReleaseRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ReleaseRequest instance - */ - public static create(properties?: query.IReleaseRequest): query.ReleaseRequest; - - /** - * Encodes the specified ReleaseRequest message. Does not implicitly {@link query.ReleaseRequest.verify|verify} messages. - * @param message ReleaseRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReleaseRequest message, length delimited. Does not implicitly {@link query.ReleaseRequest.verify|verify} messages. - * @param message ReleaseRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReleaseRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReleaseRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReleaseRequest; - - /** - * Decodes a ReleaseRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReleaseRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReleaseRequest; - - /** - * Verifies a ReleaseRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReleaseRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReleaseRequest - */ - public static fromObject(object: { [k: string]: any }): query.ReleaseRequest; - - /** - * Creates a plain object from a ReleaseRequest message. Also converts values to other types if specified. - * @param message ReleaseRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReleaseRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReleaseRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReleaseRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReleaseResponse. */ - interface IReleaseResponse { - } - - /** Represents a ReleaseResponse. */ - class ReleaseResponse implements IReleaseResponse { - - /** - * Constructs a new ReleaseResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IReleaseResponse); - - /** - * Creates a new ReleaseResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ReleaseResponse instance - */ - public static create(properties?: query.IReleaseResponse): query.ReleaseResponse; - - /** - * Encodes the specified ReleaseResponse message. Does not implicitly {@link query.ReleaseResponse.verify|verify} messages. - * @param message ReleaseResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IReleaseResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReleaseResponse message, length delimited. Does not implicitly {@link query.ReleaseResponse.verify|verify} messages. - * @param message ReleaseResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IReleaseResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReleaseResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReleaseResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.ReleaseResponse; - - /** - * Decodes a ReleaseResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReleaseResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.ReleaseResponse; - - /** - * Verifies a ReleaseResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReleaseResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReleaseResponse - */ - public static fromObject(object: { [k: string]: any }): query.ReleaseResponse; - - /** - * Creates a plain object from a ReleaseResponse message. Also converts values to other types if specified. - * @param message ReleaseResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.ReleaseResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReleaseResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReleaseResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StreamHealthRequest. */ - interface IStreamHealthRequest { - } - - /** Represents a StreamHealthRequest. */ - class StreamHealthRequest implements IStreamHealthRequest { - - /** - * Constructs a new StreamHealthRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IStreamHealthRequest); - - /** - * Creates a new StreamHealthRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns StreamHealthRequest instance - */ - public static create(properties?: query.IStreamHealthRequest): query.StreamHealthRequest; - - /** - * Encodes the specified StreamHealthRequest message. Does not implicitly {@link query.StreamHealthRequest.verify|verify} messages. - * @param message StreamHealthRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IStreamHealthRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StreamHealthRequest message, length delimited. Does not implicitly {@link query.StreamHealthRequest.verify|verify} messages. - * @param message StreamHealthRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IStreamHealthRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StreamHealthRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StreamHealthRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamHealthRequest; - - /** - * Decodes a StreamHealthRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StreamHealthRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamHealthRequest; - - /** - * Verifies a StreamHealthRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StreamHealthRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StreamHealthRequest - */ - public static fromObject(object: { [k: string]: any }): query.StreamHealthRequest; - - /** - * Creates a plain object from a StreamHealthRequest message. Also converts values to other types if specified. - * @param message StreamHealthRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.StreamHealthRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StreamHealthRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StreamHealthRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RealtimeStats. */ - interface IRealtimeStats { - - /** RealtimeStats health_error */ - health_error?: (string|null); - - /** RealtimeStats replication_lag_seconds */ - replication_lag_seconds?: (number|null); - - /** RealtimeStats binlog_players_count */ - binlog_players_count?: (number|null); - - /** RealtimeStats filtered_replication_lag_seconds */ - filtered_replication_lag_seconds?: (number|Long|null); - - /** RealtimeStats cpu_usage */ - cpu_usage?: (number|null); - - /** RealtimeStats qps */ - qps?: (number|null); - - /** RealtimeStats table_schema_changed */ - table_schema_changed?: (string[]|null); - - /** RealtimeStats view_schema_changed */ - view_schema_changed?: (string[]|null); - - /** RealtimeStats udfs_changed */ - udfs_changed?: (boolean|null); - - /** RealtimeStats tx_unresolved */ - tx_unresolved?: (boolean|null); - } - - /** Represents a RealtimeStats. */ - class RealtimeStats implements IRealtimeStats { - - /** - * Constructs a new RealtimeStats. - * @param [properties] Properties to set - */ - constructor(properties?: query.IRealtimeStats); - - /** RealtimeStats health_error. */ - public health_error: string; - - /** RealtimeStats replication_lag_seconds. */ - public replication_lag_seconds: number; - - /** RealtimeStats binlog_players_count. */ - public binlog_players_count: number; - - /** RealtimeStats filtered_replication_lag_seconds. */ - public filtered_replication_lag_seconds: (number|Long); - - /** RealtimeStats cpu_usage. */ - public cpu_usage: number; - - /** RealtimeStats qps. */ - public qps: number; - - /** RealtimeStats table_schema_changed. */ - public table_schema_changed: string[]; - - /** RealtimeStats view_schema_changed. */ - public view_schema_changed: string[]; - - /** RealtimeStats udfs_changed. */ - public udfs_changed: boolean; - - /** RealtimeStats tx_unresolved. */ - public tx_unresolved: boolean; - - /** - * Creates a new RealtimeStats instance using the specified properties. - * @param [properties] Properties to set - * @returns RealtimeStats instance - */ - public static create(properties?: query.IRealtimeStats): query.RealtimeStats; - - /** - * Encodes the specified RealtimeStats message. Does not implicitly {@link query.RealtimeStats.verify|verify} messages. - * @param message RealtimeStats message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IRealtimeStats, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RealtimeStats message, length delimited. Does not implicitly {@link query.RealtimeStats.verify|verify} messages. - * @param message RealtimeStats message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IRealtimeStats, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RealtimeStats message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RealtimeStats - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.RealtimeStats; - - /** - * Decodes a RealtimeStats message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RealtimeStats - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.RealtimeStats; - - /** - * Verifies a RealtimeStats message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RealtimeStats message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RealtimeStats - */ - public static fromObject(object: { [k: string]: any }): query.RealtimeStats; - - /** - * Creates a plain object from a RealtimeStats message. Also converts values to other types if specified. - * @param message RealtimeStats - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.RealtimeStats, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RealtimeStats to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RealtimeStats - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an AggregateStats. */ - interface IAggregateStats { - - /** AggregateStats healthy_tablet_count */ - healthy_tablet_count?: (number|null); - - /** AggregateStats unhealthy_tablet_count */ - unhealthy_tablet_count?: (number|null); - - /** AggregateStats replication_lag_seconds_min */ - replication_lag_seconds_min?: (number|null); - - /** AggregateStats replication_lag_seconds_max */ - replication_lag_seconds_max?: (number|null); - } - - /** Represents an AggregateStats. */ - class AggregateStats implements IAggregateStats { - - /** - * Constructs a new AggregateStats. - * @param [properties] Properties to set - */ - constructor(properties?: query.IAggregateStats); - - /** AggregateStats healthy_tablet_count. */ - public healthy_tablet_count: number; - - /** AggregateStats unhealthy_tablet_count. */ - public unhealthy_tablet_count: number; - - /** AggregateStats replication_lag_seconds_min. */ - public replication_lag_seconds_min: number; - - /** AggregateStats replication_lag_seconds_max. */ - public replication_lag_seconds_max: number; - - /** - * Creates a new AggregateStats instance using the specified properties. - * @param [properties] Properties to set - * @returns AggregateStats instance - */ - public static create(properties?: query.IAggregateStats): query.AggregateStats; - - /** - * Encodes the specified AggregateStats message. Does not implicitly {@link query.AggregateStats.verify|verify} messages. - * @param message AggregateStats message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IAggregateStats, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AggregateStats message, length delimited. Does not implicitly {@link query.AggregateStats.verify|verify} messages. - * @param message AggregateStats message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IAggregateStats, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AggregateStats message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AggregateStats - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.AggregateStats; - - /** - * Decodes an AggregateStats message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AggregateStats - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.AggregateStats; - - /** - * Verifies an AggregateStats message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an AggregateStats message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AggregateStats - */ - public static fromObject(object: { [k: string]: any }): query.AggregateStats; - - /** - * Creates a plain object from an AggregateStats message. Also converts values to other types if specified. - * @param message AggregateStats - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.AggregateStats, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AggregateStats to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AggregateStats - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StreamHealthResponse. */ - interface IStreamHealthResponse { - - /** StreamHealthResponse target */ - target?: (query.ITarget|null); - - /** StreamHealthResponse serving */ - serving?: (boolean|null); - - /** StreamHealthResponse primary_term_start_timestamp */ - primary_term_start_timestamp?: (number|Long|null); - - /** StreamHealthResponse realtime_stats */ - realtime_stats?: (query.IRealtimeStats|null); - - /** StreamHealthResponse tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a StreamHealthResponse. */ - class StreamHealthResponse implements IStreamHealthResponse { - - /** - * Constructs a new StreamHealthResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IStreamHealthResponse); - - /** StreamHealthResponse target. */ - public target?: (query.ITarget|null); - - /** StreamHealthResponse serving. */ - public serving: boolean; - - /** StreamHealthResponse primary_term_start_timestamp. */ - public primary_term_start_timestamp: (number|Long); - - /** StreamHealthResponse realtime_stats. */ - public realtime_stats?: (query.IRealtimeStats|null); - - /** StreamHealthResponse tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new StreamHealthResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns StreamHealthResponse instance - */ - public static create(properties?: query.IStreamHealthResponse): query.StreamHealthResponse; - - /** - * Encodes the specified StreamHealthResponse message. Does not implicitly {@link query.StreamHealthResponse.verify|verify} messages. - * @param message StreamHealthResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IStreamHealthResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StreamHealthResponse message, length delimited. Does not implicitly {@link query.StreamHealthResponse.verify|verify} messages. - * @param message StreamHealthResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IStreamHealthResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StreamHealthResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StreamHealthResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.StreamHealthResponse; - - /** - * Decodes a StreamHealthResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StreamHealthResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.StreamHealthResponse; - - /** - * Verifies a StreamHealthResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StreamHealthResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StreamHealthResponse - */ - public static fromObject(object: { [k: string]: any }): query.StreamHealthResponse; - - /** - * Creates a plain object from a StreamHealthResponse message. Also converts values to other types if specified. - * @param message StreamHealthResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.StreamHealthResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StreamHealthResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StreamHealthResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** TransactionState enum. */ - enum TransactionState { - UNKNOWN = 0, - PREPARE = 1, - ROLLBACK = 2, - COMMIT = 3 - } - - /** Properties of a TransactionMetadata. */ - interface ITransactionMetadata { - - /** TransactionMetadata dtid */ - dtid?: (string|null); - - /** TransactionMetadata state */ - state?: (query.TransactionState|null); - - /** TransactionMetadata time_created */ - time_created?: (number|Long|null); - - /** TransactionMetadata participants */ - participants?: (query.ITarget[]|null); - } - - /** Represents a TransactionMetadata. */ - class TransactionMetadata implements ITransactionMetadata { - - /** - * Constructs a new TransactionMetadata. - * @param [properties] Properties to set - */ - constructor(properties?: query.ITransactionMetadata); - - /** TransactionMetadata dtid. */ - public dtid: string; - - /** TransactionMetadata state. */ - public state: query.TransactionState; - - /** TransactionMetadata time_created. */ - public time_created: (number|Long); - - /** TransactionMetadata participants. */ - public participants: query.ITarget[]; - - /** - * Creates a new TransactionMetadata instance using the specified properties. - * @param [properties] Properties to set - * @returns TransactionMetadata instance - */ - public static create(properties?: query.ITransactionMetadata): query.TransactionMetadata; - - /** - * Encodes the specified TransactionMetadata message. Does not implicitly {@link query.TransactionMetadata.verify|verify} messages. - * @param message TransactionMetadata message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.ITransactionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TransactionMetadata message, length delimited. Does not implicitly {@link query.TransactionMetadata.verify|verify} messages. - * @param message TransactionMetadata message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.ITransactionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TransactionMetadata message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TransactionMetadata - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.TransactionMetadata; - - /** - * Decodes a TransactionMetadata message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TransactionMetadata - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.TransactionMetadata; - - /** - * Verifies a TransactionMetadata message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a TransactionMetadata message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TransactionMetadata - */ - public static fromObject(object: { [k: string]: any }): query.TransactionMetadata; - - /** - * Creates a plain object from a TransactionMetadata message. Also converts values to other types if specified. - * @param message TransactionMetadata - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.TransactionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TransactionMetadata to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TransactionMetadata - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** SchemaTableType enum. */ - enum SchemaTableType { - VIEWS = 0, - TABLES = 1, - ALL = 2, - UDFS = 3 - } - - /** Properties of a GetSchemaRequest. */ - interface IGetSchemaRequest { - - /** GetSchemaRequest target */ - target?: (query.ITarget|null); - - /** GetSchemaRequest table_type */ - table_type?: (query.SchemaTableType|null); - - /** GetSchemaRequest table_names */ - table_names?: (string[]|null); - } - - /** Represents a GetSchemaRequest. */ - class GetSchemaRequest implements IGetSchemaRequest { - - /** - * Constructs a new GetSchemaRequest. - * @param [properties] Properties to set - */ - constructor(properties?: query.IGetSchemaRequest); - - /** GetSchemaRequest target. */ - public target?: (query.ITarget|null); - - /** GetSchemaRequest table_type. */ - public table_type: query.SchemaTableType; - - /** GetSchemaRequest table_names. */ - public table_names: string[]; - - /** - * Creates a new GetSchemaRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSchemaRequest instance - */ - public static create(properties?: query.IGetSchemaRequest): query.GetSchemaRequest; - - /** - * Encodes the specified GetSchemaRequest message. Does not implicitly {@link query.GetSchemaRequest.verify|verify} messages. - * @param message GetSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSchemaRequest message, length delimited. Does not implicitly {@link query.GetSchemaRequest.verify|verify} messages. - * @param message GetSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSchemaRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.GetSchemaRequest; - - /** - * Decodes a GetSchemaRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.GetSchemaRequest; - - /** - * Verifies a GetSchemaRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSchemaRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSchemaRequest - */ - public static fromObject(object: { [k: string]: any }): query.GetSchemaRequest; - - /** - * Creates a plain object from a GetSchemaRequest message. Also converts values to other types if specified. - * @param message GetSchemaRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.GetSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSchemaRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSchemaRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a UDFInfo. */ - interface IUDFInfo { - - /** UDFInfo name */ - name?: (string|null); - - /** UDFInfo aggregating */ - aggregating?: (boolean|null); - - /** UDFInfo return_type */ - return_type?: (query.Type|null); - } - - /** Represents a UDFInfo. */ - class UDFInfo implements IUDFInfo { - - /** - * Constructs a new UDFInfo. - * @param [properties] Properties to set - */ - constructor(properties?: query.IUDFInfo); - - /** UDFInfo name. */ - public name: string; - - /** UDFInfo aggregating. */ - public aggregating: boolean; - - /** UDFInfo return_type. */ - public return_type: query.Type; - - /** - * Creates a new UDFInfo instance using the specified properties. - * @param [properties] Properties to set - * @returns UDFInfo instance - */ - public static create(properties?: query.IUDFInfo): query.UDFInfo; - - /** - * Encodes the specified UDFInfo message. Does not implicitly {@link query.UDFInfo.verify|verify} messages. - * @param message UDFInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IUDFInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UDFInfo message, length delimited. Does not implicitly {@link query.UDFInfo.verify|verify} messages. - * @param message UDFInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IUDFInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a UDFInfo message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UDFInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.UDFInfo; - - /** - * Decodes a UDFInfo message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UDFInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.UDFInfo; - - /** - * Verifies a UDFInfo message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a UDFInfo message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UDFInfo - */ - public static fromObject(object: { [k: string]: any }): query.UDFInfo; - - /** - * Creates a plain object from a UDFInfo message. Also converts values to other types if specified. - * @param message UDFInfo - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.UDFInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UDFInfo to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UDFInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSchemaResponse. */ - interface IGetSchemaResponse { - - /** GetSchemaResponse udfs */ - udfs?: (query.IUDFInfo[]|null); - - /** GetSchemaResponse table_definition */ - table_definition?: ({ [k: string]: string }|null); - } - - /** Represents a GetSchemaResponse. */ - class GetSchemaResponse implements IGetSchemaResponse { - - /** - * Constructs a new GetSchemaResponse. - * @param [properties] Properties to set - */ - constructor(properties?: query.IGetSchemaResponse); - - /** GetSchemaResponse udfs. */ - public udfs: query.IUDFInfo[]; - - /** GetSchemaResponse table_definition. */ - public table_definition: { [k: string]: string }; - - /** - * Creates a new GetSchemaResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSchemaResponse instance - */ - public static create(properties?: query.IGetSchemaResponse): query.GetSchemaResponse; - - /** - * Encodes the specified GetSchemaResponse message. Does not implicitly {@link query.GetSchemaResponse.verify|verify} messages. - * @param message GetSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: query.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSchemaResponse message, length delimited. Does not implicitly {@link query.GetSchemaResponse.verify|verify} messages. - * @param message GetSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: query.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSchemaResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): query.GetSchemaResponse; - - /** - * Decodes a GetSchemaResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): query.GetSchemaResponse; - - /** - * Verifies a GetSchemaResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSchemaResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSchemaResponse - */ - public static fromObject(object: { [k: string]: any }): query.GetSchemaResponse; - - /** - * Creates a plain object from a GetSchemaResponse message. Also converts values to other types if specified. - * @param message GetSchemaResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: query.GetSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSchemaResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSchemaResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } -} - -/** Namespace replicationdata. */ -export namespace replicationdata { - - /** Properties of a Status. */ - interface IStatus { - - /** Status position */ - position?: (string|null); - - /** Status replication_lag_seconds */ - replication_lag_seconds?: (number|null); - - /** Status source_host */ - source_host?: (string|null); - - /** Status source_port */ - source_port?: (number|null); - - /** Status connect_retry */ - connect_retry?: (number|null); - - /** Status relay_log_position */ - relay_log_position?: (string|null); - - /** Status file_position */ - file_position?: (string|null); - - /** Status relay_log_source_binlog_equivalent_position */ - relay_log_source_binlog_equivalent_position?: (string|null); - - /** Status source_server_id */ - source_server_id?: (number|null); - - /** Status source_uuid */ - source_uuid?: (string|null); - - /** Status io_state */ - io_state?: (number|null); - - /** Status last_io_error */ - last_io_error?: (string|null); - - /** Status sql_state */ - sql_state?: (number|null); - - /** Status last_sql_error */ - last_sql_error?: (string|null); - - /** Status relay_log_file_position */ - relay_log_file_position?: (string|null); - - /** Status source_user */ - source_user?: (string|null); - - /** Status sql_delay */ - sql_delay?: (number|null); - - /** Status auto_position */ - auto_position?: (boolean|null); - - /** Status using_gtid */ - using_gtid?: (boolean|null); - - /** Status has_replication_filters */ - has_replication_filters?: (boolean|null); - - /** Status ssl_allowed */ - ssl_allowed?: (boolean|null); - - /** Status replication_lag_unknown */ - replication_lag_unknown?: (boolean|null); - } - - /** Represents a Status. */ - class Status implements IStatus { - - /** - * Constructs a new Status. - * @param [properties] Properties to set - */ - constructor(properties?: replicationdata.IStatus); - - /** Status position. */ - public position: string; - - /** Status replication_lag_seconds. */ - public replication_lag_seconds: number; - - /** Status source_host. */ - public source_host: string; - - /** Status source_port. */ - public source_port: number; - - /** Status connect_retry. */ - public connect_retry: number; - - /** Status relay_log_position. */ - public relay_log_position: string; - - /** Status file_position. */ - public file_position: string; - - /** Status relay_log_source_binlog_equivalent_position. */ - public relay_log_source_binlog_equivalent_position: string; - - /** Status source_server_id. */ - public source_server_id: number; - - /** Status source_uuid. */ - public source_uuid: string; - - /** Status io_state. */ - public io_state: number; - - /** Status last_io_error. */ - public last_io_error: string; - - /** Status sql_state. */ - public sql_state: number; - - /** Status last_sql_error. */ - public last_sql_error: string; - - /** Status relay_log_file_position. */ - public relay_log_file_position: string; - - /** Status source_user. */ - public source_user: string; - - /** Status sql_delay. */ - public sql_delay: number; - - /** Status auto_position. */ - public auto_position: boolean; - - /** Status using_gtid. */ - public using_gtid: boolean; - - /** Status has_replication_filters. */ - public has_replication_filters: boolean; - - /** Status ssl_allowed. */ - public ssl_allowed: boolean; - - /** Status replication_lag_unknown. */ - public replication_lag_unknown: boolean; - - /** - * Creates a new Status instance using the specified properties. - * @param [properties] Properties to set - * @returns Status instance - */ - public static create(properties?: replicationdata.IStatus): replicationdata.Status; - - /** - * Encodes the specified Status message. Does not implicitly {@link replicationdata.Status.verify|verify} messages. - * @param message Status message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: replicationdata.IStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Status message, length delimited. Does not implicitly {@link replicationdata.Status.verify|verify} messages. - * @param message Status message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: replicationdata.IStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Status message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Status - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.Status; - - /** - * Decodes a Status message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Status - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.Status; - - /** - * Verifies a Status message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Status message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Status - */ - public static fromObject(object: { [k: string]: any }): replicationdata.Status; - - /** - * Creates a plain object from a Status message. Also converts values to other types if specified. - * @param message Status - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: replicationdata.Status, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Status to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Status - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Configuration. */ - interface IConfiguration { - - /** Configuration heartbeat_interval */ - heartbeat_interval?: (number|null); - - /** Configuration replica_net_timeout */ - replica_net_timeout?: (number|null); - } - - /** Represents a Configuration. */ - class Configuration implements IConfiguration { - - /** - * Constructs a new Configuration. - * @param [properties] Properties to set - */ - constructor(properties?: replicationdata.IConfiguration); - - /** Configuration heartbeat_interval. */ - public heartbeat_interval: number; - - /** Configuration replica_net_timeout. */ - public replica_net_timeout: number; - - /** - * Creates a new Configuration instance using the specified properties. - * @param [properties] Properties to set - * @returns Configuration instance - */ - public static create(properties?: replicationdata.IConfiguration): replicationdata.Configuration; - - /** - * Encodes the specified Configuration message. Does not implicitly {@link replicationdata.Configuration.verify|verify} messages. - * @param message Configuration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: replicationdata.IConfiguration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Configuration message, length delimited. Does not implicitly {@link replicationdata.Configuration.verify|verify} messages. - * @param message Configuration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: replicationdata.IConfiguration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Configuration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Configuration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.Configuration; - - /** - * Decodes a Configuration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Configuration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.Configuration; - - /** - * Verifies a Configuration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Configuration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Configuration - */ - public static fromObject(object: { [k: string]: any }): replicationdata.Configuration; - - /** - * Creates a plain object from a Configuration message. Also converts values to other types if specified. - * @param message Configuration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: replicationdata.Configuration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Configuration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Configuration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StopReplicationStatus. */ - interface IStopReplicationStatus { - - /** StopReplicationStatus before */ - before?: (replicationdata.IStatus|null); - - /** StopReplicationStatus after */ - after?: (replicationdata.IStatus|null); - } - - /** Represents a StopReplicationStatus. */ - class StopReplicationStatus implements IStopReplicationStatus { - - /** - * Constructs a new StopReplicationStatus. - * @param [properties] Properties to set - */ - constructor(properties?: replicationdata.IStopReplicationStatus); - - /** StopReplicationStatus before. */ - public before?: (replicationdata.IStatus|null); - - /** StopReplicationStatus after. */ - public after?: (replicationdata.IStatus|null); - - /** - * Creates a new StopReplicationStatus instance using the specified properties. - * @param [properties] Properties to set - * @returns StopReplicationStatus instance - */ - public static create(properties?: replicationdata.IStopReplicationStatus): replicationdata.StopReplicationStatus; - - /** - * Encodes the specified StopReplicationStatus message. Does not implicitly {@link replicationdata.StopReplicationStatus.verify|verify} messages. - * @param message StopReplicationStatus message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: replicationdata.IStopReplicationStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StopReplicationStatus message, length delimited. Does not implicitly {@link replicationdata.StopReplicationStatus.verify|verify} messages. - * @param message StopReplicationStatus message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: replicationdata.IStopReplicationStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StopReplicationStatus message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StopReplicationStatus - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.StopReplicationStatus; - - /** - * Decodes a StopReplicationStatus message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StopReplicationStatus - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.StopReplicationStatus; - - /** - * Verifies a StopReplicationStatus message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StopReplicationStatus message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StopReplicationStatus - */ - public static fromObject(object: { [k: string]: any }): replicationdata.StopReplicationStatus; - - /** - * Creates a plain object from a StopReplicationStatus message. Also converts values to other types if specified. - * @param message StopReplicationStatus - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: replicationdata.StopReplicationStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StopReplicationStatus to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StopReplicationStatus - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** StopReplicationMode enum. */ - enum StopReplicationMode { - IOANDSQLTHREAD = 0, - IOTHREADONLY = 1 - } - - /** Properties of a PrimaryStatus. */ - interface IPrimaryStatus { - - /** PrimaryStatus position */ - position?: (string|null); - - /** PrimaryStatus file_position */ - file_position?: (string|null); - } - - /** Represents a PrimaryStatus. */ - class PrimaryStatus implements IPrimaryStatus { - - /** - * Constructs a new PrimaryStatus. - * @param [properties] Properties to set - */ - constructor(properties?: replicationdata.IPrimaryStatus); - - /** PrimaryStatus position. */ - public position: string; - - /** PrimaryStatus file_position. */ - public file_position: string; - - /** - * Creates a new PrimaryStatus instance using the specified properties. - * @param [properties] Properties to set - * @returns PrimaryStatus instance - */ - public static create(properties?: replicationdata.IPrimaryStatus): replicationdata.PrimaryStatus; - - /** - * Encodes the specified PrimaryStatus message. Does not implicitly {@link replicationdata.PrimaryStatus.verify|verify} messages. - * @param message PrimaryStatus message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: replicationdata.IPrimaryStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PrimaryStatus message, length delimited. Does not implicitly {@link replicationdata.PrimaryStatus.verify|verify} messages. - * @param message PrimaryStatus message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: replicationdata.IPrimaryStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PrimaryStatus message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PrimaryStatus - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.PrimaryStatus; - - /** - * Decodes a PrimaryStatus message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PrimaryStatus - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.PrimaryStatus; - - /** - * Verifies a PrimaryStatus message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a PrimaryStatus message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PrimaryStatus - */ - public static fromObject(object: { [k: string]: any }): replicationdata.PrimaryStatus; - - /** - * Creates a plain object from a PrimaryStatus message. Also converts values to other types if specified. - * @param message PrimaryStatus - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: replicationdata.PrimaryStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PrimaryStatus to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PrimaryStatus - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a FullStatus. */ - interface IFullStatus { - - /** FullStatus server_id */ - server_id?: (number|null); - - /** FullStatus server_uuid */ - server_uuid?: (string|null); - - /** FullStatus replication_status */ - replication_status?: (replicationdata.IStatus|null); - - /** FullStatus primary_status */ - primary_status?: (replicationdata.IPrimaryStatus|null); - - /** FullStatus gtid_purged */ - gtid_purged?: (string|null); - - /** FullStatus version */ - version?: (string|null); - - /** FullStatus version_comment */ - version_comment?: (string|null); - - /** FullStatus read_only */ - read_only?: (boolean|null); - - /** FullStatus gtid_mode */ - gtid_mode?: (string|null); - - /** FullStatus binlog_format */ - binlog_format?: (string|null); - - /** FullStatus binlog_row_image */ - binlog_row_image?: (string|null); - - /** FullStatus log_bin_enabled */ - log_bin_enabled?: (boolean|null); - - /** FullStatus log_replica_updates */ - log_replica_updates?: (boolean|null); - - /** FullStatus semi_sync_primary_enabled */ - semi_sync_primary_enabled?: (boolean|null); - - /** FullStatus semi_sync_replica_enabled */ - semi_sync_replica_enabled?: (boolean|null); - - /** FullStatus semi_sync_primary_status */ - semi_sync_primary_status?: (boolean|null); - - /** FullStatus semi_sync_replica_status */ - semi_sync_replica_status?: (boolean|null); - - /** FullStatus semi_sync_primary_clients */ - semi_sync_primary_clients?: (number|null); - - /** FullStatus semi_sync_primary_timeout */ - semi_sync_primary_timeout?: (number|Long|null); - - /** FullStatus semi_sync_wait_for_replica_count */ - semi_sync_wait_for_replica_count?: (number|null); - - /** FullStatus super_read_only */ - super_read_only?: (boolean|null); - - /** FullStatus replication_configuration */ - replication_configuration?: (replicationdata.IConfiguration|null); - } - - /** Represents a FullStatus. */ - class FullStatus implements IFullStatus { - - /** - * Constructs a new FullStatus. - * @param [properties] Properties to set - */ - constructor(properties?: replicationdata.IFullStatus); - - /** FullStatus server_id. */ - public server_id: number; - - /** FullStatus server_uuid. */ - public server_uuid: string; - - /** FullStatus replication_status. */ - public replication_status?: (replicationdata.IStatus|null); - - /** FullStatus primary_status. */ - public primary_status?: (replicationdata.IPrimaryStatus|null); - - /** FullStatus gtid_purged. */ - public gtid_purged: string; - - /** FullStatus version. */ - public version: string; - - /** FullStatus version_comment. */ - public version_comment: string; - - /** FullStatus read_only. */ - public read_only: boolean; - - /** FullStatus gtid_mode. */ - public gtid_mode: string; - - /** FullStatus binlog_format. */ - public binlog_format: string; - - /** FullStatus binlog_row_image. */ - public binlog_row_image: string; - - /** FullStatus log_bin_enabled. */ - public log_bin_enabled: boolean; - - /** FullStatus log_replica_updates. */ - public log_replica_updates: boolean; - - /** FullStatus semi_sync_primary_enabled. */ - public semi_sync_primary_enabled: boolean; - - /** FullStatus semi_sync_replica_enabled. */ - public semi_sync_replica_enabled: boolean; - - /** FullStatus semi_sync_primary_status. */ - public semi_sync_primary_status: boolean; - - /** FullStatus semi_sync_replica_status. */ - public semi_sync_replica_status: boolean; - - /** FullStatus semi_sync_primary_clients. */ - public semi_sync_primary_clients: number; - - /** FullStatus semi_sync_primary_timeout. */ - public semi_sync_primary_timeout: (number|Long); - - /** FullStatus semi_sync_wait_for_replica_count. */ - public semi_sync_wait_for_replica_count: number; - - /** FullStatus super_read_only. */ - public super_read_only: boolean; - - /** FullStatus replication_configuration. */ - public replication_configuration?: (replicationdata.IConfiguration|null); - - /** - * Creates a new FullStatus instance using the specified properties. - * @param [properties] Properties to set - * @returns FullStatus instance - */ - public static create(properties?: replicationdata.IFullStatus): replicationdata.FullStatus; - - /** - * Encodes the specified FullStatus message. Does not implicitly {@link replicationdata.FullStatus.verify|verify} messages. - * @param message FullStatus message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: replicationdata.IFullStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FullStatus message, length delimited. Does not implicitly {@link replicationdata.FullStatus.verify|verify} messages. - * @param message FullStatus message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: replicationdata.IFullStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FullStatus message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FullStatus - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replicationdata.FullStatus; - - /** - * Decodes a FullStatus message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FullStatus - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replicationdata.FullStatus; - - /** - * Verifies a FullStatus message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FullStatus message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FullStatus - */ - public static fromObject(object: { [k: string]: any }): replicationdata.FullStatus; - - /** - * Creates a plain object from a FullStatus message. Also converts values to other types if specified. - * @param message FullStatus - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: replicationdata.FullStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FullStatus to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FullStatus - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } -} - -/** Namespace vschema. */ -export namespace vschema { - - /** Properties of a RoutingRules. */ - interface IRoutingRules { - - /** RoutingRules rules */ - rules?: (vschema.IRoutingRule[]|null); - } - - /** Represents a RoutingRules. */ - class RoutingRules implements IRoutingRules { - - /** - * Constructs a new RoutingRules. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IRoutingRules); - - /** RoutingRules rules. */ - public rules: vschema.IRoutingRule[]; - - /** - * Creates a new RoutingRules instance using the specified properties. - * @param [properties] Properties to set - * @returns RoutingRules instance - */ - public static create(properties?: vschema.IRoutingRules): vschema.RoutingRules; - - /** - * Encodes the specified RoutingRules message. Does not implicitly {@link vschema.RoutingRules.verify|verify} messages. - * @param message RoutingRules message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RoutingRules message, length delimited. Does not implicitly {@link vschema.RoutingRules.verify|verify} messages. - * @param message RoutingRules message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RoutingRules message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RoutingRules - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.RoutingRules; - - /** - * Decodes a RoutingRules message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RoutingRules - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.RoutingRules; - - /** - * Verifies a RoutingRules message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RoutingRules message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RoutingRules - */ - public static fromObject(object: { [k: string]: any }): vschema.RoutingRules; - - /** - * Creates a plain object from a RoutingRules message. Also converts values to other types if specified. - * @param message RoutingRules - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.RoutingRules, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RoutingRules to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RoutingRules - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RoutingRule. */ - interface IRoutingRule { - - /** RoutingRule from_table */ - from_table?: (string|null); - - /** RoutingRule to_tables */ - to_tables?: (string[]|null); - } - - /** Represents a RoutingRule. */ - class RoutingRule implements IRoutingRule { - - /** - * Constructs a new RoutingRule. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IRoutingRule); - - /** RoutingRule from_table. */ - public from_table: string; - - /** RoutingRule to_tables. */ - public to_tables: string[]; - - /** - * Creates a new RoutingRule instance using the specified properties. - * @param [properties] Properties to set - * @returns RoutingRule instance - */ - public static create(properties?: vschema.IRoutingRule): vschema.RoutingRule; - - /** - * Encodes the specified RoutingRule message. Does not implicitly {@link vschema.RoutingRule.verify|verify} messages. - * @param message RoutingRule message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RoutingRule message, length delimited. Does not implicitly {@link vschema.RoutingRule.verify|verify} messages. - * @param message RoutingRule message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RoutingRule message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RoutingRule - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.RoutingRule; - - /** - * Decodes a RoutingRule message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RoutingRule - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.RoutingRule; - - /** - * Verifies a RoutingRule message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RoutingRule message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RoutingRule - */ - public static fromObject(object: { [k: string]: any }): vschema.RoutingRule; - - /** - * Creates a plain object from a RoutingRule message. Also converts values to other types if specified. - * @param message RoutingRule - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.RoutingRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RoutingRule to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RoutingRule - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Keyspace. */ - interface IKeyspace { - - /** Keyspace sharded */ - sharded?: (boolean|null); - - /** Keyspace vindexes */ - vindexes?: ({ [k: string]: vschema.IVindex }|null); - - /** Keyspace tables */ - tables?: ({ [k: string]: vschema.ITable }|null); - - /** Keyspace require_explicit_routing */ - require_explicit_routing?: (boolean|null); - - /** Keyspace foreign_key_mode */ - foreign_key_mode?: (vschema.Keyspace.ForeignKeyMode|null); - - /** Keyspace multi_tenant_spec */ - multi_tenant_spec?: (vschema.IMultiTenantSpec|null); - } - - /** Represents a Keyspace. */ - class Keyspace implements IKeyspace { - - /** - * Constructs a new Keyspace. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IKeyspace); - - /** Keyspace sharded. */ - public sharded: boolean; - - /** Keyspace vindexes. */ - public vindexes: { [k: string]: vschema.IVindex }; - - /** Keyspace tables. */ - public tables: { [k: string]: vschema.ITable }; - - /** Keyspace require_explicit_routing. */ - public require_explicit_routing: boolean; - - /** Keyspace foreign_key_mode. */ - public foreign_key_mode: vschema.Keyspace.ForeignKeyMode; - - /** Keyspace multi_tenant_spec. */ - public multi_tenant_spec?: (vschema.IMultiTenantSpec|null); - - /** - * Creates a new Keyspace instance using the specified properties. - * @param [properties] Properties to set - * @returns Keyspace instance - */ - public static create(properties?: vschema.IKeyspace): vschema.Keyspace; - - /** - * Encodes the specified Keyspace message. Does not implicitly {@link vschema.Keyspace.verify|verify} messages. - * @param message Keyspace message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Keyspace message, length delimited. Does not implicitly {@link vschema.Keyspace.verify|verify} messages. - * @param message Keyspace message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Keyspace message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Keyspace - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Keyspace; - - /** - * Decodes a Keyspace message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Keyspace - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Keyspace; - - /** - * Verifies a Keyspace message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Keyspace message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Keyspace - */ - public static fromObject(object: { [k: string]: any }): vschema.Keyspace; - - /** - * Creates a plain object from a Keyspace message. Also converts values to other types if specified. - * @param message Keyspace - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.Keyspace, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Keyspace to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Keyspace - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace Keyspace { - - /** ForeignKeyMode enum. */ - enum ForeignKeyMode { - unspecified = 0, - disallow = 1, - unmanaged = 2, - managed = 3 - } - } - - /** Properties of a MultiTenantSpec. */ - interface IMultiTenantSpec { - - /** MultiTenantSpec tenant_id_column_name */ - tenant_id_column_name?: (string|null); - - /** MultiTenantSpec tenant_id_column_type */ - tenant_id_column_type?: (query.Type|null); - } - - /** Represents a MultiTenantSpec. */ - class MultiTenantSpec implements IMultiTenantSpec { - - /** - * Constructs a new MultiTenantSpec. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IMultiTenantSpec); - - /** MultiTenantSpec tenant_id_column_name. */ - public tenant_id_column_name: string; - - /** MultiTenantSpec tenant_id_column_type. */ - public tenant_id_column_type: query.Type; - - /** - * Creates a new MultiTenantSpec instance using the specified properties. - * @param [properties] Properties to set - * @returns MultiTenantSpec instance - */ - public static create(properties?: vschema.IMultiTenantSpec): vschema.MultiTenantSpec; - - /** - * Encodes the specified MultiTenantSpec message. Does not implicitly {@link vschema.MultiTenantSpec.verify|verify} messages. - * @param message MultiTenantSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IMultiTenantSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MultiTenantSpec message, length delimited. Does not implicitly {@link vschema.MultiTenantSpec.verify|verify} messages. - * @param message MultiTenantSpec message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IMultiTenantSpec, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MultiTenantSpec message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MultiTenantSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.MultiTenantSpec; - - /** - * Decodes a MultiTenantSpec message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MultiTenantSpec - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.MultiTenantSpec; - - /** - * Verifies a MultiTenantSpec message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MultiTenantSpec message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MultiTenantSpec - */ - public static fromObject(object: { [k: string]: any }): vschema.MultiTenantSpec; - - /** - * Creates a plain object from a MultiTenantSpec message. Also converts values to other types if specified. - * @param message MultiTenantSpec - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.MultiTenantSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MultiTenantSpec to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MultiTenantSpec - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Vindex. */ - interface IVindex { - - /** Vindex type */ - type?: (string|null); - - /** Vindex params */ - params?: ({ [k: string]: string }|null); - - /** Vindex owner */ - owner?: (string|null); - } - - /** Represents a Vindex. */ - class Vindex implements IVindex { - - /** - * Constructs a new Vindex. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IVindex); - - /** Vindex type. */ - public type: string; - - /** Vindex params. */ - public params: { [k: string]: string }; - - /** Vindex owner. */ - public owner: string; - - /** - * Creates a new Vindex instance using the specified properties. - * @param [properties] Properties to set - * @returns Vindex instance - */ - public static create(properties?: vschema.IVindex): vschema.Vindex; - - /** - * Encodes the specified Vindex message. Does not implicitly {@link vschema.Vindex.verify|verify} messages. - * @param message Vindex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IVindex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Vindex message, length delimited. Does not implicitly {@link vschema.Vindex.verify|verify} messages. - * @param message Vindex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IVindex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Vindex message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Vindex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Vindex; - - /** - * Decodes a Vindex message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Vindex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Vindex; - - /** - * Verifies a Vindex message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Vindex message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Vindex - */ - public static fromObject(object: { [k: string]: any }): vschema.Vindex; - - /** - * Creates a plain object from a Vindex message. Also converts values to other types if specified. - * @param message Vindex - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.Vindex, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Vindex to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Vindex - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Table. */ - interface ITable { - - /** Table type */ - type?: (string|null); - - /** Table column_vindexes */ - column_vindexes?: (vschema.IColumnVindex[]|null); - - /** Table auto_increment */ - auto_increment?: (vschema.IAutoIncrement|null); - - /** Table columns */ - columns?: (vschema.IColumn[]|null); - - /** Table pinned */ - pinned?: (string|null); - - /** Table column_list_authoritative */ - column_list_authoritative?: (boolean|null); - - /** Table source */ - source?: (string|null); - } - - /** Represents a Table. */ - class Table implements ITable { - - /** - * Constructs a new Table. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.ITable); - - /** Table type. */ - public type: string; - - /** Table column_vindexes. */ - public column_vindexes: vschema.IColumnVindex[]; - - /** Table auto_increment. */ - public auto_increment?: (vschema.IAutoIncrement|null); - - /** Table columns. */ - public columns: vschema.IColumn[]; - - /** Table pinned. */ - public pinned: string; - - /** Table column_list_authoritative. */ - public column_list_authoritative: boolean; - - /** Table source. */ - public source: string; - - /** - * Creates a new Table instance using the specified properties. - * @param [properties] Properties to set - * @returns Table instance - */ - public static create(properties?: vschema.ITable): vschema.Table; - - /** - * Encodes the specified Table message. Does not implicitly {@link vschema.Table.verify|verify} messages. - * @param message Table message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.ITable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Table message, length delimited. Does not implicitly {@link vschema.Table.verify|verify} messages. - * @param message Table message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.ITable, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Table message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Table - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Table; - - /** - * Decodes a Table message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Table - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Table; - - /** - * Verifies a Table message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Table message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Table - */ - public static fromObject(object: { [k: string]: any }): vschema.Table; - - /** - * Creates a plain object from a Table message. Also converts values to other types if specified. - * @param message Table - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.Table, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Table to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Table - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ColumnVindex. */ - interface IColumnVindex { - - /** ColumnVindex column */ - column?: (string|null); - - /** ColumnVindex name */ - name?: (string|null); - - /** ColumnVindex columns */ - columns?: (string[]|null); - } - - /** Represents a ColumnVindex. */ - class ColumnVindex implements IColumnVindex { - - /** - * Constructs a new ColumnVindex. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IColumnVindex); - - /** ColumnVindex column. */ - public column: string; - - /** ColumnVindex name. */ - public name: string; - - /** ColumnVindex columns. */ - public columns: string[]; - - /** - * Creates a new ColumnVindex instance using the specified properties. - * @param [properties] Properties to set - * @returns ColumnVindex instance - */ - public static create(properties?: vschema.IColumnVindex): vschema.ColumnVindex; - - /** - * Encodes the specified ColumnVindex message. Does not implicitly {@link vschema.ColumnVindex.verify|verify} messages. - * @param message ColumnVindex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IColumnVindex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ColumnVindex message, length delimited. Does not implicitly {@link vschema.ColumnVindex.verify|verify} messages. - * @param message ColumnVindex message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IColumnVindex, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ColumnVindex message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ColumnVindex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.ColumnVindex; - - /** - * Decodes a ColumnVindex message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ColumnVindex - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.ColumnVindex; - - /** - * Verifies a ColumnVindex message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ColumnVindex message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ColumnVindex - */ - public static fromObject(object: { [k: string]: any }): vschema.ColumnVindex; - - /** - * Creates a plain object from a ColumnVindex message. Also converts values to other types if specified. - * @param message ColumnVindex - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.ColumnVindex, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ColumnVindex to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ColumnVindex - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an AutoIncrement. */ - interface IAutoIncrement { - - /** AutoIncrement column */ - column?: (string|null); - - /** AutoIncrement sequence */ - sequence?: (string|null); - } - - /** Represents an AutoIncrement. */ - class AutoIncrement implements IAutoIncrement { - - /** - * Constructs a new AutoIncrement. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IAutoIncrement); - - /** AutoIncrement column. */ - public column: string; - - /** AutoIncrement sequence. */ - public sequence: string; - - /** - * Creates a new AutoIncrement instance using the specified properties. - * @param [properties] Properties to set - * @returns AutoIncrement instance - */ - public static create(properties?: vschema.IAutoIncrement): vschema.AutoIncrement; - - /** - * Encodes the specified AutoIncrement message. Does not implicitly {@link vschema.AutoIncrement.verify|verify} messages. - * @param message AutoIncrement message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IAutoIncrement, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AutoIncrement message, length delimited. Does not implicitly {@link vschema.AutoIncrement.verify|verify} messages. - * @param message AutoIncrement message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IAutoIncrement, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AutoIncrement message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AutoIncrement - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.AutoIncrement; - - /** - * Decodes an AutoIncrement message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AutoIncrement - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.AutoIncrement; - - /** - * Verifies an AutoIncrement message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an AutoIncrement message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AutoIncrement - */ - public static fromObject(object: { [k: string]: any }): vschema.AutoIncrement; - - /** - * Creates a plain object from an AutoIncrement message. Also converts values to other types if specified. - * @param message AutoIncrement - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.AutoIncrement, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AutoIncrement to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AutoIncrement - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Column. */ - interface IColumn { - - /** Column name */ - name?: (string|null); - - /** Column type */ - type?: (query.Type|null); - - /** Column invisible */ - invisible?: (boolean|null); - - /** Column default */ - "default"?: (string|null); - - /** Column collation_name */ - collation_name?: (string|null); - - /** Column size */ - size?: (number|null); - - /** Column scale */ - scale?: (number|null); - - /** Column nullable */ - nullable?: (boolean|null); - - /** Column values */ - values?: (string[]|null); - } - - /** Represents a Column. */ - class Column implements IColumn { - - /** - * Constructs a new Column. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IColumn); - - /** Column name. */ - public name: string; - - /** Column type. */ - public type: query.Type; - - /** Column invisible. */ - public invisible: boolean; - - /** Column default. */ - public default: string; - - /** Column collation_name. */ - public collation_name: string; - - /** Column size. */ - public size: number; - - /** Column scale. */ - public scale: number; - - /** Column nullable. */ - public nullable?: (boolean|null); - - /** Column values. */ - public values: string[]; - - /** Column _nullable. */ - public _nullable?: "nullable"; - - /** - * Creates a new Column instance using the specified properties. - * @param [properties] Properties to set - * @returns Column instance - */ - public static create(properties?: vschema.IColumn): vschema.Column; - - /** - * Encodes the specified Column message. Does not implicitly {@link vschema.Column.verify|verify} messages. - * @param message Column message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IColumn, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Column message, length delimited. Does not implicitly {@link vschema.Column.verify|verify} messages. - * @param message Column message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IColumn, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Column message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Column - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.Column; - - /** - * Decodes a Column message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Column - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.Column; - - /** - * Verifies a Column message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Column message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Column - */ - public static fromObject(object: { [k: string]: any }): vschema.Column; - - /** - * Creates a plain object from a Column message. Also converts values to other types if specified. - * @param message Column - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.Column, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Column to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Column - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SrvVSchema. */ - interface ISrvVSchema { - - /** SrvVSchema keyspaces */ - keyspaces?: ({ [k: string]: vschema.IKeyspace }|null); - - /** SrvVSchema routing_rules */ - routing_rules?: (vschema.IRoutingRules|null); - - /** SrvVSchema shard_routing_rules */ - shard_routing_rules?: (vschema.IShardRoutingRules|null); - - /** SrvVSchema keyspace_routing_rules */ - keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); - - /** SrvVSchema mirror_rules */ - mirror_rules?: (vschema.IMirrorRules|null); - } - - /** Represents a SrvVSchema. */ - class SrvVSchema implements ISrvVSchema { - - /** - * Constructs a new SrvVSchema. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.ISrvVSchema); - - /** SrvVSchema keyspaces. */ - public keyspaces: { [k: string]: vschema.IKeyspace }; - - /** SrvVSchema routing_rules. */ - public routing_rules?: (vschema.IRoutingRules|null); - - /** SrvVSchema shard_routing_rules. */ - public shard_routing_rules?: (vschema.IShardRoutingRules|null); - - /** SrvVSchema keyspace_routing_rules. */ - public keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); - - /** SrvVSchema mirror_rules. */ - public mirror_rules?: (vschema.IMirrorRules|null); - - /** - * Creates a new SrvVSchema instance using the specified properties. - * @param [properties] Properties to set - * @returns SrvVSchema instance - */ - public static create(properties?: vschema.ISrvVSchema): vschema.SrvVSchema; - - /** - * Encodes the specified SrvVSchema message. Does not implicitly {@link vschema.SrvVSchema.verify|verify} messages. - * @param message SrvVSchema message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.ISrvVSchema, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SrvVSchema message, length delimited. Does not implicitly {@link vschema.SrvVSchema.verify|verify} messages. - * @param message SrvVSchema message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.ISrvVSchema, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SrvVSchema message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SrvVSchema - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.SrvVSchema; - - /** - * Decodes a SrvVSchema message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SrvVSchema - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.SrvVSchema; - - /** - * Verifies a SrvVSchema message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SrvVSchema message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SrvVSchema - */ - public static fromObject(object: { [k: string]: any }): vschema.SrvVSchema; - - /** - * Creates a plain object from a SrvVSchema message. Also converts values to other types if specified. - * @param message SrvVSchema - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.SrvVSchema, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SrvVSchema to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SrvVSchema - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardRoutingRules. */ - interface IShardRoutingRules { - - /** ShardRoutingRules rules */ - rules?: (vschema.IShardRoutingRule[]|null); - } - - /** Represents a ShardRoutingRules. */ - class ShardRoutingRules implements IShardRoutingRules { - - /** - * Constructs a new ShardRoutingRules. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IShardRoutingRules); - - /** ShardRoutingRules rules. */ - public rules: vschema.IShardRoutingRule[]; - - /** - * Creates a new ShardRoutingRules instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardRoutingRules instance - */ - public static create(properties?: vschema.IShardRoutingRules): vschema.ShardRoutingRules; - - /** - * Encodes the specified ShardRoutingRules message. Does not implicitly {@link vschema.ShardRoutingRules.verify|verify} messages. - * @param message ShardRoutingRules message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IShardRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardRoutingRules message, length delimited. Does not implicitly {@link vschema.ShardRoutingRules.verify|verify} messages. - * @param message ShardRoutingRules message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IShardRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardRoutingRules message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardRoutingRules - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.ShardRoutingRules; - - /** - * Decodes a ShardRoutingRules message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardRoutingRules - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.ShardRoutingRules; - - /** - * Verifies a ShardRoutingRules message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardRoutingRules message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardRoutingRules - */ - public static fromObject(object: { [k: string]: any }): vschema.ShardRoutingRules; - - /** - * Creates a plain object from a ShardRoutingRules message. Also converts values to other types if specified. - * @param message ShardRoutingRules - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.ShardRoutingRules, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardRoutingRules to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardRoutingRules - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardRoutingRule. */ - interface IShardRoutingRule { - - /** ShardRoutingRule from_keyspace */ - from_keyspace?: (string|null); - - /** ShardRoutingRule to_keyspace */ - to_keyspace?: (string|null); - - /** ShardRoutingRule shard */ - shard?: (string|null); - } - - /** Represents a ShardRoutingRule. */ - class ShardRoutingRule implements IShardRoutingRule { - - /** - * Constructs a new ShardRoutingRule. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IShardRoutingRule); - - /** ShardRoutingRule from_keyspace. */ - public from_keyspace: string; - - /** ShardRoutingRule to_keyspace. */ - public to_keyspace: string; - - /** ShardRoutingRule shard. */ - public shard: string; - - /** - * Creates a new ShardRoutingRule instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardRoutingRule instance - */ - public static create(properties?: vschema.IShardRoutingRule): vschema.ShardRoutingRule; - - /** - * Encodes the specified ShardRoutingRule message. Does not implicitly {@link vschema.ShardRoutingRule.verify|verify} messages. - * @param message ShardRoutingRule message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IShardRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardRoutingRule message, length delimited. Does not implicitly {@link vschema.ShardRoutingRule.verify|verify} messages. - * @param message ShardRoutingRule message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IShardRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardRoutingRule message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardRoutingRule - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.ShardRoutingRule; - - /** - * Decodes a ShardRoutingRule message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardRoutingRule - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.ShardRoutingRule; - - /** - * Verifies a ShardRoutingRule message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardRoutingRule message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardRoutingRule - */ - public static fromObject(object: { [k: string]: any }): vschema.ShardRoutingRule; - - /** - * Creates a plain object from a ShardRoutingRule message. Also converts values to other types if specified. - * @param message ShardRoutingRule - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.ShardRoutingRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardRoutingRule to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardRoutingRule - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a KeyspaceRoutingRules. */ - interface IKeyspaceRoutingRules { - - /** KeyspaceRoutingRules rules */ - rules?: (vschema.IKeyspaceRoutingRule[]|null); - } - - /** Represents a KeyspaceRoutingRules. */ - class KeyspaceRoutingRules implements IKeyspaceRoutingRules { - - /** - * Constructs a new KeyspaceRoutingRules. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IKeyspaceRoutingRules); - - /** KeyspaceRoutingRules rules. */ - public rules: vschema.IKeyspaceRoutingRule[]; - - /** - * Creates a new KeyspaceRoutingRules instance using the specified properties. - * @param [properties] Properties to set - * @returns KeyspaceRoutingRules instance - */ - public static create(properties?: vschema.IKeyspaceRoutingRules): vschema.KeyspaceRoutingRules; - - /** - * Encodes the specified KeyspaceRoutingRules message. Does not implicitly {@link vschema.KeyspaceRoutingRules.verify|verify} messages. - * @param message KeyspaceRoutingRules message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IKeyspaceRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified KeyspaceRoutingRules message, length delimited. Does not implicitly {@link vschema.KeyspaceRoutingRules.verify|verify} messages. - * @param message KeyspaceRoutingRules message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IKeyspaceRoutingRules, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a KeyspaceRoutingRules message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns KeyspaceRoutingRules - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.KeyspaceRoutingRules; - - /** - * Decodes a KeyspaceRoutingRules message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns KeyspaceRoutingRules - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.KeyspaceRoutingRules; - - /** - * Verifies a KeyspaceRoutingRules message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a KeyspaceRoutingRules message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns KeyspaceRoutingRules - */ - public static fromObject(object: { [k: string]: any }): vschema.KeyspaceRoutingRules; - - /** - * Creates a plain object from a KeyspaceRoutingRules message. Also converts values to other types if specified. - * @param message KeyspaceRoutingRules - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.KeyspaceRoutingRules, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this KeyspaceRoutingRules to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for KeyspaceRoutingRules - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a KeyspaceRoutingRule. */ - interface IKeyspaceRoutingRule { - - /** KeyspaceRoutingRule from_keyspace */ - from_keyspace?: (string|null); - - /** KeyspaceRoutingRule to_keyspace */ - to_keyspace?: (string|null); - } - - /** Represents a KeyspaceRoutingRule. */ - class KeyspaceRoutingRule implements IKeyspaceRoutingRule { - - /** - * Constructs a new KeyspaceRoutingRule. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IKeyspaceRoutingRule); - - /** KeyspaceRoutingRule from_keyspace. */ - public from_keyspace: string; - - /** KeyspaceRoutingRule to_keyspace. */ - public to_keyspace: string; - - /** - * Creates a new KeyspaceRoutingRule instance using the specified properties. - * @param [properties] Properties to set - * @returns KeyspaceRoutingRule instance - */ - public static create(properties?: vschema.IKeyspaceRoutingRule): vschema.KeyspaceRoutingRule; - - /** - * Encodes the specified KeyspaceRoutingRule message. Does not implicitly {@link vschema.KeyspaceRoutingRule.verify|verify} messages. - * @param message KeyspaceRoutingRule message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IKeyspaceRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified KeyspaceRoutingRule message, length delimited. Does not implicitly {@link vschema.KeyspaceRoutingRule.verify|verify} messages. - * @param message KeyspaceRoutingRule message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IKeyspaceRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a KeyspaceRoutingRule message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns KeyspaceRoutingRule - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.KeyspaceRoutingRule; - - /** - * Decodes a KeyspaceRoutingRule message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns KeyspaceRoutingRule - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.KeyspaceRoutingRule; - - /** - * Verifies a KeyspaceRoutingRule message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a KeyspaceRoutingRule message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns KeyspaceRoutingRule - */ - public static fromObject(object: { [k: string]: any }): vschema.KeyspaceRoutingRule; - - /** - * Creates a plain object from a KeyspaceRoutingRule message. Also converts values to other types if specified. - * @param message KeyspaceRoutingRule - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.KeyspaceRoutingRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this KeyspaceRoutingRule to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for KeyspaceRoutingRule - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MirrorRules. */ - interface IMirrorRules { - - /** MirrorRules rules */ - rules?: (vschema.IMirrorRule[]|null); - } - - /** Represents a MirrorRules. */ - class MirrorRules implements IMirrorRules { - - /** - * Constructs a new MirrorRules. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IMirrorRules); - - /** MirrorRules rules. */ - public rules: vschema.IMirrorRule[]; - - /** - * Creates a new MirrorRules instance using the specified properties. - * @param [properties] Properties to set - * @returns MirrorRules instance - */ - public static create(properties?: vschema.IMirrorRules): vschema.MirrorRules; - - /** - * Encodes the specified MirrorRules message. Does not implicitly {@link vschema.MirrorRules.verify|verify} messages. - * @param message MirrorRules message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IMirrorRules, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MirrorRules message, length delimited. Does not implicitly {@link vschema.MirrorRules.verify|verify} messages. - * @param message MirrorRules message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IMirrorRules, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MirrorRules message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MirrorRules - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.MirrorRules; - - /** - * Decodes a MirrorRules message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MirrorRules - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.MirrorRules; - - /** - * Verifies a MirrorRules message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MirrorRules message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MirrorRules - */ - public static fromObject(object: { [k: string]: any }): vschema.MirrorRules; - - /** - * Creates a plain object from a MirrorRules message. Also converts values to other types if specified. - * @param message MirrorRules - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.MirrorRules, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MirrorRules to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MirrorRules - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MirrorRule. */ - interface IMirrorRule { - - /** MirrorRule from_table */ - from_table?: (string|null); - - /** MirrorRule to_table */ - to_table?: (string|null); - - /** MirrorRule percent */ - percent?: (number|null); - } - - /** Represents a MirrorRule. */ - class MirrorRule implements IMirrorRule { - - /** - * Constructs a new MirrorRule. - * @param [properties] Properties to set - */ - constructor(properties?: vschema.IMirrorRule); - - /** MirrorRule from_table. */ - public from_table: string; - - /** MirrorRule to_table. */ - public to_table: string; - - /** MirrorRule percent. */ - public percent: number; - - /** - * Creates a new MirrorRule instance using the specified properties. - * @param [properties] Properties to set - * @returns MirrorRule instance - */ - public static create(properties?: vschema.IMirrorRule): vschema.MirrorRule; - - /** - * Encodes the specified MirrorRule message. Does not implicitly {@link vschema.MirrorRule.verify|verify} messages. - * @param message MirrorRule message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vschema.IMirrorRule, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MirrorRule message, length delimited. Does not implicitly {@link vschema.MirrorRule.verify|verify} messages. - * @param message MirrorRule message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vschema.IMirrorRule, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MirrorRule message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MirrorRule - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vschema.MirrorRule; - - /** - * Decodes a MirrorRule message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MirrorRule - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vschema.MirrorRule; - - /** - * Verifies a MirrorRule message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MirrorRule message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MirrorRule - */ - public static fromObject(object: { [k: string]: any }): vschema.MirrorRule; - - /** - * Creates a plain object from a MirrorRule message. Also converts values to other types if specified. - * @param message MirrorRule - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vschema.MirrorRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MirrorRule to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MirrorRule - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } -} - -/** Namespace vtctldata. */ -export namespace vtctldata { - - /** Properties of an ExecuteVtctlCommandRequest. */ - interface IExecuteVtctlCommandRequest { - - /** ExecuteVtctlCommandRequest args */ - args?: (string[]|null); - - /** ExecuteVtctlCommandRequest action_timeout */ - action_timeout?: (number|Long|null); - } - - /** Represents an ExecuteVtctlCommandRequest. */ - class ExecuteVtctlCommandRequest implements IExecuteVtctlCommandRequest { - - /** - * Constructs a new ExecuteVtctlCommandRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IExecuteVtctlCommandRequest); - - /** ExecuteVtctlCommandRequest args. */ - public args: string[]; - - /** ExecuteVtctlCommandRequest action_timeout. */ - public action_timeout: (number|Long); - - /** - * Creates a new ExecuteVtctlCommandRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteVtctlCommandRequest instance - */ - public static create(properties?: vtctldata.IExecuteVtctlCommandRequest): vtctldata.ExecuteVtctlCommandRequest; - - /** - * Encodes the specified ExecuteVtctlCommandRequest message. Does not implicitly {@link vtctldata.ExecuteVtctlCommandRequest.verify|verify} messages. - * @param message ExecuteVtctlCommandRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IExecuteVtctlCommandRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteVtctlCommandRequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteVtctlCommandRequest.verify|verify} messages. - * @param message ExecuteVtctlCommandRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IExecuteVtctlCommandRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteVtctlCommandRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteVtctlCommandRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteVtctlCommandRequest; - - /** - * Decodes an ExecuteVtctlCommandRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteVtctlCommandRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteVtctlCommandRequest; - - /** - * Verifies an ExecuteVtctlCommandRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteVtctlCommandRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteVtctlCommandRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteVtctlCommandRequest; - - /** - * Creates a plain object from an ExecuteVtctlCommandRequest message. Also converts values to other types if specified. - * @param message ExecuteVtctlCommandRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ExecuteVtctlCommandRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteVtctlCommandRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteVtctlCommandRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ExecuteVtctlCommandResponse. */ - interface IExecuteVtctlCommandResponse { - - /** ExecuteVtctlCommandResponse event */ - event?: (logutil.IEvent|null); - } - - /** Represents an ExecuteVtctlCommandResponse. */ - class ExecuteVtctlCommandResponse implements IExecuteVtctlCommandResponse { - - /** - * Constructs a new ExecuteVtctlCommandResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IExecuteVtctlCommandResponse); - - /** ExecuteVtctlCommandResponse event. */ - public event?: (logutil.IEvent|null); - - /** - * Creates a new ExecuteVtctlCommandResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteVtctlCommandResponse instance - */ - public static create(properties?: vtctldata.IExecuteVtctlCommandResponse): vtctldata.ExecuteVtctlCommandResponse; - - /** - * Encodes the specified ExecuteVtctlCommandResponse message. Does not implicitly {@link vtctldata.ExecuteVtctlCommandResponse.verify|verify} messages. - * @param message ExecuteVtctlCommandResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IExecuteVtctlCommandResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteVtctlCommandResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteVtctlCommandResponse.verify|verify} messages. - * @param message ExecuteVtctlCommandResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IExecuteVtctlCommandResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteVtctlCommandResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteVtctlCommandResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteVtctlCommandResponse; - - /** - * Decodes an ExecuteVtctlCommandResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteVtctlCommandResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteVtctlCommandResponse; - - /** - * Verifies an ExecuteVtctlCommandResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteVtctlCommandResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteVtctlCommandResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteVtctlCommandResponse; - - /** - * Creates a plain object from an ExecuteVtctlCommandResponse message. Also converts values to other types if specified. - * @param message ExecuteVtctlCommandResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ExecuteVtctlCommandResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteVtctlCommandResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteVtctlCommandResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** MaterializationIntent enum. */ - enum MaterializationIntent { - CUSTOM = 0, - MOVETABLES = 1, - CREATELOOKUPINDEX = 2 - } - - /** Properties of a TableMaterializeSettings. */ - interface ITableMaterializeSettings { - - /** TableMaterializeSettings target_table */ - target_table?: (string|null); - - /** TableMaterializeSettings source_expression */ - source_expression?: (string|null); - - /** TableMaterializeSettings create_ddl */ - create_ddl?: (string|null); - } - - /** Represents a TableMaterializeSettings. */ - class TableMaterializeSettings implements ITableMaterializeSettings { - - /** - * Constructs a new TableMaterializeSettings. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ITableMaterializeSettings); - - /** TableMaterializeSettings target_table. */ - public target_table: string; - - /** TableMaterializeSettings source_expression. */ - public source_expression: string; - - /** TableMaterializeSettings create_ddl. */ - public create_ddl: string; - - /** - * Creates a new TableMaterializeSettings instance using the specified properties. - * @param [properties] Properties to set - * @returns TableMaterializeSettings instance - */ - public static create(properties?: vtctldata.ITableMaterializeSettings): vtctldata.TableMaterializeSettings; - - /** - * Encodes the specified TableMaterializeSettings message. Does not implicitly {@link vtctldata.TableMaterializeSettings.verify|verify} messages. - * @param message TableMaterializeSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ITableMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TableMaterializeSettings message, length delimited. Does not implicitly {@link vtctldata.TableMaterializeSettings.verify|verify} messages. - * @param message TableMaterializeSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ITableMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TableMaterializeSettings message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TableMaterializeSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TableMaterializeSettings; - - /** - * Decodes a TableMaterializeSettings message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TableMaterializeSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TableMaterializeSettings; - - /** - * Verifies a TableMaterializeSettings message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a TableMaterializeSettings message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TableMaterializeSettings - */ - public static fromObject(object: { [k: string]: any }): vtctldata.TableMaterializeSettings; - - /** - * Creates a plain object from a TableMaterializeSettings message. Also converts values to other types if specified. - * @param message TableMaterializeSettings - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.TableMaterializeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TableMaterializeSettings to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TableMaterializeSettings - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MaterializeSettings. */ - interface IMaterializeSettings { - - /** MaterializeSettings workflow */ - workflow?: (string|null); - - /** MaterializeSettings source_keyspace */ - source_keyspace?: (string|null); - - /** MaterializeSettings target_keyspace */ - target_keyspace?: (string|null); - - /** MaterializeSettings stop_after_copy */ - stop_after_copy?: (boolean|null); - - /** MaterializeSettings table_settings */ - table_settings?: (vtctldata.ITableMaterializeSettings[]|null); - - /** MaterializeSettings cell */ - cell?: (string|null); - - /** MaterializeSettings tablet_types */ - tablet_types?: (string|null); - - /** MaterializeSettings external_cluster */ - external_cluster?: (string|null); - - /** MaterializeSettings materialization_intent */ - materialization_intent?: (vtctldata.MaterializationIntent|null); - - /** MaterializeSettings source_time_zone */ - source_time_zone?: (string|null); - - /** MaterializeSettings target_time_zone */ - target_time_zone?: (string|null); - - /** MaterializeSettings source_shards */ - source_shards?: (string[]|null); - - /** MaterializeSettings on_ddl */ - on_ddl?: (string|null); - - /** MaterializeSettings defer_secondary_keys */ - defer_secondary_keys?: (boolean|null); - - /** MaterializeSettings tablet_selection_preference */ - tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); - - /** MaterializeSettings atomic_copy */ - atomic_copy?: (boolean|null); - - /** MaterializeSettings workflow_options */ - workflow_options?: (vtctldata.IWorkflowOptions|null); - - /** MaterializeSettings reference_tables */ - reference_tables?: (string[]|null); - } - - /** Represents a MaterializeSettings. */ - class MaterializeSettings implements IMaterializeSettings { - - /** - * Constructs a new MaterializeSettings. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMaterializeSettings); - - /** MaterializeSettings workflow. */ - public workflow: string; - - /** MaterializeSettings source_keyspace. */ - public source_keyspace: string; - - /** MaterializeSettings target_keyspace. */ - public target_keyspace: string; - - /** MaterializeSettings stop_after_copy. */ - public stop_after_copy: boolean; - - /** MaterializeSettings table_settings. */ - public table_settings: vtctldata.ITableMaterializeSettings[]; - - /** MaterializeSettings cell. */ - public cell: string; - - /** MaterializeSettings tablet_types. */ - public tablet_types: string; - - /** MaterializeSettings external_cluster. */ - public external_cluster: string; - - /** MaterializeSettings materialization_intent. */ - public materialization_intent: vtctldata.MaterializationIntent; - - /** MaterializeSettings source_time_zone. */ - public source_time_zone: string; - - /** MaterializeSettings target_time_zone. */ - public target_time_zone: string; - - /** MaterializeSettings source_shards. */ - public source_shards: string[]; - - /** MaterializeSettings on_ddl. */ - public on_ddl: string; - - /** MaterializeSettings defer_secondary_keys. */ - public defer_secondary_keys: boolean; - - /** MaterializeSettings tablet_selection_preference. */ - public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; - - /** MaterializeSettings atomic_copy. */ - public atomic_copy: boolean; - - /** MaterializeSettings workflow_options. */ - public workflow_options?: (vtctldata.IWorkflowOptions|null); - - /** MaterializeSettings reference_tables. */ - public reference_tables: string[]; - - /** - * Creates a new MaterializeSettings instance using the specified properties. - * @param [properties] Properties to set - * @returns MaterializeSettings instance - */ - public static create(properties?: vtctldata.IMaterializeSettings): vtctldata.MaterializeSettings; - - /** - * Encodes the specified MaterializeSettings message. Does not implicitly {@link vtctldata.MaterializeSettings.verify|verify} messages. - * @param message MaterializeSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MaterializeSettings message, length delimited. Does not implicitly {@link vtctldata.MaterializeSettings.verify|verify} messages. - * @param message MaterializeSettings message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMaterializeSettings, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MaterializeSettings message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MaterializeSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MaterializeSettings; - - /** - * Decodes a MaterializeSettings message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MaterializeSettings - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MaterializeSettings; - - /** - * Verifies a MaterializeSettings message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MaterializeSettings message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MaterializeSettings - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MaterializeSettings; - - /** - * Creates a plain object from a MaterializeSettings message. Also converts values to other types if specified. - * @param message MaterializeSettings - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MaterializeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MaterializeSettings to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MaterializeSettings - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Keyspace. */ - interface IKeyspace { - - /** Keyspace name */ - name?: (string|null); - - /** Keyspace keyspace */ - keyspace?: (topodata.IKeyspace|null); - } - - /** Represents a Keyspace. */ - class Keyspace implements IKeyspace { - - /** - * Constructs a new Keyspace. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IKeyspace); - - /** Keyspace name. */ - public name: string; - - /** Keyspace keyspace. */ - public keyspace?: (topodata.IKeyspace|null); - - /** - * Creates a new Keyspace instance using the specified properties. - * @param [properties] Properties to set - * @returns Keyspace instance - */ - public static create(properties?: vtctldata.IKeyspace): vtctldata.Keyspace; - - /** - * Encodes the specified Keyspace message. Does not implicitly {@link vtctldata.Keyspace.verify|verify} messages. - * @param message Keyspace message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Keyspace message, length delimited. Does not implicitly {@link vtctldata.Keyspace.verify|verify} messages. - * @param message Keyspace message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IKeyspace, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Keyspace message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Keyspace - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Keyspace; - - /** - * Decodes a Keyspace message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Keyspace - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Keyspace; - - /** - * Verifies a Keyspace message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Keyspace message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Keyspace - */ - public static fromObject(object: { [k: string]: any }): vtctldata.Keyspace; - - /** - * Creates a plain object from a Keyspace message. Also converts values to other types if specified. - * @param message Keyspace - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.Keyspace, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Keyspace to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Keyspace - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** QueryOrdering enum. */ - enum QueryOrdering { - NONE = 0, - ASCENDING = 1, - DESCENDING = 2 - } - - /** Properties of a SchemaMigration. */ - interface ISchemaMigration { - - /** SchemaMigration uuid */ - uuid?: (string|null); - - /** SchemaMigration keyspace */ - keyspace?: (string|null); - - /** SchemaMigration shard */ - shard?: (string|null); - - /** SchemaMigration schema */ - schema?: (string|null); - - /** SchemaMigration table */ - table?: (string|null); - - /** SchemaMigration migration_statement */ - migration_statement?: (string|null); - - /** SchemaMigration strategy */ - strategy?: (vtctldata.SchemaMigration.Strategy|null); - - /** SchemaMigration options */ - options?: (string|null); - - /** SchemaMigration added_at */ - added_at?: (vttime.ITime|null); - - /** SchemaMigration requested_at */ - requested_at?: (vttime.ITime|null); - - /** SchemaMigration ready_at */ - ready_at?: (vttime.ITime|null); - - /** SchemaMigration started_at */ - started_at?: (vttime.ITime|null); - - /** SchemaMigration liveness_timestamp */ - liveness_timestamp?: (vttime.ITime|null); - - /** SchemaMigration completed_at */ - completed_at?: (vttime.ITime|null); - - /** SchemaMigration cleaned_up_at */ - cleaned_up_at?: (vttime.ITime|null); - - /** SchemaMigration status */ - status?: (vtctldata.SchemaMigration.Status|null); - - /** SchemaMigration log_path */ - log_path?: (string|null); - - /** SchemaMigration artifacts */ - artifacts?: (string|null); - - /** SchemaMigration retries */ - retries?: (number|Long|null); - - /** SchemaMigration tablet */ - tablet?: (topodata.ITabletAlias|null); - - /** SchemaMigration tablet_failure */ - tablet_failure?: (boolean|null); - - /** SchemaMigration progress */ - progress?: (number|null); - - /** SchemaMigration migration_context */ - migration_context?: (string|null); - - /** SchemaMigration ddl_action */ - ddl_action?: (string|null); - - /** SchemaMigration message */ - message?: (string|null); - - /** SchemaMigration eta_seconds */ - eta_seconds?: (number|Long|null); - - /** SchemaMigration rows_copied */ - rows_copied?: (number|Long|null); - - /** SchemaMigration table_rows */ - table_rows?: (number|Long|null); - - /** SchemaMigration added_unique_keys */ - added_unique_keys?: (number|null); - - /** SchemaMigration removed_unique_keys */ - removed_unique_keys?: (number|null); - - /** SchemaMigration log_file */ - log_file?: (string|null); - - /** SchemaMigration artifact_retention */ - artifact_retention?: (vttime.IDuration|null); - - /** SchemaMigration postpone_completion */ - postpone_completion?: (boolean|null); - - /** SchemaMigration removed_unique_key_names */ - removed_unique_key_names?: (string|null); - - /** SchemaMigration dropped_no_default_column_names */ - dropped_no_default_column_names?: (string|null); - - /** SchemaMigration expanded_column_names */ - expanded_column_names?: (string|null); - - /** SchemaMigration revertible_notes */ - revertible_notes?: (string|null); - - /** SchemaMigration allow_concurrent */ - allow_concurrent?: (boolean|null); - - /** SchemaMigration reverted_uuid */ - reverted_uuid?: (string|null); - - /** SchemaMigration is_view */ - is_view?: (boolean|null); - - /** SchemaMigration ready_to_complete */ - ready_to_complete?: (boolean|null); - - /** SchemaMigration vitess_liveness_indicator */ - vitess_liveness_indicator?: (number|Long|null); - - /** SchemaMigration user_throttle_ratio */ - user_throttle_ratio?: (number|null); - - /** SchemaMigration special_plan */ - special_plan?: (string|null); - - /** SchemaMigration last_throttled_at */ - last_throttled_at?: (vttime.ITime|null); - - /** SchemaMigration component_throttled */ - component_throttled?: (string|null); - - /** SchemaMigration cancelled_at */ - cancelled_at?: (vttime.ITime|null); - - /** SchemaMigration postpone_launch */ - postpone_launch?: (boolean|null); - - /** SchemaMigration stage */ - stage?: (string|null); - - /** SchemaMigration cutover_attempts */ - cutover_attempts?: (number|null); - - /** SchemaMigration is_immediate_operation */ - is_immediate_operation?: (boolean|null); - - /** SchemaMigration reviewed_at */ - reviewed_at?: (vttime.ITime|null); - - /** SchemaMigration ready_to_complete_at */ - ready_to_complete_at?: (vttime.ITime|null); - - /** SchemaMigration removed_foreign_key_names */ - removed_foreign_key_names?: (string|null); - } - - /** Represents a SchemaMigration. */ - class SchemaMigration implements ISchemaMigration { - - /** - * Constructs a new SchemaMigration. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISchemaMigration); - - /** SchemaMigration uuid. */ - public uuid: string; - - /** SchemaMigration keyspace. */ - public keyspace: string; - - /** SchemaMigration shard. */ - public shard: string; - - /** SchemaMigration schema. */ - public schema: string; - - /** SchemaMigration table. */ - public table: string; - - /** SchemaMigration migration_statement. */ - public migration_statement: string; - - /** SchemaMigration strategy. */ - public strategy: vtctldata.SchemaMigration.Strategy; - - /** SchemaMigration options. */ - public options: string; - - /** SchemaMigration added_at. */ - public added_at?: (vttime.ITime|null); - - /** SchemaMigration requested_at. */ - public requested_at?: (vttime.ITime|null); - - /** SchemaMigration ready_at. */ - public ready_at?: (vttime.ITime|null); - - /** SchemaMigration started_at. */ - public started_at?: (vttime.ITime|null); - - /** SchemaMigration liveness_timestamp. */ - public liveness_timestamp?: (vttime.ITime|null); - - /** SchemaMigration completed_at. */ - public completed_at?: (vttime.ITime|null); - - /** SchemaMigration cleaned_up_at. */ - public cleaned_up_at?: (vttime.ITime|null); - - /** SchemaMigration status. */ - public status: vtctldata.SchemaMigration.Status; - - /** SchemaMigration log_path. */ - public log_path: string; - - /** SchemaMigration artifacts. */ - public artifacts: string; - - /** SchemaMigration retries. */ - public retries: (number|Long); - - /** SchemaMigration tablet. */ - public tablet?: (topodata.ITabletAlias|null); - - /** SchemaMigration tablet_failure. */ - public tablet_failure: boolean; - - /** SchemaMigration progress. */ - public progress: number; - - /** SchemaMigration migration_context. */ - public migration_context: string; - - /** SchemaMigration ddl_action. */ - public ddl_action: string; - - /** SchemaMigration message. */ - public message: string; - - /** SchemaMigration eta_seconds. */ - public eta_seconds: (number|Long); - - /** SchemaMigration rows_copied. */ - public rows_copied: (number|Long); - - /** SchemaMigration table_rows. */ - public table_rows: (number|Long); - - /** SchemaMigration added_unique_keys. */ - public added_unique_keys: number; - - /** SchemaMigration removed_unique_keys. */ - public removed_unique_keys: number; - - /** SchemaMigration log_file. */ - public log_file: string; - - /** SchemaMigration artifact_retention. */ - public artifact_retention?: (vttime.IDuration|null); - - /** SchemaMigration postpone_completion. */ - public postpone_completion: boolean; - - /** SchemaMigration removed_unique_key_names. */ - public removed_unique_key_names: string; - - /** SchemaMigration dropped_no_default_column_names. */ - public dropped_no_default_column_names: string; - - /** SchemaMigration expanded_column_names. */ - public expanded_column_names: string; - - /** SchemaMigration revertible_notes. */ - public revertible_notes: string; - - /** SchemaMigration allow_concurrent. */ - public allow_concurrent: boolean; - - /** SchemaMigration reverted_uuid. */ - public reverted_uuid: string; - - /** SchemaMigration is_view. */ - public is_view: boolean; - - /** SchemaMigration ready_to_complete. */ - public ready_to_complete: boolean; - - /** SchemaMigration vitess_liveness_indicator. */ - public vitess_liveness_indicator: (number|Long); - - /** SchemaMigration user_throttle_ratio. */ - public user_throttle_ratio: number; - - /** SchemaMigration special_plan. */ - public special_plan: string; - - /** SchemaMigration last_throttled_at. */ - public last_throttled_at?: (vttime.ITime|null); - - /** SchemaMigration component_throttled. */ - public component_throttled: string; - - /** SchemaMigration cancelled_at. */ - public cancelled_at?: (vttime.ITime|null); - - /** SchemaMigration postpone_launch. */ - public postpone_launch: boolean; - - /** SchemaMigration stage. */ - public stage: string; - - /** SchemaMigration cutover_attempts. */ - public cutover_attempts: number; - - /** SchemaMigration is_immediate_operation. */ - public is_immediate_operation: boolean; - - /** SchemaMigration reviewed_at. */ - public reviewed_at?: (vttime.ITime|null); - - /** SchemaMigration ready_to_complete_at. */ - public ready_to_complete_at?: (vttime.ITime|null); - - /** SchemaMigration removed_foreign_key_names. */ - public removed_foreign_key_names: string; - - /** - * Creates a new SchemaMigration instance using the specified properties. - * @param [properties] Properties to set - * @returns SchemaMigration instance - */ - public static create(properties?: vtctldata.ISchemaMigration): vtctldata.SchemaMigration; - - /** - * Encodes the specified SchemaMigration message. Does not implicitly {@link vtctldata.SchemaMigration.verify|verify} messages. - * @param message SchemaMigration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISchemaMigration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SchemaMigration message, length delimited. Does not implicitly {@link vtctldata.SchemaMigration.verify|verify} messages. - * @param message SchemaMigration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISchemaMigration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SchemaMigration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SchemaMigration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SchemaMigration; - - /** - * Decodes a SchemaMigration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SchemaMigration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SchemaMigration; - - /** - * Verifies a SchemaMigration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SchemaMigration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SchemaMigration - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SchemaMigration; - - /** - * Creates a plain object from a SchemaMigration message. Also converts values to other types if specified. - * @param message SchemaMigration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SchemaMigration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SchemaMigration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SchemaMigration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace SchemaMigration { - - /** Strategy enum. */ - enum Strategy { - VITESS = 0, - ONLINE = 0, - GHOST = 1, - PTOSC = 2, - DIRECT = 3, - MYSQL = 4 - } - - /** Status enum. */ - enum Status { - UNKNOWN = 0, - REQUESTED = 1, - CANCELLED = 2, - QUEUED = 3, - READY = 4, - RUNNING = 5, - COMPLETE = 6, - FAILED = 7 - } - } - - /** Properties of a Shard. */ - interface IShard { - - /** Shard keyspace */ - keyspace?: (string|null); - - /** Shard name */ - name?: (string|null); - - /** Shard shard */ - shard?: (topodata.IShard|null); - } - - /** Represents a Shard. */ - class Shard implements IShard { - - /** - * Constructs a new Shard. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IShard); - - /** Shard keyspace. */ - public keyspace: string; - - /** Shard name. */ - public name: string; - - /** Shard shard. */ - public shard?: (topodata.IShard|null); - - /** - * Creates a new Shard instance using the specified properties. - * @param [properties] Properties to set - * @returns Shard instance - */ - public static create(properties?: vtctldata.IShard): vtctldata.Shard; - - /** - * Encodes the specified Shard message. Does not implicitly {@link vtctldata.Shard.verify|verify} messages. - * @param message Shard message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IShard, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Shard message, length delimited. Does not implicitly {@link vtctldata.Shard.verify|verify} messages. - * @param message Shard message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IShard, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Shard message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Shard - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Shard; - - /** - * Decodes a Shard message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Shard - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Shard; - - /** - * Verifies a Shard message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Shard message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Shard - */ - public static fromObject(object: { [k: string]: any }): vtctldata.Shard; - - /** - * Creates a plain object from a Shard message. Also converts values to other types if specified. - * @param message Shard - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.Shard, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Shard to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Shard - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a WorkflowOptions. */ - interface IWorkflowOptions { - - /** WorkflowOptions tenant_id */ - tenant_id?: (string|null); - - /** WorkflowOptions strip_sharded_auto_increment */ - strip_sharded_auto_increment?: (boolean|null); - - /** WorkflowOptions shards */ - shards?: (string[]|null); - - /** WorkflowOptions config */ - config?: ({ [k: string]: string }|null); - } - - /** Represents a WorkflowOptions. */ - class WorkflowOptions implements IWorkflowOptions { - - /** - * Constructs a new WorkflowOptions. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflowOptions); - - /** WorkflowOptions tenant_id. */ - public tenant_id: string; - - /** WorkflowOptions strip_sharded_auto_increment. */ - public strip_sharded_auto_increment: boolean; - - /** WorkflowOptions shards. */ - public shards: string[]; - - /** WorkflowOptions config. */ - public config: { [k: string]: string }; - - /** - * Creates a new WorkflowOptions instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowOptions instance - */ - public static create(properties?: vtctldata.IWorkflowOptions): vtctldata.WorkflowOptions; - - /** - * Encodes the specified WorkflowOptions message. Does not implicitly {@link vtctldata.WorkflowOptions.verify|verify} messages. - * @param message WorkflowOptions message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflowOptions, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WorkflowOptions message, length delimited. Does not implicitly {@link vtctldata.WorkflowOptions.verify|verify} messages. - * @param message WorkflowOptions message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflowOptions, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WorkflowOptions message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowOptions; - - /** - * Decodes a WorkflowOptions message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WorkflowOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowOptions; - - /** - * Verifies a WorkflowOptions message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a WorkflowOptions message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WorkflowOptions - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowOptions; - - /** - * Creates a plain object from a WorkflowOptions message. Also converts values to other types if specified. - * @param message WorkflowOptions - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WorkflowOptions to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WorkflowOptions - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Workflow. */ - interface IWorkflow { - - /** Workflow name */ - name?: (string|null); - - /** Workflow source */ - source?: (vtctldata.Workflow.IReplicationLocation|null); - - /** Workflow target */ - target?: (vtctldata.Workflow.IReplicationLocation|null); - - /** Workflow max_v_replication_lag */ - max_v_replication_lag?: (number|Long|null); - - /** Workflow shard_streams */ - shard_streams?: ({ [k: string]: vtctldata.Workflow.IShardStream }|null); - - /** Workflow workflow_type */ - workflow_type?: (string|null); - - /** Workflow workflow_sub_type */ - workflow_sub_type?: (string|null); - - /** Workflow max_v_replication_transaction_lag */ - max_v_replication_transaction_lag?: (number|Long|null); - - /** Workflow defer_secondary_keys */ - defer_secondary_keys?: (boolean|null); - - /** Workflow options */ - options?: (vtctldata.IWorkflowOptions|null); - } - - /** Represents a Workflow. */ - class Workflow implements IWorkflow { - - /** - * Constructs a new Workflow. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflow); - - /** Workflow name. */ - public name: string; - - /** Workflow source. */ - public source?: (vtctldata.Workflow.IReplicationLocation|null); - - /** Workflow target. */ - public target?: (vtctldata.Workflow.IReplicationLocation|null); - - /** Workflow max_v_replication_lag. */ - public max_v_replication_lag: (number|Long); - - /** Workflow shard_streams. */ - public shard_streams: { [k: string]: vtctldata.Workflow.IShardStream }; - - /** Workflow workflow_type. */ - public workflow_type: string; - - /** Workflow workflow_sub_type. */ - public workflow_sub_type: string; - - /** Workflow max_v_replication_transaction_lag. */ - public max_v_replication_transaction_lag: (number|Long); - - /** Workflow defer_secondary_keys. */ - public defer_secondary_keys: boolean; - - /** Workflow options. */ - public options?: (vtctldata.IWorkflowOptions|null); - - /** - * Creates a new Workflow instance using the specified properties. - * @param [properties] Properties to set - * @returns Workflow instance - */ - public static create(properties?: vtctldata.IWorkflow): vtctldata.Workflow; - - /** - * Encodes the specified Workflow message. Does not implicitly {@link vtctldata.Workflow.verify|verify} messages. - * @param message Workflow message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Workflow message, length delimited. Does not implicitly {@link vtctldata.Workflow.verify|verify} messages. - * @param message Workflow message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Workflow message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Workflow - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow; - - /** - * Decodes a Workflow message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Workflow - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow; - - /** - * Verifies a Workflow message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Workflow message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Workflow - */ - public static fromObject(object: { [k: string]: any }): vtctldata.Workflow; - - /** - * Creates a plain object from a Workflow message. Also converts values to other types if specified. - * @param message Workflow - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.Workflow, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Workflow to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Workflow - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace Workflow { - - /** Properties of a ReplicationLocation. */ - interface IReplicationLocation { - - /** ReplicationLocation keyspace */ - keyspace?: (string|null); - - /** ReplicationLocation shards */ - shards?: (string[]|null); - } - - /** Represents a ReplicationLocation. */ - class ReplicationLocation implements IReplicationLocation { - - /** - * Constructs a new ReplicationLocation. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.Workflow.IReplicationLocation); - - /** ReplicationLocation keyspace. */ - public keyspace: string; - - /** ReplicationLocation shards. */ - public shards: string[]; - - /** - * Creates a new ReplicationLocation instance using the specified properties. - * @param [properties] Properties to set - * @returns ReplicationLocation instance - */ - public static create(properties?: vtctldata.Workflow.IReplicationLocation): vtctldata.Workflow.ReplicationLocation; - - /** - * Encodes the specified ReplicationLocation message. Does not implicitly {@link vtctldata.Workflow.ReplicationLocation.verify|verify} messages. - * @param message ReplicationLocation message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.Workflow.IReplicationLocation, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReplicationLocation message, length delimited. Does not implicitly {@link vtctldata.Workflow.ReplicationLocation.verify|verify} messages. - * @param message ReplicationLocation message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.Workflow.IReplicationLocation, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReplicationLocation message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReplicationLocation - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.ReplicationLocation; - - /** - * Decodes a ReplicationLocation message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReplicationLocation - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.ReplicationLocation; - - /** - * Verifies a ReplicationLocation message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReplicationLocation message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReplicationLocation - */ - public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.ReplicationLocation; - - /** - * Creates a plain object from a ReplicationLocation message. Also converts values to other types if specified. - * @param message ReplicationLocation - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.Workflow.ReplicationLocation, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReplicationLocation to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReplicationLocation - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardStream. */ - interface IShardStream { - - /** ShardStream streams */ - streams?: (vtctldata.Workflow.IStream[]|null); - - /** ShardStream tablet_controls */ - tablet_controls?: (topodata.Shard.ITabletControl[]|null); - - /** ShardStream is_primary_serving */ - is_primary_serving?: (boolean|null); - } - - /** Represents a ShardStream. */ - class ShardStream implements IShardStream { - - /** - * Constructs a new ShardStream. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.Workflow.IShardStream); - - /** ShardStream streams. */ - public streams: vtctldata.Workflow.IStream[]; - - /** ShardStream tablet_controls. */ - public tablet_controls: topodata.Shard.ITabletControl[]; - - /** ShardStream is_primary_serving. */ - public is_primary_serving: boolean; - - /** - * Creates a new ShardStream instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardStream instance - */ - public static create(properties?: vtctldata.Workflow.IShardStream): vtctldata.Workflow.ShardStream; - - /** - * Encodes the specified ShardStream message. Does not implicitly {@link vtctldata.Workflow.ShardStream.verify|verify} messages. - * @param message ShardStream message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.Workflow.IShardStream, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardStream message, length delimited. Does not implicitly {@link vtctldata.Workflow.ShardStream.verify|verify} messages. - * @param message ShardStream message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.Workflow.IShardStream, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardStream message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardStream - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.ShardStream; - - /** - * Decodes a ShardStream message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardStream - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.ShardStream; - - /** - * Verifies a ShardStream message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardStream message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardStream - */ - public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.ShardStream; - - /** - * Creates a plain object from a ShardStream message. Also converts values to other types if specified. - * @param message ShardStream - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.Workflow.ShardStream, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardStream to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardStream - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Stream. */ - interface IStream { - - /** Stream id */ - id?: (number|Long|null); - - /** Stream shard */ - shard?: (string|null); - - /** Stream tablet */ - tablet?: (topodata.ITabletAlias|null); - - /** Stream binlog_source */ - binlog_source?: (binlogdata.IBinlogSource|null); - - /** Stream position */ - position?: (string|null); - - /** Stream stop_position */ - stop_position?: (string|null); - - /** Stream state */ - state?: (string|null); - - /** Stream db_name */ - db_name?: (string|null); - - /** Stream transaction_timestamp */ - transaction_timestamp?: (vttime.ITime|null); - - /** Stream time_updated */ - time_updated?: (vttime.ITime|null); - - /** Stream message */ - message?: (string|null); - - /** Stream copy_states */ - copy_states?: (vtctldata.Workflow.Stream.ICopyState[]|null); - - /** Stream logs */ - logs?: (vtctldata.Workflow.Stream.ILog[]|null); - - /** Stream log_fetch_error */ - log_fetch_error?: (string|null); - - /** Stream tags */ - tags?: (string[]|null); - - /** Stream rows_copied */ - rows_copied?: (number|Long|null); - - /** Stream throttler_status */ - throttler_status?: (vtctldata.Workflow.Stream.IThrottlerStatus|null); - - /** Stream tablet_types */ - tablet_types?: (topodata.TabletType[]|null); - - /** Stream tablet_selection_preference */ - tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); - - /** Stream cells */ - cells?: (string[]|null); - } - - /** Represents a Stream. */ - class Stream implements IStream { - - /** - * Constructs a new Stream. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.Workflow.IStream); - - /** Stream id. */ - public id: (number|Long); - - /** Stream shard. */ - public shard: string; - - /** Stream tablet. */ - public tablet?: (topodata.ITabletAlias|null); - - /** Stream binlog_source. */ - public binlog_source?: (binlogdata.IBinlogSource|null); - - /** Stream position. */ - public position: string; - - /** Stream stop_position. */ - public stop_position: string; - - /** Stream state. */ - public state: string; - - /** Stream db_name. */ - public db_name: string; - - /** Stream transaction_timestamp. */ - public transaction_timestamp?: (vttime.ITime|null); - - /** Stream time_updated. */ - public time_updated?: (vttime.ITime|null); - - /** Stream message. */ - public message: string; - - /** Stream copy_states. */ - public copy_states: vtctldata.Workflow.Stream.ICopyState[]; - - /** Stream logs. */ - public logs: vtctldata.Workflow.Stream.ILog[]; - - /** Stream log_fetch_error. */ - public log_fetch_error: string; - - /** Stream tags. */ - public tags: string[]; - - /** Stream rows_copied. */ - public rows_copied: (number|Long); - - /** Stream throttler_status. */ - public throttler_status?: (vtctldata.Workflow.Stream.IThrottlerStatus|null); - - /** Stream tablet_types. */ - public tablet_types: topodata.TabletType[]; - - /** Stream tablet_selection_preference. */ - public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; - - /** Stream cells. */ - public cells: string[]; - - /** - * Creates a new Stream instance using the specified properties. - * @param [properties] Properties to set - * @returns Stream instance - */ - public static create(properties?: vtctldata.Workflow.IStream): vtctldata.Workflow.Stream; - - /** - * Encodes the specified Stream message. Does not implicitly {@link vtctldata.Workflow.Stream.verify|verify} messages. - * @param message Stream message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.Workflow.IStream, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Stream message, length delimited. Does not implicitly {@link vtctldata.Workflow.Stream.verify|verify} messages. - * @param message Stream message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.Workflow.IStream, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Stream message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Stream - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.Stream; - - /** - * Decodes a Stream message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Stream - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.Stream; - - /** - * Verifies a Stream message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Stream message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Stream - */ - public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.Stream; - - /** - * Creates a plain object from a Stream message. Also converts values to other types if specified. - * @param message Stream - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.Workflow.Stream, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Stream to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Stream - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace Stream { - - /** Properties of a CopyState. */ - interface ICopyState { - - /** CopyState table */ - table?: (string|null); - - /** CopyState last_pk */ - last_pk?: (string|null); - - /** CopyState stream_id */ - stream_id?: (number|Long|null); - } - - /** Represents a CopyState. */ - class CopyState implements ICopyState { - - /** - * Constructs a new CopyState. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.Workflow.Stream.ICopyState); - - /** CopyState table. */ - public table: string; - - /** CopyState last_pk. */ - public last_pk: string; - - /** CopyState stream_id. */ - public stream_id: (number|Long); - - /** - * Creates a new CopyState instance using the specified properties. - * @param [properties] Properties to set - * @returns CopyState instance - */ - public static create(properties?: vtctldata.Workflow.Stream.ICopyState): vtctldata.Workflow.Stream.CopyState; - - /** - * Encodes the specified CopyState message. Does not implicitly {@link vtctldata.Workflow.Stream.CopyState.verify|verify} messages. - * @param message CopyState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.Workflow.Stream.ICopyState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CopyState message, length delimited. Does not implicitly {@link vtctldata.Workflow.Stream.CopyState.verify|verify} messages. - * @param message CopyState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.Workflow.Stream.ICopyState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CopyState message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CopyState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.Stream.CopyState; - - /** - * Decodes a CopyState message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CopyState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.Stream.CopyState; - - /** - * Verifies a CopyState message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CopyState message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CopyState - */ - public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.Stream.CopyState; - - /** - * Creates a plain object from a CopyState message. Also converts values to other types if specified. - * @param message CopyState - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.Workflow.Stream.CopyState, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CopyState to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CopyState - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Log. */ - interface ILog { - - /** Log id */ - id?: (number|Long|null); - - /** Log stream_id */ - stream_id?: (number|Long|null); - - /** Log type */ - type?: (string|null); - - /** Log state */ - state?: (string|null); - - /** Log created_at */ - created_at?: (vttime.ITime|null); - - /** Log updated_at */ - updated_at?: (vttime.ITime|null); - - /** Log message */ - message?: (string|null); - - /** Log count */ - count?: (number|Long|null); - } - - /** Represents a Log. */ - class Log implements ILog { - - /** - * Constructs a new Log. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.Workflow.Stream.ILog); - - /** Log id. */ - public id: (number|Long); - - /** Log stream_id. */ - public stream_id: (number|Long); - - /** Log type. */ - public type: string; - - /** Log state. */ - public state: string; - - /** Log created_at. */ - public created_at?: (vttime.ITime|null); - - /** Log updated_at. */ - public updated_at?: (vttime.ITime|null); - - /** Log message. */ - public message: string; - - /** Log count. */ - public count: (number|Long); - - /** - * Creates a new Log instance using the specified properties. - * @param [properties] Properties to set - * @returns Log instance - */ - public static create(properties?: vtctldata.Workflow.Stream.ILog): vtctldata.Workflow.Stream.Log; - - /** - * Encodes the specified Log message. Does not implicitly {@link vtctldata.Workflow.Stream.Log.verify|verify} messages. - * @param message Log message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.Workflow.Stream.ILog, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Log message, length delimited. Does not implicitly {@link vtctldata.Workflow.Stream.Log.verify|verify} messages. - * @param message Log message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.Workflow.Stream.ILog, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Log message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Log - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.Stream.Log; - - /** - * Decodes a Log message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Log - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.Stream.Log; - - /** - * Verifies a Log message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Log message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Log - */ - public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.Stream.Log; - - /** - * Creates a plain object from a Log message. Also converts values to other types if specified. - * @param message Log - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.Workflow.Stream.Log, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Log to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Log - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ThrottlerStatus. */ - interface IThrottlerStatus { - - /** ThrottlerStatus component_throttled */ - component_throttled?: (string|null); - - /** ThrottlerStatus time_throttled */ - time_throttled?: (vttime.ITime|null); - } - - /** Represents a ThrottlerStatus. */ - class ThrottlerStatus implements IThrottlerStatus { - - /** - * Constructs a new ThrottlerStatus. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.Workflow.Stream.IThrottlerStatus); - - /** ThrottlerStatus component_throttled. */ - public component_throttled: string; - - /** ThrottlerStatus time_throttled. */ - public time_throttled?: (vttime.ITime|null); - - /** - * Creates a new ThrottlerStatus instance using the specified properties. - * @param [properties] Properties to set - * @returns ThrottlerStatus instance - */ - public static create(properties?: vtctldata.Workflow.Stream.IThrottlerStatus): vtctldata.Workflow.Stream.ThrottlerStatus; - - /** - * Encodes the specified ThrottlerStatus message. Does not implicitly {@link vtctldata.Workflow.Stream.ThrottlerStatus.verify|verify} messages. - * @param message ThrottlerStatus message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.Workflow.Stream.IThrottlerStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ThrottlerStatus message, length delimited. Does not implicitly {@link vtctldata.Workflow.Stream.ThrottlerStatus.verify|verify} messages. - * @param message ThrottlerStatus message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.Workflow.Stream.IThrottlerStatus, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ThrottlerStatus message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ThrottlerStatus - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.Workflow.Stream.ThrottlerStatus; - - /** - * Decodes a ThrottlerStatus message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ThrottlerStatus - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.Workflow.Stream.ThrottlerStatus; - - /** - * Verifies a ThrottlerStatus message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ThrottlerStatus message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ThrottlerStatus - */ - public static fromObject(object: { [k: string]: any }): vtctldata.Workflow.Stream.ThrottlerStatus; - - /** - * Creates a plain object from a ThrottlerStatus message. Also converts values to other types if specified. - * @param message ThrottlerStatus - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.Workflow.Stream.ThrottlerStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ThrottlerStatus to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ThrottlerStatus - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - } - - /** Properties of an AddCellInfoRequest. */ - interface IAddCellInfoRequest { - - /** AddCellInfoRequest name */ - name?: (string|null); - - /** AddCellInfoRequest cell_info */ - cell_info?: (topodata.ICellInfo|null); - } - - /** Represents an AddCellInfoRequest. */ - class AddCellInfoRequest implements IAddCellInfoRequest { - - /** - * Constructs a new AddCellInfoRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IAddCellInfoRequest); - - /** AddCellInfoRequest name. */ - public name: string; - - /** AddCellInfoRequest cell_info. */ - public cell_info?: (topodata.ICellInfo|null); - - /** - * Creates a new AddCellInfoRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns AddCellInfoRequest instance - */ - public static create(properties?: vtctldata.IAddCellInfoRequest): vtctldata.AddCellInfoRequest; - - /** - * Encodes the specified AddCellInfoRequest message. Does not implicitly {@link vtctldata.AddCellInfoRequest.verify|verify} messages. - * @param message AddCellInfoRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IAddCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AddCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.AddCellInfoRequest.verify|verify} messages. - * @param message AddCellInfoRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IAddCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AddCellInfoRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AddCellInfoRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellInfoRequest; - - /** - * Decodes an AddCellInfoRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AddCellInfoRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellInfoRequest; - - /** - * Verifies an AddCellInfoRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an AddCellInfoRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AddCellInfoRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.AddCellInfoRequest; - - /** - * Creates a plain object from an AddCellInfoRequest message. Also converts values to other types if specified. - * @param message AddCellInfoRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.AddCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AddCellInfoRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AddCellInfoRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an AddCellInfoResponse. */ - interface IAddCellInfoResponse { - } - - /** Represents an AddCellInfoResponse. */ - class AddCellInfoResponse implements IAddCellInfoResponse { - - /** - * Constructs a new AddCellInfoResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IAddCellInfoResponse); - - /** - * Creates a new AddCellInfoResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns AddCellInfoResponse instance - */ - public static create(properties?: vtctldata.IAddCellInfoResponse): vtctldata.AddCellInfoResponse; - - /** - * Encodes the specified AddCellInfoResponse message. Does not implicitly {@link vtctldata.AddCellInfoResponse.verify|verify} messages. - * @param message AddCellInfoResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IAddCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AddCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.AddCellInfoResponse.verify|verify} messages. - * @param message AddCellInfoResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IAddCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AddCellInfoResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AddCellInfoResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellInfoResponse; - - /** - * Decodes an AddCellInfoResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AddCellInfoResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellInfoResponse; - - /** - * Verifies an AddCellInfoResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an AddCellInfoResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AddCellInfoResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.AddCellInfoResponse; - - /** - * Creates a plain object from an AddCellInfoResponse message. Also converts values to other types if specified. - * @param message AddCellInfoResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.AddCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AddCellInfoResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AddCellInfoResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an AddCellsAliasRequest. */ - interface IAddCellsAliasRequest { - - /** AddCellsAliasRequest name */ - name?: (string|null); - - /** AddCellsAliasRequest cells */ - cells?: (string[]|null); - } - - /** Represents an AddCellsAliasRequest. */ - class AddCellsAliasRequest implements IAddCellsAliasRequest { - - /** - * Constructs a new AddCellsAliasRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IAddCellsAliasRequest); - - /** AddCellsAliasRequest name. */ - public name: string; - - /** AddCellsAliasRequest cells. */ - public cells: string[]; - - /** - * Creates a new AddCellsAliasRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns AddCellsAliasRequest instance - */ - public static create(properties?: vtctldata.IAddCellsAliasRequest): vtctldata.AddCellsAliasRequest; - - /** - * Encodes the specified AddCellsAliasRequest message. Does not implicitly {@link vtctldata.AddCellsAliasRequest.verify|verify} messages. - * @param message AddCellsAliasRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IAddCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AddCellsAliasRequest message, length delimited. Does not implicitly {@link vtctldata.AddCellsAliasRequest.verify|verify} messages. - * @param message AddCellsAliasRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IAddCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AddCellsAliasRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AddCellsAliasRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellsAliasRequest; - - /** - * Decodes an AddCellsAliasRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AddCellsAliasRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellsAliasRequest; - - /** - * Verifies an AddCellsAliasRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an AddCellsAliasRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AddCellsAliasRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.AddCellsAliasRequest; - - /** - * Creates a plain object from an AddCellsAliasRequest message. Also converts values to other types if specified. - * @param message AddCellsAliasRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.AddCellsAliasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AddCellsAliasRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AddCellsAliasRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an AddCellsAliasResponse. */ - interface IAddCellsAliasResponse { - } - - /** Represents an AddCellsAliasResponse. */ - class AddCellsAliasResponse implements IAddCellsAliasResponse { - - /** - * Constructs a new AddCellsAliasResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IAddCellsAliasResponse); - - /** - * Creates a new AddCellsAliasResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns AddCellsAliasResponse instance - */ - public static create(properties?: vtctldata.IAddCellsAliasResponse): vtctldata.AddCellsAliasResponse; - - /** - * Encodes the specified AddCellsAliasResponse message. Does not implicitly {@link vtctldata.AddCellsAliasResponse.verify|verify} messages. - * @param message AddCellsAliasResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IAddCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AddCellsAliasResponse message, length delimited. Does not implicitly {@link vtctldata.AddCellsAliasResponse.verify|verify} messages. - * @param message AddCellsAliasResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IAddCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AddCellsAliasResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AddCellsAliasResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.AddCellsAliasResponse; - - /** - * Decodes an AddCellsAliasResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AddCellsAliasResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.AddCellsAliasResponse; - - /** - * Verifies an AddCellsAliasResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an AddCellsAliasResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AddCellsAliasResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.AddCellsAliasResponse; - - /** - * Creates a plain object from an AddCellsAliasResponse message. Also converts values to other types if specified. - * @param message AddCellsAliasResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.AddCellsAliasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AddCellsAliasResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AddCellsAliasResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ApplyKeyspaceRoutingRulesRequest. */ - interface IApplyKeyspaceRoutingRulesRequest { - - /** ApplyKeyspaceRoutingRulesRequest keyspace_routing_rules */ - keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); - - /** ApplyKeyspaceRoutingRulesRequest skip_rebuild */ - skip_rebuild?: (boolean|null); - - /** ApplyKeyspaceRoutingRulesRequest rebuild_cells */ - rebuild_cells?: (string[]|null); - } - - /** Represents an ApplyKeyspaceRoutingRulesRequest. */ - class ApplyKeyspaceRoutingRulesRequest implements IApplyKeyspaceRoutingRulesRequest { - - /** - * Constructs a new ApplyKeyspaceRoutingRulesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IApplyKeyspaceRoutingRulesRequest); - - /** ApplyKeyspaceRoutingRulesRequest keyspace_routing_rules. */ - public keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); - - /** ApplyKeyspaceRoutingRulesRequest skip_rebuild. */ - public skip_rebuild: boolean; - - /** ApplyKeyspaceRoutingRulesRequest rebuild_cells. */ - public rebuild_cells: string[]; - - /** - * Creates a new ApplyKeyspaceRoutingRulesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ApplyKeyspaceRoutingRulesRequest instance - */ - public static create(properties?: vtctldata.IApplyKeyspaceRoutingRulesRequest): vtctldata.ApplyKeyspaceRoutingRulesRequest; - - /** - * Encodes the specified ApplyKeyspaceRoutingRulesRequest message. Does not implicitly {@link vtctldata.ApplyKeyspaceRoutingRulesRequest.verify|verify} messages. - * @param message ApplyKeyspaceRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IApplyKeyspaceRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ApplyKeyspaceRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.ApplyKeyspaceRoutingRulesRequest.verify|verify} messages. - * @param message ApplyKeyspaceRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IApplyKeyspaceRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ApplyKeyspaceRoutingRulesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ApplyKeyspaceRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyKeyspaceRoutingRulesRequest; - - /** - * Decodes an ApplyKeyspaceRoutingRulesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ApplyKeyspaceRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyKeyspaceRoutingRulesRequest; - - /** - * Verifies an ApplyKeyspaceRoutingRulesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ApplyKeyspaceRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ApplyKeyspaceRoutingRulesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ApplyKeyspaceRoutingRulesRequest; - - /** - * Creates a plain object from an ApplyKeyspaceRoutingRulesRequest message. Also converts values to other types if specified. - * @param message ApplyKeyspaceRoutingRulesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ApplyKeyspaceRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ApplyKeyspaceRoutingRulesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ApplyKeyspaceRoutingRulesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ApplyKeyspaceRoutingRulesResponse. */ - interface IApplyKeyspaceRoutingRulesResponse { - - /** ApplyKeyspaceRoutingRulesResponse keyspace_routing_rules */ - keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); - } - - /** Represents an ApplyKeyspaceRoutingRulesResponse. */ - class ApplyKeyspaceRoutingRulesResponse implements IApplyKeyspaceRoutingRulesResponse { - - /** - * Constructs a new ApplyKeyspaceRoutingRulesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IApplyKeyspaceRoutingRulesResponse); - - /** ApplyKeyspaceRoutingRulesResponse keyspace_routing_rules. */ - public keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); - - /** - * Creates a new ApplyKeyspaceRoutingRulesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ApplyKeyspaceRoutingRulesResponse instance - */ - public static create(properties?: vtctldata.IApplyKeyspaceRoutingRulesResponse): vtctldata.ApplyKeyspaceRoutingRulesResponse; - - /** - * Encodes the specified ApplyKeyspaceRoutingRulesResponse message. Does not implicitly {@link vtctldata.ApplyKeyspaceRoutingRulesResponse.verify|verify} messages. - * @param message ApplyKeyspaceRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IApplyKeyspaceRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ApplyKeyspaceRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.ApplyKeyspaceRoutingRulesResponse.verify|verify} messages. - * @param message ApplyKeyspaceRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IApplyKeyspaceRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ApplyKeyspaceRoutingRulesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ApplyKeyspaceRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyKeyspaceRoutingRulesResponse; - - /** - * Decodes an ApplyKeyspaceRoutingRulesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ApplyKeyspaceRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyKeyspaceRoutingRulesResponse; - - /** - * Verifies an ApplyKeyspaceRoutingRulesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ApplyKeyspaceRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ApplyKeyspaceRoutingRulesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ApplyKeyspaceRoutingRulesResponse; - - /** - * Creates a plain object from an ApplyKeyspaceRoutingRulesResponse message. Also converts values to other types if specified. - * @param message ApplyKeyspaceRoutingRulesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ApplyKeyspaceRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ApplyKeyspaceRoutingRulesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ApplyKeyspaceRoutingRulesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ApplyRoutingRulesRequest. */ - interface IApplyRoutingRulesRequest { - - /** ApplyRoutingRulesRequest routing_rules */ - routing_rules?: (vschema.IRoutingRules|null); - - /** ApplyRoutingRulesRequest skip_rebuild */ - skip_rebuild?: (boolean|null); - - /** ApplyRoutingRulesRequest rebuild_cells */ - rebuild_cells?: (string[]|null); - } - - /** Represents an ApplyRoutingRulesRequest. */ - class ApplyRoutingRulesRequest implements IApplyRoutingRulesRequest { - - /** - * Constructs a new ApplyRoutingRulesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IApplyRoutingRulesRequest); - - /** ApplyRoutingRulesRequest routing_rules. */ - public routing_rules?: (vschema.IRoutingRules|null); - - /** ApplyRoutingRulesRequest skip_rebuild. */ - public skip_rebuild: boolean; - - /** ApplyRoutingRulesRequest rebuild_cells. */ - public rebuild_cells: string[]; - - /** - * Creates a new ApplyRoutingRulesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ApplyRoutingRulesRequest instance - */ - public static create(properties?: vtctldata.IApplyRoutingRulesRequest): vtctldata.ApplyRoutingRulesRequest; - - /** - * Encodes the specified ApplyRoutingRulesRequest message. Does not implicitly {@link vtctldata.ApplyRoutingRulesRequest.verify|verify} messages. - * @param message ApplyRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IApplyRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ApplyRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.ApplyRoutingRulesRequest.verify|verify} messages. - * @param message ApplyRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IApplyRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ApplyRoutingRulesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ApplyRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyRoutingRulesRequest; - - /** - * Decodes an ApplyRoutingRulesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ApplyRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyRoutingRulesRequest; - - /** - * Verifies an ApplyRoutingRulesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ApplyRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ApplyRoutingRulesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ApplyRoutingRulesRequest; - - /** - * Creates a plain object from an ApplyRoutingRulesRequest message. Also converts values to other types if specified. - * @param message ApplyRoutingRulesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ApplyRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ApplyRoutingRulesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ApplyRoutingRulesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ApplyRoutingRulesResponse. */ - interface IApplyRoutingRulesResponse { - } - - /** Represents an ApplyRoutingRulesResponse. */ - class ApplyRoutingRulesResponse implements IApplyRoutingRulesResponse { - - /** - * Constructs a new ApplyRoutingRulesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IApplyRoutingRulesResponse); - - /** - * Creates a new ApplyRoutingRulesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ApplyRoutingRulesResponse instance - */ - public static create(properties?: vtctldata.IApplyRoutingRulesResponse): vtctldata.ApplyRoutingRulesResponse; - - /** - * Encodes the specified ApplyRoutingRulesResponse message. Does not implicitly {@link vtctldata.ApplyRoutingRulesResponse.verify|verify} messages. - * @param message ApplyRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IApplyRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ApplyRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.ApplyRoutingRulesResponse.verify|verify} messages. - * @param message ApplyRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IApplyRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ApplyRoutingRulesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ApplyRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyRoutingRulesResponse; - - /** - * Decodes an ApplyRoutingRulesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ApplyRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyRoutingRulesResponse; - - /** - * Verifies an ApplyRoutingRulesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ApplyRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ApplyRoutingRulesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ApplyRoutingRulesResponse; - - /** - * Creates a plain object from an ApplyRoutingRulesResponse message. Also converts values to other types if specified. - * @param message ApplyRoutingRulesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ApplyRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ApplyRoutingRulesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ApplyRoutingRulesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ApplyShardRoutingRulesRequest. */ - interface IApplyShardRoutingRulesRequest { - - /** ApplyShardRoutingRulesRequest shard_routing_rules */ - shard_routing_rules?: (vschema.IShardRoutingRules|null); - - /** ApplyShardRoutingRulesRequest skip_rebuild */ - skip_rebuild?: (boolean|null); - - /** ApplyShardRoutingRulesRequest rebuild_cells */ - rebuild_cells?: (string[]|null); - } - - /** Represents an ApplyShardRoutingRulesRequest. */ - class ApplyShardRoutingRulesRequest implements IApplyShardRoutingRulesRequest { - - /** - * Constructs a new ApplyShardRoutingRulesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IApplyShardRoutingRulesRequest); - - /** ApplyShardRoutingRulesRequest shard_routing_rules. */ - public shard_routing_rules?: (vschema.IShardRoutingRules|null); - - /** ApplyShardRoutingRulesRequest skip_rebuild. */ - public skip_rebuild: boolean; - - /** ApplyShardRoutingRulesRequest rebuild_cells. */ - public rebuild_cells: string[]; - - /** - * Creates a new ApplyShardRoutingRulesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ApplyShardRoutingRulesRequest instance - */ - public static create(properties?: vtctldata.IApplyShardRoutingRulesRequest): vtctldata.ApplyShardRoutingRulesRequest; - - /** - * Encodes the specified ApplyShardRoutingRulesRequest message. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesRequest.verify|verify} messages. - * @param message ApplyShardRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IApplyShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ApplyShardRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesRequest.verify|verify} messages. - * @param message ApplyShardRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IApplyShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ApplyShardRoutingRulesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ApplyShardRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyShardRoutingRulesRequest; - - /** - * Decodes an ApplyShardRoutingRulesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ApplyShardRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyShardRoutingRulesRequest; - - /** - * Verifies an ApplyShardRoutingRulesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ApplyShardRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ApplyShardRoutingRulesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ApplyShardRoutingRulesRequest; - - /** - * Creates a plain object from an ApplyShardRoutingRulesRequest message. Also converts values to other types if specified. - * @param message ApplyShardRoutingRulesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ApplyShardRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ApplyShardRoutingRulesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ApplyShardRoutingRulesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ApplyShardRoutingRulesResponse. */ - interface IApplyShardRoutingRulesResponse { - } - - /** Represents an ApplyShardRoutingRulesResponse. */ - class ApplyShardRoutingRulesResponse implements IApplyShardRoutingRulesResponse { - - /** - * Constructs a new ApplyShardRoutingRulesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IApplyShardRoutingRulesResponse); - - /** - * Creates a new ApplyShardRoutingRulesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ApplyShardRoutingRulesResponse instance - */ - public static create(properties?: vtctldata.IApplyShardRoutingRulesResponse): vtctldata.ApplyShardRoutingRulesResponse; - - /** - * Encodes the specified ApplyShardRoutingRulesResponse message. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesResponse.verify|verify} messages. - * @param message ApplyShardRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IApplyShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ApplyShardRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.ApplyShardRoutingRulesResponse.verify|verify} messages. - * @param message ApplyShardRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IApplyShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ApplyShardRoutingRulesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ApplyShardRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyShardRoutingRulesResponse; - - /** - * Decodes an ApplyShardRoutingRulesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ApplyShardRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyShardRoutingRulesResponse; - - /** - * Verifies an ApplyShardRoutingRulesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ApplyShardRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ApplyShardRoutingRulesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ApplyShardRoutingRulesResponse; - - /** - * Creates a plain object from an ApplyShardRoutingRulesResponse message. Also converts values to other types if specified. - * @param message ApplyShardRoutingRulesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ApplyShardRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ApplyShardRoutingRulesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ApplyShardRoutingRulesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ApplySchemaRequest. */ - interface IApplySchemaRequest { - - /** ApplySchemaRequest keyspace */ - keyspace?: (string|null); - - /** ApplySchemaRequest sql */ - sql?: (string[]|null); - - /** ApplySchemaRequest ddl_strategy */ - ddl_strategy?: (string|null); - - /** ApplySchemaRequest uuid_list */ - uuid_list?: (string[]|null); - - /** ApplySchemaRequest migration_context */ - migration_context?: (string|null); - - /** ApplySchemaRequest wait_replicas_timeout */ - wait_replicas_timeout?: (vttime.IDuration|null); - - /** ApplySchemaRequest caller_id */ - caller_id?: (vtrpc.ICallerID|null); - - /** ApplySchemaRequest batch_size */ - batch_size?: (number|Long|null); - } - - /** Represents an ApplySchemaRequest. */ - class ApplySchemaRequest implements IApplySchemaRequest { - - /** - * Constructs a new ApplySchemaRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IApplySchemaRequest); - - /** ApplySchemaRequest keyspace. */ - public keyspace: string; - - /** ApplySchemaRequest sql. */ - public sql: string[]; - - /** ApplySchemaRequest ddl_strategy. */ - public ddl_strategy: string; - - /** ApplySchemaRequest uuid_list. */ - public uuid_list: string[]; - - /** ApplySchemaRequest migration_context. */ - public migration_context: string; - - /** ApplySchemaRequest wait_replicas_timeout. */ - public wait_replicas_timeout?: (vttime.IDuration|null); - - /** ApplySchemaRequest caller_id. */ - public caller_id?: (vtrpc.ICallerID|null); - - /** ApplySchemaRequest batch_size. */ - public batch_size: (number|Long); - - /** - * Creates a new ApplySchemaRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ApplySchemaRequest instance - */ - public static create(properties?: vtctldata.IApplySchemaRequest): vtctldata.ApplySchemaRequest; - - /** - * Encodes the specified ApplySchemaRequest message. Does not implicitly {@link vtctldata.ApplySchemaRequest.verify|verify} messages. - * @param message ApplySchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IApplySchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ApplySchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ApplySchemaRequest.verify|verify} messages. - * @param message ApplySchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IApplySchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ApplySchemaRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ApplySchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplySchemaRequest; - - /** - * Decodes an ApplySchemaRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ApplySchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplySchemaRequest; - - /** - * Verifies an ApplySchemaRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ApplySchemaRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ApplySchemaRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ApplySchemaRequest; - - /** - * Creates a plain object from an ApplySchemaRequest message. Also converts values to other types if specified. - * @param message ApplySchemaRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ApplySchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ApplySchemaRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ApplySchemaRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ApplySchemaResponse. */ - interface IApplySchemaResponse { - - /** ApplySchemaResponse uuid_list */ - uuid_list?: (string[]|null); - - /** ApplySchemaResponse rows_affected_by_shard */ - rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); - } - - /** Represents an ApplySchemaResponse. */ - class ApplySchemaResponse implements IApplySchemaResponse { - - /** - * Constructs a new ApplySchemaResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IApplySchemaResponse); - - /** ApplySchemaResponse uuid_list. */ - public uuid_list: string[]; - - /** ApplySchemaResponse rows_affected_by_shard. */ - public rows_affected_by_shard: { [k: string]: (number|Long) }; - - /** - * Creates a new ApplySchemaResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ApplySchemaResponse instance - */ - public static create(properties?: vtctldata.IApplySchemaResponse): vtctldata.ApplySchemaResponse; - - /** - * Encodes the specified ApplySchemaResponse message. Does not implicitly {@link vtctldata.ApplySchemaResponse.verify|verify} messages. - * @param message ApplySchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IApplySchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ApplySchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ApplySchemaResponse.verify|verify} messages. - * @param message ApplySchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IApplySchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ApplySchemaResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ApplySchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplySchemaResponse; - - /** - * Decodes an ApplySchemaResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ApplySchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplySchemaResponse; - - /** - * Verifies an ApplySchemaResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ApplySchemaResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ApplySchemaResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ApplySchemaResponse; - - /** - * Creates a plain object from an ApplySchemaResponse message. Also converts values to other types if specified. - * @param message ApplySchemaResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ApplySchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ApplySchemaResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ApplySchemaResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ApplyVSchemaRequest. */ - interface IApplyVSchemaRequest { - - /** ApplyVSchemaRequest keyspace */ - keyspace?: (string|null); - - /** ApplyVSchemaRequest skip_rebuild */ - skip_rebuild?: (boolean|null); - - /** ApplyVSchemaRequest dry_run */ - dry_run?: (boolean|null); - - /** ApplyVSchemaRequest cells */ - cells?: (string[]|null); - - /** ApplyVSchemaRequest v_schema */ - v_schema?: (vschema.IKeyspace|null); - - /** ApplyVSchemaRequest sql */ - sql?: (string|null); - - /** ApplyVSchemaRequest strict */ - strict?: (boolean|null); - } - - /** Represents an ApplyVSchemaRequest. */ - class ApplyVSchemaRequest implements IApplyVSchemaRequest { - - /** - * Constructs a new ApplyVSchemaRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IApplyVSchemaRequest); - - /** ApplyVSchemaRequest keyspace. */ - public keyspace: string; - - /** ApplyVSchemaRequest skip_rebuild. */ - public skip_rebuild: boolean; - - /** ApplyVSchemaRequest dry_run. */ - public dry_run: boolean; - - /** ApplyVSchemaRequest cells. */ - public cells: string[]; - - /** ApplyVSchemaRequest v_schema. */ - public v_schema?: (vschema.IKeyspace|null); - - /** ApplyVSchemaRequest sql. */ - public sql: string; - - /** ApplyVSchemaRequest strict. */ - public strict: boolean; - - /** - * Creates a new ApplyVSchemaRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ApplyVSchemaRequest instance - */ - public static create(properties?: vtctldata.IApplyVSchemaRequest): vtctldata.ApplyVSchemaRequest; - - /** - * Encodes the specified ApplyVSchemaRequest message. Does not implicitly {@link vtctldata.ApplyVSchemaRequest.verify|verify} messages. - * @param message ApplyVSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IApplyVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ApplyVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ApplyVSchemaRequest.verify|verify} messages. - * @param message ApplyVSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IApplyVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ApplyVSchemaRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ApplyVSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyVSchemaRequest; - - /** - * Decodes an ApplyVSchemaRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ApplyVSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyVSchemaRequest; - - /** - * Verifies an ApplyVSchemaRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ApplyVSchemaRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ApplyVSchemaRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ApplyVSchemaRequest; - - /** - * Creates a plain object from an ApplyVSchemaRequest message. Also converts values to other types if specified. - * @param message ApplyVSchemaRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ApplyVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ApplyVSchemaRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ApplyVSchemaRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ApplyVSchemaResponse. */ - interface IApplyVSchemaResponse { - - /** ApplyVSchemaResponse v_schema */ - v_schema?: (vschema.IKeyspace|null); - - /** ApplyVSchemaResponse unknown_vindex_params */ - unknown_vindex_params?: ({ [k: string]: vtctldata.ApplyVSchemaResponse.IParamList }|null); - } - - /** Represents an ApplyVSchemaResponse. */ - class ApplyVSchemaResponse implements IApplyVSchemaResponse { - - /** - * Constructs a new ApplyVSchemaResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IApplyVSchemaResponse); - - /** ApplyVSchemaResponse v_schema. */ - public v_schema?: (vschema.IKeyspace|null); - - /** ApplyVSchemaResponse unknown_vindex_params. */ - public unknown_vindex_params: { [k: string]: vtctldata.ApplyVSchemaResponse.IParamList }; - - /** - * Creates a new ApplyVSchemaResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ApplyVSchemaResponse instance - */ - public static create(properties?: vtctldata.IApplyVSchemaResponse): vtctldata.ApplyVSchemaResponse; - - /** - * Encodes the specified ApplyVSchemaResponse message. Does not implicitly {@link vtctldata.ApplyVSchemaResponse.verify|verify} messages. - * @param message ApplyVSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IApplyVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ApplyVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ApplyVSchemaResponse.verify|verify} messages. - * @param message ApplyVSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IApplyVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ApplyVSchemaResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ApplyVSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyVSchemaResponse; - - /** - * Decodes an ApplyVSchemaResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ApplyVSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyVSchemaResponse; - - /** - * Verifies an ApplyVSchemaResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ApplyVSchemaResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ApplyVSchemaResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ApplyVSchemaResponse; - - /** - * Creates a plain object from an ApplyVSchemaResponse message. Also converts values to other types if specified. - * @param message ApplyVSchemaResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ApplyVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ApplyVSchemaResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ApplyVSchemaResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace ApplyVSchemaResponse { - - /** Properties of a ParamList. */ - interface IParamList { - - /** ParamList params */ - params?: (string[]|null); - } - - /** Represents a ParamList. */ - class ParamList implements IParamList { - - /** - * Constructs a new ParamList. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ApplyVSchemaResponse.IParamList); - - /** ParamList params. */ - public params: string[]; - - /** - * Creates a new ParamList instance using the specified properties. - * @param [properties] Properties to set - * @returns ParamList instance - */ - public static create(properties?: vtctldata.ApplyVSchemaResponse.IParamList): vtctldata.ApplyVSchemaResponse.ParamList; - - /** - * Encodes the specified ParamList message. Does not implicitly {@link vtctldata.ApplyVSchemaResponse.ParamList.verify|verify} messages. - * @param message ParamList message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ApplyVSchemaResponse.IParamList, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ParamList message, length delimited. Does not implicitly {@link vtctldata.ApplyVSchemaResponse.ParamList.verify|verify} messages. - * @param message ParamList message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ApplyVSchemaResponse.IParamList, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ParamList message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ParamList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ApplyVSchemaResponse.ParamList; - - /** - * Decodes a ParamList message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ParamList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ApplyVSchemaResponse.ParamList; - - /** - * Verifies a ParamList message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ParamList message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ParamList - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ApplyVSchemaResponse.ParamList; - - /** - * Creates a plain object from a ParamList message. Also converts values to other types if specified. - * @param message ParamList - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ApplyVSchemaResponse.ParamList, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ParamList to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ParamList - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of a BackupRequest. */ - interface IBackupRequest { - - /** BackupRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** BackupRequest allow_primary */ - allow_primary?: (boolean|null); - - /** BackupRequest concurrency */ - concurrency?: (number|null); - - /** BackupRequest incremental_from_pos */ - incremental_from_pos?: (string|null); - - /** BackupRequest upgrade_safe */ - upgrade_safe?: (boolean|null); - - /** BackupRequest backup_engine */ - backup_engine?: (string|null); - } - - /** Represents a BackupRequest. */ - class BackupRequest implements IBackupRequest { - - /** - * Constructs a new BackupRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IBackupRequest); - - /** BackupRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** BackupRequest allow_primary. */ - public allow_primary: boolean; - - /** BackupRequest concurrency. */ - public concurrency: number; - - /** BackupRequest incremental_from_pos. */ - public incremental_from_pos: string; - - /** BackupRequest upgrade_safe. */ - public upgrade_safe: boolean; - - /** BackupRequest backup_engine. */ - public backup_engine?: (string|null); - - /** BackupRequest _backup_engine. */ - public _backup_engine?: "backup_engine"; - - /** - * Creates a new BackupRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns BackupRequest instance - */ - public static create(properties?: vtctldata.IBackupRequest): vtctldata.BackupRequest; - - /** - * Encodes the specified BackupRequest message. Does not implicitly {@link vtctldata.BackupRequest.verify|verify} messages. - * @param message BackupRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BackupRequest message, length delimited. Does not implicitly {@link vtctldata.BackupRequest.verify|verify} messages. - * @param message BackupRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BackupRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BackupRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.BackupRequest; - - /** - * Decodes a BackupRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BackupRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.BackupRequest; - - /** - * Verifies a BackupRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a BackupRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BackupRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.BackupRequest; - - /** - * Creates a plain object from a BackupRequest message. Also converts values to other types if specified. - * @param message BackupRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.BackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BackupRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BackupRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a BackupResponse. */ - interface IBackupResponse { - - /** BackupResponse tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** BackupResponse keyspace */ - keyspace?: (string|null); - - /** BackupResponse shard */ - shard?: (string|null); - - /** BackupResponse event */ - event?: (logutil.IEvent|null); - } - - /** Represents a BackupResponse. */ - class BackupResponse implements IBackupResponse { - - /** - * Constructs a new BackupResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IBackupResponse); - - /** BackupResponse tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** BackupResponse keyspace. */ - public keyspace: string; - - /** BackupResponse shard. */ - public shard: string; - - /** BackupResponse event. */ - public event?: (logutil.IEvent|null); - - /** - * Creates a new BackupResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns BackupResponse instance - */ - public static create(properties?: vtctldata.IBackupResponse): vtctldata.BackupResponse; - - /** - * Encodes the specified BackupResponse message. Does not implicitly {@link vtctldata.BackupResponse.verify|verify} messages. - * @param message BackupResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BackupResponse message, length delimited. Does not implicitly {@link vtctldata.BackupResponse.verify|verify} messages. - * @param message BackupResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BackupResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BackupResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.BackupResponse; - - /** - * Decodes a BackupResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BackupResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.BackupResponse; - - /** - * Verifies a BackupResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a BackupResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BackupResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.BackupResponse; - - /** - * Creates a plain object from a BackupResponse message. Also converts values to other types if specified. - * @param message BackupResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.BackupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BackupResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BackupResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a BackupShardRequest. */ - interface IBackupShardRequest { - - /** BackupShardRequest keyspace */ - keyspace?: (string|null); - - /** BackupShardRequest shard */ - shard?: (string|null); - - /** BackupShardRequest allow_primary */ - allow_primary?: (boolean|null); - - /** BackupShardRequest concurrency */ - concurrency?: (number|null); - - /** BackupShardRequest upgrade_safe */ - upgrade_safe?: (boolean|null); - - /** BackupShardRequest incremental_from_pos */ - incremental_from_pos?: (string|null); - } - - /** Represents a BackupShardRequest. */ - class BackupShardRequest implements IBackupShardRequest { - - /** - * Constructs a new BackupShardRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IBackupShardRequest); - - /** BackupShardRequest keyspace. */ - public keyspace: string; - - /** BackupShardRequest shard. */ - public shard: string; - - /** BackupShardRequest allow_primary. */ - public allow_primary: boolean; - - /** BackupShardRequest concurrency. */ - public concurrency: number; - - /** BackupShardRequest upgrade_safe. */ - public upgrade_safe: boolean; - - /** BackupShardRequest incremental_from_pos. */ - public incremental_from_pos: string; - - /** - * Creates a new BackupShardRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns BackupShardRequest instance - */ - public static create(properties?: vtctldata.IBackupShardRequest): vtctldata.BackupShardRequest; - - /** - * Encodes the specified BackupShardRequest message. Does not implicitly {@link vtctldata.BackupShardRequest.verify|verify} messages. - * @param message BackupShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IBackupShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified BackupShardRequest message, length delimited. Does not implicitly {@link vtctldata.BackupShardRequest.verify|verify} messages. - * @param message BackupShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IBackupShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a BackupShardRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns BackupShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.BackupShardRequest; - - /** - * Decodes a BackupShardRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns BackupShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.BackupShardRequest; - - /** - * Verifies a BackupShardRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a BackupShardRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns BackupShardRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.BackupShardRequest; - - /** - * Creates a plain object from a BackupShardRequest message. Also converts values to other types if specified. - * @param message BackupShardRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.BackupShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this BackupShardRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for BackupShardRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CancelSchemaMigrationRequest. */ - interface ICancelSchemaMigrationRequest { - - /** CancelSchemaMigrationRequest keyspace */ - keyspace?: (string|null); - - /** CancelSchemaMigrationRequest uuid */ - uuid?: (string|null); - } - - /** Represents a CancelSchemaMigrationRequest. */ - class CancelSchemaMigrationRequest implements ICancelSchemaMigrationRequest { - - /** - * Constructs a new CancelSchemaMigrationRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICancelSchemaMigrationRequest); - - /** CancelSchemaMigrationRequest keyspace. */ - public keyspace: string; - - /** CancelSchemaMigrationRequest uuid. */ - public uuid: string; - - /** - * Creates a new CancelSchemaMigrationRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns CancelSchemaMigrationRequest instance - */ - public static create(properties?: vtctldata.ICancelSchemaMigrationRequest): vtctldata.CancelSchemaMigrationRequest; - - /** - * Encodes the specified CancelSchemaMigrationRequest message. Does not implicitly {@link vtctldata.CancelSchemaMigrationRequest.verify|verify} messages. - * @param message CancelSchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICancelSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CancelSchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.CancelSchemaMigrationRequest.verify|verify} messages. - * @param message CancelSchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICancelSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CancelSchemaMigrationRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CancelSchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CancelSchemaMigrationRequest; - - /** - * Decodes a CancelSchemaMigrationRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CancelSchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CancelSchemaMigrationRequest; - - /** - * Verifies a CancelSchemaMigrationRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CancelSchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CancelSchemaMigrationRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CancelSchemaMigrationRequest; - - /** - * Creates a plain object from a CancelSchemaMigrationRequest message. Also converts values to other types if specified. - * @param message CancelSchemaMigrationRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CancelSchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CancelSchemaMigrationRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CancelSchemaMigrationRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CancelSchemaMigrationResponse. */ - interface ICancelSchemaMigrationResponse { - - /** CancelSchemaMigrationResponse rows_affected_by_shard */ - rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); - } - - /** Represents a CancelSchemaMigrationResponse. */ - class CancelSchemaMigrationResponse implements ICancelSchemaMigrationResponse { - - /** - * Constructs a new CancelSchemaMigrationResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICancelSchemaMigrationResponse); - - /** CancelSchemaMigrationResponse rows_affected_by_shard. */ - public rows_affected_by_shard: { [k: string]: (number|Long) }; - - /** - * Creates a new CancelSchemaMigrationResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns CancelSchemaMigrationResponse instance - */ - public static create(properties?: vtctldata.ICancelSchemaMigrationResponse): vtctldata.CancelSchemaMigrationResponse; - - /** - * Encodes the specified CancelSchemaMigrationResponse message. Does not implicitly {@link vtctldata.CancelSchemaMigrationResponse.verify|verify} messages. - * @param message CancelSchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICancelSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CancelSchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.CancelSchemaMigrationResponse.verify|verify} messages. - * @param message CancelSchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICancelSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CancelSchemaMigrationResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CancelSchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CancelSchemaMigrationResponse; - - /** - * Decodes a CancelSchemaMigrationResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CancelSchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CancelSchemaMigrationResponse; - - /** - * Verifies a CancelSchemaMigrationResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CancelSchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CancelSchemaMigrationResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CancelSchemaMigrationResponse; - - /** - * Creates a plain object from a CancelSchemaMigrationResponse message. Also converts values to other types if specified. - * @param message CancelSchemaMigrationResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CancelSchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CancelSchemaMigrationResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CancelSchemaMigrationResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ChangeTabletTypeRequest. */ - interface IChangeTabletTypeRequest { - - /** ChangeTabletTypeRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** ChangeTabletTypeRequest db_type */ - db_type?: (topodata.TabletType|null); - - /** ChangeTabletTypeRequest dry_run */ - dry_run?: (boolean|null); - } - - /** Represents a ChangeTabletTypeRequest. */ - class ChangeTabletTypeRequest implements IChangeTabletTypeRequest { - - /** - * Constructs a new ChangeTabletTypeRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IChangeTabletTypeRequest); - - /** ChangeTabletTypeRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** ChangeTabletTypeRequest db_type. */ - public db_type: topodata.TabletType; - - /** ChangeTabletTypeRequest dry_run. */ - public dry_run: boolean; - - /** - * Creates a new ChangeTabletTypeRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ChangeTabletTypeRequest instance - */ - public static create(properties?: vtctldata.IChangeTabletTypeRequest): vtctldata.ChangeTabletTypeRequest; - - /** - * Encodes the specified ChangeTabletTypeRequest message. Does not implicitly {@link vtctldata.ChangeTabletTypeRequest.verify|verify} messages. - * @param message ChangeTabletTypeRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IChangeTabletTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ChangeTabletTypeRequest message, length delimited. Does not implicitly {@link vtctldata.ChangeTabletTypeRequest.verify|verify} messages. - * @param message ChangeTabletTypeRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IChangeTabletTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ChangeTabletTypeRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ChangeTabletTypeRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ChangeTabletTypeRequest; - - /** - * Decodes a ChangeTabletTypeRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ChangeTabletTypeRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ChangeTabletTypeRequest; - - /** - * Verifies a ChangeTabletTypeRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ChangeTabletTypeRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ChangeTabletTypeRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ChangeTabletTypeRequest; - - /** - * Creates a plain object from a ChangeTabletTypeRequest message. Also converts values to other types if specified. - * @param message ChangeTabletTypeRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ChangeTabletTypeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ChangeTabletTypeRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ChangeTabletTypeRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ChangeTabletTypeResponse. */ - interface IChangeTabletTypeResponse { - - /** ChangeTabletTypeResponse before_tablet */ - before_tablet?: (topodata.ITablet|null); - - /** ChangeTabletTypeResponse after_tablet */ - after_tablet?: (topodata.ITablet|null); - - /** ChangeTabletTypeResponse was_dry_run */ - was_dry_run?: (boolean|null); - } - - /** Represents a ChangeTabletTypeResponse. */ - class ChangeTabletTypeResponse implements IChangeTabletTypeResponse { - - /** - * Constructs a new ChangeTabletTypeResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IChangeTabletTypeResponse); - - /** ChangeTabletTypeResponse before_tablet. */ - public before_tablet?: (topodata.ITablet|null); - - /** ChangeTabletTypeResponse after_tablet. */ - public after_tablet?: (topodata.ITablet|null); - - /** ChangeTabletTypeResponse was_dry_run. */ - public was_dry_run: boolean; - - /** - * Creates a new ChangeTabletTypeResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ChangeTabletTypeResponse instance - */ - public static create(properties?: vtctldata.IChangeTabletTypeResponse): vtctldata.ChangeTabletTypeResponse; - - /** - * Encodes the specified ChangeTabletTypeResponse message. Does not implicitly {@link vtctldata.ChangeTabletTypeResponse.verify|verify} messages. - * @param message ChangeTabletTypeResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IChangeTabletTypeResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ChangeTabletTypeResponse message, length delimited. Does not implicitly {@link vtctldata.ChangeTabletTypeResponse.verify|verify} messages. - * @param message ChangeTabletTypeResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IChangeTabletTypeResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ChangeTabletTypeResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ChangeTabletTypeResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ChangeTabletTypeResponse; - - /** - * Decodes a ChangeTabletTypeResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ChangeTabletTypeResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ChangeTabletTypeResponse; - - /** - * Verifies a ChangeTabletTypeResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ChangeTabletTypeResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ChangeTabletTypeResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ChangeTabletTypeResponse; - - /** - * Creates a plain object from a ChangeTabletTypeResponse message. Also converts values to other types if specified. - * @param message ChangeTabletTypeResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ChangeTabletTypeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ChangeTabletTypeResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ChangeTabletTypeResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CheckThrottlerRequest. */ - interface ICheckThrottlerRequest { - - /** CheckThrottlerRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** CheckThrottlerRequest app_name */ - app_name?: (string|null); - - /** CheckThrottlerRequest scope */ - scope?: (string|null); - - /** CheckThrottlerRequest skip_request_heartbeats */ - skip_request_heartbeats?: (boolean|null); - - /** CheckThrottlerRequest ok_if_not_exists */ - ok_if_not_exists?: (boolean|null); - } - - /** Represents a CheckThrottlerRequest. */ - class CheckThrottlerRequest implements ICheckThrottlerRequest { - - /** - * Constructs a new CheckThrottlerRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICheckThrottlerRequest); - - /** CheckThrottlerRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** CheckThrottlerRequest app_name. */ - public app_name: string; - - /** CheckThrottlerRequest scope. */ - public scope: string; - - /** CheckThrottlerRequest skip_request_heartbeats. */ - public skip_request_heartbeats: boolean; - - /** CheckThrottlerRequest ok_if_not_exists. */ - public ok_if_not_exists: boolean; - - /** - * Creates a new CheckThrottlerRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns CheckThrottlerRequest instance - */ - public static create(properties?: vtctldata.ICheckThrottlerRequest): vtctldata.CheckThrottlerRequest; - - /** - * Encodes the specified CheckThrottlerRequest message. Does not implicitly {@link vtctldata.CheckThrottlerRequest.verify|verify} messages. - * @param message CheckThrottlerRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICheckThrottlerRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CheckThrottlerRequest message, length delimited. Does not implicitly {@link vtctldata.CheckThrottlerRequest.verify|verify} messages. - * @param message CheckThrottlerRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICheckThrottlerRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CheckThrottlerRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CheckThrottlerRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CheckThrottlerRequest; - - /** - * Decodes a CheckThrottlerRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CheckThrottlerRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CheckThrottlerRequest; - - /** - * Verifies a CheckThrottlerRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CheckThrottlerRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CheckThrottlerRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CheckThrottlerRequest; - - /** - * Creates a plain object from a CheckThrottlerRequest message. Also converts values to other types if specified. - * @param message CheckThrottlerRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CheckThrottlerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CheckThrottlerRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CheckThrottlerRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CheckThrottlerResponse. */ - interface ICheckThrottlerResponse { - - /** CheckThrottlerResponse tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** CheckThrottlerResponse Check */ - Check?: (tabletmanagerdata.ICheckThrottlerResponse|null); - } - - /** Represents a CheckThrottlerResponse. */ - class CheckThrottlerResponse implements ICheckThrottlerResponse { - - /** - * Constructs a new CheckThrottlerResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICheckThrottlerResponse); - - /** CheckThrottlerResponse tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** CheckThrottlerResponse Check. */ - public Check?: (tabletmanagerdata.ICheckThrottlerResponse|null); - - /** - * Creates a new CheckThrottlerResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns CheckThrottlerResponse instance - */ - public static create(properties?: vtctldata.ICheckThrottlerResponse): vtctldata.CheckThrottlerResponse; - - /** - * Encodes the specified CheckThrottlerResponse message. Does not implicitly {@link vtctldata.CheckThrottlerResponse.verify|verify} messages. - * @param message CheckThrottlerResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICheckThrottlerResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CheckThrottlerResponse message, length delimited. Does not implicitly {@link vtctldata.CheckThrottlerResponse.verify|verify} messages. - * @param message CheckThrottlerResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICheckThrottlerResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CheckThrottlerResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CheckThrottlerResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CheckThrottlerResponse; - - /** - * Decodes a CheckThrottlerResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CheckThrottlerResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CheckThrottlerResponse; - - /** - * Verifies a CheckThrottlerResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CheckThrottlerResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CheckThrottlerResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CheckThrottlerResponse; - - /** - * Creates a plain object from a CheckThrottlerResponse message. Also converts values to other types if specified. - * @param message CheckThrottlerResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CheckThrottlerResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CheckThrottlerResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CheckThrottlerResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CleanupSchemaMigrationRequest. */ - interface ICleanupSchemaMigrationRequest { - - /** CleanupSchemaMigrationRequest keyspace */ - keyspace?: (string|null); - - /** CleanupSchemaMigrationRequest uuid */ - uuid?: (string|null); - } - - /** Represents a CleanupSchemaMigrationRequest. */ - class CleanupSchemaMigrationRequest implements ICleanupSchemaMigrationRequest { - - /** - * Constructs a new CleanupSchemaMigrationRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICleanupSchemaMigrationRequest); - - /** CleanupSchemaMigrationRequest keyspace. */ - public keyspace: string; - - /** CleanupSchemaMigrationRequest uuid. */ - public uuid: string; - - /** - * Creates a new CleanupSchemaMigrationRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns CleanupSchemaMigrationRequest instance - */ - public static create(properties?: vtctldata.ICleanupSchemaMigrationRequest): vtctldata.CleanupSchemaMigrationRequest; - - /** - * Encodes the specified CleanupSchemaMigrationRequest message. Does not implicitly {@link vtctldata.CleanupSchemaMigrationRequest.verify|verify} messages. - * @param message CleanupSchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICleanupSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CleanupSchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.CleanupSchemaMigrationRequest.verify|verify} messages. - * @param message CleanupSchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICleanupSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CleanupSchemaMigrationRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CleanupSchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CleanupSchemaMigrationRequest; - - /** - * Decodes a CleanupSchemaMigrationRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CleanupSchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CleanupSchemaMigrationRequest; - - /** - * Verifies a CleanupSchemaMigrationRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CleanupSchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CleanupSchemaMigrationRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CleanupSchemaMigrationRequest; - - /** - * Creates a plain object from a CleanupSchemaMigrationRequest message. Also converts values to other types if specified. - * @param message CleanupSchemaMigrationRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CleanupSchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CleanupSchemaMigrationRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CleanupSchemaMigrationRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CleanupSchemaMigrationResponse. */ - interface ICleanupSchemaMigrationResponse { - - /** CleanupSchemaMigrationResponse rows_affected_by_shard */ - rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); - } - - /** Represents a CleanupSchemaMigrationResponse. */ - class CleanupSchemaMigrationResponse implements ICleanupSchemaMigrationResponse { - - /** - * Constructs a new CleanupSchemaMigrationResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICleanupSchemaMigrationResponse); - - /** CleanupSchemaMigrationResponse rows_affected_by_shard. */ - public rows_affected_by_shard: { [k: string]: (number|Long) }; - - /** - * Creates a new CleanupSchemaMigrationResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns CleanupSchemaMigrationResponse instance - */ - public static create(properties?: vtctldata.ICleanupSchemaMigrationResponse): vtctldata.CleanupSchemaMigrationResponse; - - /** - * Encodes the specified CleanupSchemaMigrationResponse message. Does not implicitly {@link vtctldata.CleanupSchemaMigrationResponse.verify|verify} messages. - * @param message CleanupSchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICleanupSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CleanupSchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.CleanupSchemaMigrationResponse.verify|verify} messages. - * @param message CleanupSchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICleanupSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CleanupSchemaMigrationResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CleanupSchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CleanupSchemaMigrationResponse; - - /** - * Decodes a CleanupSchemaMigrationResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CleanupSchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CleanupSchemaMigrationResponse; - - /** - * Verifies a CleanupSchemaMigrationResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CleanupSchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CleanupSchemaMigrationResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CleanupSchemaMigrationResponse; - - /** - * Creates a plain object from a CleanupSchemaMigrationResponse message. Also converts values to other types if specified. - * @param message CleanupSchemaMigrationResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CleanupSchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CleanupSchemaMigrationResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CleanupSchemaMigrationResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CompleteSchemaMigrationRequest. */ - interface ICompleteSchemaMigrationRequest { - - /** CompleteSchemaMigrationRequest keyspace */ - keyspace?: (string|null); - - /** CompleteSchemaMigrationRequest uuid */ - uuid?: (string|null); - } - - /** Represents a CompleteSchemaMigrationRequest. */ - class CompleteSchemaMigrationRequest implements ICompleteSchemaMigrationRequest { - - /** - * Constructs a new CompleteSchemaMigrationRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICompleteSchemaMigrationRequest); - - /** CompleteSchemaMigrationRequest keyspace. */ - public keyspace: string; - - /** CompleteSchemaMigrationRequest uuid. */ - public uuid: string; - - /** - * Creates a new CompleteSchemaMigrationRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns CompleteSchemaMigrationRequest instance - */ - public static create(properties?: vtctldata.ICompleteSchemaMigrationRequest): vtctldata.CompleteSchemaMigrationRequest; - - /** - * Encodes the specified CompleteSchemaMigrationRequest message. Does not implicitly {@link vtctldata.CompleteSchemaMigrationRequest.verify|verify} messages. - * @param message CompleteSchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICompleteSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CompleteSchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.CompleteSchemaMigrationRequest.verify|verify} messages. - * @param message CompleteSchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICompleteSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CompleteSchemaMigrationRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CompleteSchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CompleteSchemaMigrationRequest; - - /** - * Decodes a CompleteSchemaMigrationRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CompleteSchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CompleteSchemaMigrationRequest; - - /** - * Verifies a CompleteSchemaMigrationRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CompleteSchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CompleteSchemaMigrationRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CompleteSchemaMigrationRequest; - - /** - * Creates a plain object from a CompleteSchemaMigrationRequest message. Also converts values to other types if specified. - * @param message CompleteSchemaMigrationRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CompleteSchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CompleteSchemaMigrationRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CompleteSchemaMigrationRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CompleteSchemaMigrationResponse. */ - interface ICompleteSchemaMigrationResponse { - - /** CompleteSchemaMigrationResponse rows_affected_by_shard */ - rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); - } - - /** Represents a CompleteSchemaMigrationResponse. */ - class CompleteSchemaMigrationResponse implements ICompleteSchemaMigrationResponse { - - /** - * Constructs a new CompleteSchemaMigrationResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICompleteSchemaMigrationResponse); - - /** CompleteSchemaMigrationResponse rows_affected_by_shard. */ - public rows_affected_by_shard: { [k: string]: (number|Long) }; - - /** - * Creates a new CompleteSchemaMigrationResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns CompleteSchemaMigrationResponse instance - */ - public static create(properties?: vtctldata.ICompleteSchemaMigrationResponse): vtctldata.CompleteSchemaMigrationResponse; - - /** - * Encodes the specified CompleteSchemaMigrationResponse message. Does not implicitly {@link vtctldata.CompleteSchemaMigrationResponse.verify|verify} messages. - * @param message CompleteSchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICompleteSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CompleteSchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.CompleteSchemaMigrationResponse.verify|verify} messages. - * @param message CompleteSchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICompleteSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CompleteSchemaMigrationResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CompleteSchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CompleteSchemaMigrationResponse; - - /** - * Decodes a CompleteSchemaMigrationResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CompleteSchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CompleteSchemaMigrationResponse; - - /** - * Verifies a CompleteSchemaMigrationResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CompleteSchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CompleteSchemaMigrationResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CompleteSchemaMigrationResponse; - - /** - * Creates a plain object from a CompleteSchemaMigrationResponse message. Also converts values to other types if specified. - * @param message CompleteSchemaMigrationResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CompleteSchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CompleteSchemaMigrationResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CompleteSchemaMigrationResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CreateKeyspaceRequest. */ - interface ICreateKeyspaceRequest { - - /** CreateKeyspaceRequest name */ - name?: (string|null); - - /** CreateKeyspaceRequest force */ - force?: (boolean|null); - - /** CreateKeyspaceRequest allow_empty_v_schema */ - allow_empty_v_schema?: (boolean|null); - - /** CreateKeyspaceRequest type */ - type?: (topodata.KeyspaceType|null); - - /** CreateKeyspaceRequest base_keyspace */ - base_keyspace?: (string|null); - - /** CreateKeyspaceRequest snapshot_time */ - snapshot_time?: (vttime.ITime|null); - - /** CreateKeyspaceRequest durability_policy */ - durability_policy?: (string|null); - - /** CreateKeyspaceRequest sidecar_db_name */ - sidecar_db_name?: (string|null); - } - - /** Represents a CreateKeyspaceRequest. */ - class CreateKeyspaceRequest implements ICreateKeyspaceRequest { - - /** - * Constructs a new CreateKeyspaceRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICreateKeyspaceRequest); - - /** CreateKeyspaceRequest name. */ - public name: string; - - /** CreateKeyspaceRequest force. */ - public force: boolean; - - /** CreateKeyspaceRequest allow_empty_v_schema. */ - public allow_empty_v_schema: boolean; - - /** CreateKeyspaceRequest type. */ - public type: topodata.KeyspaceType; - - /** CreateKeyspaceRequest base_keyspace. */ - public base_keyspace: string; - - /** CreateKeyspaceRequest snapshot_time. */ - public snapshot_time?: (vttime.ITime|null); - - /** CreateKeyspaceRequest durability_policy. */ - public durability_policy: string; - - /** CreateKeyspaceRequest sidecar_db_name. */ - public sidecar_db_name: string; - - /** - * Creates a new CreateKeyspaceRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns CreateKeyspaceRequest instance - */ - public static create(properties?: vtctldata.ICreateKeyspaceRequest): vtctldata.CreateKeyspaceRequest; - - /** - * Encodes the specified CreateKeyspaceRequest message. Does not implicitly {@link vtctldata.CreateKeyspaceRequest.verify|verify} messages. - * @param message CreateKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICreateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CreateKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.CreateKeyspaceRequest.verify|verify} messages. - * @param message CreateKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICreateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CreateKeyspaceRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CreateKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateKeyspaceRequest; - - /** - * Decodes a CreateKeyspaceRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CreateKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateKeyspaceRequest; - - /** - * Verifies a CreateKeyspaceRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CreateKeyspaceRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CreateKeyspaceRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CreateKeyspaceRequest; - - /** - * Creates a plain object from a CreateKeyspaceRequest message. Also converts values to other types if specified. - * @param message CreateKeyspaceRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CreateKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CreateKeyspaceRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CreateKeyspaceRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CreateKeyspaceResponse. */ - interface ICreateKeyspaceResponse { - - /** CreateKeyspaceResponse keyspace */ - keyspace?: (vtctldata.IKeyspace|null); - } - - /** Represents a CreateKeyspaceResponse. */ - class CreateKeyspaceResponse implements ICreateKeyspaceResponse { - - /** - * Constructs a new CreateKeyspaceResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICreateKeyspaceResponse); - - /** CreateKeyspaceResponse keyspace. */ - public keyspace?: (vtctldata.IKeyspace|null); - - /** - * Creates a new CreateKeyspaceResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns CreateKeyspaceResponse instance - */ - public static create(properties?: vtctldata.ICreateKeyspaceResponse): vtctldata.CreateKeyspaceResponse; - - /** - * Encodes the specified CreateKeyspaceResponse message. Does not implicitly {@link vtctldata.CreateKeyspaceResponse.verify|verify} messages. - * @param message CreateKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICreateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CreateKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.CreateKeyspaceResponse.verify|verify} messages. - * @param message CreateKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICreateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CreateKeyspaceResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CreateKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateKeyspaceResponse; - - /** - * Decodes a CreateKeyspaceResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CreateKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateKeyspaceResponse; - - /** - * Verifies a CreateKeyspaceResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CreateKeyspaceResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CreateKeyspaceResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CreateKeyspaceResponse; - - /** - * Creates a plain object from a CreateKeyspaceResponse message. Also converts values to other types if specified. - * @param message CreateKeyspaceResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CreateKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CreateKeyspaceResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CreateKeyspaceResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CreateShardRequest. */ - interface ICreateShardRequest { - - /** CreateShardRequest keyspace */ - keyspace?: (string|null); - - /** CreateShardRequest shard_name */ - shard_name?: (string|null); - - /** CreateShardRequest force */ - force?: (boolean|null); - - /** CreateShardRequest include_parent */ - include_parent?: (boolean|null); - } - - /** Represents a CreateShardRequest. */ - class CreateShardRequest implements ICreateShardRequest { - - /** - * Constructs a new CreateShardRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICreateShardRequest); - - /** CreateShardRequest keyspace. */ - public keyspace: string; - - /** CreateShardRequest shard_name. */ - public shard_name: string; - - /** CreateShardRequest force. */ - public force: boolean; - - /** CreateShardRequest include_parent. */ - public include_parent: boolean; - - /** - * Creates a new CreateShardRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns CreateShardRequest instance - */ - public static create(properties?: vtctldata.ICreateShardRequest): vtctldata.CreateShardRequest; - - /** - * Encodes the specified CreateShardRequest message. Does not implicitly {@link vtctldata.CreateShardRequest.verify|verify} messages. - * @param message CreateShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICreateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CreateShardRequest message, length delimited. Does not implicitly {@link vtctldata.CreateShardRequest.verify|verify} messages. - * @param message CreateShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICreateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CreateShardRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CreateShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateShardRequest; - - /** - * Decodes a CreateShardRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CreateShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateShardRequest; - - /** - * Verifies a CreateShardRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CreateShardRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CreateShardRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CreateShardRequest; - - /** - * Creates a plain object from a CreateShardRequest message. Also converts values to other types if specified. - * @param message CreateShardRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CreateShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CreateShardRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CreateShardRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a CreateShardResponse. */ - interface ICreateShardResponse { - - /** CreateShardResponse keyspace */ - keyspace?: (vtctldata.IKeyspace|null); - - /** CreateShardResponse shard */ - shard?: (vtctldata.IShard|null); - - /** CreateShardResponse shard_already_exists */ - shard_already_exists?: (boolean|null); - } - - /** Represents a CreateShardResponse. */ - class CreateShardResponse implements ICreateShardResponse { - - /** - * Constructs a new CreateShardResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ICreateShardResponse); - - /** CreateShardResponse keyspace. */ - public keyspace?: (vtctldata.IKeyspace|null); - - /** CreateShardResponse shard. */ - public shard?: (vtctldata.IShard|null); - - /** CreateShardResponse shard_already_exists. */ - public shard_already_exists: boolean; - - /** - * Creates a new CreateShardResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns CreateShardResponse instance - */ - public static create(properties?: vtctldata.ICreateShardResponse): vtctldata.CreateShardResponse; - - /** - * Encodes the specified CreateShardResponse message. Does not implicitly {@link vtctldata.CreateShardResponse.verify|verify} messages. - * @param message CreateShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ICreateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CreateShardResponse message, length delimited. Does not implicitly {@link vtctldata.CreateShardResponse.verify|verify} messages. - * @param message CreateShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ICreateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CreateShardResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CreateShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.CreateShardResponse; - - /** - * Decodes a CreateShardResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CreateShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.CreateShardResponse; - - /** - * Verifies a CreateShardResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CreateShardResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CreateShardResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.CreateShardResponse; - - /** - * Creates a plain object from a CreateShardResponse message. Also converts values to other types if specified. - * @param message CreateShardResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.CreateShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CreateShardResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CreateShardResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteCellInfoRequest. */ - interface IDeleteCellInfoRequest { - - /** DeleteCellInfoRequest name */ - name?: (string|null); - - /** DeleteCellInfoRequest force */ - force?: (boolean|null); - } - - /** Represents a DeleteCellInfoRequest. */ - class DeleteCellInfoRequest implements IDeleteCellInfoRequest { - - /** - * Constructs a new DeleteCellInfoRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteCellInfoRequest); - - /** DeleteCellInfoRequest name. */ - public name: string; - - /** DeleteCellInfoRequest force. */ - public force: boolean; - - /** - * Creates a new DeleteCellInfoRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteCellInfoRequest instance - */ - public static create(properties?: vtctldata.IDeleteCellInfoRequest): vtctldata.DeleteCellInfoRequest; - - /** - * Encodes the specified DeleteCellInfoRequest message. Does not implicitly {@link vtctldata.DeleteCellInfoRequest.verify|verify} messages. - * @param message DeleteCellInfoRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteCellInfoRequest.verify|verify} messages. - * @param message DeleteCellInfoRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteCellInfoRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteCellInfoRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellInfoRequest; - - /** - * Decodes a DeleteCellInfoRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteCellInfoRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellInfoRequest; - - /** - * Verifies a DeleteCellInfoRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteCellInfoRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteCellInfoRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellInfoRequest; - - /** - * Creates a plain object from a DeleteCellInfoRequest message. Also converts values to other types if specified. - * @param message DeleteCellInfoRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteCellInfoRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteCellInfoRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteCellInfoResponse. */ - interface IDeleteCellInfoResponse { - } - - /** Represents a DeleteCellInfoResponse. */ - class DeleteCellInfoResponse implements IDeleteCellInfoResponse { - - /** - * Constructs a new DeleteCellInfoResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteCellInfoResponse); - - /** - * Creates a new DeleteCellInfoResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteCellInfoResponse instance - */ - public static create(properties?: vtctldata.IDeleteCellInfoResponse): vtctldata.DeleteCellInfoResponse; - - /** - * Encodes the specified DeleteCellInfoResponse message. Does not implicitly {@link vtctldata.DeleteCellInfoResponse.verify|verify} messages. - * @param message DeleteCellInfoResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteCellInfoResponse.verify|verify} messages. - * @param message DeleteCellInfoResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteCellInfoResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteCellInfoResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellInfoResponse; - - /** - * Decodes a DeleteCellInfoResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteCellInfoResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellInfoResponse; - - /** - * Verifies a DeleteCellInfoResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteCellInfoResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteCellInfoResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellInfoResponse; - - /** - * Creates a plain object from a DeleteCellInfoResponse message. Also converts values to other types if specified. - * @param message DeleteCellInfoResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteCellInfoResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteCellInfoResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteCellsAliasRequest. */ - interface IDeleteCellsAliasRequest { - - /** DeleteCellsAliasRequest name */ - name?: (string|null); - } - - /** Represents a DeleteCellsAliasRequest. */ - class DeleteCellsAliasRequest implements IDeleteCellsAliasRequest { - - /** - * Constructs a new DeleteCellsAliasRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteCellsAliasRequest); - - /** DeleteCellsAliasRequest name. */ - public name: string; - - /** - * Creates a new DeleteCellsAliasRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteCellsAliasRequest instance - */ - public static create(properties?: vtctldata.IDeleteCellsAliasRequest): vtctldata.DeleteCellsAliasRequest; - - /** - * Encodes the specified DeleteCellsAliasRequest message. Does not implicitly {@link vtctldata.DeleteCellsAliasRequest.verify|verify} messages. - * @param message DeleteCellsAliasRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteCellsAliasRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteCellsAliasRequest.verify|verify} messages. - * @param message DeleteCellsAliasRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteCellsAliasRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteCellsAliasRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellsAliasRequest; - - /** - * Decodes a DeleteCellsAliasRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteCellsAliasRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellsAliasRequest; - - /** - * Verifies a DeleteCellsAliasRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteCellsAliasRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteCellsAliasRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellsAliasRequest; - - /** - * Creates a plain object from a DeleteCellsAliasRequest message. Also converts values to other types if specified. - * @param message DeleteCellsAliasRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteCellsAliasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteCellsAliasRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteCellsAliasRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteCellsAliasResponse. */ - interface IDeleteCellsAliasResponse { - } - - /** Represents a DeleteCellsAliasResponse. */ - class DeleteCellsAliasResponse implements IDeleteCellsAliasResponse { - - /** - * Constructs a new DeleteCellsAliasResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteCellsAliasResponse); - - /** - * Creates a new DeleteCellsAliasResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteCellsAliasResponse instance - */ - public static create(properties?: vtctldata.IDeleteCellsAliasResponse): vtctldata.DeleteCellsAliasResponse; - - /** - * Encodes the specified DeleteCellsAliasResponse message. Does not implicitly {@link vtctldata.DeleteCellsAliasResponse.verify|verify} messages. - * @param message DeleteCellsAliasResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteCellsAliasResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteCellsAliasResponse.verify|verify} messages. - * @param message DeleteCellsAliasResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteCellsAliasResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteCellsAliasResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteCellsAliasResponse; - - /** - * Decodes a DeleteCellsAliasResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteCellsAliasResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteCellsAliasResponse; - - /** - * Verifies a DeleteCellsAliasResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteCellsAliasResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteCellsAliasResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteCellsAliasResponse; - - /** - * Creates a plain object from a DeleteCellsAliasResponse message. Also converts values to other types if specified. - * @param message DeleteCellsAliasResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteCellsAliasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteCellsAliasResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteCellsAliasResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteKeyspaceRequest. */ - interface IDeleteKeyspaceRequest { - - /** DeleteKeyspaceRequest keyspace */ - keyspace?: (string|null); - - /** DeleteKeyspaceRequest recursive */ - recursive?: (boolean|null); - - /** DeleteKeyspaceRequest force */ - force?: (boolean|null); - } - - /** Represents a DeleteKeyspaceRequest. */ - class DeleteKeyspaceRequest implements IDeleteKeyspaceRequest { - - /** - * Constructs a new DeleteKeyspaceRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteKeyspaceRequest); - - /** DeleteKeyspaceRequest keyspace. */ - public keyspace: string; - - /** DeleteKeyspaceRequest recursive. */ - public recursive: boolean; - - /** DeleteKeyspaceRequest force. */ - public force: boolean; - - /** - * Creates a new DeleteKeyspaceRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteKeyspaceRequest instance - */ - public static create(properties?: vtctldata.IDeleteKeyspaceRequest): vtctldata.DeleteKeyspaceRequest; - - /** - * Encodes the specified DeleteKeyspaceRequest message. Does not implicitly {@link vtctldata.DeleteKeyspaceRequest.verify|verify} messages. - * @param message DeleteKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteKeyspaceRequest.verify|verify} messages. - * @param message DeleteKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteKeyspaceRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteKeyspaceRequest; - - /** - * Decodes a DeleteKeyspaceRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteKeyspaceRequest; - - /** - * Verifies a DeleteKeyspaceRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteKeyspaceRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteKeyspaceRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteKeyspaceRequest; - - /** - * Creates a plain object from a DeleteKeyspaceRequest message. Also converts values to other types if specified. - * @param message DeleteKeyspaceRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteKeyspaceRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteKeyspaceRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteKeyspaceResponse. */ - interface IDeleteKeyspaceResponse { - } - - /** Represents a DeleteKeyspaceResponse. */ - class DeleteKeyspaceResponse implements IDeleteKeyspaceResponse { - - /** - * Constructs a new DeleteKeyspaceResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteKeyspaceResponse); - - /** - * Creates a new DeleteKeyspaceResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteKeyspaceResponse instance - */ - public static create(properties?: vtctldata.IDeleteKeyspaceResponse): vtctldata.DeleteKeyspaceResponse; - - /** - * Encodes the specified DeleteKeyspaceResponse message. Does not implicitly {@link vtctldata.DeleteKeyspaceResponse.verify|verify} messages. - * @param message DeleteKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteKeyspaceResponse.verify|verify} messages. - * @param message DeleteKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteKeyspaceResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteKeyspaceResponse; - - /** - * Decodes a DeleteKeyspaceResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteKeyspaceResponse; - - /** - * Verifies a DeleteKeyspaceResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteKeyspaceResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteKeyspaceResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteKeyspaceResponse; - - /** - * Creates a plain object from a DeleteKeyspaceResponse message. Also converts values to other types if specified. - * @param message DeleteKeyspaceResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteKeyspaceResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteKeyspaceResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteShardsRequest. */ - interface IDeleteShardsRequest { - - /** DeleteShardsRequest shards */ - shards?: (vtctldata.IShard[]|null); - - /** DeleteShardsRequest recursive */ - recursive?: (boolean|null); - - /** DeleteShardsRequest even_if_serving */ - even_if_serving?: (boolean|null); - - /** DeleteShardsRequest force */ - force?: (boolean|null); - } - - /** Represents a DeleteShardsRequest. */ - class DeleteShardsRequest implements IDeleteShardsRequest { - - /** - * Constructs a new DeleteShardsRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteShardsRequest); - - /** DeleteShardsRequest shards. */ - public shards: vtctldata.IShard[]; - - /** DeleteShardsRequest recursive. */ - public recursive: boolean; - - /** DeleteShardsRequest even_if_serving. */ - public even_if_serving: boolean; - - /** DeleteShardsRequest force. */ - public force: boolean; - - /** - * Creates a new DeleteShardsRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteShardsRequest instance - */ - public static create(properties?: vtctldata.IDeleteShardsRequest): vtctldata.DeleteShardsRequest; - - /** - * Encodes the specified DeleteShardsRequest message. Does not implicitly {@link vtctldata.DeleteShardsRequest.verify|verify} messages. - * @param message DeleteShardsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteShardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteShardsRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteShardsRequest.verify|verify} messages. - * @param message DeleteShardsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteShardsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteShardsRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteShardsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteShardsRequest; - - /** - * Decodes a DeleteShardsRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteShardsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteShardsRequest; - - /** - * Verifies a DeleteShardsRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteShardsRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteShardsRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteShardsRequest; - - /** - * Creates a plain object from a DeleteShardsRequest message. Also converts values to other types if specified. - * @param message DeleteShardsRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteShardsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteShardsRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteShardsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteShardsResponse. */ - interface IDeleteShardsResponse { - } - - /** Represents a DeleteShardsResponse. */ - class DeleteShardsResponse implements IDeleteShardsResponse { - - /** - * Constructs a new DeleteShardsResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteShardsResponse); - - /** - * Creates a new DeleteShardsResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteShardsResponse instance - */ - public static create(properties?: vtctldata.IDeleteShardsResponse): vtctldata.DeleteShardsResponse; - - /** - * Encodes the specified DeleteShardsResponse message. Does not implicitly {@link vtctldata.DeleteShardsResponse.verify|verify} messages. - * @param message DeleteShardsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteShardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteShardsResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteShardsResponse.verify|verify} messages. - * @param message DeleteShardsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteShardsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteShardsResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteShardsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteShardsResponse; - - /** - * Decodes a DeleteShardsResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteShardsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteShardsResponse; - - /** - * Verifies a DeleteShardsResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteShardsResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteShardsResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteShardsResponse; - - /** - * Creates a plain object from a DeleteShardsResponse message. Also converts values to other types if specified. - * @param message DeleteShardsResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteShardsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteShardsResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteShardsResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteSrvVSchemaRequest. */ - interface IDeleteSrvVSchemaRequest { - - /** DeleteSrvVSchemaRequest cell */ - cell?: (string|null); - } - - /** Represents a DeleteSrvVSchemaRequest. */ - class DeleteSrvVSchemaRequest implements IDeleteSrvVSchemaRequest { - - /** - * Constructs a new DeleteSrvVSchemaRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteSrvVSchemaRequest); - - /** DeleteSrvVSchemaRequest cell. */ - public cell: string; - - /** - * Creates a new DeleteSrvVSchemaRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteSrvVSchemaRequest instance - */ - public static create(properties?: vtctldata.IDeleteSrvVSchemaRequest): vtctldata.DeleteSrvVSchemaRequest; - - /** - * Encodes the specified DeleteSrvVSchemaRequest message. Does not implicitly {@link vtctldata.DeleteSrvVSchemaRequest.verify|verify} messages. - * @param message DeleteSrvVSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteSrvVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteSrvVSchemaRequest.verify|verify} messages. - * @param message DeleteSrvVSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteSrvVSchemaRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteSrvVSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteSrvVSchemaRequest; - - /** - * Decodes a DeleteSrvVSchemaRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteSrvVSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteSrvVSchemaRequest; - - /** - * Verifies a DeleteSrvVSchemaRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteSrvVSchemaRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteSrvVSchemaRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteSrvVSchemaRequest; - - /** - * Creates a plain object from a DeleteSrvVSchemaRequest message. Also converts values to other types if specified. - * @param message DeleteSrvVSchemaRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteSrvVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteSrvVSchemaRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteSrvVSchemaRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteSrvVSchemaResponse. */ - interface IDeleteSrvVSchemaResponse { - } - - /** Represents a DeleteSrvVSchemaResponse. */ - class DeleteSrvVSchemaResponse implements IDeleteSrvVSchemaResponse { - - /** - * Constructs a new DeleteSrvVSchemaResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteSrvVSchemaResponse); - - /** - * Creates a new DeleteSrvVSchemaResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteSrvVSchemaResponse instance - */ - public static create(properties?: vtctldata.IDeleteSrvVSchemaResponse): vtctldata.DeleteSrvVSchemaResponse; - - /** - * Encodes the specified DeleteSrvVSchemaResponse message. Does not implicitly {@link vtctldata.DeleteSrvVSchemaResponse.verify|verify} messages. - * @param message DeleteSrvVSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteSrvVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteSrvVSchemaResponse.verify|verify} messages. - * @param message DeleteSrvVSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteSrvVSchemaResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteSrvVSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteSrvVSchemaResponse; - - /** - * Decodes a DeleteSrvVSchemaResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteSrvVSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteSrvVSchemaResponse; - - /** - * Verifies a DeleteSrvVSchemaResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteSrvVSchemaResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteSrvVSchemaResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteSrvVSchemaResponse; - - /** - * Creates a plain object from a DeleteSrvVSchemaResponse message. Also converts values to other types if specified. - * @param message DeleteSrvVSchemaResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteSrvVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteSrvVSchemaResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteSrvVSchemaResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteTabletsRequest. */ - interface IDeleteTabletsRequest { - - /** DeleteTabletsRequest tablet_aliases */ - tablet_aliases?: (topodata.ITabletAlias[]|null); - - /** DeleteTabletsRequest allow_primary */ - allow_primary?: (boolean|null); - } - - /** Represents a DeleteTabletsRequest. */ - class DeleteTabletsRequest implements IDeleteTabletsRequest { - - /** - * Constructs a new DeleteTabletsRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteTabletsRequest); - - /** DeleteTabletsRequest tablet_aliases. */ - public tablet_aliases: topodata.ITabletAlias[]; - - /** DeleteTabletsRequest allow_primary. */ - public allow_primary: boolean; - - /** - * Creates a new DeleteTabletsRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteTabletsRequest instance - */ - public static create(properties?: vtctldata.IDeleteTabletsRequest): vtctldata.DeleteTabletsRequest; - - /** - * Encodes the specified DeleteTabletsRequest message. Does not implicitly {@link vtctldata.DeleteTabletsRequest.verify|verify} messages. - * @param message DeleteTabletsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteTabletsRequest message, length delimited. Does not implicitly {@link vtctldata.DeleteTabletsRequest.verify|verify} messages. - * @param message DeleteTabletsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteTabletsRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteTabletsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteTabletsRequest; - - /** - * Decodes a DeleteTabletsRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteTabletsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteTabletsRequest; - - /** - * Verifies a DeleteTabletsRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteTabletsRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteTabletsRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteTabletsRequest; - - /** - * Creates a plain object from a DeleteTabletsRequest message. Also converts values to other types if specified. - * @param message DeleteTabletsRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteTabletsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteTabletsRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteTabletsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a DeleteTabletsResponse. */ - interface IDeleteTabletsResponse { - } - - /** Represents a DeleteTabletsResponse. */ - class DeleteTabletsResponse implements IDeleteTabletsResponse { - - /** - * Constructs a new DeleteTabletsResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IDeleteTabletsResponse); - - /** - * Creates a new DeleteTabletsResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns DeleteTabletsResponse instance - */ - public static create(properties?: vtctldata.IDeleteTabletsResponse): vtctldata.DeleteTabletsResponse; - - /** - * Encodes the specified DeleteTabletsResponse message. Does not implicitly {@link vtctldata.DeleteTabletsResponse.verify|verify} messages. - * @param message DeleteTabletsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IDeleteTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DeleteTabletsResponse message, length delimited. Does not implicitly {@link vtctldata.DeleteTabletsResponse.verify|verify} messages. - * @param message DeleteTabletsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IDeleteTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DeleteTabletsResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DeleteTabletsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.DeleteTabletsResponse; - - /** - * Decodes a DeleteTabletsResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DeleteTabletsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.DeleteTabletsResponse; - - /** - * Verifies a DeleteTabletsResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DeleteTabletsResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DeleteTabletsResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.DeleteTabletsResponse; - - /** - * Creates a plain object from a DeleteTabletsResponse message. Also converts values to other types if specified. - * @param message DeleteTabletsResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.DeleteTabletsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DeleteTabletsResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DeleteTabletsResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an EmergencyReparentShardRequest. */ - interface IEmergencyReparentShardRequest { - - /** EmergencyReparentShardRequest keyspace */ - keyspace?: (string|null); - - /** EmergencyReparentShardRequest shard */ - shard?: (string|null); - - /** EmergencyReparentShardRequest new_primary */ - new_primary?: (topodata.ITabletAlias|null); - - /** EmergencyReparentShardRequest ignore_replicas */ - ignore_replicas?: (topodata.ITabletAlias[]|null); - - /** EmergencyReparentShardRequest wait_replicas_timeout */ - wait_replicas_timeout?: (vttime.IDuration|null); - - /** EmergencyReparentShardRequest prevent_cross_cell_promotion */ - prevent_cross_cell_promotion?: (boolean|null); - - /** EmergencyReparentShardRequest wait_for_all_tablets */ - wait_for_all_tablets?: (boolean|null); - - /** EmergencyReparentShardRequest expected_primary */ - expected_primary?: (topodata.ITabletAlias|null); - } - - /** Represents an EmergencyReparentShardRequest. */ - class EmergencyReparentShardRequest implements IEmergencyReparentShardRequest { - - /** - * Constructs a new EmergencyReparentShardRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IEmergencyReparentShardRequest); - - /** EmergencyReparentShardRequest keyspace. */ - public keyspace: string; - - /** EmergencyReparentShardRequest shard. */ - public shard: string; - - /** EmergencyReparentShardRequest new_primary. */ - public new_primary?: (topodata.ITabletAlias|null); - - /** EmergencyReparentShardRequest ignore_replicas. */ - public ignore_replicas: topodata.ITabletAlias[]; - - /** EmergencyReparentShardRequest wait_replicas_timeout. */ - public wait_replicas_timeout?: (vttime.IDuration|null); - - /** EmergencyReparentShardRequest prevent_cross_cell_promotion. */ - public prevent_cross_cell_promotion: boolean; - - /** EmergencyReparentShardRequest wait_for_all_tablets. */ - public wait_for_all_tablets: boolean; - - /** EmergencyReparentShardRequest expected_primary. */ - public expected_primary?: (topodata.ITabletAlias|null); - - /** - * Creates a new EmergencyReparentShardRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns EmergencyReparentShardRequest instance - */ - public static create(properties?: vtctldata.IEmergencyReparentShardRequest): vtctldata.EmergencyReparentShardRequest; - - /** - * Encodes the specified EmergencyReparentShardRequest message. Does not implicitly {@link vtctldata.EmergencyReparentShardRequest.verify|verify} messages. - * @param message EmergencyReparentShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IEmergencyReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified EmergencyReparentShardRequest message, length delimited. Does not implicitly {@link vtctldata.EmergencyReparentShardRequest.verify|verify} messages. - * @param message EmergencyReparentShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IEmergencyReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an EmergencyReparentShardRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns EmergencyReparentShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.EmergencyReparentShardRequest; - - /** - * Decodes an EmergencyReparentShardRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns EmergencyReparentShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.EmergencyReparentShardRequest; - - /** - * Verifies an EmergencyReparentShardRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an EmergencyReparentShardRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns EmergencyReparentShardRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.EmergencyReparentShardRequest; - - /** - * Creates a plain object from an EmergencyReparentShardRequest message. Also converts values to other types if specified. - * @param message EmergencyReparentShardRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.EmergencyReparentShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this EmergencyReparentShardRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for EmergencyReparentShardRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an EmergencyReparentShardResponse. */ - interface IEmergencyReparentShardResponse { - - /** EmergencyReparentShardResponse keyspace */ - keyspace?: (string|null); - - /** EmergencyReparentShardResponse shard */ - shard?: (string|null); - - /** EmergencyReparentShardResponse promoted_primary */ - promoted_primary?: (topodata.ITabletAlias|null); - - /** EmergencyReparentShardResponse events */ - events?: (logutil.IEvent[]|null); - } - - /** Represents an EmergencyReparentShardResponse. */ - class EmergencyReparentShardResponse implements IEmergencyReparentShardResponse { - - /** - * Constructs a new EmergencyReparentShardResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IEmergencyReparentShardResponse); - - /** EmergencyReparentShardResponse keyspace. */ - public keyspace: string; - - /** EmergencyReparentShardResponse shard. */ - public shard: string; - - /** EmergencyReparentShardResponse promoted_primary. */ - public promoted_primary?: (topodata.ITabletAlias|null); - - /** EmergencyReparentShardResponse events. */ - public events: logutil.IEvent[]; - - /** - * Creates a new EmergencyReparentShardResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns EmergencyReparentShardResponse instance - */ - public static create(properties?: vtctldata.IEmergencyReparentShardResponse): vtctldata.EmergencyReparentShardResponse; - - /** - * Encodes the specified EmergencyReparentShardResponse message. Does not implicitly {@link vtctldata.EmergencyReparentShardResponse.verify|verify} messages. - * @param message EmergencyReparentShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IEmergencyReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified EmergencyReparentShardResponse message, length delimited. Does not implicitly {@link vtctldata.EmergencyReparentShardResponse.verify|verify} messages. - * @param message EmergencyReparentShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IEmergencyReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an EmergencyReparentShardResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns EmergencyReparentShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.EmergencyReparentShardResponse; - - /** - * Decodes an EmergencyReparentShardResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns EmergencyReparentShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.EmergencyReparentShardResponse; - - /** - * Verifies an EmergencyReparentShardResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an EmergencyReparentShardResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns EmergencyReparentShardResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.EmergencyReparentShardResponse; - - /** - * Creates a plain object from an EmergencyReparentShardResponse message. Also converts values to other types if specified. - * @param message EmergencyReparentShardResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.EmergencyReparentShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this EmergencyReparentShardResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for EmergencyReparentShardResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ExecuteFetchAsAppRequest. */ - interface IExecuteFetchAsAppRequest { - - /** ExecuteFetchAsAppRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** ExecuteFetchAsAppRequest query */ - query?: (string|null); - - /** ExecuteFetchAsAppRequest max_rows */ - max_rows?: (number|Long|null); - - /** ExecuteFetchAsAppRequest use_pool */ - use_pool?: (boolean|null); - } - - /** Represents an ExecuteFetchAsAppRequest. */ - class ExecuteFetchAsAppRequest implements IExecuteFetchAsAppRequest { - - /** - * Constructs a new ExecuteFetchAsAppRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IExecuteFetchAsAppRequest); - - /** ExecuteFetchAsAppRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** ExecuteFetchAsAppRequest query. */ - public query: string; - - /** ExecuteFetchAsAppRequest max_rows. */ - public max_rows: (number|Long); - - /** ExecuteFetchAsAppRequest use_pool. */ - public use_pool: boolean; - - /** - * Creates a new ExecuteFetchAsAppRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteFetchAsAppRequest instance - */ - public static create(properties?: vtctldata.IExecuteFetchAsAppRequest): vtctldata.ExecuteFetchAsAppRequest; - - /** - * Encodes the specified ExecuteFetchAsAppRequest message. Does not implicitly {@link vtctldata.ExecuteFetchAsAppRequest.verify|verify} messages. - * @param message ExecuteFetchAsAppRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IExecuteFetchAsAppRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteFetchAsAppRequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsAppRequest.verify|verify} messages. - * @param message ExecuteFetchAsAppRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IExecuteFetchAsAppRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteFetchAsAppRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteFetchAsAppRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsAppRequest; - - /** - * Decodes an ExecuteFetchAsAppRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteFetchAsAppRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsAppRequest; - - /** - * Verifies an ExecuteFetchAsAppRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteFetchAsAppRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteFetchAsAppRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsAppRequest; - - /** - * Creates a plain object from an ExecuteFetchAsAppRequest message. Also converts values to other types if specified. - * @param message ExecuteFetchAsAppRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ExecuteFetchAsAppRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteFetchAsAppRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteFetchAsAppRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ExecuteFetchAsAppResponse. */ - interface IExecuteFetchAsAppResponse { - - /** ExecuteFetchAsAppResponse result */ - result?: (query.IQueryResult|null); - } - - /** Represents an ExecuteFetchAsAppResponse. */ - class ExecuteFetchAsAppResponse implements IExecuteFetchAsAppResponse { - - /** - * Constructs a new ExecuteFetchAsAppResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IExecuteFetchAsAppResponse); - - /** ExecuteFetchAsAppResponse result. */ - public result?: (query.IQueryResult|null); - - /** - * Creates a new ExecuteFetchAsAppResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteFetchAsAppResponse instance - */ - public static create(properties?: vtctldata.IExecuteFetchAsAppResponse): vtctldata.ExecuteFetchAsAppResponse; - - /** - * Encodes the specified ExecuteFetchAsAppResponse message. Does not implicitly {@link vtctldata.ExecuteFetchAsAppResponse.verify|verify} messages. - * @param message ExecuteFetchAsAppResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IExecuteFetchAsAppResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteFetchAsAppResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsAppResponse.verify|verify} messages. - * @param message ExecuteFetchAsAppResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IExecuteFetchAsAppResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteFetchAsAppResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteFetchAsAppResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsAppResponse; - - /** - * Decodes an ExecuteFetchAsAppResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteFetchAsAppResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsAppResponse; - - /** - * Verifies an ExecuteFetchAsAppResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteFetchAsAppResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteFetchAsAppResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsAppResponse; - - /** - * Creates a plain object from an ExecuteFetchAsAppResponse message. Also converts values to other types if specified. - * @param message ExecuteFetchAsAppResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ExecuteFetchAsAppResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteFetchAsAppResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteFetchAsAppResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ExecuteFetchAsDBARequest. */ - interface IExecuteFetchAsDBARequest { - - /** ExecuteFetchAsDBARequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** ExecuteFetchAsDBARequest query */ - query?: (string|null); - - /** ExecuteFetchAsDBARequest max_rows */ - max_rows?: (number|Long|null); - - /** ExecuteFetchAsDBARequest disable_binlogs */ - disable_binlogs?: (boolean|null); - - /** ExecuteFetchAsDBARequest reload_schema */ - reload_schema?: (boolean|null); - } - - /** Represents an ExecuteFetchAsDBARequest. */ - class ExecuteFetchAsDBARequest implements IExecuteFetchAsDBARequest { - - /** - * Constructs a new ExecuteFetchAsDBARequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IExecuteFetchAsDBARequest); - - /** ExecuteFetchAsDBARequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** ExecuteFetchAsDBARequest query. */ - public query: string; - - /** ExecuteFetchAsDBARequest max_rows. */ - public max_rows: (number|Long); - - /** ExecuteFetchAsDBARequest disable_binlogs. */ - public disable_binlogs: boolean; - - /** ExecuteFetchAsDBARequest reload_schema. */ - public reload_schema: boolean; - - /** - * Creates a new ExecuteFetchAsDBARequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteFetchAsDBARequest instance - */ - public static create(properties?: vtctldata.IExecuteFetchAsDBARequest): vtctldata.ExecuteFetchAsDBARequest; - - /** - * Encodes the specified ExecuteFetchAsDBARequest message. Does not implicitly {@link vtctldata.ExecuteFetchAsDBARequest.verify|verify} messages. - * @param message ExecuteFetchAsDBARequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IExecuteFetchAsDBARequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteFetchAsDBARequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsDBARequest.verify|verify} messages. - * @param message ExecuteFetchAsDBARequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IExecuteFetchAsDBARequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteFetchAsDBARequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteFetchAsDBARequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsDBARequest; - - /** - * Decodes an ExecuteFetchAsDBARequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteFetchAsDBARequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsDBARequest; - - /** - * Verifies an ExecuteFetchAsDBARequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteFetchAsDBARequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteFetchAsDBARequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsDBARequest; - - /** - * Creates a plain object from an ExecuteFetchAsDBARequest message. Also converts values to other types if specified. - * @param message ExecuteFetchAsDBARequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ExecuteFetchAsDBARequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteFetchAsDBARequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteFetchAsDBARequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ExecuteFetchAsDBAResponse. */ - interface IExecuteFetchAsDBAResponse { - - /** ExecuteFetchAsDBAResponse result */ - result?: (query.IQueryResult|null); - } - - /** Represents an ExecuteFetchAsDBAResponse. */ - class ExecuteFetchAsDBAResponse implements IExecuteFetchAsDBAResponse { - - /** - * Constructs a new ExecuteFetchAsDBAResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IExecuteFetchAsDBAResponse); - - /** ExecuteFetchAsDBAResponse result. */ - public result?: (query.IQueryResult|null); - - /** - * Creates a new ExecuteFetchAsDBAResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteFetchAsDBAResponse instance - */ - public static create(properties?: vtctldata.IExecuteFetchAsDBAResponse): vtctldata.ExecuteFetchAsDBAResponse; - - /** - * Encodes the specified ExecuteFetchAsDBAResponse message. Does not implicitly {@link vtctldata.ExecuteFetchAsDBAResponse.verify|verify} messages. - * @param message ExecuteFetchAsDBAResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IExecuteFetchAsDBAResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteFetchAsDBAResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteFetchAsDBAResponse.verify|verify} messages. - * @param message ExecuteFetchAsDBAResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IExecuteFetchAsDBAResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteFetchAsDBAResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteFetchAsDBAResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteFetchAsDBAResponse; - - /** - * Decodes an ExecuteFetchAsDBAResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteFetchAsDBAResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteFetchAsDBAResponse; - - /** - * Verifies an ExecuteFetchAsDBAResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteFetchAsDBAResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteFetchAsDBAResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteFetchAsDBAResponse; - - /** - * Creates a plain object from an ExecuteFetchAsDBAResponse message. Also converts values to other types if specified. - * @param message ExecuteFetchAsDBAResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ExecuteFetchAsDBAResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteFetchAsDBAResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteFetchAsDBAResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ExecuteHookRequest. */ - interface IExecuteHookRequest { - - /** ExecuteHookRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** ExecuteHookRequest tablet_hook_request */ - tablet_hook_request?: (tabletmanagerdata.IExecuteHookRequest|null); - } - - /** Represents an ExecuteHookRequest. */ - class ExecuteHookRequest implements IExecuteHookRequest { - - /** - * Constructs a new ExecuteHookRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IExecuteHookRequest); - - /** ExecuteHookRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** ExecuteHookRequest tablet_hook_request. */ - public tablet_hook_request?: (tabletmanagerdata.IExecuteHookRequest|null); - - /** - * Creates a new ExecuteHookRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteHookRequest instance - */ - public static create(properties?: vtctldata.IExecuteHookRequest): vtctldata.ExecuteHookRequest; - - /** - * Encodes the specified ExecuteHookRequest message. Does not implicitly {@link vtctldata.ExecuteHookRequest.verify|verify} messages. - * @param message ExecuteHookRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IExecuteHookRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteHookRequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteHookRequest.verify|verify} messages. - * @param message ExecuteHookRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IExecuteHookRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteHookRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteHookRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteHookRequest; - - /** - * Decodes an ExecuteHookRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteHookRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteHookRequest; - - /** - * Verifies an ExecuteHookRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteHookRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteHookRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteHookRequest; - - /** - * Creates a plain object from an ExecuteHookRequest message. Also converts values to other types if specified. - * @param message ExecuteHookRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ExecuteHookRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteHookRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteHookRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ExecuteHookResponse. */ - interface IExecuteHookResponse { - - /** ExecuteHookResponse hook_result */ - hook_result?: (tabletmanagerdata.IExecuteHookResponse|null); - } - - /** Represents an ExecuteHookResponse. */ - class ExecuteHookResponse implements IExecuteHookResponse { - - /** - * Constructs a new ExecuteHookResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IExecuteHookResponse); - - /** ExecuteHookResponse hook_result. */ - public hook_result?: (tabletmanagerdata.IExecuteHookResponse|null); - - /** - * Creates a new ExecuteHookResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteHookResponse instance - */ - public static create(properties?: vtctldata.IExecuteHookResponse): vtctldata.ExecuteHookResponse; - - /** - * Encodes the specified ExecuteHookResponse message. Does not implicitly {@link vtctldata.ExecuteHookResponse.verify|verify} messages. - * @param message ExecuteHookResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IExecuteHookResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteHookResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteHookResponse.verify|verify} messages. - * @param message ExecuteHookResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IExecuteHookResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteHookResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteHookResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteHookResponse; - - /** - * Decodes an ExecuteHookResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteHookResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteHookResponse; - - /** - * Verifies an ExecuteHookResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteHookResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteHookResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteHookResponse; - - /** - * Creates a plain object from an ExecuteHookResponse message. Also converts values to other types if specified. - * @param message ExecuteHookResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ExecuteHookResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteHookResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteHookResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ExecuteMultiFetchAsDBARequest. */ - interface IExecuteMultiFetchAsDBARequest { - - /** ExecuteMultiFetchAsDBARequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** ExecuteMultiFetchAsDBARequest sql */ - sql?: (string|null); - - /** ExecuteMultiFetchAsDBARequest max_rows */ - max_rows?: (number|Long|null); - - /** ExecuteMultiFetchAsDBARequest disable_binlogs */ - disable_binlogs?: (boolean|null); - - /** ExecuteMultiFetchAsDBARequest reload_schema */ - reload_schema?: (boolean|null); - } - - /** Represents an ExecuteMultiFetchAsDBARequest. */ - class ExecuteMultiFetchAsDBARequest implements IExecuteMultiFetchAsDBARequest { - - /** - * Constructs a new ExecuteMultiFetchAsDBARequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IExecuteMultiFetchAsDBARequest); - - /** ExecuteMultiFetchAsDBARequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** ExecuteMultiFetchAsDBARequest sql. */ - public sql: string; - - /** ExecuteMultiFetchAsDBARequest max_rows. */ - public max_rows: (number|Long); - - /** ExecuteMultiFetchAsDBARequest disable_binlogs. */ - public disable_binlogs: boolean; - - /** ExecuteMultiFetchAsDBARequest reload_schema. */ - public reload_schema: boolean; - - /** - * Creates a new ExecuteMultiFetchAsDBARequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteMultiFetchAsDBARequest instance - */ - public static create(properties?: vtctldata.IExecuteMultiFetchAsDBARequest): vtctldata.ExecuteMultiFetchAsDBARequest; - - /** - * Encodes the specified ExecuteMultiFetchAsDBARequest message. Does not implicitly {@link vtctldata.ExecuteMultiFetchAsDBARequest.verify|verify} messages. - * @param message ExecuteMultiFetchAsDBARequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IExecuteMultiFetchAsDBARequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteMultiFetchAsDBARequest message, length delimited. Does not implicitly {@link vtctldata.ExecuteMultiFetchAsDBARequest.verify|verify} messages. - * @param message ExecuteMultiFetchAsDBARequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IExecuteMultiFetchAsDBARequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteMultiFetchAsDBARequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteMultiFetchAsDBARequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteMultiFetchAsDBARequest; - - /** - * Decodes an ExecuteMultiFetchAsDBARequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteMultiFetchAsDBARequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteMultiFetchAsDBARequest; - - /** - * Verifies an ExecuteMultiFetchAsDBARequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteMultiFetchAsDBARequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteMultiFetchAsDBARequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteMultiFetchAsDBARequest; - - /** - * Creates a plain object from an ExecuteMultiFetchAsDBARequest message. Also converts values to other types if specified. - * @param message ExecuteMultiFetchAsDBARequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ExecuteMultiFetchAsDBARequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteMultiFetchAsDBARequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteMultiFetchAsDBARequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an ExecuteMultiFetchAsDBAResponse. */ - interface IExecuteMultiFetchAsDBAResponse { - - /** ExecuteMultiFetchAsDBAResponse results */ - results?: (query.IQueryResult[]|null); - } - - /** Represents an ExecuteMultiFetchAsDBAResponse. */ - class ExecuteMultiFetchAsDBAResponse implements IExecuteMultiFetchAsDBAResponse { - - /** - * Constructs a new ExecuteMultiFetchAsDBAResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IExecuteMultiFetchAsDBAResponse); - - /** ExecuteMultiFetchAsDBAResponse results. */ - public results: query.IQueryResult[]; - - /** - * Creates a new ExecuteMultiFetchAsDBAResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteMultiFetchAsDBAResponse instance - */ - public static create(properties?: vtctldata.IExecuteMultiFetchAsDBAResponse): vtctldata.ExecuteMultiFetchAsDBAResponse; - - /** - * Encodes the specified ExecuteMultiFetchAsDBAResponse message. Does not implicitly {@link vtctldata.ExecuteMultiFetchAsDBAResponse.verify|verify} messages. - * @param message ExecuteMultiFetchAsDBAResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IExecuteMultiFetchAsDBAResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExecuteMultiFetchAsDBAResponse message, length delimited. Does not implicitly {@link vtctldata.ExecuteMultiFetchAsDBAResponse.verify|verify} messages. - * @param message ExecuteMultiFetchAsDBAResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IExecuteMultiFetchAsDBAResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExecuteMultiFetchAsDBAResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteMultiFetchAsDBAResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ExecuteMultiFetchAsDBAResponse; - - /** - * Decodes an ExecuteMultiFetchAsDBAResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExecuteMultiFetchAsDBAResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ExecuteMultiFetchAsDBAResponse; - - /** - * Verifies an ExecuteMultiFetchAsDBAResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExecuteMultiFetchAsDBAResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExecuteMultiFetchAsDBAResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ExecuteMultiFetchAsDBAResponse; - - /** - * Creates a plain object from an ExecuteMultiFetchAsDBAResponse message. Also converts values to other types if specified. - * @param message ExecuteMultiFetchAsDBAResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ExecuteMultiFetchAsDBAResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExecuteMultiFetchAsDBAResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExecuteMultiFetchAsDBAResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a FindAllShardsInKeyspaceRequest. */ - interface IFindAllShardsInKeyspaceRequest { - - /** FindAllShardsInKeyspaceRequest keyspace */ - keyspace?: (string|null); - } - - /** Represents a FindAllShardsInKeyspaceRequest. */ - class FindAllShardsInKeyspaceRequest implements IFindAllShardsInKeyspaceRequest { - - /** - * Constructs a new FindAllShardsInKeyspaceRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IFindAllShardsInKeyspaceRequest); - - /** FindAllShardsInKeyspaceRequest keyspace. */ - public keyspace: string; - - /** - * Creates a new FindAllShardsInKeyspaceRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns FindAllShardsInKeyspaceRequest instance - */ - public static create(properties?: vtctldata.IFindAllShardsInKeyspaceRequest): vtctldata.FindAllShardsInKeyspaceRequest; - - /** - * Encodes the specified FindAllShardsInKeyspaceRequest message. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceRequest.verify|verify} messages. - * @param message FindAllShardsInKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IFindAllShardsInKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FindAllShardsInKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceRequest.verify|verify} messages. - * @param message FindAllShardsInKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IFindAllShardsInKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FindAllShardsInKeyspaceRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FindAllShardsInKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.FindAllShardsInKeyspaceRequest; - - /** - * Decodes a FindAllShardsInKeyspaceRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FindAllShardsInKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.FindAllShardsInKeyspaceRequest; - - /** - * Verifies a FindAllShardsInKeyspaceRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FindAllShardsInKeyspaceRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FindAllShardsInKeyspaceRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.FindAllShardsInKeyspaceRequest; - - /** - * Creates a plain object from a FindAllShardsInKeyspaceRequest message. Also converts values to other types if specified. - * @param message FindAllShardsInKeyspaceRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.FindAllShardsInKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FindAllShardsInKeyspaceRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FindAllShardsInKeyspaceRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a FindAllShardsInKeyspaceResponse. */ - interface IFindAllShardsInKeyspaceResponse { - - /** FindAllShardsInKeyspaceResponse shards */ - shards?: ({ [k: string]: vtctldata.IShard }|null); - } - - /** Represents a FindAllShardsInKeyspaceResponse. */ - class FindAllShardsInKeyspaceResponse implements IFindAllShardsInKeyspaceResponse { - - /** - * Constructs a new FindAllShardsInKeyspaceResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IFindAllShardsInKeyspaceResponse); - - /** FindAllShardsInKeyspaceResponse shards. */ - public shards: { [k: string]: vtctldata.IShard }; - - /** - * Creates a new FindAllShardsInKeyspaceResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns FindAllShardsInKeyspaceResponse instance - */ - public static create(properties?: vtctldata.IFindAllShardsInKeyspaceResponse): vtctldata.FindAllShardsInKeyspaceResponse; - - /** - * Encodes the specified FindAllShardsInKeyspaceResponse message. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceResponse.verify|verify} messages. - * @param message FindAllShardsInKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IFindAllShardsInKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FindAllShardsInKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.FindAllShardsInKeyspaceResponse.verify|verify} messages. - * @param message FindAllShardsInKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IFindAllShardsInKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FindAllShardsInKeyspaceResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FindAllShardsInKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.FindAllShardsInKeyspaceResponse; - - /** - * Decodes a FindAllShardsInKeyspaceResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FindAllShardsInKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.FindAllShardsInKeyspaceResponse; - - /** - * Verifies a FindAllShardsInKeyspaceResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FindAllShardsInKeyspaceResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FindAllShardsInKeyspaceResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.FindAllShardsInKeyspaceResponse; - - /** - * Creates a plain object from a FindAllShardsInKeyspaceResponse message. Also converts values to other types if specified. - * @param message FindAllShardsInKeyspaceResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.FindAllShardsInKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FindAllShardsInKeyspaceResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FindAllShardsInKeyspaceResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ForceCutOverSchemaMigrationRequest. */ - interface IForceCutOverSchemaMigrationRequest { - - /** ForceCutOverSchemaMigrationRequest keyspace */ - keyspace?: (string|null); - - /** ForceCutOverSchemaMigrationRequest uuid */ - uuid?: (string|null); - } - - /** Represents a ForceCutOverSchemaMigrationRequest. */ - class ForceCutOverSchemaMigrationRequest implements IForceCutOverSchemaMigrationRequest { - - /** - * Constructs a new ForceCutOverSchemaMigrationRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IForceCutOverSchemaMigrationRequest); - - /** ForceCutOverSchemaMigrationRequest keyspace. */ - public keyspace: string; - - /** ForceCutOverSchemaMigrationRequest uuid. */ - public uuid: string; - - /** - * Creates a new ForceCutOverSchemaMigrationRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ForceCutOverSchemaMigrationRequest instance - */ - public static create(properties?: vtctldata.IForceCutOverSchemaMigrationRequest): vtctldata.ForceCutOverSchemaMigrationRequest; - - /** - * Encodes the specified ForceCutOverSchemaMigrationRequest message. Does not implicitly {@link vtctldata.ForceCutOverSchemaMigrationRequest.verify|verify} messages. - * @param message ForceCutOverSchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IForceCutOverSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ForceCutOverSchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.ForceCutOverSchemaMigrationRequest.verify|verify} messages. - * @param message ForceCutOverSchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IForceCutOverSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ForceCutOverSchemaMigrationRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ForceCutOverSchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ForceCutOverSchemaMigrationRequest; - - /** - * Decodes a ForceCutOverSchemaMigrationRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ForceCutOverSchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ForceCutOverSchemaMigrationRequest; - - /** - * Verifies a ForceCutOverSchemaMigrationRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ForceCutOverSchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ForceCutOverSchemaMigrationRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ForceCutOverSchemaMigrationRequest; - - /** - * Creates a plain object from a ForceCutOverSchemaMigrationRequest message. Also converts values to other types if specified. - * @param message ForceCutOverSchemaMigrationRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ForceCutOverSchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ForceCutOverSchemaMigrationRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ForceCutOverSchemaMigrationRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ForceCutOverSchemaMigrationResponse. */ - interface IForceCutOverSchemaMigrationResponse { - - /** ForceCutOverSchemaMigrationResponse rows_affected_by_shard */ - rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); - } - - /** Represents a ForceCutOverSchemaMigrationResponse. */ - class ForceCutOverSchemaMigrationResponse implements IForceCutOverSchemaMigrationResponse { - - /** - * Constructs a new ForceCutOverSchemaMigrationResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IForceCutOverSchemaMigrationResponse); - - /** ForceCutOverSchemaMigrationResponse rows_affected_by_shard. */ - public rows_affected_by_shard: { [k: string]: (number|Long) }; - - /** - * Creates a new ForceCutOverSchemaMigrationResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ForceCutOverSchemaMigrationResponse instance - */ - public static create(properties?: vtctldata.IForceCutOverSchemaMigrationResponse): vtctldata.ForceCutOverSchemaMigrationResponse; - - /** - * Encodes the specified ForceCutOverSchemaMigrationResponse message. Does not implicitly {@link vtctldata.ForceCutOverSchemaMigrationResponse.verify|verify} messages. - * @param message ForceCutOverSchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IForceCutOverSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ForceCutOverSchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.ForceCutOverSchemaMigrationResponse.verify|verify} messages. - * @param message ForceCutOverSchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IForceCutOverSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ForceCutOverSchemaMigrationResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ForceCutOverSchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ForceCutOverSchemaMigrationResponse; - - /** - * Decodes a ForceCutOverSchemaMigrationResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ForceCutOverSchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ForceCutOverSchemaMigrationResponse; - - /** - * Verifies a ForceCutOverSchemaMigrationResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ForceCutOverSchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ForceCutOverSchemaMigrationResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ForceCutOverSchemaMigrationResponse; - - /** - * Creates a plain object from a ForceCutOverSchemaMigrationResponse message. Also converts values to other types if specified. - * @param message ForceCutOverSchemaMigrationResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ForceCutOverSchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ForceCutOverSchemaMigrationResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ForceCutOverSchemaMigrationResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetBackupsRequest. */ - interface IGetBackupsRequest { - - /** GetBackupsRequest keyspace */ - keyspace?: (string|null); - - /** GetBackupsRequest shard */ - shard?: (string|null); - - /** GetBackupsRequest limit */ - limit?: (number|null); - - /** GetBackupsRequest detailed */ - detailed?: (boolean|null); - - /** GetBackupsRequest detailed_limit */ - detailed_limit?: (number|null); - } - - /** Represents a GetBackupsRequest. */ - class GetBackupsRequest implements IGetBackupsRequest { - - /** - * Constructs a new GetBackupsRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetBackupsRequest); - - /** GetBackupsRequest keyspace. */ - public keyspace: string; - - /** GetBackupsRequest shard. */ - public shard: string; - - /** GetBackupsRequest limit. */ - public limit: number; - - /** GetBackupsRequest detailed. */ - public detailed: boolean; - - /** GetBackupsRequest detailed_limit. */ - public detailed_limit: number; - - /** - * Creates a new GetBackupsRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetBackupsRequest instance - */ - public static create(properties?: vtctldata.IGetBackupsRequest): vtctldata.GetBackupsRequest; - - /** - * Encodes the specified GetBackupsRequest message. Does not implicitly {@link vtctldata.GetBackupsRequest.verify|verify} messages. - * @param message GetBackupsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetBackupsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetBackupsRequest message, length delimited. Does not implicitly {@link vtctldata.GetBackupsRequest.verify|verify} messages. - * @param message GetBackupsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetBackupsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetBackupsRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetBackupsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetBackupsRequest; - - /** - * Decodes a GetBackupsRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetBackupsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetBackupsRequest; - - /** - * Verifies a GetBackupsRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetBackupsRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetBackupsRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetBackupsRequest; - - /** - * Creates a plain object from a GetBackupsRequest message. Also converts values to other types if specified. - * @param message GetBackupsRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetBackupsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetBackupsRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetBackupsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetBackupsResponse. */ - interface IGetBackupsResponse { - - /** GetBackupsResponse backups */ - backups?: (mysqlctl.IBackupInfo[]|null); - } - - /** Represents a GetBackupsResponse. */ - class GetBackupsResponse implements IGetBackupsResponse { - - /** - * Constructs a new GetBackupsResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetBackupsResponse); - - /** GetBackupsResponse backups. */ - public backups: mysqlctl.IBackupInfo[]; - - /** - * Creates a new GetBackupsResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetBackupsResponse instance - */ - public static create(properties?: vtctldata.IGetBackupsResponse): vtctldata.GetBackupsResponse; - - /** - * Encodes the specified GetBackupsResponse message. Does not implicitly {@link vtctldata.GetBackupsResponse.verify|verify} messages. - * @param message GetBackupsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetBackupsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetBackupsResponse message, length delimited. Does not implicitly {@link vtctldata.GetBackupsResponse.verify|verify} messages. - * @param message GetBackupsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetBackupsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetBackupsResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetBackupsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetBackupsResponse; - - /** - * Decodes a GetBackupsResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetBackupsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetBackupsResponse; - - /** - * Verifies a GetBackupsResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetBackupsResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetBackupsResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetBackupsResponse; - - /** - * Creates a plain object from a GetBackupsResponse message. Also converts values to other types if specified. - * @param message GetBackupsResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetBackupsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetBackupsResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetBackupsResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetCellInfoRequest. */ - interface IGetCellInfoRequest { - - /** GetCellInfoRequest cell */ - cell?: (string|null); - } - - /** Represents a GetCellInfoRequest. */ - class GetCellInfoRequest implements IGetCellInfoRequest { - - /** - * Constructs a new GetCellInfoRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetCellInfoRequest); - - /** GetCellInfoRequest cell. */ - public cell: string; - - /** - * Creates a new GetCellInfoRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetCellInfoRequest instance - */ - public static create(properties?: vtctldata.IGetCellInfoRequest): vtctldata.GetCellInfoRequest; - - /** - * Encodes the specified GetCellInfoRequest message. Does not implicitly {@link vtctldata.GetCellInfoRequest.verify|verify} messages. - * @param message GetCellInfoRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoRequest.verify|verify} messages. - * @param message GetCellInfoRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetCellInfoRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetCellInfoRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoRequest; - - /** - * Decodes a GetCellInfoRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetCellInfoRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoRequest; - - /** - * Verifies a GetCellInfoRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetCellInfoRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetCellInfoRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoRequest; - - /** - * Creates a plain object from a GetCellInfoRequest message. Also converts values to other types if specified. - * @param message GetCellInfoRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetCellInfoRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetCellInfoRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetCellInfoResponse. */ - interface IGetCellInfoResponse { - - /** GetCellInfoResponse cell_info */ - cell_info?: (topodata.ICellInfo|null); - } - - /** Represents a GetCellInfoResponse. */ - class GetCellInfoResponse implements IGetCellInfoResponse { - - /** - * Constructs a new GetCellInfoResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetCellInfoResponse); - - /** GetCellInfoResponse cell_info. */ - public cell_info?: (topodata.ICellInfo|null); - - /** - * Creates a new GetCellInfoResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetCellInfoResponse instance - */ - public static create(properties?: vtctldata.IGetCellInfoResponse): vtctldata.GetCellInfoResponse; - - /** - * Encodes the specified GetCellInfoResponse message. Does not implicitly {@link vtctldata.GetCellInfoResponse.verify|verify} messages. - * @param message GetCellInfoResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoResponse.verify|verify} messages. - * @param message GetCellInfoResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetCellInfoResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetCellInfoResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoResponse; - - /** - * Decodes a GetCellInfoResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetCellInfoResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoResponse; - - /** - * Verifies a GetCellInfoResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetCellInfoResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetCellInfoResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoResponse; - - /** - * Creates a plain object from a GetCellInfoResponse message. Also converts values to other types if specified. - * @param message GetCellInfoResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetCellInfoResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetCellInfoResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetCellInfoNamesRequest. */ - interface IGetCellInfoNamesRequest { - } - - /** Represents a GetCellInfoNamesRequest. */ - class GetCellInfoNamesRequest implements IGetCellInfoNamesRequest { - - /** - * Constructs a new GetCellInfoNamesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetCellInfoNamesRequest); - - /** - * Creates a new GetCellInfoNamesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetCellInfoNamesRequest instance - */ - public static create(properties?: vtctldata.IGetCellInfoNamesRequest): vtctldata.GetCellInfoNamesRequest; - - /** - * Encodes the specified GetCellInfoNamesRequest message. Does not implicitly {@link vtctldata.GetCellInfoNamesRequest.verify|verify} messages. - * @param message GetCellInfoNamesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetCellInfoNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetCellInfoNamesRequest message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoNamesRequest.verify|verify} messages. - * @param message GetCellInfoNamesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetCellInfoNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetCellInfoNamesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetCellInfoNamesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoNamesRequest; - - /** - * Decodes a GetCellInfoNamesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetCellInfoNamesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoNamesRequest; - - /** - * Verifies a GetCellInfoNamesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetCellInfoNamesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetCellInfoNamesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoNamesRequest; - - /** - * Creates a plain object from a GetCellInfoNamesRequest message. Also converts values to other types if specified. - * @param message GetCellInfoNamesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetCellInfoNamesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetCellInfoNamesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetCellInfoNamesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetCellInfoNamesResponse. */ - interface IGetCellInfoNamesResponse { - - /** GetCellInfoNamesResponse names */ - names?: (string[]|null); - } - - /** Represents a GetCellInfoNamesResponse. */ - class GetCellInfoNamesResponse implements IGetCellInfoNamesResponse { - - /** - * Constructs a new GetCellInfoNamesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetCellInfoNamesResponse); - - /** GetCellInfoNamesResponse names. */ - public names: string[]; - - /** - * Creates a new GetCellInfoNamesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetCellInfoNamesResponse instance - */ - public static create(properties?: vtctldata.IGetCellInfoNamesResponse): vtctldata.GetCellInfoNamesResponse; - - /** - * Encodes the specified GetCellInfoNamesResponse message. Does not implicitly {@link vtctldata.GetCellInfoNamesResponse.verify|verify} messages. - * @param message GetCellInfoNamesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetCellInfoNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetCellInfoNamesResponse message, length delimited. Does not implicitly {@link vtctldata.GetCellInfoNamesResponse.verify|verify} messages. - * @param message GetCellInfoNamesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetCellInfoNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetCellInfoNamesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetCellInfoNamesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellInfoNamesResponse; - - /** - * Decodes a GetCellInfoNamesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetCellInfoNamesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellInfoNamesResponse; - - /** - * Verifies a GetCellInfoNamesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetCellInfoNamesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetCellInfoNamesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetCellInfoNamesResponse; - - /** - * Creates a plain object from a GetCellInfoNamesResponse message. Also converts values to other types if specified. - * @param message GetCellInfoNamesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetCellInfoNamesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetCellInfoNamesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetCellInfoNamesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetCellsAliasesRequest. */ - interface IGetCellsAliasesRequest { - } - - /** Represents a GetCellsAliasesRequest. */ - class GetCellsAliasesRequest implements IGetCellsAliasesRequest { - - /** - * Constructs a new GetCellsAliasesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetCellsAliasesRequest); - - /** - * Creates a new GetCellsAliasesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetCellsAliasesRequest instance - */ - public static create(properties?: vtctldata.IGetCellsAliasesRequest): vtctldata.GetCellsAliasesRequest; - - /** - * Encodes the specified GetCellsAliasesRequest message. Does not implicitly {@link vtctldata.GetCellsAliasesRequest.verify|verify} messages. - * @param message GetCellsAliasesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetCellsAliasesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetCellsAliasesRequest message, length delimited. Does not implicitly {@link vtctldata.GetCellsAliasesRequest.verify|verify} messages. - * @param message GetCellsAliasesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetCellsAliasesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetCellsAliasesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetCellsAliasesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellsAliasesRequest; - - /** - * Decodes a GetCellsAliasesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetCellsAliasesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellsAliasesRequest; - - /** - * Verifies a GetCellsAliasesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetCellsAliasesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetCellsAliasesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetCellsAliasesRequest; - - /** - * Creates a plain object from a GetCellsAliasesRequest message. Also converts values to other types if specified. - * @param message GetCellsAliasesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetCellsAliasesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetCellsAliasesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetCellsAliasesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetCellsAliasesResponse. */ - interface IGetCellsAliasesResponse { - - /** GetCellsAliasesResponse aliases */ - aliases?: ({ [k: string]: topodata.ICellsAlias }|null); - } - - /** Represents a GetCellsAliasesResponse. */ - class GetCellsAliasesResponse implements IGetCellsAliasesResponse { - - /** - * Constructs a new GetCellsAliasesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetCellsAliasesResponse); - - /** GetCellsAliasesResponse aliases. */ - public aliases: { [k: string]: topodata.ICellsAlias }; - - /** - * Creates a new GetCellsAliasesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetCellsAliasesResponse instance - */ - public static create(properties?: vtctldata.IGetCellsAliasesResponse): vtctldata.GetCellsAliasesResponse; - - /** - * Encodes the specified GetCellsAliasesResponse message. Does not implicitly {@link vtctldata.GetCellsAliasesResponse.verify|verify} messages. - * @param message GetCellsAliasesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetCellsAliasesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetCellsAliasesResponse message, length delimited. Does not implicitly {@link vtctldata.GetCellsAliasesResponse.verify|verify} messages. - * @param message GetCellsAliasesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetCellsAliasesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetCellsAliasesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetCellsAliasesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetCellsAliasesResponse; - - /** - * Decodes a GetCellsAliasesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetCellsAliasesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetCellsAliasesResponse; - - /** - * Verifies a GetCellsAliasesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetCellsAliasesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetCellsAliasesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetCellsAliasesResponse; - - /** - * Creates a plain object from a GetCellsAliasesResponse message. Also converts values to other types if specified. - * @param message GetCellsAliasesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetCellsAliasesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetCellsAliasesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetCellsAliasesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetFullStatusRequest. */ - interface IGetFullStatusRequest { - - /** GetFullStatusRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a GetFullStatusRequest. */ - class GetFullStatusRequest implements IGetFullStatusRequest { - - /** - * Constructs a new GetFullStatusRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetFullStatusRequest); - - /** GetFullStatusRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new GetFullStatusRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetFullStatusRequest instance - */ - public static create(properties?: vtctldata.IGetFullStatusRequest): vtctldata.GetFullStatusRequest; - - /** - * Encodes the specified GetFullStatusRequest message. Does not implicitly {@link vtctldata.GetFullStatusRequest.verify|verify} messages. - * @param message GetFullStatusRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetFullStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetFullStatusRequest message, length delimited. Does not implicitly {@link vtctldata.GetFullStatusRequest.verify|verify} messages. - * @param message GetFullStatusRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetFullStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetFullStatusRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetFullStatusRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetFullStatusRequest; - - /** - * Decodes a GetFullStatusRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetFullStatusRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetFullStatusRequest; - - /** - * Verifies a GetFullStatusRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetFullStatusRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetFullStatusRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetFullStatusRequest; - - /** - * Creates a plain object from a GetFullStatusRequest message. Also converts values to other types if specified. - * @param message GetFullStatusRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetFullStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetFullStatusRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetFullStatusRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetFullStatusResponse. */ - interface IGetFullStatusResponse { - - /** GetFullStatusResponse status */ - status?: (replicationdata.IFullStatus|null); - } - - /** Represents a GetFullStatusResponse. */ - class GetFullStatusResponse implements IGetFullStatusResponse { - - /** - * Constructs a new GetFullStatusResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetFullStatusResponse); - - /** GetFullStatusResponse status. */ - public status?: (replicationdata.IFullStatus|null); - - /** - * Creates a new GetFullStatusResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetFullStatusResponse instance - */ - public static create(properties?: vtctldata.IGetFullStatusResponse): vtctldata.GetFullStatusResponse; - - /** - * Encodes the specified GetFullStatusResponse message. Does not implicitly {@link vtctldata.GetFullStatusResponse.verify|verify} messages. - * @param message GetFullStatusResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetFullStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetFullStatusResponse message, length delimited. Does not implicitly {@link vtctldata.GetFullStatusResponse.verify|verify} messages. - * @param message GetFullStatusResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetFullStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetFullStatusResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetFullStatusResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetFullStatusResponse; - - /** - * Decodes a GetFullStatusResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetFullStatusResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetFullStatusResponse; - - /** - * Verifies a GetFullStatusResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetFullStatusResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetFullStatusResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetFullStatusResponse; - - /** - * Creates a plain object from a GetFullStatusResponse message. Also converts values to other types if specified. - * @param message GetFullStatusResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetFullStatusResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetFullStatusResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetFullStatusResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetKeyspacesRequest. */ - interface IGetKeyspacesRequest { - } - - /** Represents a GetKeyspacesRequest. */ - class GetKeyspacesRequest implements IGetKeyspacesRequest { - - /** - * Constructs a new GetKeyspacesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetKeyspacesRequest); - - /** - * Creates a new GetKeyspacesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetKeyspacesRequest instance - */ - public static create(properties?: vtctldata.IGetKeyspacesRequest): vtctldata.GetKeyspacesRequest; - - /** - * Encodes the specified GetKeyspacesRequest message. Does not implicitly {@link vtctldata.GetKeyspacesRequest.verify|verify} messages. - * @param message GetKeyspacesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetKeyspacesRequest message, length delimited. Does not implicitly {@link vtctldata.GetKeyspacesRequest.verify|verify} messages. - * @param message GetKeyspacesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetKeyspacesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetKeyspacesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspacesRequest; - - /** - * Decodes a GetKeyspacesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetKeyspacesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspacesRequest; - - /** - * Verifies a GetKeyspacesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetKeyspacesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetKeyspacesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspacesRequest; - - /** - * Creates a plain object from a GetKeyspacesRequest message. Also converts values to other types if specified. - * @param message GetKeyspacesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetKeyspacesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetKeyspacesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetKeyspacesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetKeyspacesResponse. */ - interface IGetKeyspacesResponse { - - /** GetKeyspacesResponse keyspaces */ - keyspaces?: (vtctldata.IKeyspace[]|null); - } - - /** Represents a GetKeyspacesResponse. */ - class GetKeyspacesResponse implements IGetKeyspacesResponse { - - /** - * Constructs a new GetKeyspacesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetKeyspacesResponse); - - /** GetKeyspacesResponse keyspaces. */ - public keyspaces: vtctldata.IKeyspace[]; - - /** - * Creates a new GetKeyspacesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetKeyspacesResponse instance - */ - public static create(properties?: vtctldata.IGetKeyspacesResponse): vtctldata.GetKeyspacesResponse; - - /** - * Encodes the specified GetKeyspacesResponse message. Does not implicitly {@link vtctldata.GetKeyspacesResponse.verify|verify} messages. - * @param message GetKeyspacesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetKeyspacesResponse message, length delimited. Does not implicitly {@link vtctldata.GetKeyspacesResponse.verify|verify} messages. - * @param message GetKeyspacesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetKeyspacesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetKeyspacesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspacesResponse; - - /** - * Decodes a GetKeyspacesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetKeyspacesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspacesResponse; - - /** - * Verifies a GetKeyspacesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetKeyspacesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetKeyspacesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspacesResponse; - - /** - * Creates a plain object from a GetKeyspacesResponse message. Also converts values to other types if specified. - * @param message GetKeyspacesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetKeyspacesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetKeyspacesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetKeyspacesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetKeyspaceRequest. */ - interface IGetKeyspaceRequest { - - /** GetKeyspaceRequest keyspace */ - keyspace?: (string|null); - } - - /** Represents a GetKeyspaceRequest. */ - class GetKeyspaceRequest implements IGetKeyspaceRequest { - - /** - * Constructs a new GetKeyspaceRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetKeyspaceRequest); - - /** GetKeyspaceRequest keyspace. */ - public keyspace: string; - - /** - * Creates a new GetKeyspaceRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetKeyspaceRequest instance - */ - public static create(properties?: vtctldata.IGetKeyspaceRequest): vtctldata.GetKeyspaceRequest; - - /** - * Encodes the specified GetKeyspaceRequest message. Does not implicitly {@link vtctldata.GetKeyspaceRequest.verify|verify} messages. - * @param message GetKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.GetKeyspaceRequest.verify|verify} messages. - * @param message GetKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetKeyspaceRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspaceRequest; - - /** - * Decodes a GetKeyspaceRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspaceRequest; - - /** - * Verifies a GetKeyspaceRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetKeyspaceRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetKeyspaceRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspaceRequest; - - /** - * Creates a plain object from a GetKeyspaceRequest message. Also converts values to other types if specified. - * @param message GetKeyspaceRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetKeyspaceRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetKeyspaceRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetKeyspaceResponse. */ - interface IGetKeyspaceResponse { - - /** GetKeyspaceResponse keyspace */ - keyspace?: (vtctldata.IKeyspace|null); - } - - /** Represents a GetKeyspaceResponse. */ - class GetKeyspaceResponse implements IGetKeyspaceResponse { - - /** - * Constructs a new GetKeyspaceResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetKeyspaceResponse); - - /** GetKeyspaceResponse keyspace. */ - public keyspace?: (vtctldata.IKeyspace|null); - - /** - * Creates a new GetKeyspaceResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetKeyspaceResponse instance - */ - public static create(properties?: vtctldata.IGetKeyspaceResponse): vtctldata.GetKeyspaceResponse; - - /** - * Encodes the specified GetKeyspaceResponse message. Does not implicitly {@link vtctldata.GetKeyspaceResponse.verify|verify} messages. - * @param message GetKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.GetKeyspaceResponse.verify|verify} messages. - * @param message GetKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetKeyspaceResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspaceResponse; - - /** - * Decodes a GetKeyspaceResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspaceResponse; - - /** - * Verifies a GetKeyspaceResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetKeyspaceResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetKeyspaceResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspaceResponse; - - /** - * Creates a plain object from a GetKeyspaceResponse message. Also converts values to other types if specified. - * @param message GetKeyspaceResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetKeyspaceResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetKeyspaceResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetPermissionsRequest. */ - interface IGetPermissionsRequest { - - /** GetPermissionsRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a GetPermissionsRequest. */ - class GetPermissionsRequest implements IGetPermissionsRequest { - - /** - * Constructs a new GetPermissionsRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetPermissionsRequest); - - /** GetPermissionsRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new GetPermissionsRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetPermissionsRequest instance - */ - public static create(properties?: vtctldata.IGetPermissionsRequest): vtctldata.GetPermissionsRequest; - - /** - * Encodes the specified GetPermissionsRequest message. Does not implicitly {@link vtctldata.GetPermissionsRequest.verify|verify} messages. - * @param message GetPermissionsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetPermissionsRequest message, length delimited. Does not implicitly {@link vtctldata.GetPermissionsRequest.verify|verify} messages. - * @param message GetPermissionsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetPermissionsRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetPermissionsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetPermissionsRequest; - - /** - * Decodes a GetPermissionsRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetPermissionsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetPermissionsRequest; - - /** - * Verifies a GetPermissionsRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetPermissionsRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetPermissionsRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetPermissionsRequest; - - /** - * Creates a plain object from a GetPermissionsRequest message. Also converts values to other types if specified. - * @param message GetPermissionsRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetPermissionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetPermissionsRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetPermissionsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetPermissionsResponse. */ - interface IGetPermissionsResponse { - - /** GetPermissionsResponse permissions */ - permissions?: (tabletmanagerdata.IPermissions|null); - } - - /** Represents a GetPermissionsResponse. */ - class GetPermissionsResponse implements IGetPermissionsResponse { - - /** - * Constructs a new GetPermissionsResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetPermissionsResponse); - - /** GetPermissionsResponse permissions. */ - public permissions?: (tabletmanagerdata.IPermissions|null); - - /** - * Creates a new GetPermissionsResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetPermissionsResponse instance - */ - public static create(properties?: vtctldata.IGetPermissionsResponse): vtctldata.GetPermissionsResponse; - - /** - * Encodes the specified GetPermissionsResponse message. Does not implicitly {@link vtctldata.GetPermissionsResponse.verify|verify} messages. - * @param message GetPermissionsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetPermissionsResponse message, length delimited. Does not implicitly {@link vtctldata.GetPermissionsResponse.verify|verify} messages. - * @param message GetPermissionsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetPermissionsResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetPermissionsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetPermissionsResponse; - - /** - * Decodes a GetPermissionsResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetPermissionsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetPermissionsResponse; - - /** - * Verifies a GetPermissionsResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetPermissionsResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetPermissionsResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetPermissionsResponse; - - /** - * Creates a plain object from a GetPermissionsResponse message. Also converts values to other types if specified. - * @param message GetPermissionsResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetPermissionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetPermissionsResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetPermissionsResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetKeyspaceRoutingRulesRequest. */ - interface IGetKeyspaceRoutingRulesRequest { - } - - /** Represents a GetKeyspaceRoutingRulesRequest. */ - class GetKeyspaceRoutingRulesRequest implements IGetKeyspaceRoutingRulesRequest { - - /** - * Constructs a new GetKeyspaceRoutingRulesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetKeyspaceRoutingRulesRequest); - - /** - * Creates a new GetKeyspaceRoutingRulesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetKeyspaceRoutingRulesRequest instance - */ - public static create(properties?: vtctldata.IGetKeyspaceRoutingRulesRequest): vtctldata.GetKeyspaceRoutingRulesRequest; - - /** - * Encodes the specified GetKeyspaceRoutingRulesRequest message. Does not implicitly {@link vtctldata.GetKeyspaceRoutingRulesRequest.verify|verify} messages. - * @param message GetKeyspaceRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetKeyspaceRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetKeyspaceRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.GetKeyspaceRoutingRulesRequest.verify|verify} messages. - * @param message GetKeyspaceRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetKeyspaceRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetKeyspaceRoutingRulesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetKeyspaceRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspaceRoutingRulesRequest; - - /** - * Decodes a GetKeyspaceRoutingRulesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetKeyspaceRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspaceRoutingRulesRequest; - - /** - * Verifies a GetKeyspaceRoutingRulesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetKeyspaceRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetKeyspaceRoutingRulesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspaceRoutingRulesRequest; - - /** - * Creates a plain object from a GetKeyspaceRoutingRulesRequest message. Also converts values to other types if specified. - * @param message GetKeyspaceRoutingRulesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetKeyspaceRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetKeyspaceRoutingRulesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetKeyspaceRoutingRulesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetKeyspaceRoutingRulesResponse. */ - interface IGetKeyspaceRoutingRulesResponse { - - /** GetKeyspaceRoutingRulesResponse keyspace_routing_rules */ - keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); - } - - /** Represents a GetKeyspaceRoutingRulesResponse. */ - class GetKeyspaceRoutingRulesResponse implements IGetKeyspaceRoutingRulesResponse { - - /** - * Constructs a new GetKeyspaceRoutingRulesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetKeyspaceRoutingRulesResponse); - - /** GetKeyspaceRoutingRulesResponse keyspace_routing_rules. */ - public keyspace_routing_rules?: (vschema.IKeyspaceRoutingRules|null); - - /** - * Creates a new GetKeyspaceRoutingRulesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetKeyspaceRoutingRulesResponse instance - */ - public static create(properties?: vtctldata.IGetKeyspaceRoutingRulesResponse): vtctldata.GetKeyspaceRoutingRulesResponse; - - /** - * Encodes the specified GetKeyspaceRoutingRulesResponse message. Does not implicitly {@link vtctldata.GetKeyspaceRoutingRulesResponse.verify|verify} messages. - * @param message GetKeyspaceRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetKeyspaceRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetKeyspaceRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.GetKeyspaceRoutingRulesResponse.verify|verify} messages. - * @param message GetKeyspaceRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetKeyspaceRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetKeyspaceRoutingRulesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetKeyspaceRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetKeyspaceRoutingRulesResponse; - - /** - * Decodes a GetKeyspaceRoutingRulesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetKeyspaceRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetKeyspaceRoutingRulesResponse; - - /** - * Verifies a GetKeyspaceRoutingRulesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetKeyspaceRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetKeyspaceRoutingRulesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetKeyspaceRoutingRulesResponse; - - /** - * Creates a plain object from a GetKeyspaceRoutingRulesResponse message. Also converts values to other types if specified. - * @param message GetKeyspaceRoutingRulesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetKeyspaceRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetKeyspaceRoutingRulesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetKeyspaceRoutingRulesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetRoutingRulesRequest. */ - interface IGetRoutingRulesRequest { - } - - /** Represents a GetRoutingRulesRequest. */ - class GetRoutingRulesRequest implements IGetRoutingRulesRequest { - - /** - * Constructs a new GetRoutingRulesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetRoutingRulesRequest); - - /** - * Creates a new GetRoutingRulesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetRoutingRulesRequest instance - */ - public static create(properties?: vtctldata.IGetRoutingRulesRequest): vtctldata.GetRoutingRulesRequest; - - /** - * Encodes the specified GetRoutingRulesRequest message. Does not implicitly {@link vtctldata.GetRoutingRulesRequest.verify|verify} messages. - * @param message GetRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.GetRoutingRulesRequest.verify|verify} messages. - * @param message GetRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetRoutingRulesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetRoutingRulesRequest; - - /** - * Decodes a GetRoutingRulesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetRoutingRulesRequest; - - /** - * Verifies a GetRoutingRulesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetRoutingRulesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetRoutingRulesRequest; - - /** - * Creates a plain object from a GetRoutingRulesRequest message. Also converts values to other types if specified. - * @param message GetRoutingRulesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetRoutingRulesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetRoutingRulesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetRoutingRulesResponse. */ - interface IGetRoutingRulesResponse { - - /** GetRoutingRulesResponse routing_rules */ - routing_rules?: (vschema.IRoutingRules|null); - } - - /** Represents a GetRoutingRulesResponse. */ - class GetRoutingRulesResponse implements IGetRoutingRulesResponse { - - /** - * Constructs a new GetRoutingRulesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetRoutingRulesResponse); - - /** GetRoutingRulesResponse routing_rules. */ - public routing_rules?: (vschema.IRoutingRules|null); - - /** - * Creates a new GetRoutingRulesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetRoutingRulesResponse instance - */ - public static create(properties?: vtctldata.IGetRoutingRulesResponse): vtctldata.GetRoutingRulesResponse; - - /** - * Encodes the specified GetRoutingRulesResponse message. Does not implicitly {@link vtctldata.GetRoutingRulesResponse.verify|verify} messages. - * @param message GetRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.GetRoutingRulesResponse.verify|verify} messages. - * @param message GetRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetRoutingRulesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetRoutingRulesResponse; - - /** - * Decodes a GetRoutingRulesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetRoutingRulesResponse; - - /** - * Verifies a GetRoutingRulesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetRoutingRulesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetRoutingRulesResponse; - - /** - * Creates a plain object from a GetRoutingRulesResponse message. Also converts values to other types if specified. - * @param message GetRoutingRulesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetRoutingRulesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetRoutingRulesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSchemaRequest. */ - interface IGetSchemaRequest { - - /** GetSchemaRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** GetSchemaRequest tables */ - tables?: (string[]|null); - - /** GetSchemaRequest exclude_tables */ - exclude_tables?: (string[]|null); - - /** GetSchemaRequest include_views */ - include_views?: (boolean|null); - - /** GetSchemaRequest table_names_only */ - table_names_only?: (boolean|null); - - /** GetSchemaRequest table_sizes_only */ - table_sizes_only?: (boolean|null); - - /** GetSchemaRequest table_schema_only */ - table_schema_only?: (boolean|null); - } - - /** Represents a GetSchemaRequest. */ - class GetSchemaRequest implements IGetSchemaRequest { - - /** - * Constructs a new GetSchemaRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSchemaRequest); - - /** GetSchemaRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** GetSchemaRequest tables. */ - public tables: string[]; - - /** GetSchemaRequest exclude_tables. */ - public exclude_tables: string[]; - - /** GetSchemaRequest include_views. */ - public include_views: boolean; - - /** GetSchemaRequest table_names_only. */ - public table_names_only: boolean; - - /** GetSchemaRequest table_sizes_only. */ - public table_sizes_only: boolean; - - /** GetSchemaRequest table_schema_only. */ - public table_schema_only: boolean; - - /** - * Creates a new GetSchemaRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSchemaRequest instance - */ - public static create(properties?: vtctldata.IGetSchemaRequest): vtctldata.GetSchemaRequest; - - /** - * Encodes the specified GetSchemaRequest message. Does not implicitly {@link vtctldata.GetSchemaRequest.verify|verify} messages. - * @param message GetSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.GetSchemaRequest.verify|verify} messages. - * @param message GetSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSchemaRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSchemaRequest; - - /** - * Decodes a GetSchemaRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSchemaRequest; - - /** - * Verifies a GetSchemaRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSchemaRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSchemaRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSchemaRequest; - - /** - * Creates a plain object from a GetSchemaRequest message. Also converts values to other types if specified. - * @param message GetSchemaRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSchemaRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSchemaRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSchemaResponse. */ - interface IGetSchemaResponse { - - /** GetSchemaResponse schema */ - schema?: (tabletmanagerdata.ISchemaDefinition|null); - } - - /** Represents a GetSchemaResponse. */ - class GetSchemaResponse implements IGetSchemaResponse { - - /** - * Constructs a new GetSchemaResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSchemaResponse); - - /** GetSchemaResponse schema. */ - public schema?: (tabletmanagerdata.ISchemaDefinition|null); - - /** - * Creates a new GetSchemaResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSchemaResponse instance - */ - public static create(properties?: vtctldata.IGetSchemaResponse): vtctldata.GetSchemaResponse; - - /** - * Encodes the specified GetSchemaResponse message. Does not implicitly {@link vtctldata.GetSchemaResponse.verify|verify} messages. - * @param message GetSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.GetSchemaResponse.verify|verify} messages. - * @param message GetSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSchemaResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSchemaResponse; - - /** - * Decodes a GetSchemaResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSchemaResponse; - - /** - * Verifies a GetSchemaResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSchemaResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSchemaResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSchemaResponse; - - /** - * Creates a plain object from a GetSchemaResponse message. Also converts values to other types if specified. - * @param message GetSchemaResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSchemaResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSchemaResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSchemaMigrationsRequest. */ - interface IGetSchemaMigrationsRequest { - - /** GetSchemaMigrationsRequest keyspace */ - keyspace?: (string|null); - - /** GetSchemaMigrationsRequest uuid */ - uuid?: (string|null); - - /** GetSchemaMigrationsRequest migration_context */ - migration_context?: (string|null); - - /** GetSchemaMigrationsRequest status */ - status?: (vtctldata.SchemaMigration.Status|null); - - /** GetSchemaMigrationsRequest recent */ - recent?: (vttime.IDuration|null); - - /** GetSchemaMigrationsRequest order */ - order?: (vtctldata.QueryOrdering|null); - - /** GetSchemaMigrationsRequest limit */ - limit?: (number|Long|null); - - /** GetSchemaMigrationsRequest skip */ - skip?: (number|Long|null); - } - - /** Represents a GetSchemaMigrationsRequest. */ - class GetSchemaMigrationsRequest implements IGetSchemaMigrationsRequest { - - /** - * Constructs a new GetSchemaMigrationsRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSchemaMigrationsRequest); - - /** GetSchemaMigrationsRequest keyspace. */ - public keyspace: string; - - /** GetSchemaMigrationsRequest uuid. */ - public uuid: string; - - /** GetSchemaMigrationsRequest migration_context. */ - public migration_context: string; - - /** GetSchemaMigrationsRequest status. */ - public status: vtctldata.SchemaMigration.Status; - - /** GetSchemaMigrationsRequest recent. */ - public recent?: (vttime.IDuration|null); - - /** GetSchemaMigrationsRequest order. */ - public order: vtctldata.QueryOrdering; - - /** GetSchemaMigrationsRequest limit. */ - public limit: (number|Long); - - /** GetSchemaMigrationsRequest skip. */ - public skip: (number|Long); - - /** - * Creates a new GetSchemaMigrationsRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSchemaMigrationsRequest instance - */ - public static create(properties?: vtctldata.IGetSchemaMigrationsRequest): vtctldata.GetSchemaMigrationsRequest; - - /** - * Encodes the specified GetSchemaMigrationsRequest message. Does not implicitly {@link vtctldata.GetSchemaMigrationsRequest.verify|verify} messages. - * @param message GetSchemaMigrationsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSchemaMigrationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSchemaMigrationsRequest message, length delimited. Does not implicitly {@link vtctldata.GetSchemaMigrationsRequest.verify|verify} messages. - * @param message GetSchemaMigrationsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSchemaMigrationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSchemaMigrationsRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSchemaMigrationsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSchemaMigrationsRequest; - - /** - * Decodes a GetSchemaMigrationsRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSchemaMigrationsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSchemaMigrationsRequest; - - /** - * Verifies a GetSchemaMigrationsRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSchemaMigrationsRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSchemaMigrationsRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSchemaMigrationsRequest; - - /** - * Creates a plain object from a GetSchemaMigrationsRequest message. Also converts values to other types if specified. - * @param message GetSchemaMigrationsRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSchemaMigrationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSchemaMigrationsRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSchemaMigrationsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSchemaMigrationsResponse. */ - interface IGetSchemaMigrationsResponse { - - /** GetSchemaMigrationsResponse migrations */ - migrations?: (vtctldata.ISchemaMigration[]|null); - } - - /** Represents a GetSchemaMigrationsResponse. */ - class GetSchemaMigrationsResponse implements IGetSchemaMigrationsResponse { - - /** - * Constructs a new GetSchemaMigrationsResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSchemaMigrationsResponse); - - /** GetSchemaMigrationsResponse migrations. */ - public migrations: vtctldata.ISchemaMigration[]; - - /** - * Creates a new GetSchemaMigrationsResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSchemaMigrationsResponse instance - */ - public static create(properties?: vtctldata.IGetSchemaMigrationsResponse): vtctldata.GetSchemaMigrationsResponse; - - /** - * Encodes the specified GetSchemaMigrationsResponse message. Does not implicitly {@link vtctldata.GetSchemaMigrationsResponse.verify|verify} messages. - * @param message GetSchemaMigrationsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSchemaMigrationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSchemaMigrationsResponse message, length delimited. Does not implicitly {@link vtctldata.GetSchemaMigrationsResponse.verify|verify} messages. - * @param message GetSchemaMigrationsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSchemaMigrationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSchemaMigrationsResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSchemaMigrationsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSchemaMigrationsResponse; - - /** - * Decodes a GetSchemaMigrationsResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSchemaMigrationsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSchemaMigrationsResponse; - - /** - * Verifies a GetSchemaMigrationsResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSchemaMigrationsResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSchemaMigrationsResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSchemaMigrationsResponse; - - /** - * Creates a plain object from a GetSchemaMigrationsResponse message. Also converts values to other types if specified. - * @param message GetSchemaMigrationsResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSchemaMigrationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSchemaMigrationsResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSchemaMigrationsResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetShardReplicationRequest. */ - interface IGetShardReplicationRequest { - - /** GetShardReplicationRequest keyspace */ - keyspace?: (string|null); - - /** GetShardReplicationRequest shard */ - shard?: (string|null); - - /** GetShardReplicationRequest cells */ - cells?: (string[]|null); - } - - /** Represents a GetShardReplicationRequest. */ - class GetShardReplicationRequest implements IGetShardReplicationRequest { - - /** - * Constructs a new GetShardReplicationRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetShardReplicationRequest); - - /** GetShardReplicationRequest keyspace. */ - public keyspace: string; - - /** GetShardReplicationRequest shard. */ - public shard: string; - - /** GetShardReplicationRequest cells. */ - public cells: string[]; - - /** - * Creates a new GetShardReplicationRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetShardReplicationRequest instance - */ - public static create(properties?: vtctldata.IGetShardReplicationRequest): vtctldata.GetShardReplicationRequest; - - /** - * Encodes the specified GetShardReplicationRequest message. Does not implicitly {@link vtctldata.GetShardReplicationRequest.verify|verify} messages. - * @param message GetShardReplicationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetShardReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetShardReplicationRequest message, length delimited. Does not implicitly {@link vtctldata.GetShardReplicationRequest.verify|verify} messages. - * @param message GetShardReplicationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetShardReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetShardReplicationRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetShardReplicationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardReplicationRequest; - - /** - * Decodes a GetShardReplicationRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetShardReplicationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardReplicationRequest; - - /** - * Verifies a GetShardReplicationRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetShardReplicationRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetShardReplicationRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetShardReplicationRequest; - - /** - * Creates a plain object from a GetShardReplicationRequest message. Also converts values to other types if specified. - * @param message GetShardReplicationRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetShardReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetShardReplicationRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetShardReplicationRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetShardReplicationResponse. */ - interface IGetShardReplicationResponse { - - /** GetShardReplicationResponse shard_replication_by_cell */ - shard_replication_by_cell?: ({ [k: string]: topodata.IShardReplication }|null); - } - - /** Represents a GetShardReplicationResponse. */ - class GetShardReplicationResponse implements IGetShardReplicationResponse { - - /** - * Constructs a new GetShardReplicationResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetShardReplicationResponse); - - /** GetShardReplicationResponse shard_replication_by_cell. */ - public shard_replication_by_cell: { [k: string]: topodata.IShardReplication }; - - /** - * Creates a new GetShardReplicationResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetShardReplicationResponse instance - */ - public static create(properties?: vtctldata.IGetShardReplicationResponse): vtctldata.GetShardReplicationResponse; - - /** - * Encodes the specified GetShardReplicationResponse message. Does not implicitly {@link vtctldata.GetShardReplicationResponse.verify|verify} messages. - * @param message GetShardReplicationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetShardReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetShardReplicationResponse message, length delimited. Does not implicitly {@link vtctldata.GetShardReplicationResponse.verify|verify} messages. - * @param message GetShardReplicationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetShardReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetShardReplicationResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetShardReplicationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardReplicationResponse; - - /** - * Decodes a GetShardReplicationResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetShardReplicationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardReplicationResponse; - - /** - * Verifies a GetShardReplicationResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetShardReplicationResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetShardReplicationResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetShardReplicationResponse; - - /** - * Creates a plain object from a GetShardReplicationResponse message. Also converts values to other types if specified. - * @param message GetShardReplicationResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetShardReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetShardReplicationResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetShardReplicationResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetShardRequest. */ - interface IGetShardRequest { - - /** GetShardRequest keyspace */ - keyspace?: (string|null); - - /** GetShardRequest shard_name */ - shard_name?: (string|null); - } - - /** Represents a GetShardRequest. */ - class GetShardRequest implements IGetShardRequest { - - /** - * Constructs a new GetShardRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetShardRequest); - - /** GetShardRequest keyspace. */ - public keyspace: string; - - /** GetShardRequest shard_name. */ - public shard_name: string; - - /** - * Creates a new GetShardRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetShardRequest instance - */ - public static create(properties?: vtctldata.IGetShardRequest): vtctldata.GetShardRequest; - - /** - * Encodes the specified GetShardRequest message. Does not implicitly {@link vtctldata.GetShardRequest.verify|verify} messages. - * @param message GetShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetShardRequest message, length delimited. Does not implicitly {@link vtctldata.GetShardRequest.verify|verify} messages. - * @param message GetShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetShardRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardRequest; - - /** - * Decodes a GetShardRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardRequest; - - /** - * Verifies a GetShardRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetShardRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetShardRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetShardRequest; - - /** - * Creates a plain object from a GetShardRequest message. Also converts values to other types if specified. - * @param message GetShardRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetShardRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetShardRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetShardResponse. */ - interface IGetShardResponse { - - /** GetShardResponse shard */ - shard?: (vtctldata.IShard|null); - } - - /** Represents a GetShardResponse. */ - class GetShardResponse implements IGetShardResponse { - - /** - * Constructs a new GetShardResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetShardResponse); - - /** GetShardResponse shard. */ - public shard?: (vtctldata.IShard|null); - - /** - * Creates a new GetShardResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetShardResponse instance - */ - public static create(properties?: vtctldata.IGetShardResponse): vtctldata.GetShardResponse; - - /** - * Encodes the specified GetShardResponse message. Does not implicitly {@link vtctldata.GetShardResponse.verify|verify} messages. - * @param message GetShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetShardResponse message, length delimited. Does not implicitly {@link vtctldata.GetShardResponse.verify|verify} messages. - * @param message GetShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetShardResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardResponse; - - /** - * Decodes a GetShardResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardResponse; - - /** - * Verifies a GetShardResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetShardResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetShardResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetShardResponse; - - /** - * Creates a plain object from a GetShardResponse message. Also converts values to other types if specified. - * @param message GetShardResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetShardResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetShardResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetShardRoutingRulesRequest. */ - interface IGetShardRoutingRulesRequest { - } - - /** Represents a GetShardRoutingRulesRequest. */ - class GetShardRoutingRulesRequest implements IGetShardRoutingRulesRequest { - - /** - * Constructs a new GetShardRoutingRulesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetShardRoutingRulesRequest); - - /** - * Creates a new GetShardRoutingRulesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetShardRoutingRulesRequest instance - */ - public static create(properties?: vtctldata.IGetShardRoutingRulesRequest): vtctldata.GetShardRoutingRulesRequest; - - /** - * Encodes the specified GetShardRoutingRulesRequest message. Does not implicitly {@link vtctldata.GetShardRoutingRulesRequest.verify|verify} messages. - * @param message GetShardRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetShardRoutingRulesRequest message, length delimited. Does not implicitly {@link vtctldata.GetShardRoutingRulesRequest.verify|verify} messages. - * @param message GetShardRoutingRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetShardRoutingRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetShardRoutingRulesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetShardRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardRoutingRulesRequest; - - /** - * Decodes a GetShardRoutingRulesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetShardRoutingRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardRoutingRulesRequest; - - /** - * Verifies a GetShardRoutingRulesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetShardRoutingRulesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetShardRoutingRulesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetShardRoutingRulesRequest; - - /** - * Creates a plain object from a GetShardRoutingRulesRequest message. Also converts values to other types if specified. - * @param message GetShardRoutingRulesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetShardRoutingRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetShardRoutingRulesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetShardRoutingRulesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetShardRoutingRulesResponse. */ - interface IGetShardRoutingRulesResponse { - - /** GetShardRoutingRulesResponse shard_routing_rules */ - shard_routing_rules?: (vschema.IShardRoutingRules|null); - } - - /** Represents a GetShardRoutingRulesResponse. */ - class GetShardRoutingRulesResponse implements IGetShardRoutingRulesResponse { - - /** - * Constructs a new GetShardRoutingRulesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetShardRoutingRulesResponse); - - /** GetShardRoutingRulesResponse shard_routing_rules. */ - public shard_routing_rules?: (vschema.IShardRoutingRules|null); - - /** - * Creates a new GetShardRoutingRulesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetShardRoutingRulesResponse instance - */ - public static create(properties?: vtctldata.IGetShardRoutingRulesResponse): vtctldata.GetShardRoutingRulesResponse; - - /** - * Encodes the specified GetShardRoutingRulesResponse message. Does not implicitly {@link vtctldata.GetShardRoutingRulesResponse.verify|verify} messages. - * @param message GetShardRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetShardRoutingRulesResponse message, length delimited. Does not implicitly {@link vtctldata.GetShardRoutingRulesResponse.verify|verify} messages. - * @param message GetShardRoutingRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetShardRoutingRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetShardRoutingRulesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetShardRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetShardRoutingRulesResponse; - - /** - * Decodes a GetShardRoutingRulesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetShardRoutingRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetShardRoutingRulesResponse; - - /** - * Verifies a GetShardRoutingRulesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetShardRoutingRulesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetShardRoutingRulesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetShardRoutingRulesResponse; - - /** - * Creates a plain object from a GetShardRoutingRulesResponse message. Also converts values to other types if specified. - * @param message GetShardRoutingRulesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetShardRoutingRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetShardRoutingRulesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetShardRoutingRulesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSrvKeyspaceNamesRequest. */ - interface IGetSrvKeyspaceNamesRequest { - - /** GetSrvKeyspaceNamesRequest cells */ - cells?: (string[]|null); - } - - /** Represents a GetSrvKeyspaceNamesRequest. */ - class GetSrvKeyspaceNamesRequest implements IGetSrvKeyspaceNamesRequest { - - /** - * Constructs a new GetSrvKeyspaceNamesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSrvKeyspaceNamesRequest); - - /** GetSrvKeyspaceNamesRequest cells. */ - public cells: string[]; - - /** - * Creates a new GetSrvKeyspaceNamesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSrvKeyspaceNamesRequest instance - */ - public static create(properties?: vtctldata.IGetSrvKeyspaceNamesRequest): vtctldata.GetSrvKeyspaceNamesRequest; - - /** - * Encodes the specified GetSrvKeyspaceNamesRequest message. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesRequest.verify|verify} messages. - * @param message GetSrvKeyspaceNamesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSrvKeyspaceNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSrvKeyspaceNamesRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesRequest.verify|verify} messages. - * @param message GetSrvKeyspaceNamesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSrvKeyspaceNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSrvKeyspaceNamesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSrvKeyspaceNamesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspaceNamesRequest; - - /** - * Decodes a GetSrvKeyspaceNamesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSrvKeyspaceNamesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspaceNamesRequest; - - /** - * Verifies a GetSrvKeyspaceNamesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSrvKeyspaceNamesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSrvKeyspaceNamesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspaceNamesRequest; - - /** - * Creates a plain object from a GetSrvKeyspaceNamesRequest message. Also converts values to other types if specified. - * @param message GetSrvKeyspaceNamesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSrvKeyspaceNamesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSrvKeyspaceNamesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSrvKeyspaceNamesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSrvKeyspaceNamesResponse. */ - interface IGetSrvKeyspaceNamesResponse { - - /** GetSrvKeyspaceNamesResponse names */ - names?: ({ [k: string]: vtctldata.GetSrvKeyspaceNamesResponse.INameList }|null); - } - - /** Represents a GetSrvKeyspaceNamesResponse. */ - class GetSrvKeyspaceNamesResponse implements IGetSrvKeyspaceNamesResponse { - - /** - * Constructs a new GetSrvKeyspaceNamesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSrvKeyspaceNamesResponse); - - /** GetSrvKeyspaceNamesResponse names. */ - public names: { [k: string]: vtctldata.GetSrvKeyspaceNamesResponse.INameList }; - - /** - * Creates a new GetSrvKeyspaceNamesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSrvKeyspaceNamesResponse instance - */ - public static create(properties?: vtctldata.IGetSrvKeyspaceNamesResponse): vtctldata.GetSrvKeyspaceNamesResponse; - - /** - * Encodes the specified GetSrvKeyspaceNamesResponse message. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.verify|verify} messages. - * @param message GetSrvKeyspaceNamesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSrvKeyspaceNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSrvKeyspaceNamesResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.verify|verify} messages. - * @param message GetSrvKeyspaceNamesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSrvKeyspaceNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSrvKeyspaceNamesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSrvKeyspaceNamesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspaceNamesResponse; - - /** - * Decodes a GetSrvKeyspaceNamesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSrvKeyspaceNamesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspaceNamesResponse; - - /** - * Verifies a GetSrvKeyspaceNamesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSrvKeyspaceNamesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSrvKeyspaceNamesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspaceNamesResponse; - - /** - * Creates a plain object from a GetSrvKeyspaceNamesResponse message. Also converts values to other types if specified. - * @param message GetSrvKeyspaceNamesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSrvKeyspaceNamesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSrvKeyspaceNamesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSrvKeyspaceNamesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace GetSrvKeyspaceNamesResponse { - - /** Properties of a NameList. */ - interface INameList { - - /** NameList names */ - names?: (string[]|null); - } - - /** Represents a NameList. */ - class NameList implements INameList { - - /** - * Constructs a new NameList. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.GetSrvKeyspaceNamesResponse.INameList); - - /** NameList names. */ - public names: string[]; - - /** - * Creates a new NameList instance using the specified properties. - * @param [properties] Properties to set - * @returns NameList instance - */ - public static create(properties?: vtctldata.GetSrvKeyspaceNamesResponse.INameList): vtctldata.GetSrvKeyspaceNamesResponse.NameList; - - /** - * Encodes the specified NameList message. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.NameList.verify|verify} messages. - * @param message NameList message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.GetSrvKeyspaceNamesResponse.INameList, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified NameList message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspaceNamesResponse.NameList.verify|verify} messages. - * @param message NameList message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.GetSrvKeyspaceNamesResponse.INameList, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a NameList message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns NameList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspaceNamesResponse.NameList; - - /** - * Decodes a NameList message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns NameList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspaceNamesResponse.NameList; - - /** - * Verifies a NameList message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a NameList message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns NameList - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspaceNamesResponse.NameList; - - /** - * Creates a plain object from a NameList message. Also converts values to other types if specified. - * @param message NameList - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSrvKeyspaceNamesResponse.NameList, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this NameList to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for NameList - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of a GetSrvKeyspacesRequest. */ - interface IGetSrvKeyspacesRequest { - - /** GetSrvKeyspacesRequest keyspace */ - keyspace?: (string|null); - - /** GetSrvKeyspacesRequest cells */ - cells?: (string[]|null); - } - - /** Represents a GetSrvKeyspacesRequest. */ - class GetSrvKeyspacesRequest implements IGetSrvKeyspacesRequest { - - /** - * Constructs a new GetSrvKeyspacesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSrvKeyspacesRequest); - - /** GetSrvKeyspacesRequest keyspace. */ - public keyspace: string; - - /** GetSrvKeyspacesRequest cells. */ - public cells: string[]; - - /** - * Creates a new GetSrvKeyspacesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSrvKeyspacesRequest instance - */ - public static create(properties?: vtctldata.IGetSrvKeyspacesRequest): vtctldata.GetSrvKeyspacesRequest; - - /** - * Encodes the specified GetSrvKeyspacesRequest message. Does not implicitly {@link vtctldata.GetSrvKeyspacesRequest.verify|verify} messages. - * @param message GetSrvKeyspacesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSrvKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSrvKeyspacesRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspacesRequest.verify|verify} messages. - * @param message GetSrvKeyspacesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSrvKeyspacesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSrvKeyspacesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSrvKeyspacesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspacesRequest; - - /** - * Decodes a GetSrvKeyspacesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSrvKeyspacesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspacesRequest; - - /** - * Verifies a GetSrvKeyspacesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSrvKeyspacesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSrvKeyspacesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspacesRequest; - - /** - * Creates a plain object from a GetSrvKeyspacesRequest message. Also converts values to other types if specified. - * @param message GetSrvKeyspacesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSrvKeyspacesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSrvKeyspacesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSrvKeyspacesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSrvKeyspacesResponse. */ - interface IGetSrvKeyspacesResponse { - - /** GetSrvKeyspacesResponse srv_keyspaces */ - srv_keyspaces?: ({ [k: string]: topodata.ISrvKeyspace }|null); - } - - /** Represents a GetSrvKeyspacesResponse. */ - class GetSrvKeyspacesResponse implements IGetSrvKeyspacesResponse { - - /** - * Constructs a new GetSrvKeyspacesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSrvKeyspacesResponse); - - /** GetSrvKeyspacesResponse srv_keyspaces. */ - public srv_keyspaces: { [k: string]: topodata.ISrvKeyspace }; - - /** - * Creates a new GetSrvKeyspacesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSrvKeyspacesResponse instance - */ - public static create(properties?: vtctldata.IGetSrvKeyspacesResponse): vtctldata.GetSrvKeyspacesResponse; - - /** - * Encodes the specified GetSrvKeyspacesResponse message. Does not implicitly {@link vtctldata.GetSrvKeyspacesResponse.verify|verify} messages. - * @param message GetSrvKeyspacesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSrvKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSrvKeyspacesResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvKeyspacesResponse.verify|verify} messages. - * @param message GetSrvKeyspacesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSrvKeyspacesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSrvKeyspacesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSrvKeyspacesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvKeyspacesResponse; - - /** - * Decodes a GetSrvKeyspacesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSrvKeyspacesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvKeyspacesResponse; - - /** - * Verifies a GetSrvKeyspacesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSrvKeyspacesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSrvKeyspacesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvKeyspacesResponse; - - /** - * Creates a plain object from a GetSrvKeyspacesResponse message. Also converts values to other types if specified. - * @param message GetSrvKeyspacesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSrvKeyspacesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSrvKeyspacesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSrvKeyspacesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an UpdateThrottlerConfigRequest. */ - interface IUpdateThrottlerConfigRequest { - - /** UpdateThrottlerConfigRequest keyspace */ - keyspace?: (string|null); - - /** UpdateThrottlerConfigRequest enable */ - enable?: (boolean|null); - - /** UpdateThrottlerConfigRequest disable */ - disable?: (boolean|null); - - /** UpdateThrottlerConfigRequest threshold */ - threshold?: (number|null); - - /** UpdateThrottlerConfigRequest custom_query */ - custom_query?: (string|null); - - /** UpdateThrottlerConfigRequest custom_query_set */ - custom_query_set?: (boolean|null); - - /** UpdateThrottlerConfigRequest check_as_check_self */ - check_as_check_self?: (boolean|null); - - /** UpdateThrottlerConfigRequest check_as_check_shard */ - check_as_check_shard?: (boolean|null); - - /** UpdateThrottlerConfigRequest throttled_app */ - throttled_app?: (topodata.IThrottledAppRule|null); - - /** UpdateThrottlerConfigRequest metric_name */ - metric_name?: (string|null); - - /** UpdateThrottlerConfigRequest app_name */ - app_name?: (string|null); - - /** UpdateThrottlerConfigRequest app_checked_metrics */ - app_checked_metrics?: (string[]|null); - } - - /** Represents an UpdateThrottlerConfigRequest. */ - class UpdateThrottlerConfigRequest implements IUpdateThrottlerConfigRequest { - - /** - * Constructs a new UpdateThrottlerConfigRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IUpdateThrottlerConfigRequest); - - /** UpdateThrottlerConfigRequest keyspace. */ - public keyspace: string; - - /** UpdateThrottlerConfigRequest enable. */ - public enable: boolean; - - /** UpdateThrottlerConfigRequest disable. */ - public disable: boolean; - - /** UpdateThrottlerConfigRequest threshold. */ - public threshold: number; - - /** UpdateThrottlerConfigRequest custom_query. */ - public custom_query: string; - - /** UpdateThrottlerConfigRequest custom_query_set. */ - public custom_query_set: boolean; - - /** UpdateThrottlerConfigRequest check_as_check_self. */ - public check_as_check_self: boolean; - - /** UpdateThrottlerConfigRequest check_as_check_shard. */ - public check_as_check_shard: boolean; - - /** UpdateThrottlerConfigRequest throttled_app. */ - public throttled_app?: (topodata.IThrottledAppRule|null); - - /** UpdateThrottlerConfigRequest metric_name. */ - public metric_name: string; - - /** UpdateThrottlerConfigRequest app_name. */ - public app_name: string; - - /** UpdateThrottlerConfigRequest app_checked_metrics. */ - public app_checked_metrics: string[]; - - /** - * Creates a new UpdateThrottlerConfigRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns UpdateThrottlerConfigRequest instance - */ - public static create(properties?: vtctldata.IUpdateThrottlerConfigRequest): vtctldata.UpdateThrottlerConfigRequest; - - /** - * Encodes the specified UpdateThrottlerConfigRequest message. Does not implicitly {@link vtctldata.UpdateThrottlerConfigRequest.verify|verify} messages. - * @param message UpdateThrottlerConfigRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IUpdateThrottlerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UpdateThrottlerConfigRequest message, length delimited. Does not implicitly {@link vtctldata.UpdateThrottlerConfigRequest.verify|verify} messages. - * @param message UpdateThrottlerConfigRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IUpdateThrottlerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an UpdateThrottlerConfigRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UpdateThrottlerConfigRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateThrottlerConfigRequest; - - /** - * Decodes an UpdateThrottlerConfigRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UpdateThrottlerConfigRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateThrottlerConfigRequest; - - /** - * Verifies an UpdateThrottlerConfigRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an UpdateThrottlerConfigRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UpdateThrottlerConfigRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.UpdateThrottlerConfigRequest; - - /** - * Creates a plain object from an UpdateThrottlerConfigRequest message. Also converts values to other types if specified. - * @param message UpdateThrottlerConfigRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.UpdateThrottlerConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UpdateThrottlerConfigRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UpdateThrottlerConfigRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an UpdateThrottlerConfigResponse. */ - interface IUpdateThrottlerConfigResponse { - } - - /** Represents an UpdateThrottlerConfigResponse. */ - class UpdateThrottlerConfigResponse implements IUpdateThrottlerConfigResponse { - - /** - * Constructs a new UpdateThrottlerConfigResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IUpdateThrottlerConfigResponse); - - /** - * Creates a new UpdateThrottlerConfigResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns UpdateThrottlerConfigResponse instance - */ - public static create(properties?: vtctldata.IUpdateThrottlerConfigResponse): vtctldata.UpdateThrottlerConfigResponse; - - /** - * Encodes the specified UpdateThrottlerConfigResponse message. Does not implicitly {@link vtctldata.UpdateThrottlerConfigResponse.verify|verify} messages. - * @param message UpdateThrottlerConfigResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IUpdateThrottlerConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UpdateThrottlerConfigResponse message, length delimited. Does not implicitly {@link vtctldata.UpdateThrottlerConfigResponse.verify|verify} messages. - * @param message UpdateThrottlerConfigResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IUpdateThrottlerConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an UpdateThrottlerConfigResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UpdateThrottlerConfigResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateThrottlerConfigResponse; - - /** - * Decodes an UpdateThrottlerConfigResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UpdateThrottlerConfigResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateThrottlerConfigResponse; - - /** - * Verifies an UpdateThrottlerConfigResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an UpdateThrottlerConfigResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UpdateThrottlerConfigResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.UpdateThrottlerConfigResponse; - - /** - * Creates a plain object from an UpdateThrottlerConfigResponse message. Also converts values to other types if specified. - * @param message UpdateThrottlerConfigResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.UpdateThrottlerConfigResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UpdateThrottlerConfigResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UpdateThrottlerConfigResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSrvVSchemaRequest. */ - interface IGetSrvVSchemaRequest { - - /** GetSrvVSchemaRequest cell */ - cell?: (string|null); - } - - /** Represents a GetSrvVSchemaRequest. */ - class GetSrvVSchemaRequest implements IGetSrvVSchemaRequest { - - /** - * Constructs a new GetSrvVSchemaRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSrvVSchemaRequest); - - /** GetSrvVSchemaRequest cell. */ - public cell: string; - - /** - * Creates a new GetSrvVSchemaRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSrvVSchemaRequest instance - */ - public static create(properties?: vtctldata.IGetSrvVSchemaRequest): vtctldata.GetSrvVSchemaRequest; - - /** - * Encodes the specified GetSrvVSchemaRequest message. Does not implicitly {@link vtctldata.GetSrvVSchemaRequest.verify|verify} messages. - * @param message GetSrvVSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSrvVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemaRequest.verify|verify} messages. - * @param message GetSrvVSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSrvVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSrvVSchemaRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSrvVSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemaRequest; - - /** - * Decodes a GetSrvVSchemaRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSrvVSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemaRequest; - - /** - * Verifies a GetSrvVSchemaRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSrvVSchemaRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSrvVSchemaRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemaRequest; - - /** - * Creates a plain object from a GetSrvVSchemaRequest message. Also converts values to other types if specified. - * @param message GetSrvVSchemaRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSrvVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSrvVSchemaRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSrvVSchemaRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSrvVSchemaResponse. */ - interface IGetSrvVSchemaResponse { - - /** GetSrvVSchemaResponse srv_v_schema */ - srv_v_schema?: (vschema.ISrvVSchema|null); - } - - /** Represents a GetSrvVSchemaResponse. */ - class GetSrvVSchemaResponse implements IGetSrvVSchemaResponse { - - /** - * Constructs a new GetSrvVSchemaResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSrvVSchemaResponse); - - /** GetSrvVSchemaResponse srv_v_schema. */ - public srv_v_schema?: (vschema.ISrvVSchema|null); - - /** - * Creates a new GetSrvVSchemaResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSrvVSchemaResponse instance - */ - public static create(properties?: vtctldata.IGetSrvVSchemaResponse): vtctldata.GetSrvVSchemaResponse; - - /** - * Encodes the specified GetSrvVSchemaResponse message. Does not implicitly {@link vtctldata.GetSrvVSchemaResponse.verify|verify} messages. - * @param message GetSrvVSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSrvVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemaResponse.verify|verify} messages. - * @param message GetSrvVSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSrvVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSrvVSchemaResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSrvVSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemaResponse; - - /** - * Decodes a GetSrvVSchemaResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSrvVSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemaResponse; - - /** - * Verifies a GetSrvVSchemaResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSrvVSchemaResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSrvVSchemaResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemaResponse; - - /** - * Creates a plain object from a GetSrvVSchemaResponse message. Also converts values to other types if specified. - * @param message GetSrvVSchemaResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSrvVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSrvVSchemaResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSrvVSchemaResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSrvVSchemasRequest. */ - interface IGetSrvVSchemasRequest { - - /** GetSrvVSchemasRequest cells */ - cells?: (string[]|null); - } - - /** Represents a GetSrvVSchemasRequest. */ - class GetSrvVSchemasRequest implements IGetSrvVSchemasRequest { - - /** - * Constructs a new GetSrvVSchemasRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSrvVSchemasRequest); - - /** GetSrvVSchemasRequest cells. */ - public cells: string[]; - - /** - * Creates a new GetSrvVSchemasRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSrvVSchemasRequest instance - */ - public static create(properties?: vtctldata.IGetSrvVSchemasRequest): vtctldata.GetSrvVSchemasRequest; - - /** - * Encodes the specified GetSrvVSchemasRequest message. Does not implicitly {@link vtctldata.GetSrvVSchemasRequest.verify|verify} messages. - * @param message GetSrvVSchemasRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSrvVSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSrvVSchemasRequest message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemasRequest.verify|verify} messages. - * @param message GetSrvVSchemasRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSrvVSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSrvVSchemasRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSrvVSchemasRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemasRequest; - - /** - * Decodes a GetSrvVSchemasRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSrvVSchemasRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemasRequest; - - /** - * Verifies a GetSrvVSchemasRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSrvVSchemasRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSrvVSchemasRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemasRequest; - - /** - * Creates a plain object from a GetSrvVSchemasRequest message. Also converts values to other types if specified. - * @param message GetSrvVSchemasRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSrvVSchemasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSrvVSchemasRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSrvVSchemasRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetSrvVSchemasResponse. */ - interface IGetSrvVSchemasResponse { - - /** GetSrvVSchemasResponse srv_v_schemas */ - srv_v_schemas?: ({ [k: string]: vschema.ISrvVSchema }|null); - } - - /** Represents a GetSrvVSchemasResponse. */ - class GetSrvVSchemasResponse implements IGetSrvVSchemasResponse { - - /** - * Constructs a new GetSrvVSchemasResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetSrvVSchemasResponse); - - /** GetSrvVSchemasResponse srv_v_schemas. */ - public srv_v_schemas: { [k: string]: vschema.ISrvVSchema }; - - /** - * Creates a new GetSrvVSchemasResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetSrvVSchemasResponse instance - */ - public static create(properties?: vtctldata.IGetSrvVSchemasResponse): vtctldata.GetSrvVSchemasResponse; - - /** - * Encodes the specified GetSrvVSchemasResponse message. Does not implicitly {@link vtctldata.GetSrvVSchemasResponse.verify|verify} messages. - * @param message GetSrvVSchemasResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetSrvVSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetSrvVSchemasResponse message, length delimited. Does not implicitly {@link vtctldata.GetSrvVSchemasResponse.verify|verify} messages. - * @param message GetSrvVSchemasResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetSrvVSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetSrvVSchemasResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetSrvVSchemasResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetSrvVSchemasResponse; - - /** - * Decodes a GetSrvVSchemasResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetSrvVSchemasResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetSrvVSchemasResponse; - - /** - * Verifies a GetSrvVSchemasResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetSrvVSchemasResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetSrvVSchemasResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetSrvVSchemasResponse; - - /** - * Creates a plain object from a GetSrvVSchemasResponse message. Also converts values to other types if specified. - * @param message GetSrvVSchemasResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetSrvVSchemasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetSrvVSchemasResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetSrvVSchemasResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetTabletRequest. */ - interface IGetTabletRequest { - - /** GetTabletRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a GetTabletRequest. */ - class GetTabletRequest implements IGetTabletRequest { - - /** - * Constructs a new GetTabletRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetTabletRequest); - - /** GetTabletRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new GetTabletRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetTabletRequest instance - */ - public static create(properties?: vtctldata.IGetTabletRequest): vtctldata.GetTabletRequest; - - /** - * Encodes the specified GetTabletRequest message. Does not implicitly {@link vtctldata.GetTabletRequest.verify|verify} messages. - * @param message GetTabletRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetTabletRequest message, length delimited. Does not implicitly {@link vtctldata.GetTabletRequest.verify|verify} messages. - * @param message GetTabletRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetTabletRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetTabletRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletRequest; - - /** - * Decodes a GetTabletRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetTabletRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletRequest; - - /** - * Verifies a GetTabletRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetTabletRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetTabletRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletRequest; - - /** - * Creates a plain object from a GetTabletRequest message. Also converts values to other types if specified. - * @param message GetTabletRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetTabletRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetTabletRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetTabletResponse. */ - interface IGetTabletResponse { - - /** GetTabletResponse tablet */ - tablet?: (topodata.ITablet|null); - } - - /** Represents a GetTabletResponse. */ - class GetTabletResponse implements IGetTabletResponse { - - /** - * Constructs a new GetTabletResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetTabletResponse); - - /** GetTabletResponse tablet. */ - public tablet?: (topodata.ITablet|null); - - /** - * Creates a new GetTabletResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetTabletResponse instance - */ - public static create(properties?: vtctldata.IGetTabletResponse): vtctldata.GetTabletResponse; - - /** - * Encodes the specified GetTabletResponse message. Does not implicitly {@link vtctldata.GetTabletResponse.verify|verify} messages. - * @param message GetTabletResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetTabletResponse message, length delimited. Does not implicitly {@link vtctldata.GetTabletResponse.verify|verify} messages. - * @param message GetTabletResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetTabletResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetTabletResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletResponse; - - /** - * Decodes a GetTabletResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetTabletResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletResponse; - - /** - * Verifies a GetTabletResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetTabletResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetTabletResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletResponse; - - /** - * Creates a plain object from a GetTabletResponse message. Also converts values to other types if specified. - * @param message GetTabletResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetTabletResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetTabletResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetTabletsRequest. */ - interface IGetTabletsRequest { - - /** GetTabletsRequest keyspace */ - keyspace?: (string|null); - - /** GetTabletsRequest shard */ - shard?: (string|null); - - /** GetTabletsRequest cells */ - cells?: (string[]|null); - - /** GetTabletsRequest strict */ - strict?: (boolean|null); - - /** GetTabletsRequest tablet_aliases */ - tablet_aliases?: (topodata.ITabletAlias[]|null); - - /** GetTabletsRequest tablet_type */ - tablet_type?: (topodata.TabletType|null); - } - - /** Represents a GetTabletsRequest. */ - class GetTabletsRequest implements IGetTabletsRequest { - - /** - * Constructs a new GetTabletsRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetTabletsRequest); - - /** GetTabletsRequest keyspace. */ - public keyspace: string; - - /** GetTabletsRequest shard. */ - public shard: string; - - /** GetTabletsRequest cells. */ - public cells: string[]; - - /** GetTabletsRequest strict. */ - public strict: boolean; - - /** GetTabletsRequest tablet_aliases. */ - public tablet_aliases: topodata.ITabletAlias[]; - - /** GetTabletsRequest tablet_type. */ - public tablet_type: topodata.TabletType; - - /** - * Creates a new GetTabletsRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetTabletsRequest instance - */ - public static create(properties?: vtctldata.IGetTabletsRequest): vtctldata.GetTabletsRequest; - - /** - * Encodes the specified GetTabletsRequest message. Does not implicitly {@link vtctldata.GetTabletsRequest.verify|verify} messages. - * @param message GetTabletsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetTabletsRequest message, length delimited. Does not implicitly {@link vtctldata.GetTabletsRequest.verify|verify} messages. - * @param message GetTabletsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetTabletsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetTabletsRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetTabletsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletsRequest; - - /** - * Decodes a GetTabletsRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetTabletsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletsRequest; - - /** - * Verifies a GetTabletsRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetTabletsRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetTabletsRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletsRequest; - - /** - * Creates a plain object from a GetTabletsRequest message. Also converts values to other types if specified. - * @param message GetTabletsRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetTabletsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetTabletsRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetTabletsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetTabletsResponse. */ - interface IGetTabletsResponse { - - /** GetTabletsResponse tablets */ - tablets?: (topodata.ITablet[]|null); - } - - /** Represents a GetTabletsResponse. */ - class GetTabletsResponse implements IGetTabletsResponse { - - /** - * Constructs a new GetTabletsResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetTabletsResponse); - - /** GetTabletsResponse tablets. */ - public tablets: topodata.ITablet[]; - - /** - * Creates a new GetTabletsResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetTabletsResponse instance - */ - public static create(properties?: vtctldata.IGetTabletsResponse): vtctldata.GetTabletsResponse; - - /** - * Encodes the specified GetTabletsResponse message. Does not implicitly {@link vtctldata.GetTabletsResponse.verify|verify} messages. - * @param message GetTabletsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetTabletsResponse message, length delimited. Does not implicitly {@link vtctldata.GetTabletsResponse.verify|verify} messages. - * @param message GetTabletsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetTabletsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetTabletsResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetTabletsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTabletsResponse; - - /** - * Decodes a GetTabletsResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetTabletsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTabletsResponse; - - /** - * Verifies a GetTabletsResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetTabletsResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetTabletsResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetTabletsResponse; - - /** - * Creates a plain object from a GetTabletsResponse message. Also converts values to other types if specified. - * @param message GetTabletsResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetTabletsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetTabletsResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetTabletsResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetThrottlerStatusRequest. */ - interface IGetThrottlerStatusRequest { - - /** GetThrottlerStatusRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a GetThrottlerStatusRequest. */ - class GetThrottlerStatusRequest implements IGetThrottlerStatusRequest { - - /** - * Constructs a new GetThrottlerStatusRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetThrottlerStatusRequest); - - /** GetThrottlerStatusRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new GetThrottlerStatusRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetThrottlerStatusRequest instance - */ - public static create(properties?: vtctldata.IGetThrottlerStatusRequest): vtctldata.GetThrottlerStatusRequest; - - /** - * Encodes the specified GetThrottlerStatusRequest message. Does not implicitly {@link vtctldata.GetThrottlerStatusRequest.verify|verify} messages. - * @param message GetThrottlerStatusRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetThrottlerStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetThrottlerStatusRequest message, length delimited. Does not implicitly {@link vtctldata.GetThrottlerStatusRequest.verify|verify} messages. - * @param message GetThrottlerStatusRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetThrottlerStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetThrottlerStatusRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetThrottlerStatusRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetThrottlerStatusRequest; - - /** - * Decodes a GetThrottlerStatusRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetThrottlerStatusRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetThrottlerStatusRequest; - - /** - * Verifies a GetThrottlerStatusRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetThrottlerStatusRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetThrottlerStatusRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetThrottlerStatusRequest; - - /** - * Creates a plain object from a GetThrottlerStatusRequest message. Also converts values to other types if specified. - * @param message GetThrottlerStatusRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetThrottlerStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetThrottlerStatusRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetThrottlerStatusRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetThrottlerStatusResponse. */ - interface IGetThrottlerStatusResponse { - - /** GetThrottlerStatusResponse status */ - status?: (tabletmanagerdata.IGetThrottlerStatusResponse|null); - } - - /** Represents a GetThrottlerStatusResponse. */ - class GetThrottlerStatusResponse implements IGetThrottlerStatusResponse { - - /** - * Constructs a new GetThrottlerStatusResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetThrottlerStatusResponse); - - /** GetThrottlerStatusResponse status. */ - public status?: (tabletmanagerdata.IGetThrottlerStatusResponse|null); - - /** - * Creates a new GetThrottlerStatusResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetThrottlerStatusResponse instance - */ - public static create(properties?: vtctldata.IGetThrottlerStatusResponse): vtctldata.GetThrottlerStatusResponse; - - /** - * Encodes the specified GetThrottlerStatusResponse message. Does not implicitly {@link vtctldata.GetThrottlerStatusResponse.verify|verify} messages. - * @param message GetThrottlerStatusResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetThrottlerStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetThrottlerStatusResponse message, length delimited. Does not implicitly {@link vtctldata.GetThrottlerStatusResponse.verify|verify} messages. - * @param message GetThrottlerStatusResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetThrottlerStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetThrottlerStatusResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetThrottlerStatusResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetThrottlerStatusResponse; - - /** - * Decodes a GetThrottlerStatusResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetThrottlerStatusResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetThrottlerStatusResponse; - - /** - * Verifies a GetThrottlerStatusResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetThrottlerStatusResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetThrottlerStatusResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetThrottlerStatusResponse; - - /** - * Creates a plain object from a GetThrottlerStatusResponse message. Also converts values to other types if specified. - * @param message GetThrottlerStatusResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetThrottlerStatusResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetThrottlerStatusResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetThrottlerStatusResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetTopologyPathRequest. */ - interface IGetTopologyPathRequest { - - /** GetTopologyPathRequest path */ - path?: (string|null); - - /** GetTopologyPathRequest version */ - version?: (number|Long|null); - - /** GetTopologyPathRequest as_json */ - as_json?: (boolean|null); - } - - /** Represents a GetTopologyPathRequest. */ - class GetTopologyPathRequest implements IGetTopologyPathRequest { - - /** - * Constructs a new GetTopologyPathRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetTopologyPathRequest); - - /** GetTopologyPathRequest path. */ - public path: string; - - /** GetTopologyPathRequest version. */ - public version: (number|Long); - - /** GetTopologyPathRequest as_json. */ - public as_json: boolean; - - /** - * Creates a new GetTopologyPathRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetTopologyPathRequest instance - */ - public static create(properties?: vtctldata.IGetTopologyPathRequest): vtctldata.GetTopologyPathRequest; - - /** - * Encodes the specified GetTopologyPathRequest message. Does not implicitly {@link vtctldata.GetTopologyPathRequest.verify|verify} messages. - * @param message GetTopologyPathRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetTopologyPathRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetTopologyPathRequest message, length delimited. Does not implicitly {@link vtctldata.GetTopologyPathRequest.verify|verify} messages. - * @param message GetTopologyPathRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetTopologyPathRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetTopologyPathRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetTopologyPathRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTopologyPathRequest; - - /** - * Decodes a GetTopologyPathRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetTopologyPathRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTopologyPathRequest; - - /** - * Verifies a GetTopologyPathRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetTopologyPathRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetTopologyPathRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetTopologyPathRequest; - - /** - * Creates a plain object from a GetTopologyPathRequest message. Also converts values to other types if specified. - * @param message GetTopologyPathRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetTopologyPathRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetTopologyPathRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetTopologyPathRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetTopologyPathResponse. */ - interface IGetTopologyPathResponse { - - /** GetTopologyPathResponse cell */ - cell?: (vtctldata.ITopologyCell|null); - } - - /** Represents a GetTopologyPathResponse. */ - class GetTopologyPathResponse implements IGetTopologyPathResponse { - - /** - * Constructs a new GetTopologyPathResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetTopologyPathResponse); - - /** GetTopologyPathResponse cell. */ - public cell?: (vtctldata.ITopologyCell|null); - - /** - * Creates a new GetTopologyPathResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetTopologyPathResponse instance - */ - public static create(properties?: vtctldata.IGetTopologyPathResponse): vtctldata.GetTopologyPathResponse; - - /** - * Encodes the specified GetTopologyPathResponse message. Does not implicitly {@link vtctldata.GetTopologyPathResponse.verify|verify} messages. - * @param message GetTopologyPathResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetTopologyPathResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetTopologyPathResponse message, length delimited. Does not implicitly {@link vtctldata.GetTopologyPathResponse.verify|verify} messages. - * @param message GetTopologyPathResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetTopologyPathResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetTopologyPathResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetTopologyPathResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetTopologyPathResponse; - - /** - * Decodes a GetTopologyPathResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetTopologyPathResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetTopologyPathResponse; - - /** - * Verifies a GetTopologyPathResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetTopologyPathResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetTopologyPathResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetTopologyPathResponse; - - /** - * Creates a plain object from a GetTopologyPathResponse message. Also converts values to other types if specified. - * @param message GetTopologyPathResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetTopologyPathResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetTopologyPathResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetTopologyPathResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a TopologyCell. */ - interface ITopologyCell { - - /** TopologyCell name */ - name?: (string|null); - - /** TopologyCell path */ - path?: (string|null); - - /** TopologyCell data */ - data?: (string|null); - - /** TopologyCell children */ - children?: (string[]|null); - - /** TopologyCell version */ - version?: (number|Long|null); - } - - /** Represents a TopologyCell. */ - class TopologyCell implements ITopologyCell { - - /** - * Constructs a new TopologyCell. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ITopologyCell); - - /** TopologyCell name. */ - public name: string; - - /** TopologyCell path. */ - public path: string; - - /** TopologyCell data. */ - public data: string; - - /** TopologyCell children. */ - public children: string[]; - - /** TopologyCell version. */ - public version: (number|Long); - - /** - * Creates a new TopologyCell instance using the specified properties. - * @param [properties] Properties to set - * @returns TopologyCell instance - */ - public static create(properties?: vtctldata.ITopologyCell): vtctldata.TopologyCell; - - /** - * Encodes the specified TopologyCell message. Does not implicitly {@link vtctldata.TopologyCell.verify|verify} messages. - * @param message TopologyCell message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ITopologyCell, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TopologyCell message, length delimited. Does not implicitly {@link vtctldata.TopologyCell.verify|verify} messages. - * @param message TopologyCell message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ITopologyCell, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TopologyCell message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TopologyCell - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TopologyCell; - - /** - * Decodes a TopologyCell message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TopologyCell - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TopologyCell; - - /** - * Verifies a TopologyCell message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a TopologyCell message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TopologyCell - */ - public static fromObject(object: { [k: string]: any }): vtctldata.TopologyCell; - - /** - * Creates a plain object from a TopologyCell message. Also converts values to other types if specified. - * @param message TopologyCell - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.TopologyCell, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TopologyCell to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TopologyCell - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetUnresolvedTransactionsRequest. */ - interface IGetUnresolvedTransactionsRequest { - - /** GetUnresolvedTransactionsRequest keyspace */ - keyspace?: (string|null); - - /** GetUnresolvedTransactionsRequest abandon_age */ - abandon_age?: (number|Long|null); - } - - /** Represents a GetUnresolvedTransactionsRequest. */ - class GetUnresolvedTransactionsRequest implements IGetUnresolvedTransactionsRequest { - - /** - * Constructs a new GetUnresolvedTransactionsRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetUnresolvedTransactionsRequest); - - /** GetUnresolvedTransactionsRequest keyspace. */ - public keyspace: string; - - /** GetUnresolvedTransactionsRequest abandon_age. */ - public abandon_age: (number|Long); - - /** - * Creates a new GetUnresolvedTransactionsRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetUnresolvedTransactionsRequest instance - */ - public static create(properties?: vtctldata.IGetUnresolvedTransactionsRequest): vtctldata.GetUnresolvedTransactionsRequest; - - /** - * Encodes the specified GetUnresolvedTransactionsRequest message. Does not implicitly {@link vtctldata.GetUnresolvedTransactionsRequest.verify|verify} messages. - * @param message GetUnresolvedTransactionsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetUnresolvedTransactionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetUnresolvedTransactionsRequest message, length delimited. Does not implicitly {@link vtctldata.GetUnresolvedTransactionsRequest.verify|verify} messages. - * @param message GetUnresolvedTransactionsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetUnresolvedTransactionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetUnresolvedTransactionsRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetUnresolvedTransactionsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetUnresolvedTransactionsRequest; - - /** - * Decodes a GetUnresolvedTransactionsRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetUnresolvedTransactionsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetUnresolvedTransactionsRequest; - - /** - * Verifies a GetUnresolvedTransactionsRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetUnresolvedTransactionsRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetUnresolvedTransactionsRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetUnresolvedTransactionsRequest; - - /** - * Creates a plain object from a GetUnresolvedTransactionsRequest message. Also converts values to other types if specified. - * @param message GetUnresolvedTransactionsRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetUnresolvedTransactionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetUnresolvedTransactionsRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetUnresolvedTransactionsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetUnresolvedTransactionsResponse. */ - interface IGetUnresolvedTransactionsResponse { - - /** GetUnresolvedTransactionsResponse transactions */ - transactions?: (query.ITransactionMetadata[]|null); - } - - /** Represents a GetUnresolvedTransactionsResponse. */ - class GetUnresolvedTransactionsResponse implements IGetUnresolvedTransactionsResponse { - - /** - * Constructs a new GetUnresolvedTransactionsResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetUnresolvedTransactionsResponse); - - /** GetUnresolvedTransactionsResponse transactions. */ - public transactions: query.ITransactionMetadata[]; - - /** - * Creates a new GetUnresolvedTransactionsResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetUnresolvedTransactionsResponse instance - */ - public static create(properties?: vtctldata.IGetUnresolvedTransactionsResponse): vtctldata.GetUnresolvedTransactionsResponse; - - /** - * Encodes the specified GetUnresolvedTransactionsResponse message. Does not implicitly {@link vtctldata.GetUnresolvedTransactionsResponse.verify|verify} messages. - * @param message GetUnresolvedTransactionsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetUnresolvedTransactionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetUnresolvedTransactionsResponse message, length delimited. Does not implicitly {@link vtctldata.GetUnresolvedTransactionsResponse.verify|verify} messages. - * @param message GetUnresolvedTransactionsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetUnresolvedTransactionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetUnresolvedTransactionsResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetUnresolvedTransactionsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetUnresolvedTransactionsResponse; - - /** - * Decodes a GetUnresolvedTransactionsResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetUnresolvedTransactionsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetUnresolvedTransactionsResponse; - - /** - * Verifies a GetUnresolvedTransactionsResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetUnresolvedTransactionsResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetUnresolvedTransactionsResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetUnresolvedTransactionsResponse; - - /** - * Creates a plain object from a GetUnresolvedTransactionsResponse message. Also converts values to other types if specified. - * @param message GetUnresolvedTransactionsResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetUnresolvedTransactionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetUnresolvedTransactionsResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetUnresolvedTransactionsResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ConcludeTransactionRequest. */ - interface IConcludeTransactionRequest { - - /** ConcludeTransactionRequest dtid */ - dtid?: (string|null); - - /** ConcludeTransactionRequest participants */ - participants?: (query.ITarget[]|null); - } - - /** Represents a ConcludeTransactionRequest. */ - class ConcludeTransactionRequest implements IConcludeTransactionRequest { - - /** - * Constructs a new ConcludeTransactionRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IConcludeTransactionRequest); - - /** ConcludeTransactionRequest dtid. */ - public dtid: string; - - /** ConcludeTransactionRequest participants. */ - public participants: query.ITarget[]; - - /** - * Creates a new ConcludeTransactionRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ConcludeTransactionRequest instance - */ - public static create(properties?: vtctldata.IConcludeTransactionRequest): vtctldata.ConcludeTransactionRequest; - - /** - * Encodes the specified ConcludeTransactionRequest message. Does not implicitly {@link vtctldata.ConcludeTransactionRequest.verify|verify} messages. - * @param message ConcludeTransactionRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IConcludeTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ConcludeTransactionRequest message, length delimited. Does not implicitly {@link vtctldata.ConcludeTransactionRequest.verify|verify} messages. - * @param message ConcludeTransactionRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IConcludeTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ConcludeTransactionRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ConcludeTransactionRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ConcludeTransactionRequest; - - /** - * Decodes a ConcludeTransactionRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ConcludeTransactionRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ConcludeTransactionRequest; - - /** - * Verifies a ConcludeTransactionRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ConcludeTransactionRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ConcludeTransactionRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ConcludeTransactionRequest; - - /** - * Creates a plain object from a ConcludeTransactionRequest message. Also converts values to other types if specified. - * @param message ConcludeTransactionRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ConcludeTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ConcludeTransactionRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ConcludeTransactionRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ConcludeTransactionResponse. */ - interface IConcludeTransactionResponse { - } - - /** Represents a ConcludeTransactionResponse. */ - class ConcludeTransactionResponse implements IConcludeTransactionResponse { - - /** - * Constructs a new ConcludeTransactionResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IConcludeTransactionResponse); - - /** - * Creates a new ConcludeTransactionResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ConcludeTransactionResponse instance - */ - public static create(properties?: vtctldata.IConcludeTransactionResponse): vtctldata.ConcludeTransactionResponse; - - /** - * Encodes the specified ConcludeTransactionResponse message. Does not implicitly {@link vtctldata.ConcludeTransactionResponse.verify|verify} messages. - * @param message ConcludeTransactionResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IConcludeTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ConcludeTransactionResponse message, length delimited. Does not implicitly {@link vtctldata.ConcludeTransactionResponse.verify|verify} messages. - * @param message ConcludeTransactionResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IConcludeTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ConcludeTransactionResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ConcludeTransactionResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ConcludeTransactionResponse; - - /** - * Decodes a ConcludeTransactionResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ConcludeTransactionResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ConcludeTransactionResponse; - - /** - * Verifies a ConcludeTransactionResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ConcludeTransactionResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ConcludeTransactionResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ConcludeTransactionResponse; - - /** - * Creates a plain object from a ConcludeTransactionResponse message. Also converts values to other types if specified. - * @param message ConcludeTransactionResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ConcludeTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ConcludeTransactionResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ConcludeTransactionResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetVSchemaRequest. */ - interface IGetVSchemaRequest { - - /** GetVSchemaRequest keyspace */ - keyspace?: (string|null); - } - - /** Represents a GetVSchemaRequest. */ - class GetVSchemaRequest implements IGetVSchemaRequest { - - /** - * Constructs a new GetVSchemaRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetVSchemaRequest); - - /** GetVSchemaRequest keyspace. */ - public keyspace: string; - - /** - * Creates a new GetVSchemaRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetVSchemaRequest instance - */ - public static create(properties?: vtctldata.IGetVSchemaRequest): vtctldata.GetVSchemaRequest; - - /** - * Encodes the specified GetVSchemaRequest message. Does not implicitly {@link vtctldata.GetVSchemaRequest.verify|verify} messages. - * @param message GetVSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.GetVSchemaRequest.verify|verify} messages. - * @param message GetVSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetVSchemaRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetVSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVSchemaRequest; - - /** - * Decodes a GetVSchemaRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetVSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVSchemaRequest; - - /** - * Verifies a GetVSchemaRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetVSchemaRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetVSchemaRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetVSchemaRequest; - - /** - * Creates a plain object from a GetVSchemaRequest message. Also converts values to other types if specified. - * @param message GetVSchemaRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetVSchemaRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetVSchemaRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetVersionRequest. */ - interface IGetVersionRequest { - - /** GetVersionRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a GetVersionRequest. */ - class GetVersionRequest implements IGetVersionRequest { - - /** - * Constructs a new GetVersionRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetVersionRequest); - - /** GetVersionRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new GetVersionRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetVersionRequest instance - */ - public static create(properties?: vtctldata.IGetVersionRequest): vtctldata.GetVersionRequest; - - /** - * Encodes the specified GetVersionRequest message. Does not implicitly {@link vtctldata.GetVersionRequest.verify|verify} messages. - * @param message GetVersionRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetVersionRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetVersionRequest message, length delimited. Does not implicitly {@link vtctldata.GetVersionRequest.verify|verify} messages. - * @param message GetVersionRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetVersionRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetVersionRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetVersionRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVersionRequest; - - /** - * Decodes a GetVersionRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetVersionRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVersionRequest; - - /** - * Verifies a GetVersionRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetVersionRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetVersionRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetVersionRequest; - - /** - * Creates a plain object from a GetVersionRequest message. Also converts values to other types if specified. - * @param message GetVersionRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetVersionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetVersionRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetVersionRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetVersionResponse. */ - interface IGetVersionResponse { - - /** GetVersionResponse version */ - version?: (string|null); - } - - /** Represents a GetVersionResponse. */ - class GetVersionResponse implements IGetVersionResponse { - - /** - * Constructs a new GetVersionResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetVersionResponse); - - /** GetVersionResponse version. */ - public version: string; - - /** - * Creates a new GetVersionResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetVersionResponse instance - */ - public static create(properties?: vtctldata.IGetVersionResponse): vtctldata.GetVersionResponse; - - /** - * Encodes the specified GetVersionResponse message. Does not implicitly {@link vtctldata.GetVersionResponse.verify|verify} messages. - * @param message GetVersionResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetVersionResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetVersionResponse message, length delimited. Does not implicitly {@link vtctldata.GetVersionResponse.verify|verify} messages. - * @param message GetVersionResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetVersionResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetVersionResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetVersionResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVersionResponse; - - /** - * Decodes a GetVersionResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetVersionResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVersionResponse; - - /** - * Verifies a GetVersionResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetVersionResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetVersionResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetVersionResponse; - - /** - * Creates a plain object from a GetVersionResponse message. Also converts values to other types if specified. - * @param message GetVersionResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetVersionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetVersionResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetVersionResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetVSchemaResponse. */ - interface IGetVSchemaResponse { - - /** GetVSchemaResponse v_schema */ - v_schema?: (vschema.IKeyspace|null); - } - - /** Represents a GetVSchemaResponse. */ - class GetVSchemaResponse implements IGetVSchemaResponse { - - /** - * Constructs a new GetVSchemaResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetVSchemaResponse); - - /** GetVSchemaResponse v_schema. */ - public v_schema?: (vschema.IKeyspace|null); - - /** - * Creates a new GetVSchemaResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetVSchemaResponse instance - */ - public static create(properties?: vtctldata.IGetVSchemaResponse): vtctldata.GetVSchemaResponse; - - /** - * Encodes the specified GetVSchemaResponse message. Does not implicitly {@link vtctldata.GetVSchemaResponse.verify|verify} messages. - * @param message GetVSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.GetVSchemaResponse.verify|verify} messages. - * @param message GetVSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetVSchemaResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetVSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetVSchemaResponse; - - /** - * Decodes a GetVSchemaResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetVSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetVSchemaResponse; - - /** - * Verifies a GetVSchemaResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetVSchemaResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetVSchemaResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetVSchemaResponse; - - /** - * Creates a plain object from a GetVSchemaResponse message. Also converts values to other types if specified. - * @param message GetVSchemaResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetVSchemaResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetVSchemaResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetWorkflowsRequest. */ - interface IGetWorkflowsRequest { - - /** GetWorkflowsRequest keyspace */ - keyspace?: (string|null); - - /** GetWorkflowsRequest active_only */ - active_only?: (boolean|null); - - /** GetWorkflowsRequest name_only */ - name_only?: (boolean|null); - - /** GetWorkflowsRequest workflow */ - workflow?: (string|null); - - /** GetWorkflowsRequest include_logs */ - include_logs?: (boolean|null); - - /** GetWorkflowsRequest shards */ - shards?: (string[]|null); - } - - /** Represents a GetWorkflowsRequest. */ - class GetWorkflowsRequest implements IGetWorkflowsRequest { - - /** - * Constructs a new GetWorkflowsRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetWorkflowsRequest); - - /** GetWorkflowsRequest keyspace. */ - public keyspace: string; - - /** GetWorkflowsRequest active_only. */ - public active_only: boolean; - - /** GetWorkflowsRequest name_only. */ - public name_only: boolean; - - /** GetWorkflowsRequest workflow. */ - public workflow: string; - - /** GetWorkflowsRequest include_logs. */ - public include_logs: boolean; - - /** GetWorkflowsRequest shards. */ - public shards: string[]; - - /** - * Creates a new GetWorkflowsRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetWorkflowsRequest instance - */ - public static create(properties?: vtctldata.IGetWorkflowsRequest): vtctldata.GetWorkflowsRequest; - - /** - * Encodes the specified GetWorkflowsRequest message. Does not implicitly {@link vtctldata.GetWorkflowsRequest.verify|verify} messages. - * @param message GetWorkflowsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetWorkflowsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetWorkflowsRequest message, length delimited. Does not implicitly {@link vtctldata.GetWorkflowsRequest.verify|verify} messages. - * @param message GetWorkflowsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetWorkflowsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetWorkflowsRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetWorkflowsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetWorkflowsRequest; - - /** - * Decodes a GetWorkflowsRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetWorkflowsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetWorkflowsRequest; - - /** - * Verifies a GetWorkflowsRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetWorkflowsRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetWorkflowsRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetWorkflowsRequest; - - /** - * Creates a plain object from a GetWorkflowsRequest message. Also converts values to other types if specified. - * @param message GetWorkflowsRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetWorkflowsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetWorkflowsRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetWorkflowsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetWorkflowsResponse. */ - interface IGetWorkflowsResponse { - - /** GetWorkflowsResponse workflows */ - workflows?: (vtctldata.IWorkflow[]|null); - } - - /** Represents a GetWorkflowsResponse. */ - class GetWorkflowsResponse implements IGetWorkflowsResponse { - - /** - * Constructs a new GetWorkflowsResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetWorkflowsResponse); - - /** GetWorkflowsResponse workflows. */ - public workflows: vtctldata.IWorkflow[]; - - /** - * Creates a new GetWorkflowsResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetWorkflowsResponse instance - */ - public static create(properties?: vtctldata.IGetWorkflowsResponse): vtctldata.GetWorkflowsResponse; - - /** - * Encodes the specified GetWorkflowsResponse message. Does not implicitly {@link vtctldata.GetWorkflowsResponse.verify|verify} messages. - * @param message GetWorkflowsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetWorkflowsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetWorkflowsResponse message, length delimited. Does not implicitly {@link vtctldata.GetWorkflowsResponse.verify|verify} messages. - * @param message GetWorkflowsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetWorkflowsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetWorkflowsResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetWorkflowsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetWorkflowsResponse; - - /** - * Decodes a GetWorkflowsResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetWorkflowsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetWorkflowsResponse; - - /** - * Verifies a GetWorkflowsResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetWorkflowsResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetWorkflowsResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetWorkflowsResponse; - - /** - * Creates a plain object from a GetWorkflowsResponse message. Also converts values to other types if specified. - * @param message GetWorkflowsResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetWorkflowsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetWorkflowsResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetWorkflowsResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an InitShardPrimaryRequest. */ - interface IInitShardPrimaryRequest { - - /** InitShardPrimaryRequest keyspace */ - keyspace?: (string|null); - - /** InitShardPrimaryRequest shard */ - shard?: (string|null); - - /** InitShardPrimaryRequest primary_elect_tablet_alias */ - primary_elect_tablet_alias?: (topodata.ITabletAlias|null); - - /** InitShardPrimaryRequest force */ - force?: (boolean|null); - - /** InitShardPrimaryRequest wait_replicas_timeout */ - wait_replicas_timeout?: (vttime.IDuration|null); - } - - /** Represents an InitShardPrimaryRequest. */ - class InitShardPrimaryRequest implements IInitShardPrimaryRequest { - - /** - * Constructs a new InitShardPrimaryRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IInitShardPrimaryRequest); - - /** InitShardPrimaryRequest keyspace. */ - public keyspace: string; - - /** InitShardPrimaryRequest shard. */ - public shard: string; - - /** InitShardPrimaryRequest primary_elect_tablet_alias. */ - public primary_elect_tablet_alias?: (topodata.ITabletAlias|null); - - /** InitShardPrimaryRequest force. */ - public force: boolean; - - /** InitShardPrimaryRequest wait_replicas_timeout. */ - public wait_replicas_timeout?: (vttime.IDuration|null); - - /** - * Creates a new InitShardPrimaryRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns InitShardPrimaryRequest instance - */ - public static create(properties?: vtctldata.IInitShardPrimaryRequest): vtctldata.InitShardPrimaryRequest; - - /** - * Encodes the specified InitShardPrimaryRequest message. Does not implicitly {@link vtctldata.InitShardPrimaryRequest.verify|verify} messages. - * @param message InitShardPrimaryRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IInitShardPrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified InitShardPrimaryRequest message, length delimited. Does not implicitly {@link vtctldata.InitShardPrimaryRequest.verify|verify} messages. - * @param message InitShardPrimaryRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IInitShardPrimaryRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an InitShardPrimaryRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns InitShardPrimaryRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.InitShardPrimaryRequest; - - /** - * Decodes an InitShardPrimaryRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns InitShardPrimaryRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.InitShardPrimaryRequest; - - /** - * Verifies an InitShardPrimaryRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an InitShardPrimaryRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns InitShardPrimaryRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.InitShardPrimaryRequest; - - /** - * Creates a plain object from an InitShardPrimaryRequest message. Also converts values to other types if specified. - * @param message InitShardPrimaryRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.InitShardPrimaryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this InitShardPrimaryRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for InitShardPrimaryRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an InitShardPrimaryResponse. */ - interface IInitShardPrimaryResponse { - - /** InitShardPrimaryResponse events */ - events?: (logutil.IEvent[]|null); - } - - /** Represents an InitShardPrimaryResponse. */ - class InitShardPrimaryResponse implements IInitShardPrimaryResponse { - - /** - * Constructs a new InitShardPrimaryResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IInitShardPrimaryResponse); - - /** InitShardPrimaryResponse events. */ - public events: logutil.IEvent[]; - - /** - * Creates a new InitShardPrimaryResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns InitShardPrimaryResponse instance - */ - public static create(properties?: vtctldata.IInitShardPrimaryResponse): vtctldata.InitShardPrimaryResponse; - - /** - * Encodes the specified InitShardPrimaryResponse message. Does not implicitly {@link vtctldata.InitShardPrimaryResponse.verify|verify} messages. - * @param message InitShardPrimaryResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IInitShardPrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified InitShardPrimaryResponse message, length delimited. Does not implicitly {@link vtctldata.InitShardPrimaryResponse.verify|verify} messages. - * @param message InitShardPrimaryResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IInitShardPrimaryResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an InitShardPrimaryResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns InitShardPrimaryResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.InitShardPrimaryResponse; - - /** - * Decodes an InitShardPrimaryResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns InitShardPrimaryResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.InitShardPrimaryResponse; - - /** - * Verifies an InitShardPrimaryResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an InitShardPrimaryResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns InitShardPrimaryResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.InitShardPrimaryResponse; - - /** - * Creates a plain object from an InitShardPrimaryResponse message. Also converts values to other types if specified. - * @param message InitShardPrimaryResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.InitShardPrimaryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this InitShardPrimaryResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for InitShardPrimaryResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a LaunchSchemaMigrationRequest. */ - interface ILaunchSchemaMigrationRequest { - - /** LaunchSchemaMigrationRequest keyspace */ - keyspace?: (string|null); - - /** LaunchSchemaMigrationRequest uuid */ - uuid?: (string|null); - } - - /** Represents a LaunchSchemaMigrationRequest. */ - class LaunchSchemaMigrationRequest implements ILaunchSchemaMigrationRequest { - - /** - * Constructs a new LaunchSchemaMigrationRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ILaunchSchemaMigrationRequest); - - /** LaunchSchemaMigrationRequest keyspace. */ - public keyspace: string; - - /** LaunchSchemaMigrationRequest uuid. */ - public uuid: string; - - /** - * Creates a new LaunchSchemaMigrationRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns LaunchSchemaMigrationRequest instance - */ - public static create(properties?: vtctldata.ILaunchSchemaMigrationRequest): vtctldata.LaunchSchemaMigrationRequest; - - /** - * Encodes the specified LaunchSchemaMigrationRequest message. Does not implicitly {@link vtctldata.LaunchSchemaMigrationRequest.verify|verify} messages. - * @param message LaunchSchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ILaunchSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified LaunchSchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.LaunchSchemaMigrationRequest.verify|verify} messages. - * @param message LaunchSchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ILaunchSchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a LaunchSchemaMigrationRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns LaunchSchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LaunchSchemaMigrationRequest; - - /** - * Decodes a LaunchSchemaMigrationRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns LaunchSchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LaunchSchemaMigrationRequest; - - /** - * Verifies a LaunchSchemaMigrationRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a LaunchSchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns LaunchSchemaMigrationRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.LaunchSchemaMigrationRequest; - - /** - * Creates a plain object from a LaunchSchemaMigrationRequest message. Also converts values to other types if specified. - * @param message LaunchSchemaMigrationRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.LaunchSchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this LaunchSchemaMigrationRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for LaunchSchemaMigrationRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a LaunchSchemaMigrationResponse. */ - interface ILaunchSchemaMigrationResponse { - - /** LaunchSchemaMigrationResponse rows_affected_by_shard */ - rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); - } - - /** Represents a LaunchSchemaMigrationResponse. */ - class LaunchSchemaMigrationResponse implements ILaunchSchemaMigrationResponse { - - /** - * Constructs a new LaunchSchemaMigrationResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ILaunchSchemaMigrationResponse); - - /** LaunchSchemaMigrationResponse rows_affected_by_shard. */ - public rows_affected_by_shard: { [k: string]: (number|Long) }; - - /** - * Creates a new LaunchSchemaMigrationResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns LaunchSchemaMigrationResponse instance - */ - public static create(properties?: vtctldata.ILaunchSchemaMigrationResponse): vtctldata.LaunchSchemaMigrationResponse; - - /** - * Encodes the specified LaunchSchemaMigrationResponse message. Does not implicitly {@link vtctldata.LaunchSchemaMigrationResponse.verify|verify} messages. - * @param message LaunchSchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ILaunchSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified LaunchSchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.LaunchSchemaMigrationResponse.verify|verify} messages. - * @param message LaunchSchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ILaunchSchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a LaunchSchemaMigrationResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns LaunchSchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LaunchSchemaMigrationResponse; - - /** - * Decodes a LaunchSchemaMigrationResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns LaunchSchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LaunchSchemaMigrationResponse; - - /** - * Verifies a LaunchSchemaMigrationResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a LaunchSchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns LaunchSchemaMigrationResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.LaunchSchemaMigrationResponse; - - /** - * Creates a plain object from a LaunchSchemaMigrationResponse message. Also converts values to other types if specified. - * @param message LaunchSchemaMigrationResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.LaunchSchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this LaunchSchemaMigrationResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for LaunchSchemaMigrationResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a LookupVindexCreateRequest. */ - interface ILookupVindexCreateRequest { - - /** LookupVindexCreateRequest keyspace */ - keyspace?: (string|null); - - /** LookupVindexCreateRequest workflow */ - workflow?: (string|null); - - /** LookupVindexCreateRequest cells */ - cells?: (string[]|null); - - /** LookupVindexCreateRequest vindex */ - vindex?: (vschema.IKeyspace|null); - - /** LookupVindexCreateRequest continue_after_copy_with_owner */ - continue_after_copy_with_owner?: (boolean|null); - - /** LookupVindexCreateRequest tablet_types */ - tablet_types?: (topodata.TabletType[]|null); - - /** LookupVindexCreateRequest tablet_selection_preference */ - tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); - } - - /** Represents a LookupVindexCreateRequest. */ - class LookupVindexCreateRequest implements ILookupVindexCreateRequest { - - /** - * Constructs a new LookupVindexCreateRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ILookupVindexCreateRequest); - - /** LookupVindexCreateRequest keyspace. */ - public keyspace: string; - - /** LookupVindexCreateRequest workflow. */ - public workflow: string; - - /** LookupVindexCreateRequest cells. */ - public cells: string[]; - - /** LookupVindexCreateRequest vindex. */ - public vindex?: (vschema.IKeyspace|null); - - /** LookupVindexCreateRequest continue_after_copy_with_owner. */ - public continue_after_copy_with_owner: boolean; - - /** LookupVindexCreateRequest tablet_types. */ - public tablet_types: topodata.TabletType[]; - - /** LookupVindexCreateRequest tablet_selection_preference. */ - public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; - - /** - * Creates a new LookupVindexCreateRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns LookupVindexCreateRequest instance - */ - public static create(properties?: vtctldata.ILookupVindexCreateRequest): vtctldata.LookupVindexCreateRequest; - - /** - * Encodes the specified LookupVindexCreateRequest message. Does not implicitly {@link vtctldata.LookupVindexCreateRequest.verify|verify} messages. - * @param message LookupVindexCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ILookupVindexCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified LookupVindexCreateRequest message, length delimited. Does not implicitly {@link vtctldata.LookupVindexCreateRequest.verify|verify} messages. - * @param message LookupVindexCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ILookupVindexCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a LookupVindexCreateRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns LookupVindexCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LookupVindexCreateRequest; - - /** - * Decodes a LookupVindexCreateRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns LookupVindexCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LookupVindexCreateRequest; - - /** - * Verifies a LookupVindexCreateRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a LookupVindexCreateRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns LookupVindexCreateRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.LookupVindexCreateRequest; - - /** - * Creates a plain object from a LookupVindexCreateRequest message. Also converts values to other types if specified. - * @param message LookupVindexCreateRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.LookupVindexCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this LookupVindexCreateRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for LookupVindexCreateRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a LookupVindexCreateResponse. */ - interface ILookupVindexCreateResponse { - } - - /** Represents a LookupVindexCreateResponse. */ - class LookupVindexCreateResponse implements ILookupVindexCreateResponse { - - /** - * Constructs a new LookupVindexCreateResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ILookupVindexCreateResponse); - - /** - * Creates a new LookupVindexCreateResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns LookupVindexCreateResponse instance - */ - public static create(properties?: vtctldata.ILookupVindexCreateResponse): vtctldata.LookupVindexCreateResponse; - - /** - * Encodes the specified LookupVindexCreateResponse message. Does not implicitly {@link vtctldata.LookupVindexCreateResponse.verify|verify} messages. - * @param message LookupVindexCreateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ILookupVindexCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified LookupVindexCreateResponse message, length delimited. Does not implicitly {@link vtctldata.LookupVindexCreateResponse.verify|verify} messages. - * @param message LookupVindexCreateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ILookupVindexCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a LookupVindexCreateResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns LookupVindexCreateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LookupVindexCreateResponse; - - /** - * Decodes a LookupVindexCreateResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns LookupVindexCreateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LookupVindexCreateResponse; - - /** - * Verifies a LookupVindexCreateResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a LookupVindexCreateResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns LookupVindexCreateResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.LookupVindexCreateResponse; - - /** - * Creates a plain object from a LookupVindexCreateResponse message. Also converts values to other types if specified. - * @param message LookupVindexCreateResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.LookupVindexCreateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this LookupVindexCreateResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for LookupVindexCreateResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a LookupVindexExternalizeRequest. */ - interface ILookupVindexExternalizeRequest { - - /** LookupVindexExternalizeRequest keyspace */ - keyspace?: (string|null); - - /** LookupVindexExternalizeRequest name */ - name?: (string|null); - - /** LookupVindexExternalizeRequest table_keyspace */ - table_keyspace?: (string|null); - } - - /** Represents a LookupVindexExternalizeRequest. */ - class LookupVindexExternalizeRequest implements ILookupVindexExternalizeRequest { - - /** - * Constructs a new LookupVindexExternalizeRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ILookupVindexExternalizeRequest); - - /** LookupVindexExternalizeRequest keyspace. */ - public keyspace: string; - - /** LookupVindexExternalizeRequest name. */ - public name: string; - - /** LookupVindexExternalizeRequest table_keyspace. */ - public table_keyspace: string; - - /** - * Creates a new LookupVindexExternalizeRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns LookupVindexExternalizeRequest instance - */ - public static create(properties?: vtctldata.ILookupVindexExternalizeRequest): vtctldata.LookupVindexExternalizeRequest; - - /** - * Encodes the specified LookupVindexExternalizeRequest message. Does not implicitly {@link vtctldata.LookupVindexExternalizeRequest.verify|verify} messages. - * @param message LookupVindexExternalizeRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ILookupVindexExternalizeRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified LookupVindexExternalizeRequest message, length delimited. Does not implicitly {@link vtctldata.LookupVindexExternalizeRequest.verify|verify} messages. - * @param message LookupVindexExternalizeRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ILookupVindexExternalizeRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a LookupVindexExternalizeRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns LookupVindexExternalizeRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LookupVindexExternalizeRequest; - - /** - * Decodes a LookupVindexExternalizeRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns LookupVindexExternalizeRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LookupVindexExternalizeRequest; - - /** - * Verifies a LookupVindexExternalizeRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a LookupVindexExternalizeRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns LookupVindexExternalizeRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.LookupVindexExternalizeRequest; - - /** - * Creates a plain object from a LookupVindexExternalizeRequest message. Also converts values to other types if specified. - * @param message LookupVindexExternalizeRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.LookupVindexExternalizeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this LookupVindexExternalizeRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for LookupVindexExternalizeRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a LookupVindexExternalizeResponse. */ - interface ILookupVindexExternalizeResponse { - - /** LookupVindexExternalizeResponse workflow_deleted */ - workflow_deleted?: (boolean|null); - } - - /** Represents a LookupVindexExternalizeResponse. */ - class LookupVindexExternalizeResponse implements ILookupVindexExternalizeResponse { - - /** - * Constructs a new LookupVindexExternalizeResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ILookupVindexExternalizeResponse); - - /** LookupVindexExternalizeResponse workflow_deleted. */ - public workflow_deleted: boolean; - - /** - * Creates a new LookupVindexExternalizeResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns LookupVindexExternalizeResponse instance - */ - public static create(properties?: vtctldata.ILookupVindexExternalizeResponse): vtctldata.LookupVindexExternalizeResponse; - - /** - * Encodes the specified LookupVindexExternalizeResponse message. Does not implicitly {@link vtctldata.LookupVindexExternalizeResponse.verify|verify} messages. - * @param message LookupVindexExternalizeResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ILookupVindexExternalizeResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified LookupVindexExternalizeResponse message, length delimited. Does not implicitly {@link vtctldata.LookupVindexExternalizeResponse.verify|verify} messages. - * @param message LookupVindexExternalizeResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ILookupVindexExternalizeResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a LookupVindexExternalizeResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns LookupVindexExternalizeResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.LookupVindexExternalizeResponse; - - /** - * Decodes a LookupVindexExternalizeResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns LookupVindexExternalizeResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.LookupVindexExternalizeResponse; - - /** - * Verifies a LookupVindexExternalizeResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a LookupVindexExternalizeResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns LookupVindexExternalizeResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.LookupVindexExternalizeResponse; - - /** - * Creates a plain object from a LookupVindexExternalizeResponse message. Also converts values to other types if specified. - * @param message LookupVindexExternalizeResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.LookupVindexExternalizeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this LookupVindexExternalizeResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for LookupVindexExternalizeResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MaterializeCreateRequest. */ - interface IMaterializeCreateRequest { - - /** MaterializeCreateRequest settings */ - settings?: (vtctldata.IMaterializeSettings|null); - } - - /** Represents a MaterializeCreateRequest. */ - class MaterializeCreateRequest implements IMaterializeCreateRequest { - - /** - * Constructs a new MaterializeCreateRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMaterializeCreateRequest); - - /** MaterializeCreateRequest settings. */ - public settings?: (vtctldata.IMaterializeSettings|null); - - /** - * Creates a new MaterializeCreateRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns MaterializeCreateRequest instance - */ - public static create(properties?: vtctldata.IMaterializeCreateRequest): vtctldata.MaterializeCreateRequest; - - /** - * Encodes the specified MaterializeCreateRequest message. Does not implicitly {@link vtctldata.MaterializeCreateRequest.verify|verify} messages. - * @param message MaterializeCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMaterializeCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MaterializeCreateRequest message, length delimited. Does not implicitly {@link vtctldata.MaterializeCreateRequest.verify|verify} messages. - * @param message MaterializeCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMaterializeCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MaterializeCreateRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MaterializeCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MaterializeCreateRequest; - - /** - * Decodes a MaterializeCreateRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MaterializeCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MaterializeCreateRequest; - - /** - * Verifies a MaterializeCreateRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MaterializeCreateRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MaterializeCreateRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MaterializeCreateRequest; - - /** - * Creates a plain object from a MaterializeCreateRequest message. Also converts values to other types if specified. - * @param message MaterializeCreateRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MaterializeCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MaterializeCreateRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MaterializeCreateRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MaterializeCreateResponse. */ - interface IMaterializeCreateResponse { - } - - /** Represents a MaterializeCreateResponse. */ - class MaterializeCreateResponse implements IMaterializeCreateResponse { - - /** - * Constructs a new MaterializeCreateResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMaterializeCreateResponse); - - /** - * Creates a new MaterializeCreateResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns MaterializeCreateResponse instance - */ - public static create(properties?: vtctldata.IMaterializeCreateResponse): vtctldata.MaterializeCreateResponse; - - /** - * Encodes the specified MaterializeCreateResponse message. Does not implicitly {@link vtctldata.MaterializeCreateResponse.verify|verify} messages. - * @param message MaterializeCreateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMaterializeCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MaterializeCreateResponse message, length delimited. Does not implicitly {@link vtctldata.MaterializeCreateResponse.verify|verify} messages. - * @param message MaterializeCreateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMaterializeCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MaterializeCreateResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MaterializeCreateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MaterializeCreateResponse; - - /** - * Decodes a MaterializeCreateResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MaterializeCreateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MaterializeCreateResponse; - - /** - * Verifies a MaterializeCreateResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MaterializeCreateResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MaterializeCreateResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MaterializeCreateResponse; - - /** - * Creates a plain object from a MaterializeCreateResponse message. Also converts values to other types if specified. - * @param message MaterializeCreateResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MaterializeCreateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MaterializeCreateResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MaterializeCreateResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MigrateCreateRequest. */ - interface IMigrateCreateRequest { - - /** MigrateCreateRequest workflow */ - workflow?: (string|null); - - /** MigrateCreateRequest source_keyspace */ - source_keyspace?: (string|null); - - /** MigrateCreateRequest target_keyspace */ - target_keyspace?: (string|null); - - /** MigrateCreateRequest mount_name */ - mount_name?: (string|null); - - /** MigrateCreateRequest cells */ - cells?: (string[]|null); - - /** MigrateCreateRequest tablet_types */ - tablet_types?: (topodata.TabletType[]|null); - - /** MigrateCreateRequest tablet_selection_preference */ - tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); - - /** MigrateCreateRequest all_tables */ - all_tables?: (boolean|null); - - /** MigrateCreateRequest include_tables */ - include_tables?: (string[]|null); - - /** MigrateCreateRequest exclude_tables */ - exclude_tables?: (string[]|null); - - /** MigrateCreateRequest source_time_zone */ - source_time_zone?: (string|null); - - /** MigrateCreateRequest on_ddl */ - on_ddl?: (string|null); - - /** MigrateCreateRequest stop_after_copy */ - stop_after_copy?: (boolean|null); - - /** MigrateCreateRequest drop_foreign_keys */ - drop_foreign_keys?: (boolean|null); - - /** MigrateCreateRequest defer_secondary_keys */ - defer_secondary_keys?: (boolean|null); - - /** MigrateCreateRequest auto_start */ - auto_start?: (boolean|null); - - /** MigrateCreateRequest no_routing_rules */ - no_routing_rules?: (boolean|null); - } - - /** Represents a MigrateCreateRequest. */ - class MigrateCreateRequest implements IMigrateCreateRequest { - - /** - * Constructs a new MigrateCreateRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMigrateCreateRequest); - - /** MigrateCreateRequest workflow. */ - public workflow: string; - - /** MigrateCreateRequest source_keyspace. */ - public source_keyspace: string; - - /** MigrateCreateRequest target_keyspace. */ - public target_keyspace: string; - - /** MigrateCreateRequest mount_name. */ - public mount_name: string; - - /** MigrateCreateRequest cells. */ - public cells: string[]; - - /** MigrateCreateRequest tablet_types. */ - public tablet_types: topodata.TabletType[]; - - /** MigrateCreateRequest tablet_selection_preference. */ - public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; - - /** MigrateCreateRequest all_tables. */ - public all_tables: boolean; - - /** MigrateCreateRequest include_tables. */ - public include_tables: string[]; - - /** MigrateCreateRequest exclude_tables. */ - public exclude_tables: string[]; - - /** MigrateCreateRequest source_time_zone. */ - public source_time_zone: string; - - /** MigrateCreateRequest on_ddl. */ - public on_ddl: string; - - /** MigrateCreateRequest stop_after_copy. */ - public stop_after_copy: boolean; - - /** MigrateCreateRequest drop_foreign_keys. */ - public drop_foreign_keys: boolean; - - /** MigrateCreateRequest defer_secondary_keys. */ - public defer_secondary_keys: boolean; - - /** MigrateCreateRequest auto_start. */ - public auto_start: boolean; - - /** MigrateCreateRequest no_routing_rules. */ - public no_routing_rules: boolean; - - /** - * Creates a new MigrateCreateRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns MigrateCreateRequest instance - */ - public static create(properties?: vtctldata.IMigrateCreateRequest): vtctldata.MigrateCreateRequest; - - /** - * Encodes the specified MigrateCreateRequest message. Does not implicitly {@link vtctldata.MigrateCreateRequest.verify|verify} messages. - * @param message MigrateCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMigrateCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MigrateCreateRequest message, length delimited. Does not implicitly {@link vtctldata.MigrateCreateRequest.verify|verify} messages. - * @param message MigrateCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMigrateCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MigrateCreateRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MigrateCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MigrateCreateRequest; - - /** - * Decodes a MigrateCreateRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MigrateCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MigrateCreateRequest; - - /** - * Verifies a MigrateCreateRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MigrateCreateRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MigrateCreateRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MigrateCreateRequest; - - /** - * Creates a plain object from a MigrateCreateRequest message. Also converts values to other types if specified. - * @param message MigrateCreateRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MigrateCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MigrateCreateRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MigrateCreateRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MigrateCompleteRequest. */ - interface IMigrateCompleteRequest { - - /** MigrateCompleteRequest workflow */ - workflow?: (string|null); - - /** MigrateCompleteRequest target_keyspace */ - target_keyspace?: (string|null); - - /** MigrateCompleteRequest keep_data */ - keep_data?: (boolean|null); - - /** MigrateCompleteRequest keep_routing_rules */ - keep_routing_rules?: (boolean|null); - - /** MigrateCompleteRequest rename_tables */ - rename_tables?: (boolean|null); - - /** MigrateCompleteRequest dry_run */ - dry_run?: (boolean|null); - } - - /** Represents a MigrateCompleteRequest. */ - class MigrateCompleteRequest implements IMigrateCompleteRequest { - - /** - * Constructs a new MigrateCompleteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMigrateCompleteRequest); - - /** MigrateCompleteRequest workflow. */ - public workflow: string; - - /** MigrateCompleteRequest target_keyspace. */ - public target_keyspace: string; - - /** MigrateCompleteRequest keep_data. */ - public keep_data: boolean; - - /** MigrateCompleteRequest keep_routing_rules. */ - public keep_routing_rules: boolean; - - /** MigrateCompleteRequest rename_tables. */ - public rename_tables: boolean; - - /** MigrateCompleteRequest dry_run. */ - public dry_run: boolean; - - /** - * Creates a new MigrateCompleteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns MigrateCompleteRequest instance - */ - public static create(properties?: vtctldata.IMigrateCompleteRequest): vtctldata.MigrateCompleteRequest; - - /** - * Encodes the specified MigrateCompleteRequest message. Does not implicitly {@link vtctldata.MigrateCompleteRequest.verify|verify} messages. - * @param message MigrateCompleteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMigrateCompleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MigrateCompleteRequest message, length delimited. Does not implicitly {@link vtctldata.MigrateCompleteRequest.verify|verify} messages. - * @param message MigrateCompleteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMigrateCompleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MigrateCompleteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MigrateCompleteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MigrateCompleteRequest; - - /** - * Decodes a MigrateCompleteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MigrateCompleteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MigrateCompleteRequest; - - /** - * Verifies a MigrateCompleteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MigrateCompleteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MigrateCompleteRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MigrateCompleteRequest; - - /** - * Creates a plain object from a MigrateCompleteRequest message. Also converts values to other types if specified. - * @param message MigrateCompleteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MigrateCompleteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MigrateCompleteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MigrateCompleteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MigrateCompleteResponse. */ - interface IMigrateCompleteResponse { - - /** MigrateCompleteResponse summary */ - summary?: (string|null); - - /** MigrateCompleteResponse dry_run_results */ - dry_run_results?: (string[]|null); - } - - /** Represents a MigrateCompleteResponse. */ - class MigrateCompleteResponse implements IMigrateCompleteResponse { - - /** - * Constructs a new MigrateCompleteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMigrateCompleteResponse); - - /** MigrateCompleteResponse summary. */ - public summary: string; - - /** MigrateCompleteResponse dry_run_results. */ - public dry_run_results: string[]; - - /** - * Creates a new MigrateCompleteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns MigrateCompleteResponse instance - */ - public static create(properties?: vtctldata.IMigrateCompleteResponse): vtctldata.MigrateCompleteResponse; - - /** - * Encodes the specified MigrateCompleteResponse message. Does not implicitly {@link vtctldata.MigrateCompleteResponse.verify|verify} messages. - * @param message MigrateCompleteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMigrateCompleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MigrateCompleteResponse message, length delimited. Does not implicitly {@link vtctldata.MigrateCompleteResponse.verify|verify} messages. - * @param message MigrateCompleteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMigrateCompleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MigrateCompleteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MigrateCompleteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MigrateCompleteResponse; - - /** - * Decodes a MigrateCompleteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MigrateCompleteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MigrateCompleteResponse; - - /** - * Verifies a MigrateCompleteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MigrateCompleteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MigrateCompleteResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MigrateCompleteResponse; - - /** - * Creates a plain object from a MigrateCompleteResponse message. Also converts values to other types if specified. - * @param message MigrateCompleteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MigrateCompleteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MigrateCompleteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MigrateCompleteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MountRegisterRequest. */ - interface IMountRegisterRequest { - - /** MountRegisterRequest topo_type */ - topo_type?: (string|null); - - /** MountRegisterRequest topo_server */ - topo_server?: (string|null); - - /** MountRegisterRequest topo_root */ - topo_root?: (string|null); - - /** MountRegisterRequest name */ - name?: (string|null); - } - - /** Represents a MountRegisterRequest. */ - class MountRegisterRequest implements IMountRegisterRequest { - - /** - * Constructs a new MountRegisterRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMountRegisterRequest); - - /** MountRegisterRequest topo_type. */ - public topo_type: string; - - /** MountRegisterRequest topo_server. */ - public topo_server: string; - - /** MountRegisterRequest topo_root. */ - public topo_root: string; - - /** MountRegisterRequest name. */ - public name: string; - - /** - * Creates a new MountRegisterRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns MountRegisterRequest instance - */ - public static create(properties?: vtctldata.IMountRegisterRequest): vtctldata.MountRegisterRequest; - - /** - * Encodes the specified MountRegisterRequest message. Does not implicitly {@link vtctldata.MountRegisterRequest.verify|verify} messages. - * @param message MountRegisterRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMountRegisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MountRegisterRequest message, length delimited. Does not implicitly {@link vtctldata.MountRegisterRequest.verify|verify} messages. - * @param message MountRegisterRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMountRegisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MountRegisterRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MountRegisterRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountRegisterRequest; - - /** - * Decodes a MountRegisterRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MountRegisterRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountRegisterRequest; - - /** - * Verifies a MountRegisterRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MountRegisterRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MountRegisterRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MountRegisterRequest; - - /** - * Creates a plain object from a MountRegisterRequest message. Also converts values to other types if specified. - * @param message MountRegisterRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MountRegisterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MountRegisterRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MountRegisterRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MountRegisterResponse. */ - interface IMountRegisterResponse { - } - - /** Represents a MountRegisterResponse. */ - class MountRegisterResponse implements IMountRegisterResponse { - - /** - * Constructs a new MountRegisterResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMountRegisterResponse); - - /** - * Creates a new MountRegisterResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns MountRegisterResponse instance - */ - public static create(properties?: vtctldata.IMountRegisterResponse): vtctldata.MountRegisterResponse; - - /** - * Encodes the specified MountRegisterResponse message. Does not implicitly {@link vtctldata.MountRegisterResponse.verify|verify} messages. - * @param message MountRegisterResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMountRegisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MountRegisterResponse message, length delimited. Does not implicitly {@link vtctldata.MountRegisterResponse.verify|verify} messages. - * @param message MountRegisterResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMountRegisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MountRegisterResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MountRegisterResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountRegisterResponse; - - /** - * Decodes a MountRegisterResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MountRegisterResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountRegisterResponse; - - /** - * Verifies a MountRegisterResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MountRegisterResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MountRegisterResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MountRegisterResponse; - - /** - * Creates a plain object from a MountRegisterResponse message. Also converts values to other types if specified. - * @param message MountRegisterResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MountRegisterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MountRegisterResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MountRegisterResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MountUnregisterRequest. */ - interface IMountUnregisterRequest { - - /** MountUnregisterRequest name */ - name?: (string|null); - } - - /** Represents a MountUnregisterRequest. */ - class MountUnregisterRequest implements IMountUnregisterRequest { - - /** - * Constructs a new MountUnregisterRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMountUnregisterRequest); - - /** MountUnregisterRequest name. */ - public name: string; - - /** - * Creates a new MountUnregisterRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns MountUnregisterRequest instance - */ - public static create(properties?: vtctldata.IMountUnregisterRequest): vtctldata.MountUnregisterRequest; - - /** - * Encodes the specified MountUnregisterRequest message. Does not implicitly {@link vtctldata.MountUnregisterRequest.verify|verify} messages. - * @param message MountUnregisterRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMountUnregisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MountUnregisterRequest message, length delimited. Does not implicitly {@link vtctldata.MountUnregisterRequest.verify|verify} messages. - * @param message MountUnregisterRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMountUnregisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MountUnregisterRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MountUnregisterRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountUnregisterRequest; - - /** - * Decodes a MountUnregisterRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MountUnregisterRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountUnregisterRequest; - - /** - * Verifies a MountUnregisterRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MountUnregisterRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MountUnregisterRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MountUnregisterRequest; - - /** - * Creates a plain object from a MountUnregisterRequest message. Also converts values to other types if specified. - * @param message MountUnregisterRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MountUnregisterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MountUnregisterRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MountUnregisterRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MountUnregisterResponse. */ - interface IMountUnregisterResponse { - } - - /** Represents a MountUnregisterResponse. */ - class MountUnregisterResponse implements IMountUnregisterResponse { - - /** - * Constructs a new MountUnregisterResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMountUnregisterResponse); - - /** - * Creates a new MountUnregisterResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns MountUnregisterResponse instance - */ - public static create(properties?: vtctldata.IMountUnregisterResponse): vtctldata.MountUnregisterResponse; - - /** - * Encodes the specified MountUnregisterResponse message. Does not implicitly {@link vtctldata.MountUnregisterResponse.verify|verify} messages. - * @param message MountUnregisterResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMountUnregisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MountUnregisterResponse message, length delimited. Does not implicitly {@link vtctldata.MountUnregisterResponse.verify|verify} messages. - * @param message MountUnregisterResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMountUnregisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MountUnregisterResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MountUnregisterResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountUnregisterResponse; - - /** - * Decodes a MountUnregisterResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MountUnregisterResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountUnregisterResponse; - - /** - * Verifies a MountUnregisterResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MountUnregisterResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MountUnregisterResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MountUnregisterResponse; - - /** - * Creates a plain object from a MountUnregisterResponse message. Also converts values to other types if specified. - * @param message MountUnregisterResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MountUnregisterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MountUnregisterResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MountUnregisterResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MountShowRequest. */ - interface IMountShowRequest { - - /** MountShowRequest name */ - name?: (string|null); - } - - /** Represents a MountShowRequest. */ - class MountShowRequest implements IMountShowRequest { - - /** - * Constructs a new MountShowRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMountShowRequest); - - /** MountShowRequest name. */ - public name: string; - - /** - * Creates a new MountShowRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns MountShowRequest instance - */ - public static create(properties?: vtctldata.IMountShowRequest): vtctldata.MountShowRequest; - - /** - * Encodes the specified MountShowRequest message. Does not implicitly {@link vtctldata.MountShowRequest.verify|verify} messages. - * @param message MountShowRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMountShowRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MountShowRequest message, length delimited. Does not implicitly {@link vtctldata.MountShowRequest.verify|verify} messages. - * @param message MountShowRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMountShowRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MountShowRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MountShowRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountShowRequest; - - /** - * Decodes a MountShowRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MountShowRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountShowRequest; - - /** - * Verifies a MountShowRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MountShowRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MountShowRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MountShowRequest; - - /** - * Creates a plain object from a MountShowRequest message. Also converts values to other types if specified. - * @param message MountShowRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MountShowRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MountShowRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MountShowRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MountShowResponse. */ - interface IMountShowResponse { - - /** MountShowResponse topo_type */ - topo_type?: (string|null); - - /** MountShowResponse topo_server */ - topo_server?: (string|null); - - /** MountShowResponse topo_root */ - topo_root?: (string|null); - - /** MountShowResponse name */ - name?: (string|null); - } - - /** Represents a MountShowResponse. */ - class MountShowResponse implements IMountShowResponse { - - /** - * Constructs a new MountShowResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMountShowResponse); - - /** MountShowResponse topo_type. */ - public topo_type: string; - - /** MountShowResponse topo_server. */ - public topo_server: string; - - /** MountShowResponse topo_root. */ - public topo_root: string; - - /** MountShowResponse name. */ - public name: string; - - /** - * Creates a new MountShowResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns MountShowResponse instance - */ - public static create(properties?: vtctldata.IMountShowResponse): vtctldata.MountShowResponse; - - /** - * Encodes the specified MountShowResponse message. Does not implicitly {@link vtctldata.MountShowResponse.verify|verify} messages. - * @param message MountShowResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMountShowResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MountShowResponse message, length delimited. Does not implicitly {@link vtctldata.MountShowResponse.verify|verify} messages. - * @param message MountShowResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMountShowResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MountShowResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MountShowResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountShowResponse; - - /** - * Decodes a MountShowResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MountShowResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountShowResponse; - - /** - * Verifies a MountShowResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MountShowResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MountShowResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MountShowResponse; - - /** - * Creates a plain object from a MountShowResponse message. Also converts values to other types if specified. - * @param message MountShowResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MountShowResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MountShowResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MountShowResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MountListRequest. */ - interface IMountListRequest { - } - - /** Represents a MountListRequest. */ - class MountListRequest implements IMountListRequest { - - /** - * Constructs a new MountListRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMountListRequest); - - /** - * Creates a new MountListRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns MountListRequest instance - */ - public static create(properties?: vtctldata.IMountListRequest): vtctldata.MountListRequest; - - /** - * Encodes the specified MountListRequest message. Does not implicitly {@link vtctldata.MountListRequest.verify|verify} messages. - * @param message MountListRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMountListRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MountListRequest message, length delimited. Does not implicitly {@link vtctldata.MountListRequest.verify|verify} messages. - * @param message MountListRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMountListRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MountListRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MountListRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountListRequest; - - /** - * Decodes a MountListRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MountListRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountListRequest; - - /** - * Verifies a MountListRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MountListRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MountListRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MountListRequest; - - /** - * Creates a plain object from a MountListRequest message. Also converts values to other types if specified. - * @param message MountListRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MountListRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MountListRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MountListRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MountListResponse. */ - interface IMountListResponse { - - /** MountListResponse names */ - names?: (string[]|null); - } - - /** Represents a MountListResponse. */ - class MountListResponse implements IMountListResponse { - - /** - * Constructs a new MountListResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMountListResponse); - - /** MountListResponse names. */ - public names: string[]; - - /** - * Creates a new MountListResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns MountListResponse instance - */ - public static create(properties?: vtctldata.IMountListResponse): vtctldata.MountListResponse; - - /** - * Encodes the specified MountListResponse message. Does not implicitly {@link vtctldata.MountListResponse.verify|verify} messages. - * @param message MountListResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMountListResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MountListResponse message, length delimited. Does not implicitly {@link vtctldata.MountListResponse.verify|verify} messages. - * @param message MountListResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMountListResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MountListResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MountListResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MountListResponse; - - /** - * Decodes a MountListResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MountListResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MountListResponse; - - /** - * Verifies a MountListResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MountListResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MountListResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MountListResponse; - - /** - * Creates a plain object from a MountListResponse message. Also converts values to other types if specified. - * @param message MountListResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MountListResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MountListResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MountListResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MoveTablesCreateRequest. */ - interface IMoveTablesCreateRequest { - - /** MoveTablesCreateRequest workflow */ - workflow?: (string|null); - - /** MoveTablesCreateRequest source_keyspace */ - source_keyspace?: (string|null); - - /** MoveTablesCreateRequest target_keyspace */ - target_keyspace?: (string|null); - - /** MoveTablesCreateRequest cells */ - cells?: (string[]|null); - - /** MoveTablesCreateRequest tablet_types */ - tablet_types?: (topodata.TabletType[]|null); - - /** MoveTablesCreateRequest tablet_selection_preference */ - tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); - - /** MoveTablesCreateRequest source_shards */ - source_shards?: (string[]|null); - - /** MoveTablesCreateRequest all_tables */ - all_tables?: (boolean|null); - - /** MoveTablesCreateRequest include_tables */ - include_tables?: (string[]|null); - - /** MoveTablesCreateRequest exclude_tables */ - exclude_tables?: (string[]|null); - - /** MoveTablesCreateRequest external_cluster_name */ - external_cluster_name?: (string|null); - - /** MoveTablesCreateRequest source_time_zone */ - source_time_zone?: (string|null); - - /** MoveTablesCreateRequest on_ddl */ - on_ddl?: (string|null); - - /** MoveTablesCreateRequest stop_after_copy */ - stop_after_copy?: (boolean|null); - - /** MoveTablesCreateRequest drop_foreign_keys */ - drop_foreign_keys?: (boolean|null); - - /** MoveTablesCreateRequest defer_secondary_keys */ - defer_secondary_keys?: (boolean|null); - - /** MoveTablesCreateRequest auto_start */ - auto_start?: (boolean|null); - - /** MoveTablesCreateRequest no_routing_rules */ - no_routing_rules?: (boolean|null); - - /** MoveTablesCreateRequest atomic_copy */ - atomic_copy?: (boolean|null); - - /** MoveTablesCreateRequest workflow_options */ - workflow_options?: (vtctldata.IWorkflowOptions|null); - } - - /** Represents a MoveTablesCreateRequest. */ - class MoveTablesCreateRequest implements IMoveTablesCreateRequest { - - /** - * Constructs a new MoveTablesCreateRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMoveTablesCreateRequest); - - /** MoveTablesCreateRequest workflow. */ - public workflow: string; - - /** MoveTablesCreateRequest source_keyspace. */ - public source_keyspace: string; - - /** MoveTablesCreateRequest target_keyspace. */ - public target_keyspace: string; - - /** MoveTablesCreateRequest cells. */ - public cells: string[]; - - /** MoveTablesCreateRequest tablet_types. */ - public tablet_types: topodata.TabletType[]; - - /** MoveTablesCreateRequest tablet_selection_preference. */ - public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; - - /** MoveTablesCreateRequest source_shards. */ - public source_shards: string[]; - - /** MoveTablesCreateRequest all_tables. */ - public all_tables: boolean; - - /** MoveTablesCreateRequest include_tables. */ - public include_tables: string[]; - - /** MoveTablesCreateRequest exclude_tables. */ - public exclude_tables: string[]; - - /** MoveTablesCreateRequest external_cluster_name. */ - public external_cluster_name: string; - - /** MoveTablesCreateRequest source_time_zone. */ - public source_time_zone: string; - - /** MoveTablesCreateRequest on_ddl. */ - public on_ddl: string; - - /** MoveTablesCreateRequest stop_after_copy. */ - public stop_after_copy: boolean; - - /** MoveTablesCreateRequest drop_foreign_keys. */ - public drop_foreign_keys: boolean; - - /** MoveTablesCreateRequest defer_secondary_keys. */ - public defer_secondary_keys: boolean; - - /** MoveTablesCreateRequest auto_start. */ - public auto_start: boolean; - - /** MoveTablesCreateRequest no_routing_rules. */ - public no_routing_rules: boolean; - - /** MoveTablesCreateRequest atomic_copy. */ - public atomic_copy: boolean; - - /** MoveTablesCreateRequest workflow_options. */ - public workflow_options?: (vtctldata.IWorkflowOptions|null); - - /** - * Creates a new MoveTablesCreateRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns MoveTablesCreateRequest instance - */ - public static create(properties?: vtctldata.IMoveTablesCreateRequest): vtctldata.MoveTablesCreateRequest; - - /** - * Encodes the specified MoveTablesCreateRequest message. Does not implicitly {@link vtctldata.MoveTablesCreateRequest.verify|verify} messages. - * @param message MoveTablesCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMoveTablesCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MoveTablesCreateRequest message, length delimited. Does not implicitly {@link vtctldata.MoveTablesCreateRequest.verify|verify} messages. - * @param message MoveTablesCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMoveTablesCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MoveTablesCreateRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MoveTablesCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MoveTablesCreateRequest; - - /** - * Decodes a MoveTablesCreateRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MoveTablesCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MoveTablesCreateRequest; - - /** - * Verifies a MoveTablesCreateRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MoveTablesCreateRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MoveTablesCreateRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MoveTablesCreateRequest; - - /** - * Creates a plain object from a MoveTablesCreateRequest message. Also converts values to other types if specified. - * @param message MoveTablesCreateRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MoveTablesCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MoveTablesCreateRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MoveTablesCreateRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MoveTablesCreateResponse. */ - interface IMoveTablesCreateResponse { - - /** MoveTablesCreateResponse summary */ - summary?: (string|null); - - /** MoveTablesCreateResponse details */ - details?: (vtctldata.MoveTablesCreateResponse.ITabletInfo[]|null); - } - - /** Represents a MoveTablesCreateResponse. */ - class MoveTablesCreateResponse implements IMoveTablesCreateResponse { - - /** - * Constructs a new MoveTablesCreateResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMoveTablesCreateResponse); - - /** MoveTablesCreateResponse summary. */ - public summary: string; - - /** MoveTablesCreateResponse details. */ - public details: vtctldata.MoveTablesCreateResponse.ITabletInfo[]; - - /** - * Creates a new MoveTablesCreateResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns MoveTablesCreateResponse instance - */ - public static create(properties?: vtctldata.IMoveTablesCreateResponse): vtctldata.MoveTablesCreateResponse; - - /** - * Encodes the specified MoveTablesCreateResponse message. Does not implicitly {@link vtctldata.MoveTablesCreateResponse.verify|verify} messages. - * @param message MoveTablesCreateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMoveTablesCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MoveTablesCreateResponse message, length delimited. Does not implicitly {@link vtctldata.MoveTablesCreateResponse.verify|verify} messages. - * @param message MoveTablesCreateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMoveTablesCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MoveTablesCreateResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MoveTablesCreateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MoveTablesCreateResponse; - - /** - * Decodes a MoveTablesCreateResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MoveTablesCreateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MoveTablesCreateResponse; - - /** - * Verifies a MoveTablesCreateResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MoveTablesCreateResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MoveTablesCreateResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MoveTablesCreateResponse; - - /** - * Creates a plain object from a MoveTablesCreateResponse message. Also converts values to other types if specified. - * @param message MoveTablesCreateResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MoveTablesCreateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MoveTablesCreateResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MoveTablesCreateResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace MoveTablesCreateResponse { - - /** Properties of a TabletInfo. */ - interface ITabletInfo { - - /** TabletInfo tablet */ - tablet?: (topodata.ITabletAlias|null); - - /** TabletInfo created */ - created?: (boolean|null); - } - - /** Represents a TabletInfo. */ - class TabletInfo implements ITabletInfo { - - /** - * Constructs a new TabletInfo. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.MoveTablesCreateResponse.ITabletInfo); - - /** TabletInfo tablet. */ - public tablet?: (topodata.ITabletAlias|null); - - /** TabletInfo created. */ - public created: boolean; - - /** - * Creates a new TabletInfo instance using the specified properties. - * @param [properties] Properties to set - * @returns TabletInfo instance - */ - public static create(properties?: vtctldata.MoveTablesCreateResponse.ITabletInfo): vtctldata.MoveTablesCreateResponse.TabletInfo; - - /** - * Encodes the specified TabletInfo message. Does not implicitly {@link vtctldata.MoveTablesCreateResponse.TabletInfo.verify|verify} messages. - * @param message TabletInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.MoveTablesCreateResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TabletInfo message, length delimited. Does not implicitly {@link vtctldata.MoveTablesCreateResponse.TabletInfo.verify|verify} messages. - * @param message TabletInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.MoveTablesCreateResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TabletInfo message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TabletInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MoveTablesCreateResponse.TabletInfo; - - /** - * Decodes a TabletInfo message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TabletInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MoveTablesCreateResponse.TabletInfo; - - /** - * Verifies a TabletInfo message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a TabletInfo message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TabletInfo - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MoveTablesCreateResponse.TabletInfo; - - /** - * Creates a plain object from a TabletInfo message. Also converts values to other types if specified. - * @param message TabletInfo - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MoveTablesCreateResponse.TabletInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TabletInfo to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TabletInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of a MoveTablesCompleteRequest. */ - interface IMoveTablesCompleteRequest { - - /** MoveTablesCompleteRequest workflow */ - workflow?: (string|null); - - /** MoveTablesCompleteRequest target_keyspace */ - target_keyspace?: (string|null); - - /** MoveTablesCompleteRequest keep_data */ - keep_data?: (boolean|null); - - /** MoveTablesCompleteRequest keep_routing_rules */ - keep_routing_rules?: (boolean|null); - - /** MoveTablesCompleteRequest rename_tables */ - rename_tables?: (boolean|null); - - /** MoveTablesCompleteRequest dry_run */ - dry_run?: (boolean|null); - - /** MoveTablesCompleteRequest shards */ - shards?: (string[]|null); - } - - /** Represents a MoveTablesCompleteRequest. */ - class MoveTablesCompleteRequest implements IMoveTablesCompleteRequest { - - /** - * Constructs a new MoveTablesCompleteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMoveTablesCompleteRequest); - - /** MoveTablesCompleteRequest workflow. */ - public workflow: string; - - /** MoveTablesCompleteRequest target_keyspace. */ - public target_keyspace: string; - - /** MoveTablesCompleteRequest keep_data. */ - public keep_data: boolean; - - /** MoveTablesCompleteRequest keep_routing_rules. */ - public keep_routing_rules: boolean; - - /** MoveTablesCompleteRequest rename_tables. */ - public rename_tables: boolean; - - /** MoveTablesCompleteRequest dry_run. */ - public dry_run: boolean; - - /** MoveTablesCompleteRequest shards. */ - public shards: string[]; - - /** - * Creates a new MoveTablesCompleteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns MoveTablesCompleteRequest instance - */ - public static create(properties?: vtctldata.IMoveTablesCompleteRequest): vtctldata.MoveTablesCompleteRequest; - - /** - * Encodes the specified MoveTablesCompleteRequest message. Does not implicitly {@link vtctldata.MoveTablesCompleteRequest.verify|verify} messages. - * @param message MoveTablesCompleteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMoveTablesCompleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MoveTablesCompleteRequest message, length delimited. Does not implicitly {@link vtctldata.MoveTablesCompleteRequest.verify|verify} messages. - * @param message MoveTablesCompleteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMoveTablesCompleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MoveTablesCompleteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MoveTablesCompleteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MoveTablesCompleteRequest; - - /** - * Decodes a MoveTablesCompleteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MoveTablesCompleteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MoveTablesCompleteRequest; - - /** - * Verifies a MoveTablesCompleteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MoveTablesCompleteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MoveTablesCompleteRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MoveTablesCompleteRequest; - - /** - * Creates a plain object from a MoveTablesCompleteRequest message. Also converts values to other types if specified. - * @param message MoveTablesCompleteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MoveTablesCompleteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MoveTablesCompleteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MoveTablesCompleteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a MoveTablesCompleteResponse. */ - interface IMoveTablesCompleteResponse { - - /** MoveTablesCompleteResponse summary */ - summary?: (string|null); - - /** MoveTablesCompleteResponse dry_run_results */ - dry_run_results?: (string[]|null); - } - - /** Represents a MoveTablesCompleteResponse. */ - class MoveTablesCompleteResponse implements IMoveTablesCompleteResponse { - - /** - * Constructs a new MoveTablesCompleteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IMoveTablesCompleteResponse); - - /** MoveTablesCompleteResponse summary. */ - public summary: string; - - /** MoveTablesCompleteResponse dry_run_results. */ - public dry_run_results: string[]; - - /** - * Creates a new MoveTablesCompleteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns MoveTablesCompleteResponse instance - */ - public static create(properties?: vtctldata.IMoveTablesCompleteResponse): vtctldata.MoveTablesCompleteResponse; - - /** - * Encodes the specified MoveTablesCompleteResponse message. Does not implicitly {@link vtctldata.MoveTablesCompleteResponse.verify|verify} messages. - * @param message MoveTablesCompleteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IMoveTablesCompleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified MoveTablesCompleteResponse message, length delimited. Does not implicitly {@link vtctldata.MoveTablesCompleteResponse.verify|verify} messages. - * @param message MoveTablesCompleteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IMoveTablesCompleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a MoveTablesCompleteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MoveTablesCompleteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.MoveTablesCompleteResponse; - - /** - * Decodes a MoveTablesCompleteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MoveTablesCompleteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.MoveTablesCompleteResponse; - - /** - * Verifies a MoveTablesCompleteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a MoveTablesCompleteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MoveTablesCompleteResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.MoveTablesCompleteResponse; - - /** - * Creates a plain object from a MoveTablesCompleteResponse message. Also converts values to other types if specified. - * @param message MoveTablesCompleteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.MoveTablesCompleteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this MoveTablesCompleteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for MoveTablesCompleteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a PingTabletRequest. */ - interface IPingTabletRequest { - - /** PingTabletRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a PingTabletRequest. */ - class PingTabletRequest implements IPingTabletRequest { - - /** - * Constructs a new PingTabletRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IPingTabletRequest); - - /** PingTabletRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new PingTabletRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns PingTabletRequest instance - */ - public static create(properties?: vtctldata.IPingTabletRequest): vtctldata.PingTabletRequest; - - /** - * Encodes the specified PingTabletRequest message. Does not implicitly {@link vtctldata.PingTabletRequest.verify|verify} messages. - * @param message PingTabletRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IPingTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PingTabletRequest message, length delimited. Does not implicitly {@link vtctldata.PingTabletRequest.verify|verify} messages. - * @param message PingTabletRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IPingTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PingTabletRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PingTabletRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PingTabletRequest; - - /** - * Decodes a PingTabletRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PingTabletRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PingTabletRequest; - - /** - * Verifies a PingTabletRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a PingTabletRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PingTabletRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.PingTabletRequest; - - /** - * Creates a plain object from a PingTabletRequest message. Also converts values to other types if specified. - * @param message PingTabletRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.PingTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PingTabletRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PingTabletRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a PingTabletResponse. */ - interface IPingTabletResponse { - } - - /** Represents a PingTabletResponse. */ - class PingTabletResponse implements IPingTabletResponse { - - /** - * Constructs a new PingTabletResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IPingTabletResponse); - - /** - * Creates a new PingTabletResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns PingTabletResponse instance - */ - public static create(properties?: vtctldata.IPingTabletResponse): vtctldata.PingTabletResponse; - - /** - * Encodes the specified PingTabletResponse message. Does not implicitly {@link vtctldata.PingTabletResponse.verify|verify} messages. - * @param message PingTabletResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IPingTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PingTabletResponse message, length delimited. Does not implicitly {@link vtctldata.PingTabletResponse.verify|verify} messages. - * @param message PingTabletResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IPingTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PingTabletResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PingTabletResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PingTabletResponse; - - /** - * Decodes a PingTabletResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PingTabletResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PingTabletResponse; - - /** - * Verifies a PingTabletResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a PingTabletResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PingTabletResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.PingTabletResponse; - - /** - * Creates a plain object from a PingTabletResponse message. Also converts values to other types if specified. - * @param message PingTabletResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.PingTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PingTabletResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PingTabletResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a PlannedReparentShardRequest. */ - interface IPlannedReparentShardRequest { - - /** PlannedReparentShardRequest keyspace */ - keyspace?: (string|null); - - /** PlannedReparentShardRequest shard */ - shard?: (string|null); - - /** PlannedReparentShardRequest new_primary */ - new_primary?: (topodata.ITabletAlias|null); - - /** PlannedReparentShardRequest avoid_primary */ - avoid_primary?: (topodata.ITabletAlias|null); - - /** PlannedReparentShardRequest wait_replicas_timeout */ - wait_replicas_timeout?: (vttime.IDuration|null); - - /** PlannedReparentShardRequest tolerable_replication_lag */ - tolerable_replication_lag?: (vttime.IDuration|null); - - /** PlannedReparentShardRequest allow_cross_cell_promotion */ - allow_cross_cell_promotion?: (boolean|null); - - /** PlannedReparentShardRequest expected_primary */ - expected_primary?: (topodata.ITabletAlias|null); - } - - /** Represents a PlannedReparentShardRequest. */ - class PlannedReparentShardRequest implements IPlannedReparentShardRequest { - - /** - * Constructs a new PlannedReparentShardRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IPlannedReparentShardRequest); - - /** PlannedReparentShardRequest keyspace. */ - public keyspace: string; - - /** PlannedReparentShardRequest shard. */ - public shard: string; - - /** PlannedReparentShardRequest new_primary. */ - public new_primary?: (topodata.ITabletAlias|null); - - /** PlannedReparentShardRequest avoid_primary. */ - public avoid_primary?: (topodata.ITabletAlias|null); - - /** PlannedReparentShardRequest wait_replicas_timeout. */ - public wait_replicas_timeout?: (vttime.IDuration|null); - - /** PlannedReparentShardRequest tolerable_replication_lag. */ - public tolerable_replication_lag?: (vttime.IDuration|null); - - /** PlannedReparentShardRequest allow_cross_cell_promotion. */ - public allow_cross_cell_promotion: boolean; - - /** PlannedReparentShardRequest expected_primary. */ - public expected_primary?: (topodata.ITabletAlias|null); - - /** - * Creates a new PlannedReparentShardRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns PlannedReparentShardRequest instance - */ - public static create(properties?: vtctldata.IPlannedReparentShardRequest): vtctldata.PlannedReparentShardRequest; - - /** - * Encodes the specified PlannedReparentShardRequest message. Does not implicitly {@link vtctldata.PlannedReparentShardRequest.verify|verify} messages. - * @param message PlannedReparentShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IPlannedReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PlannedReparentShardRequest message, length delimited. Does not implicitly {@link vtctldata.PlannedReparentShardRequest.verify|verify} messages. - * @param message PlannedReparentShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IPlannedReparentShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PlannedReparentShardRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PlannedReparentShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PlannedReparentShardRequest; - - /** - * Decodes a PlannedReparentShardRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PlannedReparentShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PlannedReparentShardRequest; - - /** - * Verifies a PlannedReparentShardRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a PlannedReparentShardRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PlannedReparentShardRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.PlannedReparentShardRequest; - - /** - * Creates a plain object from a PlannedReparentShardRequest message. Also converts values to other types if specified. - * @param message PlannedReparentShardRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.PlannedReparentShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PlannedReparentShardRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PlannedReparentShardRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a PlannedReparentShardResponse. */ - interface IPlannedReparentShardResponse { - - /** PlannedReparentShardResponse keyspace */ - keyspace?: (string|null); - - /** PlannedReparentShardResponse shard */ - shard?: (string|null); - - /** PlannedReparentShardResponse promoted_primary */ - promoted_primary?: (topodata.ITabletAlias|null); - - /** PlannedReparentShardResponse events */ - events?: (logutil.IEvent[]|null); - } - - /** Represents a PlannedReparentShardResponse. */ - class PlannedReparentShardResponse implements IPlannedReparentShardResponse { - - /** - * Constructs a new PlannedReparentShardResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IPlannedReparentShardResponse); - - /** PlannedReparentShardResponse keyspace. */ - public keyspace: string; - - /** PlannedReparentShardResponse shard. */ - public shard: string; - - /** PlannedReparentShardResponse promoted_primary. */ - public promoted_primary?: (topodata.ITabletAlias|null); - - /** PlannedReparentShardResponse events. */ - public events: logutil.IEvent[]; - - /** - * Creates a new PlannedReparentShardResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns PlannedReparentShardResponse instance - */ - public static create(properties?: vtctldata.IPlannedReparentShardResponse): vtctldata.PlannedReparentShardResponse; - - /** - * Encodes the specified PlannedReparentShardResponse message. Does not implicitly {@link vtctldata.PlannedReparentShardResponse.verify|verify} messages. - * @param message PlannedReparentShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IPlannedReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified PlannedReparentShardResponse message, length delimited. Does not implicitly {@link vtctldata.PlannedReparentShardResponse.verify|verify} messages. - * @param message PlannedReparentShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IPlannedReparentShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a PlannedReparentShardResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns PlannedReparentShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.PlannedReparentShardResponse; - - /** - * Decodes a PlannedReparentShardResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns PlannedReparentShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.PlannedReparentShardResponse; - - /** - * Verifies a PlannedReparentShardResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a PlannedReparentShardResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns PlannedReparentShardResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.PlannedReparentShardResponse; - - /** - * Creates a plain object from a PlannedReparentShardResponse message. Also converts values to other types if specified. - * @param message PlannedReparentShardResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.PlannedReparentShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PlannedReparentShardResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PlannedReparentShardResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RebuildKeyspaceGraphRequest. */ - interface IRebuildKeyspaceGraphRequest { - - /** RebuildKeyspaceGraphRequest keyspace */ - keyspace?: (string|null); - - /** RebuildKeyspaceGraphRequest cells */ - cells?: (string[]|null); - - /** RebuildKeyspaceGraphRequest allow_partial */ - allow_partial?: (boolean|null); - } - - /** Represents a RebuildKeyspaceGraphRequest. */ - class RebuildKeyspaceGraphRequest implements IRebuildKeyspaceGraphRequest { - - /** - * Constructs a new RebuildKeyspaceGraphRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRebuildKeyspaceGraphRequest); - - /** RebuildKeyspaceGraphRequest keyspace. */ - public keyspace: string; - - /** RebuildKeyspaceGraphRequest cells. */ - public cells: string[]; - - /** RebuildKeyspaceGraphRequest allow_partial. */ - public allow_partial: boolean; - - /** - * Creates a new RebuildKeyspaceGraphRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RebuildKeyspaceGraphRequest instance - */ - public static create(properties?: vtctldata.IRebuildKeyspaceGraphRequest): vtctldata.RebuildKeyspaceGraphRequest; - - /** - * Encodes the specified RebuildKeyspaceGraphRequest message. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphRequest.verify|verify} messages. - * @param message RebuildKeyspaceGraphRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRebuildKeyspaceGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RebuildKeyspaceGraphRequest message, length delimited. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphRequest.verify|verify} messages. - * @param message RebuildKeyspaceGraphRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRebuildKeyspaceGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RebuildKeyspaceGraphRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RebuildKeyspaceGraphRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildKeyspaceGraphRequest; - - /** - * Decodes a RebuildKeyspaceGraphRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RebuildKeyspaceGraphRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildKeyspaceGraphRequest; - - /** - * Verifies a RebuildKeyspaceGraphRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RebuildKeyspaceGraphRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RebuildKeyspaceGraphRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RebuildKeyspaceGraphRequest; - - /** - * Creates a plain object from a RebuildKeyspaceGraphRequest message. Also converts values to other types if specified. - * @param message RebuildKeyspaceGraphRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RebuildKeyspaceGraphRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RebuildKeyspaceGraphRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RebuildKeyspaceGraphRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RebuildKeyspaceGraphResponse. */ - interface IRebuildKeyspaceGraphResponse { - } - - /** Represents a RebuildKeyspaceGraphResponse. */ - class RebuildKeyspaceGraphResponse implements IRebuildKeyspaceGraphResponse { - - /** - * Constructs a new RebuildKeyspaceGraphResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRebuildKeyspaceGraphResponse); - - /** - * Creates a new RebuildKeyspaceGraphResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RebuildKeyspaceGraphResponse instance - */ - public static create(properties?: vtctldata.IRebuildKeyspaceGraphResponse): vtctldata.RebuildKeyspaceGraphResponse; - - /** - * Encodes the specified RebuildKeyspaceGraphResponse message. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphResponse.verify|verify} messages. - * @param message RebuildKeyspaceGraphResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRebuildKeyspaceGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RebuildKeyspaceGraphResponse message, length delimited. Does not implicitly {@link vtctldata.RebuildKeyspaceGraphResponse.verify|verify} messages. - * @param message RebuildKeyspaceGraphResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRebuildKeyspaceGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RebuildKeyspaceGraphResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RebuildKeyspaceGraphResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildKeyspaceGraphResponse; - - /** - * Decodes a RebuildKeyspaceGraphResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RebuildKeyspaceGraphResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildKeyspaceGraphResponse; - - /** - * Verifies a RebuildKeyspaceGraphResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RebuildKeyspaceGraphResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RebuildKeyspaceGraphResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RebuildKeyspaceGraphResponse; - - /** - * Creates a plain object from a RebuildKeyspaceGraphResponse message. Also converts values to other types if specified. - * @param message RebuildKeyspaceGraphResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RebuildKeyspaceGraphResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RebuildKeyspaceGraphResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RebuildKeyspaceGraphResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RebuildVSchemaGraphRequest. */ - interface IRebuildVSchemaGraphRequest { - - /** RebuildVSchemaGraphRequest cells */ - cells?: (string[]|null); - } - - /** Represents a RebuildVSchemaGraphRequest. */ - class RebuildVSchemaGraphRequest implements IRebuildVSchemaGraphRequest { - - /** - * Constructs a new RebuildVSchemaGraphRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRebuildVSchemaGraphRequest); - - /** RebuildVSchemaGraphRequest cells. */ - public cells: string[]; - - /** - * Creates a new RebuildVSchemaGraphRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RebuildVSchemaGraphRequest instance - */ - public static create(properties?: vtctldata.IRebuildVSchemaGraphRequest): vtctldata.RebuildVSchemaGraphRequest; - - /** - * Encodes the specified RebuildVSchemaGraphRequest message. Does not implicitly {@link vtctldata.RebuildVSchemaGraphRequest.verify|verify} messages. - * @param message RebuildVSchemaGraphRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRebuildVSchemaGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RebuildVSchemaGraphRequest message, length delimited. Does not implicitly {@link vtctldata.RebuildVSchemaGraphRequest.verify|verify} messages. - * @param message RebuildVSchemaGraphRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRebuildVSchemaGraphRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RebuildVSchemaGraphRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RebuildVSchemaGraphRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildVSchemaGraphRequest; - - /** - * Decodes a RebuildVSchemaGraphRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RebuildVSchemaGraphRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildVSchemaGraphRequest; - - /** - * Verifies a RebuildVSchemaGraphRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RebuildVSchemaGraphRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RebuildVSchemaGraphRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RebuildVSchemaGraphRequest; - - /** - * Creates a plain object from a RebuildVSchemaGraphRequest message. Also converts values to other types if specified. - * @param message RebuildVSchemaGraphRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RebuildVSchemaGraphRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RebuildVSchemaGraphRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RebuildVSchemaGraphRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RebuildVSchemaGraphResponse. */ - interface IRebuildVSchemaGraphResponse { - } - - /** Represents a RebuildVSchemaGraphResponse. */ - class RebuildVSchemaGraphResponse implements IRebuildVSchemaGraphResponse { - - /** - * Constructs a new RebuildVSchemaGraphResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRebuildVSchemaGraphResponse); - - /** - * Creates a new RebuildVSchemaGraphResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RebuildVSchemaGraphResponse instance - */ - public static create(properties?: vtctldata.IRebuildVSchemaGraphResponse): vtctldata.RebuildVSchemaGraphResponse; - - /** - * Encodes the specified RebuildVSchemaGraphResponse message. Does not implicitly {@link vtctldata.RebuildVSchemaGraphResponse.verify|verify} messages. - * @param message RebuildVSchemaGraphResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRebuildVSchemaGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RebuildVSchemaGraphResponse message, length delimited. Does not implicitly {@link vtctldata.RebuildVSchemaGraphResponse.verify|verify} messages. - * @param message RebuildVSchemaGraphResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRebuildVSchemaGraphResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RebuildVSchemaGraphResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RebuildVSchemaGraphResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RebuildVSchemaGraphResponse; - - /** - * Decodes a RebuildVSchemaGraphResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RebuildVSchemaGraphResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RebuildVSchemaGraphResponse; - - /** - * Verifies a RebuildVSchemaGraphResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RebuildVSchemaGraphResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RebuildVSchemaGraphResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RebuildVSchemaGraphResponse; - - /** - * Creates a plain object from a RebuildVSchemaGraphResponse message. Also converts values to other types if specified. - * @param message RebuildVSchemaGraphResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RebuildVSchemaGraphResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RebuildVSchemaGraphResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RebuildVSchemaGraphResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RefreshStateRequest. */ - interface IRefreshStateRequest { - - /** RefreshStateRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a RefreshStateRequest. */ - class RefreshStateRequest implements IRefreshStateRequest { - - /** - * Constructs a new RefreshStateRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRefreshStateRequest); - - /** RefreshStateRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new RefreshStateRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RefreshStateRequest instance - */ - public static create(properties?: vtctldata.IRefreshStateRequest): vtctldata.RefreshStateRequest; - - /** - * Encodes the specified RefreshStateRequest message. Does not implicitly {@link vtctldata.RefreshStateRequest.verify|verify} messages. - * @param message RefreshStateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRefreshStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RefreshStateRequest message, length delimited. Does not implicitly {@link vtctldata.RefreshStateRequest.verify|verify} messages. - * @param message RefreshStateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRefreshStateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RefreshStateRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RefreshStateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateRequest; - - /** - * Decodes a RefreshStateRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RefreshStateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateRequest; - - /** - * Verifies a RefreshStateRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RefreshStateRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RefreshStateRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateRequest; - - /** - * Creates a plain object from a RefreshStateRequest message. Also converts values to other types if specified. - * @param message RefreshStateRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RefreshStateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RefreshStateRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RefreshStateRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RefreshStateResponse. */ - interface IRefreshStateResponse { - } - - /** Represents a RefreshStateResponse. */ - class RefreshStateResponse implements IRefreshStateResponse { - - /** - * Constructs a new RefreshStateResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRefreshStateResponse); - - /** - * Creates a new RefreshStateResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RefreshStateResponse instance - */ - public static create(properties?: vtctldata.IRefreshStateResponse): vtctldata.RefreshStateResponse; - - /** - * Encodes the specified RefreshStateResponse message. Does not implicitly {@link vtctldata.RefreshStateResponse.verify|verify} messages. - * @param message RefreshStateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRefreshStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RefreshStateResponse message, length delimited. Does not implicitly {@link vtctldata.RefreshStateResponse.verify|verify} messages. - * @param message RefreshStateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRefreshStateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RefreshStateResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RefreshStateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateResponse; - - /** - * Decodes a RefreshStateResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RefreshStateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateResponse; - - /** - * Verifies a RefreshStateResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RefreshStateResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RefreshStateResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateResponse; - - /** - * Creates a plain object from a RefreshStateResponse message. Also converts values to other types if specified. - * @param message RefreshStateResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RefreshStateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RefreshStateResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RefreshStateResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RefreshStateByShardRequest. */ - interface IRefreshStateByShardRequest { - - /** RefreshStateByShardRequest keyspace */ - keyspace?: (string|null); - - /** RefreshStateByShardRequest shard */ - shard?: (string|null); - - /** RefreshStateByShardRequest cells */ - cells?: (string[]|null); - } - - /** Represents a RefreshStateByShardRequest. */ - class RefreshStateByShardRequest implements IRefreshStateByShardRequest { - - /** - * Constructs a new RefreshStateByShardRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRefreshStateByShardRequest); - - /** RefreshStateByShardRequest keyspace. */ - public keyspace: string; - - /** RefreshStateByShardRequest shard. */ - public shard: string; - - /** RefreshStateByShardRequest cells. */ - public cells: string[]; - - /** - * Creates a new RefreshStateByShardRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RefreshStateByShardRequest instance - */ - public static create(properties?: vtctldata.IRefreshStateByShardRequest): vtctldata.RefreshStateByShardRequest; - - /** - * Encodes the specified RefreshStateByShardRequest message. Does not implicitly {@link vtctldata.RefreshStateByShardRequest.verify|verify} messages. - * @param message RefreshStateByShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRefreshStateByShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RefreshStateByShardRequest message, length delimited. Does not implicitly {@link vtctldata.RefreshStateByShardRequest.verify|verify} messages. - * @param message RefreshStateByShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRefreshStateByShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RefreshStateByShardRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RefreshStateByShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateByShardRequest; - - /** - * Decodes a RefreshStateByShardRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RefreshStateByShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateByShardRequest; - - /** - * Verifies a RefreshStateByShardRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RefreshStateByShardRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RefreshStateByShardRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateByShardRequest; - - /** - * Creates a plain object from a RefreshStateByShardRequest message. Also converts values to other types if specified. - * @param message RefreshStateByShardRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RefreshStateByShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RefreshStateByShardRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RefreshStateByShardRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RefreshStateByShardResponse. */ - interface IRefreshStateByShardResponse { - - /** RefreshStateByShardResponse is_partial_refresh */ - is_partial_refresh?: (boolean|null); - - /** RefreshStateByShardResponse partial_refresh_details */ - partial_refresh_details?: (string|null); - } - - /** Represents a RefreshStateByShardResponse. */ - class RefreshStateByShardResponse implements IRefreshStateByShardResponse { - - /** - * Constructs a new RefreshStateByShardResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRefreshStateByShardResponse); - - /** RefreshStateByShardResponse is_partial_refresh. */ - public is_partial_refresh: boolean; - - /** RefreshStateByShardResponse partial_refresh_details. */ - public partial_refresh_details: string; - - /** - * Creates a new RefreshStateByShardResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RefreshStateByShardResponse instance - */ - public static create(properties?: vtctldata.IRefreshStateByShardResponse): vtctldata.RefreshStateByShardResponse; - - /** - * Encodes the specified RefreshStateByShardResponse message. Does not implicitly {@link vtctldata.RefreshStateByShardResponse.verify|verify} messages. - * @param message RefreshStateByShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRefreshStateByShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RefreshStateByShardResponse message, length delimited. Does not implicitly {@link vtctldata.RefreshStateByShardResponse.verify|verify} messages. - * @param message RefreshStateByShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRefreshStateByShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RefreshStateByShardResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RefreshStateByShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RefreshStateByShardResponse; - - /** - * Decodes a RefreshStateByShardResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RefreshStateByShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RefreshStateByShardResponse; - - /** - * Verifies a RefreshStateByShardResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RefreshStateByShardResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RefreshStateByShardResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RefreshStateByShardResponse; - - /** - * Creates a plain object from a RefreshStateByShardResponse message. Also converts values to other types if specified. - * @param message RefreshStateByShardResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RefreshStateByShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RefreshStateByShardResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RefreshStateByShardResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReloadSchemaRequest. */ - interface IReloadSchemaRequest { - - /** ReloadSchemaRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a ReloadSchemaRequest. */ - class ReloadSchemaRequest implements IReloadSchemaRequest { - - /** - * Constructs a new ReloadSchemaRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IReloadSchemaRequest); - - /** ReloadSchemaRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new ReloadSchemaRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ReloadSchemaRequest instance - */ - public static create(properties?: vtctldata.IReloadSchemaRequest): vtctldata.ReloadSchemaRequest; - - /** - * Encodes the specified ReloadSchemaRequest message. Does not implicitly {@link vtctldata.ReloadSchemaRequest.verify|verify} messages. - * @param message ReloadSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IReloadSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReloadSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaRequest.verify|verify} messages. - * @param message ReloadSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IReloadSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReloadSchemaRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReloadSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaRequest; - - /** - * Decodes a ReloadSchemaRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReloadSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaRequest; - - /** - * Verifies a ReloadSchemaRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReloadSchemaRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReloadSchemaRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaRequest; - - /** - * Creates a plain object from a ReloadSchemaRequest message. Also converts values to other types if specified. - * @param message ReloadSchemaRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ReloadSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReloadSchemaRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReloadSchemaRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReloadSchemaResponse. */ - interface IReloadSchemaResponse { - } - - /** Represents a ReloadSchemaResponse. */ - class ReloadSchemaResponse implements IReloadSchemaResponse { - - /** - * Constructs a new ReloadSchemaResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IReloadSchemaResponse); - - /** - * Creates a new ReloadSchemaResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ReloadSchemaResponse instance - */ - public static create(properties?: vtctldata.IReloadSchemaResponse): vtctldata.ReloadSchemaResponse; - - /** - * Encodes the specified ReloadSchemaResponse message. Does not implicitly {@link vtctldata.ReloadSchemaResponse.verify|verify} messages. - * @param message ReloadSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IReloadSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReloadSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaResponse.verify|verify} messages. - * @param message ReloadSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IReloadSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReloadSchemaResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReloadSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaResponse; - - /** - * Decodes a ReloadSchemaResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReloadSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaResponse; - - /** - * Verifies a ReloadSchemaResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReloadSchemaResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReloadSchemaResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaResponse; - - /** - * Creates a plain object from a ReloadSchemaResponse message. Also converts values to other types if specified. - * @param message ReloadSchemaResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ReloadSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReloadSchemaResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReloadSchemaResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReloadSchemaKeyspaceRequest. */ - interface IReloadSchemaKeyspaceRequest { - - /** ReloadSchemaKeyspaceRequest keyspace */ - keyspace?: (string|null); - - /** ReloadSchemaKeyspaceRequest wait_position */ - wait_position?: (string|null); - - /** ReloadSchemaKeyspaceRequest include_primary */ - include_primary?: (boolean|null); - - /** ReloadSchemaKeyspaceRequest concurrency */ - concurrency?: (number|null); - } - - /** Represents a ReloadSchemaKeyspaceRequest. */ - class ReloadSchemaKeyspaceRequest implements IReloadSchemaKeyspaceRequest { - - /** - * Constructs a new ReloadSchemaKeyspaceRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IReloadSchemaKeyspaceRequest); - - /** ReloadSchemaKeyspaceRequest keyspace. */ - public keyspace: string; - - /** ReloadSchemaKeyspaceRequest wait_position. */ - public wait_position: string; - - /** ReloadSchemaKeyspaceRequest include_primary. */ - public include_primary: boolean; - - /** ReloadSchemaKeyspaceRequest concurrency. */ - public concurrency: number; - - /** - * Creates a new ReloadSchemaKeyspaceRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ReloadSchemaKeyspaceRequest instance - */ - public static create(properties?: vtctldata.IReloadSchemaKeyspaceRequest): vtctldata.ReloadSchemaKeyspaceRequest; - - /** - * Encodes the specified ReloadSchemaKeyspaceRequest message. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceRequest.verify|verify} messages. - * @param message ReloadSchemaKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IReloadSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReloadSchemaKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceRequest.verify|verify} messages. - * @param message ReloadSchemaKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IReloadSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReloadSchemaKeyspaceRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReloadSchemaKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaKeyspaceRequest; - - /** - * Decodes a ReloadSchemaKeyspaceRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReloadSchemaKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaKeyspaceRequest; - - /** - * Verifies a ReloadSchemaKeyspaceRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReloadSchemaKeyspaceRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReloadSchemaKeyspaceRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaKeyspaceRequest; - - /** - * Creates a plain object from a ReloadSchemaKeyspaceRequest message. Also converts values to other types if specified. - * @param message ReloadSchemaKeyspaceRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ReloadSchemaKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReloadSchemaKeyspaceRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReloadSchemaKeyspaceRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReloadSchemaKeyspaceResponse. */ - interface IReloadSchemaKeyspaceResponse { - - /** ReloadSchemaKeyspaceResponse events */ - events?: (logutil.IEvent[]|null); - } - - /** Represents a ReloadSchemaKeyspaceResponse. */ - class ReloadSchemaKeyspaceResponse implements IReloadSchemaKeyspaceResponse { - - /** - * Constructs a new ReloadSchemaKeyspaceResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IReloadSchemaKeyspaceResponse); - - /** ReloadSchemaKeyspaceResponse events. */ - public events: logutil.IEvent[]; - - /** - * Creates a new ReloadSchemaKeyspaceResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ReloadSchemaKeyspaceResponse instance - */ - public static create(properties?: vtctldata.IReloadSchemaKeyspaceResponse): vtctldata.ReloadSchemaKeyspaceResponse; - - /** - * Encodes the specified ReloadSchemaKeyspaceResponse message. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceResponse.verify|verify} messages. - * @param message ReloadSchemaKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IReloadSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReloadSchemaKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaKeyspaceResponse.verify|verify} messages. - * @param message ReloadSchemaKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IReloadSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReloadSchemaKeyspaceResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReloadSchemaKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaKeyspaceResponse; - - /** - * Decodes a ReloadSchemaKeyspaceResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReloadSchemaKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaKeyspaceResponse; - - /** - * Verifies a ReloadSchemaKeyspaceResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReloadSchemaKeyspaceResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReloadSchemaKeyspaceResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaKeyspaceResponse; - - /** - * Creates a plain object from a ReloadSchemaKeyspaceResponse message. Also converts values to other types if specified. - * @param message ReloadSchemaKeyspaceResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ReloadSchemaKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReloadSchemaKeyspaceResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReloadSchemaKeyspaceResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReloadSchemaShardRequest. */ - interface IReloadSchemaShardRequest { - - /** ReloadSchemaShardRequest keyspace */ - keyspace?: (string|null); - - /** ReloadSchemaShardRequest shard */ - shard?: (string|null); - - /** ReloadSchemaShardRequest wait_position */ - wait_position?: (string|null); - - /** ReloadSchemaShardRequest include_primary */ - include_primary?: (boolean|null); - - /** ReloadSchemaShardRequest concurrency */ - concurrency?: (number|null); - } - - /** Represents a ReloadSchemaShardRequest. */ - class ReloadSchemaShardRequest implements IReloadSchemaShardRequest { - - /** - * Constructs a new ReloadSchemaShardRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IReloadSchemaShardRequest); - - /** ReloadSchemaShardRequest keyspace. */ - public keyspace: string; - - /** ReloadSchemaShardRequest shard. */ - public shard: string; - - /** ReloadSchemaShardRequest wait_position. */ - public wait_position: string; - - /** ReloadSchemaShardRequest include_primary. */ - public include_primary: boolean; - - /** ReloadSchemaShardRequest concurrency. */ - public concurrency: number; - - /** - * Creates a new ReloadSchemaShardRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ReloadSchemaShardRequest instance - */ - public static create(properties?: vtctldata.IReloadSchemaShardRequest): vtctldata.ReloadSchemaShardRequest; - - /** - * Encodes the specified ReloadSchemaShardRequest message. Does not implicitly {@link vtctldata.ReloadSchemaShardRequest.verify|verify} messages. - * @param message ReloadSchemaShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IReloadSchemaShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReloadSchemaShardRequest message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaShardRequest.verify|verify} messages. - * @param message ReloadSchemaShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IReloadSchemaShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReloadSchemaShardRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReloadSchemaShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaShardRequest; - - /** - * Decodes a ReloadSchemaShardRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReloadSchemaShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaShardRequest; - - /** - * Verifies a ReloadSchemaShardRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReloadSchemaShardRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReloadSchemaShardRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaShardRequest; - - /** - * Creates a plain object from a ReloadSchemaShardRequest message. Also converts values to other types if specified. - * @param message ReloadSchemaShardRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ReloadSchemaShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReloadSchemaShardRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReloadSchemaShardRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReloadSchemaShardResponse. */ - interface IReloadSchemaShardResponse { - - /** ReloadSchemaShardResponse events */ - events?: (logutil.IEvent[]|null); - } - - /** Represents a ReloadSchemaShardResponse. */ - class ReloadSchemaShardResponse implements IReloadSchemaShardResponse { - - /** - * Constructs a new ReloadSchemaShardResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IReloadSchemaShardResponse); - - /** ReloadSchemaShardResponse events. */ - public events: logutil.IEvent[]; - - /** - * Creates a new ReloadSchemaShardResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ReloadSchemaShardResponse instance - */ - public static create(properties?: vtctldata.IReloadSchemaShardResponse): vtctldata.ReloadSchemaShardResponse; - - /** - * Encodes the specified ReloadSchemaShardResponse message. Does not implicitly {@link vtctldata.ReloadSchemaShardResponse.verify|verify} messages. - * @param message ReloadSchemaShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IReloadSchemaShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReloadSchemaShardResponse message, length delimited. Does not implicitly {@link vtctldata.ReloadSchemaShardResponse.verify|verify} messages. - * @param message ReloadSchemaShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IReloadSchemaShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReloadSchemaShardResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReloadSchemaShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReloadSchemaShardResponse; - - /** - * Decodes a ReloadSchemaShardResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReloadSchemaShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReloadSchemaShardResponse; - - /** - * Verifies a ReloadSchemaShardResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReloadSchemaShardResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReloadSchemaShardResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ReloadSchemaShardResponse; - - /** - * Creates a plain object from a ReloadSchemaShardResponse message. Also converts values to other types if specified. - * @param message ReloadSchemaShardResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ReloadSchemaShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReloadSchemaShardResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReloadSchemaShardResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RemoveBackupRequest. */ - interface IRemoveBackupRequest { - - /** RemoveBackupRequest keyspace */ - keyspace?: (string|null); - - /** RemoveBackupRequest shard */ - shard?: (string|null); - - /** RemoveBackupRequest name */ - name?: (string|null); - } - - /** Represents a RemoveBackupRequest. */ - class RemoveBackupRequest implements IRemoveBackupRequest { - - /** - * Constructs a new RemoveBackupRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRemoveBackupRequest); - - /** RemoveBackupRequest keyspace. */ - public keyspace: string; - - /** RemoveBackupRequest shard. */ - public shard: string; - - /** RemoveBackupRequest name. */ - public name: string; - - /** - * Creates a new RemoveBackupRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RemoveBackupRequest instance - */ - public static create(properties?: vtctldata.IRemoveBackupRequest): vtctldata.RemoveBackupRequest; - - /** - * Encodes the specified RemoveBackupRequest message. Does not implicitly {@link vtctldata.RemoveBackupRequest.verify|verify} messages. - * @param message RemoveBackupRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRemoveBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RemoveBackupRequest message, length delimited. Does not implicitly {@link vtctldata.RemoveBackupRequest.verify|verify} messages. - * @param message RemoveBackupRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRemoveBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RemoveBackupRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RemoveBackupRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveBackupRequest; - - /** - * Decodes a RemoveBackupRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RemoveBackupRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveBackupRequest; - - /** - * Verifies a RemoveBackupRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RemoveBackupRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RemoveBackupRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RemoveBackupRequest; - - /** - * Creates a plain object from a RemoveBackupRequest message. Also converts values to other types if specified. - * @param message RemoveBackupRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RemoveBackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RemoveBackupRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RemoveBackupRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RemoveBackupResponse. */ - interface IRemoveBackupResponse { - } - - /** Represents a RemoveBackupResponse. */ - class RemoveBackupResponse implements IRemoveBackupResponse { - - /** - * Constructs a new RemoveBackupResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRemoveBackupResponse); - - /** - * Creates a new RemoveBackupResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RemoveBackupResponse instance - */ - public static create(properties?: vtctldata.IRemoveBackupResponse): vtctldata.RemoveBackupResponse; - - /** - * Encodes the specified RemoveBackupResponse message. Does not implicitly {@link vtctldata.RemoveBackupResponse.verify|verify} messages. - * @param message RemoveBackupResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRemoveBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RemoveBackupResponse message, length delimited. Does not implicitly {@link vtctldata.RemoveBackupResponse.verify|verify} messages. - * @param message RemoveBackupResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRemoveBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RemoveBackupResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RemoveBackupResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveBackupResponse; - - /** - * Decodes a RemoveBackupResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RemoveBackupResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveBackupResponse; - - /** - * Verifies a RemoveBackupResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RemoveBackupResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RemoveBackupResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RemoveBackupResponse; - - /** - * Creates a plain object from a RemoveBackupResponse message. Also converts values to other types if specified. - * @param message RemoveBackupResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RemoveBackupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RemoveBackupResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RemoveBackupResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RemoveKeyspaceCellRequest. */ - interface IRemoveKeyspaceCellRequest { - - /** RemoveKeyspaceCellRequest keyspace */ - keyspace?: (string|null); - - /** RemoveKeyspaceCellRequest cell */ - cell?: (string|null); - - /** RemoveKeyspaceCellRequest force */ - force?: (boolean|null); - - /** RemoveKeyspaceCellRequest recursive */ - recursive?: (boolean|null); - } - - /** Represents a RemoveKeyspaceCellRequest. */ - class RemoveKeyspaceCellRequest implements IRemoveKeyspaceCellRequest { - - /** - * Constructs a new RemoveKeyspaceCellRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRemoveKeyspaceCellRequest); - - /** RemoveKeyspaceCellRequest keyspace. */ - public keyspace: string; - - /** RemoveKeyspaceCellRequest cell. */ - public cell: string; - - /** RemoveKeyspaceCellRequest force. */ - public force: boolean; - - /** RemoveKeyspaceCellRequest recursive. */ - public recursive: boolean; - - /** - * Creates a new RemoveKeyspaceCellRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RemoveKeyspaceCellRequest instance - */ - public static create(properties?: vtctldata.IRemoveKeyspaceCellRequest): vtctldata.RemoveKeyspaceCellRequest; - - /** - * Encodes the specified RemoveKeyspaceCellRequest message. Does not implicitly {@link vtctldata.RemoveKeyspaceCellRequest.verify|verify} messages. - * @param message RemoveKeyspaceCellRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRemoveKeyspaceCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RemoveKeyspaceCellRequest message, length delimited. Does not implicitly {@link vtctldata.RemoveKeyspaceCellRequest.verify|verify} messages. - * @param message RemoveKeyspaceCellRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRemoveKeyspaceCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RemoveKeyspaceCellRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RemoveKeyspaceCellRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveKeyspaceCellRequest; - - /** - * Decodes a RemoveKeyspaceCellRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RemoveKeyspaceCellRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveKeyspaceCellRequest; - - /** - * Verifies a RemoveKeyspaceCellRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RemoveKeyspaceCellRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RemoveKeyspaceCellRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RemoveKeyspaceCellRequest; - - /** - * Creates a plain object from a RemoveKeyspaceCellRequest message. Also converts values to other types if specified. - * @param message RemoveKeyspaceCellRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RemoveKeyspaceCellRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RemoveKeyspaceCellRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RemoveKeyspaceCellRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RemoveKeyspaceCellResponse. */ - interface IRemoveKeyspaceCellResponse { - } - - /** Represents a RemoveKeyspaceCellResponse. */ - class RemoveKeyspaceCellResponse implements IRemoveKeyspaceCellResponse { - - /** - * Constructs a new RemoveKeyspaceCellResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRemoveKeyspaceCellResponse); - - /** - * Creates a new RemoveKeyspaceCellResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RemoveKeyspaceCellResponse instance - */ - public static create(properties?: vtctldata.IRemoveKeyspaceCellResponse): vtctldata.RemoveKeyspaceCellResponse; - - /** - * Encodes the specified RemoveKeyspaceCellResponse message. Does not implicitly {@link vtctldata.RemoveKeyspaceCellResponse.verify|verify} messages. - * @param message RemoveKeyspaceCellResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRemoveKeyspaceCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RemoveKeyspaceCellResponse message, length delimited. Does not implicitly {@link vtctldata.RemoveKeyspaceCellResponse.verify|verify} messages. - * @param message RemoveKeyspaceCellResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRemoveKeyspaceCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RemoveKeyspaceCellResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RemoveKeyspaceCellResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveKeyspaceCellResponse; - - /** - * Decodes a RemoveKeyspaceCellResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RemoveKeyspaceCellResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveKeyspaceCellResponse; - - /** - * Verifies a RemoveKeyspaceCellResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RemoveKeyspaceCellResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RemoveKeyspaceCellResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RemoveKeyspaceCellResponse; - - /** - * Creates a plain object from a RemoveKeyspaceCellResponse message. Also converts values to other types if specified. - * @param message RemoveKeyspaceCellResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RemoveKeyspaceCellResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RemoveKeyspaceCellResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RemoveKeyspaceCellResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RemoveShardCellRequest. */ - interface IRemoveShardCellRequest { - - /** RemoveShardCellRequest keyspace */ - keyspace?: (string|null); - - /** RemoveShardCellRequest shard_name */ - shard_name?: (string|null); - - /** RemoveShardCellRequest cell */ - cell?: (string|null); - - /** RemoveShardCellRequest force */ - force?: (boolean|null); - - /** RemoveShardCellRequest recursive */ - recursive?: (boolean|null); - } - - /** Represents a RemoveShardCellRequest. */ - class RemoveShardCellRequest implements IRemoveShardCellRequest { - - /** - * Constructs a new RemoveShardCellRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRemoveShardCellRequest); - - /** RemoveShardCellRequest keyspace. */ - public keyspace: string; - - /** RemoveShardCellRequest shard_name. */ - public shard_name: string; - - /** RemoveShardCellRequest cell. */ - public cell: string; - - /** RemoveShardCellRequest force. */ - public force: boolean; - - /** RemoveShardCellRequest recursive. */ - public recursive: boolean; - - /** - * Creates a new RemoveShardCellRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RemoveShardCellRequest instance - */ - public static create(properties?: vtctldata.IRemoveShardCellRequest): vtctldata.RemoveShardCellRequest; - - /** - * Encodes the specified RemoveShardCellRequest message. Does not implicitly {@link vtctldata.RemoveShardCellRequest.verify|verify} messages. - * @param message RemoveShardCellRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRemoveShardCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RemoveShardCellRequest message, length delimited. Does not implicitly {@link vtctldata.RemoveShardCellRequest.verify|verify} messages. - * @param message RemoveShardCellRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRemoveShardCellRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RemoveShardCellRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RemoveShardCellRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveShardCellRequest; - - /** - * Decodes a RemoveShardCellRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RemoveShardCellRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveShardCellRequest; - - /** - * Verifies a RemoveShardCellRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RemoveShardCellRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RemoveShardCellRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RemoveShardCellRequest; - - /** - * Creates a plain object from a RemoveShardCellRequest message. Also converts values to other types if specified. - * @param message RemoveShardCellRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RemoveShardCellRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RemoveShardCellRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RemoveShardCellRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RemoveShardCellResponse. */ - interface IRemoveShardCellResponse { - } - - /** Represents a RemoveShardCellResponse. */ - class RemoveShardCellResponse implements IRemoveShardCellResponse { - - /** - * Constructs a new RemoveShardCellResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRemoveShardCellResponse); - - /** - * Creates a new RemoveShardCellResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RemoveShardCellResponse instance - */ - public static create(properties?: vtctldata.IRemoveShardCellResponse): vtctldata.RemoveShardCellResponse; - - /** - * Encodes the specified RemoveShardCellResponse message. Does not implicitly {@link vtctldata.RemoveShardCellResponse.verify|verify} messages. - * @param message RemoveShardCellResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRemoveShardCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RemoveShardCellResponse message, length delimited. Does not implicitly {@link vtctldata.RemoveShardCellResponse.verify|verify} messages. - * @param message RemoveShardCellResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRemoveShardCellResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RemoveShardCellResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RemoveShardCellResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RemoveShardCellResponse; - - /** - * Decodes a RemoveShardCellResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RemoveShardCellResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RemoveShardCellResponse; - - /** - * Verifies a RemoveShardCellResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RemoveShardCellResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RemoveShardCellResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RemoveShardCellResponse; - - /** - * Creates a plain object from a RemoveShardCellResponse message. Also converts values to other types if specified. - * @param message RemoveShardCellResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RemoveShardCellResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RemoveShardCellResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RemoveShardCellResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReparentTabletRequest. */ - interface IReparentTabletRequest { - - /** ReparentTabletRequest tablet */ - tablet?: (topodata.ITabletAlias|null); - } - - /** Represents a ReparentTabletRequest. */ - class ReparentTabletRequest implements IReparentTabletRequest { - - /** - * Constructs a new ReparentTabletRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IReparentTabletRequest); - - /** ReparentTabletRequest tablet. */ - public tablet?: (topodata.ITabletAlias|null); - - /** - * Creates a new ReparentTabletRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ReparentTabletRequest instance - */ - public static create(properties?: vtctldata.IReparentTabletRequest): vtctldata.ReparentTabletRequest; - - /** - * Encodes the specified ReparentTabletRequest message. Does not implicitly {@link vtctldata.ReparentTabletRequest.verify|verify} messages. - * @param message ReparentTabletRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IReparentTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReparentTabletRequest message, length delimited. Does not implicitly {@link vtctldata.ReparentTabletRequest.verify|verify} messages. - * @param message ReparentTabletRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IReparentTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReparentTabletRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReparentTabletRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReparentTabletRequest; - - /** - * Decodes a ReparentTabletRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReparentTabletRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReparentTabletRequest; - - /** - * Verifies a ReparentTabletRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReparentTabletRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReparentTabletRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ReparentTabletRequest; - - /** - * Creates a plain object from a ReparentTabletRequest message. Also converts values to other types if specified. - * @param message ReparentTabletRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ReparentTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReparentTabletRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReparentTabletRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReparentTabletResponse. */ - interface IReparentTabletResponse { - - /** ReparentTabletResponse keyspace */ - keyspace?: (string|null); - - /** ReparentTabletResponse shard */ - shard?: (string|null); - - /** ReparentTabletResponse primary */ - primary?: (topodata.ITabletAlias|null); - } - - /** Represents a ReparentTabletResponse. */ - class ReparentTabletResponse implements IReparentTabletResponse { - - /** - * Constructs a new ReparentTabletResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IReparentTabletResponse); - - /** ReparentTabletResponse keyspace. */ - public keyspace: string; - - /** ReparentTabletResponse shard. */ - public shard: string; - - /** ReparentTabletResponse primary. */ - public primary?: (topodata.ITabletAlias|null); - - /** - * Creates a new ReparentTabletResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ReparentTabletResponse instance - */ - public static create(properties?: vtctldata.IReparentTabletResponse): vtctldata.ReparentTabletResponse; - - /** - * Encodes the specified ReparentTabletResponse message. Does not implicitly {@link vtctldata.ReparentTabletResponse.verify|verify} messages. - * @param message ReparentTabletResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IReparentTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReparentTabletResponse message, length delimited. Does not implicitly {@link vtctldata.ReparentTabletResponse.verify|verify} messages. - * @param message ReparentTabletResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IReparentTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReparentTabletResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReparentTabletResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReparentTabletResponse; - - /** - * Decodes a ReparentTabletResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReparentTabletResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReparentTabletResponse; - - /** - * Verifies a ReparentTabletResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReparentTabletResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReparentTabletResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ReparentTabletResponse; - - /** - * Creates a plain object from a ReparentTabletResponse message. Also converts values to other types if specified. - * @param message ReparentTabletResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ReparentTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReparentTabletResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReparentTabletResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ReshardCreateRequest. */ - interface IReshardCreateRequest { - - /** ReshardCreateRequest workflow */ - workflow?: (string|null); - - /** ReshardCreateRequest keyspace */ - keyspace?: (string|null); - - /** ReshardCreateRequest source_shards */ - source_shards?: (string[]|null); - - /** ReshardCreateRequest target_shards */ - target_shards?: (string[]|null); - - /** ReshardCreateRequest cells */ - cells?: (string[]|null); - - /** ReshardCreateRequest tablet_types */ - tablet_types?: (topodata.TabletType[]|null); - - /** ReshardCreateRequest tablet_selection_preference */ - tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); - - /** ReshardCreateRequest skip_schema_copy */ - skip_schema_copy?: (boolean|null); - - /** ReshardCreateRequest on_ddl */ - on_ddl?: (string|null); - - /** ReshardCreateRequest stop_after_copy */ - stop_after_copy?: (boolean|null); - - /** ReshardCreateRequest defer_secondary_keys */ - defer_secondary_keys?: (boolean|null); - - /** ReshardCreateRequest auto_start */ - auto_start?: (boolean|null); - - /** ReshardCreateRequest workflow_options */ - workflow_options?: (vtctldata.IWorkflowOptions|null); - } - - /** Represents a ReshardCreateRequest. */ - class ReshardCreateRequest implements IReshardCreateRequest { - - /** - * Constructs a new ReshardCreateRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IReshardCreateRequest); - - /** ReshardCreateRequest workflow. */ - public workflow: string; - - /** ReshardCreateRequest keyspace. */ - public keyspace: string; - - /** ReshardCreateRequest source_shards. */ - public source_shards: string[]; - - /** ReshardCreateRequest target_shards. */ - public target_shards: string[]; - - /** ReshardCreateRequest cells. */ - public cells: string[]; - - /** ReshardCreateRequest tablet_types. */ - public tablet_types: topodata.TabletType[]; - - /** ReshardCreateRequest tablet_selection_preference. */ - public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; - - /** ReshardCreateRequest skip_schema_copy. */ - public skip_schema_copy: boolean; - - /** ReshardCreateRequest on_ddl. */ - public on_ddl: string; - - /** ReshardCreateRequest stop_after_copy. */ - public stop_after_copy: boolean; - - /** ReshardCreateRequest defer_secondary_keys. */ - public defer_secondary_keys: boolean; - - /** ReshardCreateRequest auto_start. */ - public auto_start: boolean; - - /** ReshardCreateRequest workflow_options. */ - public workflow_options?: (vtctldata.IWorkflowOptions|null); - - /** - * Creates a new ReshardCreateRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ReshardCreateRequest instance - */ - public static create(properties?: vtctldata.IReshardCreateRequest): vtctldata.ReshardCreateRequest; - - /** - * Encodes the specified ReshardCreateRequest message. Does not implicitly {@link vtctldata.ReshardCreateRequest.verify|verify} messages. - * @param message ReshardCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IReshardCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ReshardCreateRequest message, length delimited. Does not implicitly {@link vtctldata.ReshardCreateRequest.verify|verify} messages. - * @param message ReshardCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IReshardCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ReshardCreateRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ReshardCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ReshardCreateRequest; - - /** - * Decodes a ReshardCreateRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ReshardCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ReshardCreateRequest; - - /** - * Verifies a ReshardCreateRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ReshardCreateRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ReshardCreateRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ReshardCreateRequest; - - /** - * Creates a plain object from a ReshardCreateRequest message. Also converts values to other types if specified. - * @param message ReshardCreateRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ReshardCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ReshardCreateRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ReshardCreateRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RestoreFromBackupRequest. */ - interface IRestoreFromBackupRequest { - - /** RestoreFromBackupRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** RestoreFromBackupRequest backup_time */ - backup_time?: (vttime.ITime|null); - - /** RestoreFromBackupRequest restore_to_pos */ - restore_to_pos?: (string|null); - - /** RestoreFromBackupRequest dry_run */ - dry_run?: (boolean|null); - - /** RestoreFromBackupRequest restore_to_timestamp */ - restore_to_timestamp?: (vttime.ITime|null); - - /** RestoreFromBackupRequest allowed_backup_engines */ - allowed_backup_engines?: (string[]|null); - } - - /** Represents a RestoreFromBackupRequest. */ - class RestoreFromBackupRequest implements IRestoreFromBackupRequest { - - /** - * Constructs a new RestoreFromBackupRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRestoreFromBackupRequest); - - /** RestoreFromBackupRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** RestoreFromBackupRequest backup_time. */ - public backup_time?: (vttime.ITime|null); - - /** RestoreFromBackupRequest restore_to_pos. */ - public restore_to_pos: string; - - /** RestoreFromBackupRequest dry_run. */ - public dry_run: boolean; - - /** RestoreFromBackupRequest restore_to_timestamp. */ - public restore_to_timestamp?: (vttime.ITime|null); - - /** RestoreFromBackupRequest allowed_backup_engines. */ - public allowed_backup_engines: string[]; - - /** - * Creates a new RestoreFromBackupRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RestoreFromBackupRequest instance - */ - public static create(properties?: vtctldata.IRestoreFromBackupRequest): vtctldata.RestoreFromBackupRequest; - - /** - * Encodes the specified RestoreFromBackupRequest message. Does not implicitly {@link vtctldata.RestoreFromBackupRequest.verify|verify} messages. - * @param message RestoreFromBackupRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRestoreFromBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RestoreFromBackupRequest message, length delimited. Does not implicitly {@link vtctldata.RestoreFromBackupRequest.verify|verify} messages. - * @param message RestoreFromBackupRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRestoreFromBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RestoreFromBackupRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RestoreFromBackupRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RestoreFromBackupRequest; - - /** - * Decodes a RestoreFromBackupRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RestoreFromBackupRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RestoreFromBackupRequest; - - /** - * Verifies a RestoreFromBackupRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RestoreFromBackupRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RestoreFromBackupRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RestoreFromBackupRequest; - - /** - * Creates a plain object from a RestoreFromBackupRequest message. Also converts values to other types if specified. - * @param message RestoreFromBackupRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RestoreFromBackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RestoreFromBackupRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RestoreFromBackupRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RestoreFromBackupResponse. */ - interface IRestoreFromBackupResponse { - - /** RestoreFromBackupResponse tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** RestoreFromBackupResponse keyspace */ - keyspace?: (string|null); - - /** RestoreFromBackupResponse shard */ - shard?: (string|null); - - /** RestoreFromBackupResponse event */ - event?: (logutil.IEvent|null); - } - - /** Represents a RestoreFromBackupResponse. */ - class RestoreFromBackupResponse implements IRestoreFromBackupResponse { - - /** - * Constructs a new RestoreFromBackupResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRestoreFromBackupResponse); - - /** RestoreFromBackupResponse tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** RestoreFromBackupResponse keyspace. */ - public keyspace: string; - - /** RestoreFromBackupResponse shard. */ - public shard: string; - - /** RestoreFromBackupResponse event. */ - public event?: (logutil.IEvent|null); - - /** - * Creates a new RestoreFromBackupResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RestoreFromBackupResponse instance - */ - public static create(properties?: vtctldata.IRestoreFromBackupResponse): vtctldata.RestoreFromBackupResponse; - - /** - * Encodes the specified RestoreFromBackupResponse message. Does not implicitly {@link vtctldata.RestoreFromBackupResponse.verify|verify} messages. - * @param message RestoreFromBackupResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRestoreFromBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RestoreFromBackupResponse message, length delimited. Does not implicitly {@link vtctldata.RestoreFromBackupResponse.verify|verify} messages. - * @param message RestoreFromBackupResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRestoreFromBackupResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RestoreFromBackupResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RestoreFromBackupResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RestoreFromBackupResponse; - - /** - * Decodes a RestoreFromBackupResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RestoreFromBackupResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RestoreFromBackupResponse; - - /** - * Verifies a RestoreFromBackupResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RestoreFromBackupResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RestoreFromBackupResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RestoreFromBackupResponse; - - /** - * Creates a plain object from a RestoreFromBackupResponse message. Also converts values to other types if specified. - * @param message RestoreFromBackupResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RestoreFromBackupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RestoreFromBackupResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RestoreFromBackupResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RetrySchemaMigrationRequest. */ - interface IRetrySchemaMigrationRequest { - - /** RetrySchemaMigrationRequest keyspace */ - keyspace?: (string|null); - - /** RetrySchemaMigrationRequest uuid */ - uuid?: (string|null); - } - - /** Represents a RetrySchemaMigrationRequest. */ - class RetrySchemaMigrationRequest implements IRetrySchemaMigrationRequest { - - /** - * Constructs a new RetrySchemaMigrationRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRetrySchemaMigrationRequest); - - /** RetrySchemaMigrationRequest keyspace. */ - public keyspace: string; - - /** RetrySchemaMigrationRequest uuid. */ - public uuid: string; - - /** - * Creates a new RetrySchemaMigrationRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RetrySchemaMigrationRequest instance - */ - public static create(properties?: vtctldata.IRetrySchemaMigrationRequest): vtctldata.RetrySchemaMigrationRequest; - - /** - * Encodes the specified RetrySchemaMigrationRequest message. Does not implicitly {@link vtctldata.RetrySchemaMigrationRequest.verify|verify} messages. - * @param message RetrySchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRetrySchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RetrySchemaMigrationRequest message, length delimited. Does not implicitly {@link vtctldata.RetrySchemaMigrationRequest.verify|verify} messages. - * @param message RetrySchemaMigrationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRetrySchemaMigrationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RetrySchemaMigrationRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RetrySchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RetrySchemaMigrationRequest; - - /** - * Decodes a RetrySchemaMigrationRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RetrySchemaMigrationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RetrySchemaMigrationRequest; - - /** - * Verifies a RetrySchemaMigrationRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RetrySchemaMigrationRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RetrySchemaMigrationRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RetrySchemaMigrationRequest; - - /** - * Creates a plain object from a RetrySchemaMigrationRequest message. Also converts values to other types if specified. - * @param message RetrySchemaMigrationRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RetrySchemaMigrationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RetrySchemaMigrationRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RetrySchemaMigrationRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RetrySchemaMigrationResponse. */ - interface IRetrySchemaMigrationResponse { - - /** RetrySchemaMigrationResponse rows_affected_by_shard */ - rows_affected_by_shard?: ({ [k: string]: (number|Long) }|null); - } - - /** Represents a RetrySchemaMigrationResponse. */ - class RetrySchemaMigrationResponse implements IRetrySchemaMigrationResponse { - - /** - * Constructs a new RetrySchemaMigrationResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRetrySchemaMigrationResponse); - - /** RetrySchemaMigrationResponse rows_affected_by_shard. */ - public rows_affected_by_shard: { [k: string]: (number|Long) }; - - /** - * Creates a new RetrySchemaMigrationResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RetrySchemaMigrationResponse instance - */ - public static create(properties?: vtctldata.IRetrySchemaMigrationResponse): vtctldata.RetrySchemaMigrationResponse; - - /** - * Encodes the specified RetrySchemaMigrationResponse message. Does not implicitly {@link vtctldata.RetrySchemaMigrationResponse.verify|verify} messages. - * @param message RetrySchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRetrySchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RetrySchemaMigrationResponse message, length delimited. Does not implicitly {@link vtctldata.RetrySchemaMigrationResponse.verify|verify} messages. - * @param message RetrySchemaMigrationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRetrySchemaMigrationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RetrySchemaMigrationResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RetrySchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RetrySchemaMigrationResponse; - - /** - * Decodes a RetrySchemaMigrationResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RetrySchemaMigrationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RetrySchemaMigrationResponse; - - /** - * Verifies a RetrySchemaMigrationResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RetrySchemaMigrationResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RetrySchemaMigrationResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RetrySchemaMigrationResponse; - - /** - * Creates a plain object from a RetrySchemaMigrationResponse message. Also converts values to other types if specified. - * @param message RetrySchemaMigrationResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RetrySchemaMigrationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RetrySchemaMigrationResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RetrySchemaMigrationResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RunHealthCheckRequest. */ - interface IRunHealthCheckRequest { - - /** RunHealthCheckRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a RunHealthCheckRequest. */ - class RunHealthCheckRequest implements IRunHealthCheckRequest { - - /** - * Constructs a new RunHealthCheckRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRunHealthCheckRequest); - - /** RunHealthCheckRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new RunHealthCheckRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns RunHealthCheckRequest instance - */ - public static create(properties?: vtctldata.IRunHealthCheckRequest): vtctldata.RunHealthCheckRequest; - - /** - * Encodes the specified RunHealthCheckRequest message. Does not implicitly {@link vtctldata.RunHealthCheckRequest.verify|verify} messages. - * @param message RunHealthCheckRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRunHealthCheckRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RunHealthCheckRequest message, length delimited. Does not implicitly {@link vtctldata.RunHealthCheckRequest.verify|verify} messages. - * @param message RunHealthCheckRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRunHealthCheckRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RunHealthCheckRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RunHealthCheckRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RunHealthCheckRequest; - - /** - * Decodes a RunHealthCheckRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RunHealthCheckRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RunHealthCheckRequest; - - /** - * Verifies a RunHealthCheckRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RunHealthCheckRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RunHealthCheckRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RunHealthCheckRequest; - - /** - * Creates a plain object from a RunHealthCheckRequest message. Also converts values to other types if specified. - * @param message RunHealthCheckRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RunHealthCheckRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RunHealthCheckRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RunHealthCheckRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a RunHealthCheckResponse. */ - interface IRunHealthCheckResponse { - } - - /** Represents a RunHealthCheckResponse. */ - class RunHealthCheckResponse implements IRunHealthCheckResponse { - - /** - * Constructs a new RunHealthCheckResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IRunHealthCheckResponse); - - /** - * Creates a new RunHealthCheckResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns RunHealthCheckResponse instance - */ - public static create(properties?: vtctldata.IRunHealthCheckResponse): vtctldata.RunHealthCheckResponse; - - /** - * Encodes the specified RunHealthCheckResponse message. Does not implicitly {@link vtctldata.RunHealthCheckResponse.verify|verify} messages. - * @param message RunHealthCheckResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IRunHealthCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified RunHealthCheckResponse message, length delimited. Does not implicitly {@link vtctldata.RunHealthCheckResponse.verify|verify} messages. - * @param message RunHealthCheckResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IRunHealthCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a RunHealthCheckResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns RunHealthCheckResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.RunHealthCheckResponse; - - /** - * Decodes a RunHealthCheckResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns RunHealthCheckResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.RunHealthCheckResponse; - - /** - * Verifies a RunHealthCheckResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a RunHealthCheckResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns RunHealthCheckResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.RunHealthCheckResponse; - - /** - * Creates a plain object from a RunHealthCheckResponse message. Also converts values to other types if specified. - * @param message RunHealthCheckResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.RunHealthCheckResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this RunHealthCheckResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for RunHealthCheckResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetKeyspaceDurabilityPolicyRequest. */ - interface ISetKeyspaceDurabilityPolicyRequest { - - /** SetKeyspaceDurabilityPolicyRequest keyspace */ - keyspace?: (string|null); - - /** SetKeyspaceDurabilityPolicyRequest durability_policy */ - durability_policy?: (string|null); - } - - /** Represents a SetKeyspaceDurabilityPolicyRequest. */ - class SetKeyspaceDurabilityPolicyRequest implements ISetKeyspaceDurabilityPolicyRequest { - - /** - * Constructs a new SetKeyspaceDurabilityPolicyRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISetKeyspaceDurabilityPolicyRequest); - - /** SetKeyspaceDurabilityPolicyRequest keyspace. */ - public keyspace: string; - - /** SetKeyspaceDurabilityPolicyRequest durability_policy. */ - public durability_policy: string; - - /** - * Creates a new SetKeyspaceDurabilityPolicyRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns SetKeyspaceDurabilityPolicyRequest instance - */ - public static create(properties?: vtctldata.ISetKeyspaceDurabilityPolicyRequest): vtctldata.SetKeyspaceDurabilityPolicyRequest; - - /** - * Encodes the specified SetKeyspaceDurabilityPolicyRequest message. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyRequest.verify|verify} messages. - * @param message SetKeyspaceDurabilityPolicyRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISetKeyspaceDurabilityPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetKeyspaceDurabilityPolicyRequest message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyRequest.verify|verify} messages. - * @param message SetKeyspaceDurabilityPolicyRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISetKeyspaceDurabilityPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetKeyspaceDurabilityPolicyRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetKeyspaceDurabilityPolicyRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceDurabilityPolicyRequest; - - /** - * Decodes a SetKeyspaceDurabilityPolicyRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetKeyspaceDurabilityPolicyRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceDurabilityPolicyRequest; - - /** - * Verifies a SetKeyspaceDurabilityPolicyRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetKeyspaceDurabilityPolicyRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetKeyspaceDurabilityPolicyRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceDurabilityPolicyRequest; - - /** - * Creates a plain object from a SetKeyspaceDurabilityPolicyRequest message. Also converts values to other types if specified. - * @param message SetKeyspaceDurabilityPolicyRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SetKeyspaceDurabilityPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetKeyspaceDurabilityPolicyRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetKeyspaceDurabilityPolicyRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetKeyspaceDurabilityPolicyResponse. */ - interface ISetKeyspaceDurabilityPolicyResponse { - - /** SetKeyspaceDurabilityPolicyResponse keyspace */ - keyspace?: (topodata.IKeyspace|null); - } - - /** Represents a SetKeyspaceDurabilityPolicyResponse. */ - class SetKeyspaceDurabilityPolicyResponse implements ISetKeyspaceDurabilityPolicyResponse { - - /** - * Constructs a new SetKeyspaceDurabilityPolicyResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISetKeyspaceDurabilityPolicyResponse); - - /** SetKeyspaceDurabilityPolicyResponse keyspace. */ - public keyspace?: (topodata.IKeyspace|null); - - /** - * Creates a new SetKeyspaceDurabilityPolicyResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns SetKeyspaceDurabilityPolicyResponse instance - */ - public static create(properties?: vtctldata.ISetKeyspaceDurabilityPolicyResponse): vtctldata.SetKeyspaceDurabilityPolicyResponse; - - /** - * Encodes the specified SetKeyspaceDurabilityPolicyResponse message. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyResponse.verify|verify} messages. - * @param message SetKeyspaceDurabilityPolicyResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISetKeyspaceDurabilityPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetKeyspaceDurabilityPolicyResponse message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceDurabilityPolicyResponse.verify|verify} messages. - * @param message SetKeyspaceDurabilityPolicyResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISetKeyspaceDurabilityPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetKeyspaceDurabilityPolicyResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetKeyspaceDurabilityPolicyResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceDurabilityPolicyResponse; - - /** - * Decodes a SetKeyspaceDurabilityPolicyResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetKeyspaceDurabilityPolicyResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceDurabilityPolicyResponse; - - /** - * Verifies a SetKeyspaceDurabilityPolicyResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetKeyspaceDurabilityPolicyResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetKeyspaceDurabilityPolicyResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceDurabilityPolicyResponse; - - /** - * Creates a plain object from a SetKeyspaceDurabilityPolicyResponse message. Also converts values to other types if specified. - * @param message SetKeyspaceDurabilityPolicyResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SetKeyspaceDurabilityPolicyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetKeyspaceDurabilityPolicyResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetKeyspaceDurabilityPolicyResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetKeyspaceShardingInfoRequest. */ - interface ISetKeyspaceShardingInfoRequest { - - /** SetKeyspaceShardingInfoRequest keyspace */ - keyspace?: (string|null); - - /** SetKeyspaceShardingInfoRequest force */ - force?: (boolean|null); - } - - /** Represents a SetKeyspaceShardingInfoRequest. */ - class SetKeyspaceShardingInfoRequest implements ISetKeyspaceShardingInfoRequest { - - /** - * Constructs a new SetKeyspaceShardingInfoRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISetKeyspaceShardingInfoRequest); - - /** SetKeyspaceShardingInfoRequest keyspace. */ - public keyspace: string; - - /** SetKeyspaceShardingInfoRequest force. */ - public force: boolean; - - /** - * Creates a new SetKeyspaceShardingInfoRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns SetKeyspaceShardingInfoRequest instance - */ - public static create(properties?: vtctldata.ISetKeyspaceShardingInfoRequest): vtctldata.SetKeyspaceShardingInfoRequest; - - /** - * Encodes the specified SetKeyspaceShardingInfoRequest message. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoRequest.verify|verify} messages. - * @param message SetKeyspaceShardingInfoRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISetKeyspaceShardingInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetKeyspaceShardingInfoRequest message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoRequest.verify|verify} messages. - * @param message SetKeyspaceShardingInfoRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISetKeyspaceShardingInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetKeyspaceShardingInfoRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetKeyspaceShardingInfoRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceShardingInfoRequest; - - /** - * Decodes a SetKeyspaceShardingInfoRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetKeyspaceShardingInfoRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceShardingInfoRequest; - - /** - * Verifies a SetKeyspaceShardingInfoRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetKeyspaceShardingInfoRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetKeyspaceShardingInfoRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceShardingInfoRequest; - - /** - * Creates a plain object from a SetKeyspaceShardingInfoRequest message. Also converts values to other types if specified. - * @param message SetKeyspaceShardingInfoRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SetKeyspaceShardingInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetKeyspaceShardingInfoRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetKeyspaceShardingInfoRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetKeyspaceShardingInfoResponse. */ - interface ISetKeyspaceShardingInfoResponse { - - /** SetKeyspaceShardingInfoResponse keyspace */ - keyspace?: (topodata.IKeyspace|null); - } - - /** Represents a SetKeyspaceShardingInfoResponse. */ - class SetKeyspaceShardingInfoResponse implements ISetKeyspaceShardingInfoResponse { - - /** - * Constructs a new SetKeyspaceShardingInfoResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISetKeyspaceShardingInfoResponse); - - /** SetKeyspaceShardingInfoResponse keyspace. */ - public keyspace?: (topodata.IKeyspace|null); - - /** - * Creates a new SetKeyspaceShardingInfoResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns SetKeyspaceShardingInfoResponse instance - */ - public static create(properties?: vtctldata.ISetKeyspaceShardingInfoResponse): vtctldata.SetKeyspaceShardingInfoResponse; - - /** - * Encodes the specified SetKeyspaceShardingInfoResponse message. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoResponse.verify|verify} messages. - * @param message SetKeyspaceShardingInfoResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISetKeyspaceShardingInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetKeyspaceShardingInfoResponse message, length delimited. Does not implicitly {@link vtctldata.SetKeyspaceShardingInfoResponse.verify|verify} messages. - * @param message SetKeyspaceShardingInfoResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISetKeyspaceShardingInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetKeyspaceShardingInfoResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetKeyspaceShardingInfoResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetKeyspaceShardingInfoResponse; - - /** - * Decodes a SetKeyspaceShardingInfoResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetKeyspaceShardingInfoResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetKeyspaceShardingInfoResponse; - - /** - * Verifies a SetKeyspaceShardingInfoResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetKeyspaceShardingInfoResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetKeyspaceShardingInfoResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SetKeyspaceShardingInfoResponse; - - /** - * Creates a plain object from a SetKeyspaceShardingInfoResponse message. Also converts values to other types if specified. - * @param message SetKeyspaceShardingInfoResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SetKeyspaceShardingInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetKeyspaceShardingInfoResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetKeyspaceShardingInfoResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetShardIsPrimaryServingRequest. */ - interface ISetShardIsPrimaryServingRequest { - - /** SetShardIsPrimaryServingRequest keyspace */ - keyspace?: (string|null); - - /** SetShardIsPrimaryServingRequest shard */ - shard?: (string|null); - - /** SetShardIsPrimaryServingRequest is_serving */ - is_serving?: (boolean|null); - } - - /** Represents a SetShardIsPrimaryServingRequest. */ - class SetShardIsPrimaryServingRequest implements ISetShardIsPrimaryServingRequest { - - /** - * Constructs a new SetShardIsPrimaryServingRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISetShardIsPrimaryServingRequest); - - /** SetShardIsPrimaryServingRequest keyspace. */ - public keyspace: string; - - /** SetShardIsPrimaryServingRequest shard. */ - public shard: string; - - /** SetShardIsPrimaryServingRequest is_serving. */ - public is_serving: boolean; - - /** - * Creates a new SetShardIsPrimaryServingRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns SetShardIsPrimaryServingRequest instance - */ - public static create(properties?: vtctldata.ISetShardIsPrimaryServingRequest): vtctldata.SetShardIsPrimaryServingRequest; - - /** - * Encodes the specified SetShardIsPrimaryServingRequest message. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingRequest.verify|verify} messages. - * @param message SetShardIsPrimaryServingRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISetShardIsPrimaryServingRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetShardIsPrimaryServingRequest message, length delimited. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingRequest.verify|verify} messages. - * @param message SetShardIsPrimaryServingRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISetShardIsPrimaryServingRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetShardIsPrimaryServingRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetShardIsPrimaryServingRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardIsPrimaryServingRequest; - - /** - * Decodes a SetShardIsPrimaryServingRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetShardIsPrimaryServingRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardIsPrimaryServingRequest; - - /** - * Verifies a SetShardIsPrimaryServingRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetShardIsPrimaryServingRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetShardIsPrimaryServingRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SetShardIsPrimaryServingRequest; - - /** - * Creates a plain object from a SetShardIsPrimaryServingRequest message. Also converts values to other types if specified. - * @param message SetShardIsPrimaryServingRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SetShardIsPrimaryServingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetShardIsPrimaryServingRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetShardIsPrimaryServingRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetShardIsPrimaryServingResponse. */ - interface ISetShardIsPrimaryServingResponse { - - /** SetShardIsPrimaryServingResponse shard */ - shard?: (topodata.IShard|null); - } - - /** Represents a SetShardIsPrimaryServingResponse. */ - class SetShardIsPrimaryServingResponse implements ISetShardIsPrimaryServingResponse { - - /** - * Constructs a new SetShardIsPrimaryServingResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISetShardIsPrimaryServingResponse); - - /** SetShardIsPrimaryServingResponse shard. */ - public shard?: (topodata.IShard|null); - - /** - * Creates a new SetShardIsPrimaryServingResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns SetShardIsPrimaryServingResponse instance - */ - public static create(properties?: vtctldata.ISetShardIsPrimaryServingResponse): vtctldata.SetShardIsPrimaryServingResponse; - - /** - * Encodes the specified SetShardIsPrimaryServingResponse message. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingResponse.verify|verify} messages. - * @param message SetShardIsPrimaryServingResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISetShardIsPrimaryServingResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetShardIsPrimaryServingResponse message, length delimited. Does not implicitly {@link vtctldata.SetShardIsPrimaryServingResponse.verify|verify} messages. - * @param message SetShardIsPrimaryServingResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISetShardIsPrimaryServingResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetShardIsPrimaryServingResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetShardIsPrimaryServingResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardIsPrimaryServingResponse; - - /** - * Decodes a SetShardIsPrimaryServingResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetShardIsPrimaryServingResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardIsPrimaryServingResponse; - - /** - * Verifies a SetShardIsPrimaryServingResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetShardIsPrimaryServingResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetShardIsPrimaryServingResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SetShardIsPrimaryServingResponse; - - /** - * Creates a plain object from a SetShardIsPrimaryServingResponse message. Also converts values to other types if specified. - * @param message SetShardIsPrimaryServingResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SetShardIsPrimaryServingResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetShardIsPrimaryServingResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetShardIsPrimaryServingResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetShardTabletControlRequest. */ - interface ISetShardTabletControlRequest { - - /** SetShardTabletControlRequest keyspace */ - keyspace?: (string|null); - - /** SetShardTabletControlRequest shard */ - shard?: (string|null); - - /** SetShardTabletControlRequest tablet_type */ - tablet_type?: (topodata.TabletType|null); - - /** SetShardTabletControlRequest cells */ - cells?: (string[]|null); - - /** SetShardTabletControlRequest denied_tables */ - denied_tables?: (string[]|null); - - /** SetShardTabletControlRequest disable_query_service */ - disable_query_service?: (boolean|null); - - /** SetShardTabletControlRequest remove */ - remove?: (boolean|null); - } - - /** Represents a SetShardTabletControlRequest. */ - class SetShardTabletControlRequest implements ISetShardTabletControlRequest { - - /** - * Constructs a new SetShardTabletControlRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISetShardTabletControlRequest); - - /** SetShardTabletControlRequest keyspace. */ - public keyspace: string; - - /** SetShardTabletControlRequest shard. */ - public shard: string; - - /** SetShardTabletControlRequest tablet_type. */ - public tablet_type: topodata.TabletType; - - /** SetShardTabletControlRequest cells. */ - public cells: string[]; - - /** SetShardTabletControlRequest denied_tables. */ - public denied_tables: string[]; - - /** SetShardTabletControlRequest disable_query_service. */ - public disable_query_service: boolean; - - /** SetShardTabletControlRequest remove. */ - public remove: boolean; - - /** - * Creates a new SetShardTabletControlRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns SetShardTabletControlRequest instance - */ - public static create(properties?: vtctldata.ISetShardTabletControlRequest): vtctldata.SetShardTabletControlRequest; - - /** - * Encodes the specified SetShardTabletControlRequest message. Does not implicitly {@link vtctldata.SetShardTabletControlRequest.verify|verify} messages. - * @param message SetShardTabletControlRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISetShardTabletControlRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetShardTabletControlRequest message, length delimited. Does not implicitly {@link vtctldata.SetShardTabletControlRequest.verify|verify} messages. - * @param message SetShardTabletControlRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISetShardTabletControlRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetShardTabletControlRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetShardTabletControlRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardTabletControlRequest; - - /** - * Decodes a SetShardTabletControlRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetShardTabletControlRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardTabletControlRequest; - - /** - * Verifies a SetShardTabletControlRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetShardTabletControlRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetShardTabletControlRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SetShardTabletControlRequest; - - /** - * Creates a plain object from a SetShardTabletControlRequest message. Also converts values to other types if specified. - * @param message SetShardTabletControlRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SetShardTabletControlRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetShardTabletControlRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetShardTabletControlRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetShardTabletControlResponse. */ - interface ISetShardTabletControlResponse { - - /** SetShardTabletControlResponse shard */ - shard?: (topodata.IShard|null); - } - - /** Represents a SetShardTabletControlResponse. */ - class SetShardTabletControlResponse implements ISetShardTabletControlResponse { - - /** - * Constructs a new SetShardTabletControlResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISetShardTabletControlResponse); - - /** SetShardTabletControlResponse shard. */ - public shard?: (topodata.IShard|null); - - /** - * Creates a new SetShardTabletControlResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns SetShardTabletControlResponse instance - */ - public static create(properties?: vtctldata.ISetShardTabletControlResponse): vtctldata.SetShardTabletControlResponse; - - /** - * Encodes the specified SetShardTabletControlResponse message. Does not implicitly {@link vtctldata.SetShardTabletControlResponse.verify|verify} messages. - * @param message SetShardTabletControlResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISetShardTabletControlResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetShardTabletControlResponse message, length delimited. Does not implicitly {@link vtctldata.SetShardTabletControlResponse.verify|verify} messages. - * @param message SetShardTabletControlResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISetShardTabletControlResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetShardTabletControlResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetShardTabletControlResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetShardTabletControlResponse; - - /** - * Decodes a SetShardTabletControlResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetShardTabletControlResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetShardTabletControlResponse; - - /** - * Verifies a SetShardTabletControlResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetShardTabletControlResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetShardTabletControlResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SetShardTabletControlResponse; - - /** - * Creates a plain object from a SetShardTabletControlResponse message. Also converts values to other types if specified. - * @param message SetShardTabletControlResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SetShardTabletControlResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetShardTabletControlResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetShardTabletControlResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetWritableRequest. */ - interface ISetWritableRequest { - - /** SetWritableRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** SetWritableRequest writable */ - writable?: (boolean|null); - } - - /** Represents a SetWritableRequest. */ - class SetWritableRequest implements ISetWritableRequest { - - /** - * Constructs a new SetWritableRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISetWritableRequest); - - /** SetWritableRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** SetWritableRequest writable. */ - public writable: boolean; - - /** - * Creates a new SetWritableRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns SetWritableRequest instance - */ - public static create(properties?: vtctldata.ISetWritableRequest): vtctldata.SetWritableRequest; - - /** - * Encodes the specified SetWritableRequest message. Does not implicitly {@link vtctldata.SetWritableRequest.verify|verify} messages. - * @param message SetWritableRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISetWritableRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetWritableRequest message, length delimited. Does not implicitly {@link vtctldata.SetWritableRequest.verify|verify} messages. - * @param message SetWritableRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISetWritableRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetWritableRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetWritableRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetWritableRequest; - - /** - * Decodes a SetWritableRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetWritableRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetWritableRequest; - - /** - * Verifies a SetWritableRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetWritableRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetWritableRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SetWritableRequest; - - /** - * Creates a plain object from a SetWritableRequest message. Also converts values to other types if specified. - * @param message SetWritableRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SetWritableRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetWritableRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetWritableRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SetWritableResponse. */ - interface ISetWritableResponse { - } - - /** Represents a SetWritableResponse. */ - class SetWritableResponse implements ISetWritableResponse { - - /** - * Constructs a new SetWritableResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISetWritableResponse); - - /** - * Creates a new SetWritableResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns SetWritableResponse instance - */ - public static create(properties?: vtctldata.ISetWritableResponse): vtctldata.SetWritableResponse; - - /** - * Encodes the specified SetWritableResponse message. Does not implicitly {@link vtctldata.SetWritableResponse.verify|verify} messages. - * @param message SetWritableResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISetWritableResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SetWritableResponse message, length delimited. Does not implicitly {@link vtctldata.SetWritableResponse.verify|verify} messages. - * @param message SetWritableResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISetWritableResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SetWritableResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SetWritableResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SetWritableResponse; - - /** - * Decodes a SetWritableResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SetWritableResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SetWritableResponse; - - /** - * Verifies a SetWritableResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SetWritableResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SetWritableResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SetWritableResponse; - - /** - * Creates a plain object from a SetWritableResponse message. Also converts values to other types if specified. - * @param message SetWritableResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SetWritableResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SetWritableResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SetWritableResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardReplicationAddRequest. */ - interface IShardReplicationAddRequest { - - /** ShardReplicationAddRequest keyspace */ - keyspace?: (string|null); - - /** ShardReplicationAddRequest shard */ - shard?: (string|null); - - /** ShardReplicationAddRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a ShardReplicationAddRequest. */ - class ShardReplicationAddRequest implements IShardReplicationAddRequest { - - /** - * Constructs a new ShardReplicationAddRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IShardReplicationAddRequest); - - /** ShardReplicationAddRequest keyspace. */ - public keyspace: string; - - /** ShardReplicationAddRequest shard. */ - public shard: string; - - /** ShardReplicationAddRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new ShardReplicationAddRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardReplicationAddRequest instance - */ - public static create(properties?: vtctldata.IShardReplicationAddRequest): vtctldata.ShardReplicationAddRequest; - - /** - * Encodes the specified ShardReplicationAddRequest message. Does not implicitly {@link vtctldata.ShardReplicationAddRequest.verify|verify} messages. - * @param message ShardReplicationAddRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IShardReplicationAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardReplicationAddRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationAddRequest.verify|verify} messages. - * @param message ShardReplicationAddRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IShardReplicationAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardReplicationAddRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardReplicationAddRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationAddRequest; - - /** - * Decodes a ShardReplicationAddRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardReplicationAddRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationAddRequest; - - /** - * Verifies a ShardReplicationAddRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardReplicationAddRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardReplicationAddRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationAddRequest; - - /** - * Creates a plain object from a ShardReplicationAddRequest message. Also converts values to other types if specified. - * @param message ShardReplicationAddRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ShardReplicationAddRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardReplicationAddRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardReplicationAddRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardReplicationAddResponse. */ - interface IShardReplicationAddResponse { - } - - /** Represents a ShardReplicationAddResponse. */ - class ShardReplicationAddResponse implements IShardReplicationAddResponse { - - /** - * Constructs a new ShardReplicationAddResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IShardReplicationAddResponse); - - /** - * Creates a new ShardReplicationAddResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardReplicationAddResponse instance - */ - public static create(properties?: vtctldata.IShardReplicationAddResponse): vtctldata.ShardReplicationAddResponse; - - /** - * Encodes the specified ShardReplicationAddResponse message. Does not implicitly {@link vtctldata.ShardReplicationAddResponse.verify|verify} messages. - * @param message ShardReplicationAddResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IShardReplicationAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardReplicationAddResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationAddResponse.verify|verify} messages. - * @param message ShardReplicationAddResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IShardReplicationAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardReplicationAddResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardReplicationAddResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationAddResponse; - - /** - * Decodes a ShardReplicationAddResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardReplicationAddResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationAddResponse; - - /** - * Verifies a ShardReplicationAddResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardReplicationAddResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardReplicationAddResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationAddResponse; - - /** - * Creates a plain object from a ShardReplicationAddResponse message. Also converts values to other types if specified. - * @param message ShardReplicationAddResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ShardReplicationAddResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardReplicationAddResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardReplicationAddResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardReplicationFixRequest. */ - interface IShardReplicationFixRequest { - - /** ShardReplicationFixRequest keyspace */ - keyspace?: (string|null); - - /** ShardReplicationFixRequest shard */ - shard?: (string|null); - - /** ShardReplicationFixRequest cell */ - cell?: (string|null); - } - - /** Represents a ShardReplicationFixRequest. */ - class ShardReplicationFixRequest implements IShardReplicationFixRequest { - - /** - * Constructs a new ShardReplicationFixRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IShardReplicationFixRequest); - - /** ShardReplicationFixRequest keyspace. */ - public keyspace: string; - - /** ShardReplicationFixRequest shard. */ - public shard: string; - - /** ShardReplicationFixRequest cell. */ - public cell: string; - - /** - * Creates a new ShardReplicationFixRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardReplicationFixRequest instance - */ - public static create(properties?: vtctldata.IShardReplicationFixRequest): vtctldata.ShardReplicationFixRequest; - - /** - * Encodes the specified ShardReplicationFixRequest message. Does not implicitly {@link vtctldata.ShardReplicationFixRequest.verify|verify} messages. - * @param message ShardReplicationFixRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IShardReplicationFixRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardReplicationFixRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationFixRequest.verify|verify} messages. - * @param message ShardReplicationFixRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IShardReplicationFixRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardReplicationFixRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardReplicationFixRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationFixRequest; - - /** - * Decodes a ShardReplicationFixRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardReplicationFixRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationFixRequest; - - /** - * Verifies a ShardReplicationFixRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardReplicationFixRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardReplicationFixRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationFixRequest; - - /** - * Creates a plain object from a ShardReplicationFixRequest message. Also converts values to other types if specified. - * @param message ShardReplicationFixRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ShardReplicationFixRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardReplicationFixRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardReplicationFixRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardReplicationFixResponse. */ - interface IShardReplicationFixResponse { - - /** ShardReplicationFixResponse error */ - error?: (topodata.IShardReplicationError|null); - } - - /** Represents a ShardReplicationFixResponse. */ - class ShardReplicationFixResponse implements IShardReplicationFixResponse { - - /** - * Constructs a new ShardReplicationFixResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IShardReplicationFixResponse); - - /** ShardReplicationFixResponse error. */ - public error?: (topodata.IShardReplicationError|null); - - /** - * Creates a new ShardReplicationFixResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardReplicationFixResponse instance - */ - public static create(properties?: vtctldata.IShardReplicationFixResponse): vtctldata.ShardReplicationFixResponse; - - /** - * Encodes the specified ShardReplicationFixResponse message. Does not implicitly {@link vtctldata.ShardReplicationFixResponse.verify|verify} messages. - * @param message ShardReplicationFixResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IShardReplicationFixResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardReplicationFixResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationFixResponse.verify|verify} messages. - * @param message ShardReplicationFixResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IShardReplicationFixResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardReplicationFixResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardReplicationFixResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationFixResponse; - - /** - * Decodes a ShardReplicationFixResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardReplicationFixResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationFixResponse; - - /** - * Verifies a ShardReplicationFixResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardReplicationFixResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardReplicationFixResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationFixResponse; - - /** - * Creates a plain object from a ShardReplicationFixResponse message. Also converts values to other types if specified. - * @param message ShardReplicationFixResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ShardReplicationFixResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardReplicationFixResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardReplicationFixResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardReplicationPositionsRequest. */ - interface IShardReplicationPositionsRequest { - - /** ShardReplicationPositionsRequest keyspace */ - keyspace?: (string|null); - - /** ShardReplicationPositionsRequest shard */ - shard?: (string|null); - } - - /** Represents a ShardReplicationPositionsRequest. */ - class ShardReplicationPositionsRequest implements IShardReplicationPositionsRequest { - - /** - * Constructs a new ShardReplicationPositionsRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IShardReplicationPositionsRequest); - - /** ShardReplicationPositionsRequest keyspace. */ - public keyspace: string; - - /** ShardReplicationPositionsRequest shard. */ - public shard: string; - - /** - * Creates a new ShardReplicationPositionsRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardReplicationPositionsRequest instance - */ - public static create(properties?: vtctldata.IShardReplicationPositionsRequest): vtctldata.ShardReplicationPositionsRequest; - - /** - * Encodes the specified ShardReplicationPositionsRequest message. Does not implicitly {@link vtctldata.ShardReplicationPositionsRequest.verify|verify} messages. - * @param message ShardReplicationPositionsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IShardReplicationPositionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardReplicationPositionsRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationPositionsRequest.verify|verify} messages. - * @param message ShardReplicationPositionsRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IShardReplicationPositionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardReplicationPositionsRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardReplicationPositionsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationPositionsRequest; - - /** - * Decodes a ShardReplicationPositionsRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardReplicationPositionsRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationPositionsRequest; - - /** - * Verifies a ShardReplicationPositionsRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardReplicationPositionsRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardReplicationPositionsRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationPositionsRequest; - - /** - * Creates a plain object from a ShardReplicationPositionsRequest message. Also converts values to other types if specified. - * @param message ShardReplicationPositionsRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ShardReplicationPositionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardReplicationPositionsRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardReplicationPositionsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardReplicationPositionsResponse. */ - interface IShardReplicationPositionsResponse { - - /** ShardReplicationPositionsResponse replication_statuses */ - replication_statuses?: ({ [k: string]: replicationdata.IStatus }|null); - - /** ShardReplicationPositionsResponse tablet_map */ - tablet_map?: ({ [k: string]: topodata.ITablet }|null); - } - - /** Represents a ShardReplicationPositionsResponse. */ - class ShardReplicationPositionsResponse implements IShardReplicationPositionsResponse { - - /** - * Constructs a new ShardReplicationPositionsResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IShardReplicationPositionsResponse); - - /** ShardReplicationPositionsResponse replication_statuses. */ - public replication_statuses: { [k: string]: replicationdata.IStatus }; - - /** ShardReplicationPositionsResponse tablet_map. */ - public tablet_map: { [k: string]: topodata.ITablet }; - - /** - * Creates a new ShardReplicationPositionsResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardReplicationPositionsResponse instance - */ - public static create(properties?: vtctldata.IShardReplicationPositionsResponse): vtctldata.ShardReplicationPositionsResponse; - - /** - * Encodes the specified ShardReplicationPositionsResponse message. Does not implicitly {@link vtctldata.ShardReplicationPositionsResponse.verify|verify} messages. - * @param message ShardReplicationPositionsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IShardReplicationPositionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardReplicationPositionsResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationPositionsResponse.verify|verify} messages. - * @param message ShardReplicationPositionsResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IShardReplicationPositionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardReplicationPositionsResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardReplicationPositionsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationPositionsResponse; - - /** - * Decodes a ShardReplicationPositionsResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardReplicationPositionsResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationPositionsResponse; - - /** - * Verifies a ShardReplicationPositionsResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardReplicationPositionsResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardReplicationPositionsResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationPositionsResponse; - - /** - * Creates a plain object from a ShardReplicationPositionsResponse message. Also converts values to other types if specified. - * @param message ShardReplicationPositionsResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ShardReplicationPositionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardReplicationPositionsResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardReplicationPositionsResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardReplicationRemoveRequest. */ - interface IShardReplicationRemoveRequest { - - /** ShardReplicationRemoveRequest keyspace */ - keyspace?: (string|null); - - /** ShardReplicationRemoveRequest shard */ - shard?: (string|null); - - /** ShardReplicationRemoveRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a ShardReplicationRemoveRequest. */ - class ShardReplicationRemoveRequest implements IShardReplicationRemoveRequest { - - /** - * Constructs a new ShardReplicationRemoveRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IShardReplicationRemoveRequest); - - /** ShardReplicationRemoveRequest keyspace. */ - public keyspace: string; - - /** ShardReplicationRemoveRequest shard. */ - public shard: string; - - /** ShardReplicationRemoveRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new ShardReplicationRemoveRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardReplicationRemoveRequest instance - */ - public static create(properties?: vtctldata.IShardReplicationRemoveRequest): vtctldata.ShardReplicationRemoveRequest; - - /** - * Encodes the specified ShardReplicationRemoveRequest message. Does not implicitly {@link vtctldata.ShardReplicationRemoveRequest.verify|verify} messages. - * @param message ShardReplicationRemoveRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IShardReplicationRemoveRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardReplicationRemoveRequest message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationRemoveRequest.verify|verify} messages. - * @param message ShardReplicationRemoveRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IShardReplicationRemoveRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardReplicationRemoveRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardReplicationRemoveRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationRemoveRequest; - - /** - * Decodes a ShardReplicationRemoveRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardReplicationRemoveRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationRemoveRequest; - - /** - * Verifies a ShardReplicationRemoveRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardReplicationRemoveRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardReplicationRemoveRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationRemoveRequest; - - /** - * Creates a plain object from a ShardReplicationRemoveRequest message. Also converts values to other types if specified. - * @param message ShardReplicationRemoveRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ShardReplicationRemoveRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardReplicationRemoveRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardReplicationRemoveRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardReplicationRemoveResponse. */ - interface IShardReplicationRemoveResponse { - } - - /** Represents a ShardReplicationRemoveResponse. */ - class ShardReplicationRemoveResponse implements IShardReplicationRemoveResponse { - - /** - * Constructs a new ShardReplicationRemoveResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IShardReplicationRemoveResponse); - - /** - * Creates a new ShardReplicationRemoveResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardReplicationRemoveResponse instance - */ - public static create(properties?: vtctldata.IShardReplicationRemoveResponse): vtctldata.ShardReplicationRemoveResponse; - - /** - * Encodes the specified ShardReplicationRemoveResponse message. Does not implicitly {@link vtctldata.ShardReplicationRemoveResponse.verify|verify} messages. - * @param message ShardReplicationRemoveResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IShardReplicationRemoveResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardReplicationRemoveResponse message, length delimited. Does not implicitly {@link vtctldata.ShardReplicationRemoveResponse.verify|verify} messages. - * @param message ShardReplicationRemoveResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IShardReplicationRemoveResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardReplicationRemoveResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardReplicationRemoveResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ShardReplicationRemoveResponse; - - /** - * Decodes a ShardReplicationRemoveResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardReplicationRemoveResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ShardReplicationRemoveResponse; - - /** - * Verifies a ShardReplicationRemoveResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardReplicationRemoveResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardReplicationRemoveResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ShardReplicationRemoveResponse; - - /** - * Creates a plain object from a ShardReplicationRemoveResponse message. Also converts values to other types if specified. - * @param message ShardReplicationRemoveResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ShardReplicationRemoveResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardReplicationRemoveResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardReplicationRemoveResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SleepTabletRequest. */ - interface ISleepTabletRequest { - - /** SleepTabletRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - - /** SleepTabletRequest duration */ - duration?: (vttime.IDuration|null); - } - - /** Represents a SleepTabletRequest. */ - class SleepTabletRequest implements ISleepTabletRequest { - - /** - * Constructs a new SleepTabletRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISleepTabletRequest); - - /** SleepTabletRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** SleepTabletRequest duration. */ - public duration?: (vttime.IDuration|null); - - /** - * Creates a new SleepTabletRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns SleepTabletRequest instance - */ - public static create(properties?: vtctldata.ISleepTabletRequest): vtctldata.SleepTabletRequest; - - /** - * Encodes the specified SleepTabletRequest message. Does not implicitly {@link vtctldata.SleepTabletRequest.verify|verify} messages. - * @param message SleepTabletRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISleepTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SleepTabletRequest message, length delimited. Does not implicitly {@link vtctldata.SleepTabletRequest.verify|verify} messages. - * @param message SleepTabletRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISleepTabletRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SleepTabletRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SleepTabletRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SleepTabletRequest; - - /** - * Decodes a SleepTabletRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SleepTabletRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SleepTabletRequest; - - /** - * Verifies a SleepTabletRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SleepTabletRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SleepTabletRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SleepTabletRequest; - - /** - * Creates a plain object from a SleepTabletRequest message. Also converts values to other types if specified. - * @param message SleepTabletRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SleepTabletRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SleepTabletRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SleepTabletRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SleepTabletResponse. */ - interface ISleepTabletResponse { - } - - /** Represents a SleepTabletResponse. */ - class SleepTabletResponse implements ISleepTabletResponse { - - /** - * Constructs a new SleepTabletResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISleepTabletResponse); - - /** - * Creates a new SleepTabletResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns SleepTabletResponse instance - */ - public static create(properties?: vtctldata.ISleepTabletResponse): vtctldata.SleepTabletResponse; - - /** - * Encodes the specified SleepTabletResponse message. Does not implicitly {@link vtctldata.SleepTabletResponse.verify|verify} messages. - * @param message SleepTabletResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISleepTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SleepTabletResponse message, length delimited. Does not implicitly {@link vtctldata.SleepTabletResponse.verify|verify} messages. - * @param message SleepTabletResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISleepTabletResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SleepTabletResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SleepTabletResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SleepTabletResponse; - - /** - * Decodes a SleepTabletResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SleepTabletResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SleepTabletResponse; - - /** - * Verifies a SleepTabletResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SleepTabletResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SleepTabletResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SleepTabletResponse; - - /** - * Creates a plain object from a SleepTabletResponse message. Also converts values to other types if specified. - * @param message SleepTabletResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SleepTabletResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SleepTabletResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SleepTabletResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SourceShardAddRequest. */ - interface ISourceShardAddRequest { - - /** SourceShardAddRequest keyspace */ - keyspace?: (string|null); - - /** SourceShardAddRequest shard */ - shard?: (string|null); - - /** SourceShardAddRequest uid */ - uid?: (number|null); - - /** SourceShardAddRequest source_keyspace */ - source_keyspace?: (string|null); - - /** SourceShardAddRequest source_shard */ - source_shard?: (string|null); - - /** SourceShardAddRequest key_range */ - key_range?: (topodata.IKeyRange|null); - - /** SourceShardAddRequest tables */ - tables?: (string[]|null); - } - - /** Represents a SourceShardAddRequest. */ - class SourceShardAddRequest implements ISourceShardAddRequest { - - /** - * Constructs a new SourceShardAddRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISourceShardAddRequest); - - /** SourceShardAddRequest keyspace. */ - public keyspace: string; - - /** SourceShardAddRequest shard. */ - public shard: string; - - /** SourceShardAddRequest uid. */ - public uid: number; - - /** SourceShardAddRequest source_keyspace. */ - public source_keyspace: string; - - /** SourceShardAddRequest source_shard. */ - public source_shard: string; - - /** SourceShardAddRequest key_range. */ - public key_range?: (topodata.IKeyRange|null); - - /** SourceShardAddRequest tables. */ - public tables: string[]; - - /** - * Creates a new SourceShardAddRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns SourceShardAddRequest instance - */ - public static create(properties?: vtctldata.ISourceShardAddRequest): vtctldata.SourceShardAddRequest; - - /** - * Encodes the specified SourceShardAddRequest message. Does not implicitly {@link vtctldata.SourceShardAddRequest.verify|verify} messages. - * @param message SourceShardAddRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISourceShardAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SourceShardAddRequest message, length delimited. Does not implicitly {@link vtctldata.SourceShardAddRequest.verify|verify} messages. - * @param message SourceShardAddRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISourceShardAddRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SourceShardAddRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SourceShardAddRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardAddRequest; - - /** - * Decodes a SourceShardAddRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SourceShardAddRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardAddRequest; - - /** - * Verifies a SourceShardAddRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SourceShardAddRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SourceShardAddRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardAddRequest; - - /** - * Creates a plain object from a SourceShardAddRequest message. Also converts values to other types if specified. - * @param message SourceShardAddRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SourceShardAddRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SourceShardAddRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SourceShardAddRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SourceShardAddResponse. */ - interface ISourceShardAddResponse { - - /** SourceShardAddResponse shard */ - shard?: (topodata.IShard|null); - } - - /** Represents a SourceShardAddResponse. */ - class SourceShardAddResponse implements ISourceShardAddResponse { - - /** - * Constructs a new SourceShardAddResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISourceShardAddResponse); - - /** SourceShardAddResponse shard. */ - public shard?: (topodata.IShard|null); - - /** - * Creates a new SourceShardAddResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns SourceShardAddResponse instance - */ - public static create(properties?: vtctldata.ISourceShardAddResponse): vtctldata.SourceShardAddResponse; - - /** - * Encodes the specified SourceShardAddResponse message. Does not implicitly {@link vtctldata.SourceShardAddResponse.verify|verify} messages. - * @param message SourceShardAddResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISourceShardAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SourceShardAddResponse message, length delimited. Does not implicitly {@link vtctldata.SourceShardAddResponse.verify|verify} messages. - * @param message SourceShardAddResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISourceShardAddResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SourceShardAddResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SourceShardAddResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardAddResponse; - - /** - * Decodes a SourceShardAddResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SourceShardAddResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardAddResponse; - - /** - * Verifies a SourceShardAddResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SourceShardAddResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SourceShardAddResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardAddResponse; - - /** - * Creates a plain object from a SourceShardAddResponse message. Also converts values to other types if specified. - * @param message SourceShardAddResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SourceShardAddResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SourceShardAddResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SourceShardAddResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SourceShardDeleteRequest. */ - interface ISourceShardDeleteRequest { - - /** SourceShardDeleteRequest keyspace */ - keyspace?: (string|null); - - /** SourceShardDeleteRequest shard */ - shard?: (string|null); - - /** SourceShardDeleteRequest uid */ - uid?: (number|null); - } - - /** Represents a SourceShardDeleteRequest. */ - class SourceShardDeleteRequest implements ISourceShardDeleteRequest { - - /** - * Constructs a new SourceShardDeleteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISourceShardDeleteRequest); - - /** SourceShardDeleteRequest keyspace. */ - public keyspace: string; - - /** SourceShardDeleteRequest shard. */ - public shard: string; - - /** SourceShardDeleteRequest uid. */ - public uid: number; - - /** - * Creates a new SourceShardDeleteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns SourceShardDeleteRequest instance - */ - public static create(properties?: vtctldata.ISourceShardDeleteRequest): vtctldata.SourceShardDeleteRequest; - - /** - * Encodes the specified SourceShardDeleteRequest message. Does not implicitly {@link vtctldata.SourceShardDeleteRequest.verify|verify} messages. - * @param message SourceShardDeleteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISourceShardDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SourceShardDeleteRequest message, length delimited. Does not implicitly {@link vtctldata.SourceShardDeleteRequest.verify|verify} messages. - * @param message SourceShardDeleteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISourceShardDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SourceShardDeleteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SourceShardDeleteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardDeleteRequest; - - /** - * Decodes a SourceShardDeleteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SourceShardDeleteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardDeleteRequest; - - /** - * Verifies a SourceShardDeleteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SourceShardDeleteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SourceShardDeleteRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardDeleteRequest; - - /** - * Creates a plain object from a SourceShardDeleteRequest message. Also converts values to other types if specified. - * @param message SourceShardDeleteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SourceShardDeleteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SourceShardDeleteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SourceShardDeleteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a SourceShardDeleteResponse. */ - interface ISourceShardDeleteResponse { - - /** SourceShardDeleteResponse shard */ - shard?: (topodata.IShard|null); - } - - /** Represents a SourceShardDeleteResponse. */ - class SourceShardDeleteResponse implements ISourceShardDeleteResponse { - - /** - * Constructs a new SourceShardDeleteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ISourceShardDeleteResponse); - - /** SourceShardDeleteResponse shard. */ - public shard?: (topodata.IShard|null); - - /** - * Creates a new SourceShardDeleteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns SourceShardDeleteResponse instance - */ - public static create(properties?: vtctldata.ISourceShardDeleteResponse): vtctldata.SourceShardDeleteResponse; - - /** - * Encodes the specified SourceShardDeleteResponse message. Does not implicitly {@link vtctldata.SourceShardDeleteResponse.verify|verify} messages. - * @param message SourceShardDeleteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ISourceShardDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SourceShardDeleteResponse message, length delimited. Does not implicitly {@link vtctldata.SourceShardDeleteResponse.verify|verify} messages. - * @param message SourceShardDeleteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ISourceShardDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SourceShardDeleteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SourceShardDeleteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.SourceShardDeleteResponse; - - /** - * Decodes a SourceShardDeleteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SourceShardDeleteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.SourceShardDeleteResponse; - - /** - * Verifies a SourceShardDeleteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SourceShardDeleteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SourceShardDeleteResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.SourceShardDeleteResponse; - - /** - * Creates a plain object from a SourceShardDeleteResponse message. Also converts values to other types if specified. - * @param message SourceShardDeleteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.SourceShardDeleteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SourceShardDeleteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SourceShardDeleteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StartReplicationRequest. */ - interface IStartReplicationRequest { - - /** StartReplicationRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a StartReplicationRequest. */ - class StartReplicationRequest implements IStartReplicationRequest { - - /** - * Constructs a new StartReplicationRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IStartReplicationRequest); - - /** StartReplicationRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new StartReplicationRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns StartReplicationRequest instance - */ - public static create(properties?: vtctldata.IStartReplicationRequest): vtctldata.StartReplicationRequest; - - /** - * Encodes the specified StartReplicationRequest message. Does not implicitly {@link vtctldata.StartReplicationRequest.verify|verify} messages. - * @param message StartReplicationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IStartReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StartReplicationRequest message, length delimited. Does not implicitly {@link vtctldata.StartReplicationRequest.verify|verify} messages. - * @param message StartReplicationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IStartReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StartReplicationRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StartReplicationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StartReplicationRequest; - - /** - * Decodes a StartReplicationRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StartReplicationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StartReplicationRequest; - - /** - * Verifies a StartReplicationRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StartReplicationRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StartReplicationRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.StartReplicationRequest; - - /** - * Creates a plain object from a StartReplicationRequest message. Also converts values to other types if specified. - * @param message StartReplicationRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.StartReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StartReplicationRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StartReplicationRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StartReplicationResponse. */ - interface IStartReplicationResponse { - } - - /** Represents a StartReplicationResponse. */ - class StartReplicationResponse implements IStartReplicationResponse { - - /** - * Constructs a new StartReplicationResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IStartReplicationResponse); - - /** - * Creates a new StartReplicationResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns StartReplicationResponse instance - */ - public static create(properties?: vtctldata.IStartReplicationResponse): vtctldata.StartReplicationResponse; - - /** - * Encodes the specified StartReplicationResponse message. Does not implicitly {@link vtctldata.StartReplicationResponse.verify|verify} messages. - * @param message StartReplicationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IStartReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StartReplicationResponse message, length delimited. Does not implicitly {@link vtctldata.StartReplicationResponse.verify|verify} messages. - * @param message StartReplicationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IStartReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StartReplicationResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StartReplicationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StartReplicationResponse; - - /** - * Decodes a StartReplicationResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StartReplicationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StartReplicationResponse; - - /** - * Verifies a StartReplicationResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StartReplicationResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StartReplicationResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.StartReplicationResponse; - - /** - * Creates a plain object from a StartReplicationResponse message. Also converts values to other types if specified. - * @param message StartReplicationResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.StartReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StartReplicationResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StartReplicationResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StopReplicationRequest. */ - interface IStopReplicationRequest { - - /** StopReplicationRequest tablet_alias */ - tablet_alias?: (topodata.ITabletAlias|null); - } - - /** Represents a StopReplicationRequest. */ - class StopReplicationRequest implements IStopReplicationRequest { - - /** - * Constructs a new StopReplicationRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IStopReplicationRequest); - - /** StopReplicationRequest tablet_alias. */ - public tablet_alias?: (topodata.ITabletAlias|null); - - /** - * Creates a new StopReplicationRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns StopReplicationRequest instance - */ - public static create(properties?: vtctldata.IStopReplicationRequest): vtctldata.StopReplicationRequest; - - /** - * Encodes the specified StopReplicationRequest message. Does not implicitly {@link vtctldata.StopReplicationRequest.verify|verify} messages. - * @param message StopReplicationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IStopReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StopReplicationRequest message, length delimited. Does not implicitly {@link vtctldata.StopReplicationRequest.verify|verify} messages. - * @param message StopReplicationRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IStopReplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StopReplicationRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StopReplicationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StopReplicationRequest; - - /** - * Decodes a StopReplicationRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StopReplicationRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StopReplicationRequest; - - /** - * Verifies a StopReplicationRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StopReplicationRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StopReplicationRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.StopReplicationRequest; - - /** - * Creates a plain object from a StopReplicationRequest message. Also converts values to other types if specified. - * @param message StopReplicationRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.StopReplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StopReplicationRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StopReplicationRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a StopReplicationResponse. */ - interface IStopReplicationResponse { - } - - /** Represents a StopReplicationResponse. */ - class StopReplicationResponse implements IStopReplicationResponse { - - /** - * Constructs a new StopReplicationResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IStopReplicationResponse); - - /** - * Creates a new StopReplicationResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns StopReplicationResponse instance - */ - public static create(properties?: vtctldata.IStopReplicationResponse): vtctldata.StopReplicationResponse; - - /** - * Encodes the specified StopReplicationResponse message. Does not implicitly {@link vtctldata.StopReplicationResponse.verify|verify} messages. - * @param message StopReplicationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IStopReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified StopReplicationResponse message, length delimited. Does not implicitly {@link vtctldata.StopReplicationResponse.verify|verify} messages. - * @param message StopReplicationResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IStopReplicationResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a StopReplicationResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns StopReplicationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.StopReplicationResponse; - - /** - * Decodes a StopReplicationResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns StopReplicationResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.StopReplicationResponse; - - /** - * Verifies a StopReplicationResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a StopReplicationResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns StopReplicationResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.StopReplicationResponse; - - /** - * Creates a plain object from a StopReplicationResponse message. Also converts values to other types if specified. - * @param message StopReplicationResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.StopReplicationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this StopReplicationResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for StopReplicationResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a TabletExternallyReparentedRequest. */ - interface ITabletExternallyReparentedRequest { - - /** TabletExternallyReparentedRequest tablet */ - tablet?: (topodata.ITabletAlias|null); - } - - /** Represents a TabletExternallyReparentedRequest. */ - class TabletExternallyReparentedRequest implements ITabletExternallyReparentedRequest { - - /** - * Constructs a new TabletExternallyReparentedRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ITabletExternallyReparentedRequest); - - /** TabletExternallyReparentedRequest tablet. */ - public tablet?: (topodata.ITabletAlias|null); - - /** - * Creates a new TabletExternallyReparentedRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns TabletExternallyReparentedRequest instance - */ - public static create(properties?: vtctldata.ITabletExternallyReparentedRequest): vtctldata.TabletExternallyReparentedRequest; - - /** - * Encodes the specified TabletExternallyReparentedRequest message. Does not implicitly {@link vtctldata.TabletExternallyReparentedRequest.verify|verify} messages. - * @param message TabletExternallyReparentedRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ITabletExternallyReparentedRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TabletExternallyReparentedRequest message, length delimited. Does not implicitly {@link vtctldata.TabletExternallyReparentedRequest.verify|verify} messages. - * @param message TabletExternallyReparentedRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ITabletExternallyReparentedRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TabletExternallyReparentedRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TabletExternallyReparentedRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TabletExternallyReparentedRequest; - - /** - * Decodes a TabletExternallyReparentedRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TabletExternallyReparentedRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TabletExternallyReparentedRequest; - - /** - * Verifies a TabletExternallyReparentedRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a TabletExternallyReparentedRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TabletExternallyReparentedRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.TabletExternallyReparentedRequest; - - /** - * Creates a plain object from a TabletExternallyReparentedRequest message. Also converts values to other types if specified. - * @param message TabletExternallyReparentedRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.TabletExternallyReparentedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TabletExternallyReparentedRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TabletExternallyReparentedRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a TabletExternallyReparentedResponse. */ - interface ITabletExternallyReparentedResponse { - - /** TabletExternallyReparentedResponse keyspace */ - keyspace?: (string|null); - - /** TabletExternallyReparentedResponse shard */ - shard?: (string|null); - - /** TabletExternallyReparentedResponse new_primary */ - new_primary?: (topodata.ITabletAlias|null); - - /** TabletExternallyReparentedResponse old_primary */ - old_primary?: (topodata.ITabletAlias|null); - } - - /** Represents a TabletExternallyReparentedResponse. */ - class TabletExternallyReparentedResponse implements ITabletExternallyReparentedResponse { - - /** - * Constructs a new TabletExternallyReparentedResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.ITabletExternallyReparentedResponse); - - /** TabletExternallyReparentedResponse keyspace. */ - public keyspace: string; - - /** TabletExternallyReparentedResponse shard. */ - public shard: string; - - /** TabletExternallyReparentedResponse new_primary. */ - public new_primary?: (topodata.ITabletAlias|null); - - /** TabletExternallyReparentedResponse old_primary. */ - public old_primary?: (topodata.ITabletAlias|null); - - /** - * Creates a new TabletExternallyReparentedResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns TabletExternallyReparentedResponse instance - */ - public static create(properties?: vtctldata.ITabletExternallyReparentedResponse): vtctldata.TabletExternallyReparentedResponse; - - /** - * Encodes the specified TabletExternallyReparentedResponse message. Does not implicitly {@link vtctldata.TabletExternallyReparentedResponse.verify|verify} messages. - * @param message TabletExternallyReparentedResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.ITabletExternallyReparentedResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TabletExternallyReparentedResponse message, length delimited. Does not implicitly {@link vtctldata.TabletExternallyReparentedResponse.verify|verify} messages. - * @param message TabletExternallyReparentedResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.ITabletExternallyReparentedResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TabletExternallyReparentedResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TabletExternallyReparentedResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.TabletExternallyReparentedResponse; - - /** - * Decodes a TabletExternallyReparentedResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TabletExternallyReparentedResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.TabletExternallyReparentedResponse; - - /** - * Verifies a TabletExternallyReparentedResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a TabletExternallyReparentedResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TabletExternallyReparentedResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.TabletExternallyReparentedResponse; - - /** - * Creates a plain object from a TabletExternallyReparentedResponse message. Also converts values to other types if specified. - * @param message TabletExternallyReparentedResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.TabletExternallyReparentedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TabletExternallyReparentedResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TabletExternallyReparentedResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an UpdateCellInfoRequest. */ - interface IUpdateCellInfoRequest { - - /** UpdateCellInfoRequest name */ - name?: (string|null); - - /** UpdateCellInfoRequest cell_info */ - cell_info?: (topodata.ICellInfo|null); - } - - /** Represents an UpdateCellInfoRequest. */ - class UpdateCellInfoRequest implements IUpdateCellInfoRequest { - - /** - * Constructs a new UpdateCellInfoRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IUpdateCellInfoRequest); - - /** UpdateCellInfoRequest name. */ - public name: string; - - /** UpdateCellInfoRequest cell_info. */ - public cell_info?: (topodata.ICellInfo|null); - - /** - * Creates a new UpdateCellInfoRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns UpdateCellInfoRequest instance - */ - public static create(properties?: vtctldata.IUpdateCellInfoRequest): vtctldata.UpdateCellInfoRequest; - - /** - * Encodes the specified UpdateCellInfoRequest message. Does not implicitly {@link vtctldata.UpdateCellInfoRequest.verify|verify} messages. - * @param message UpdateCellInfoRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IUpdateCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UpdateCellInfoRequest message, length delimited. Does not implicitly {@link vtctldata.UpdateCellInfoRequest.verify|verify} messages. - * @param message UpdateCellInfoRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IUpdateCellInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an UpdateCellInfoRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UpdateCellInfoRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellInfoRequest; - - /** - * Decodes an UpdateCellInfoRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UpdateCellInfoRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellInfoRequest; - - /** - * Verifies an UpdateCellInfoRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an UpdateCellInfoRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UpdateCellInfoRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellInfoRequest; - - /** - * Creates a plain object from an UpdateCellInfoRequest message. Also converts values to other types if specified. - * @param message UpdateCellInfoRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.UpdateCellInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UpdateCellInfoRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UpdateCellInfoRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an UpdateCellInfoResponse. */ - interface IUpdateCellInfoResponse { - - /** UpdateCellInfoResponse name */ - name?: (string|null); - - /** UpdateCellInfoResponse cell_info */ - cell_info?: (topodata.ICellInfo|null); - } - - /** Represents an UpdateCellInfoResponse. */ - class UpdateCellInfoResponse implements IUpdateCellInfoResponse { - - /** - * Constructs a new UpdateCellInfoResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IUpdateCellInfoResponse); - - /** UpdateCellInfoResponse name. */ - public name: string; - - /** UpdateCellInfoResponse cell_info. */ - public cell_info?: (topodata.ICellInfo|null); - - /** - * Creates a new UpdateCellInfoResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns UpdateCellInfoResponse instance - */ - public static create(properties?: vtctldata.IUpdateCellInfoResponse): vtctldata.UpdateCellInfoResponse; - - /** - * Encodes the specified UpdateCellInfoResponse message. Does not implicitly {@link vtctldata.UpdateCellInfoResponse.verify|verify} messages. - * @param message UpdateCellInfoResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IUpdateCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UpdateCellInfoResponse message, length delimited. Does not implicitly {@link vtctldata.UpdateCellInfoResponse.verify|verify} messages. - * @param message UpdateCellInfoResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IUpdateCellInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an UpdateCellInfoResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UpdateCellInfoResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellInfoResponse; - - /** - * Decodes an UpdateCellInfoResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UpdateCellInfoResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellInfoResponse; - - /** - * Verifies an UpdateCellInfoResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an UpdateCellInfoResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UpdateCellInfoResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellInfoResponse; - - /** - * Creates a plain object from an UpdateCellInfoResponse message. Also converts values to other types if specified. - * @param message UpdateCellInfoResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.UpdateCellInfoResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UpdateCellInfoResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UpdateCellInfoResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an UpdateCellsAliasRequest. */ - interface IUpdateCellsAliasRequest { - - /** UpdateCellsAliasRequest name */ - name?: (string|null); - - /** UpdateCellsAliasRequest cells_alias */ - cells_alias?: (topodata.ICellsAlias|null); - } - - /** Represents an UpdateCellsAliasRequest. */ - class UpdateCellsAliasRequest implements IUpdateCellsAliasRequest { - - /** - * Constructs a new UpdateCellsAliasRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IUpdateCellsAliasRequest); - - /** UpdateCellsAliasRequest name. */ - public name: string; - - /** UpdateCellsAliasRequest cells_alias. */ - public cells_alias?: (topodata.ICellsAlias|null); - - /** - * Creates a new UpdateCellsAliasRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns UpdateCellsAliasRequest instance - */ - public static create(properties?: vtctldata.IUpdateCellsAliasRequest): vtctldata.UpdateCellsAliasRequest; - - /** - * Encodes the specified UpdateCellsAliasRequest message. Does not implicitly {@link vtctldata.UpdateCellsAliasRequest.verify|verify} messages. - * @param message UpdateCellsAliasRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IUpdateCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UpdateCellsAliasRequest message, length delimited. Does not implicitly {@link vtctldata.UpdateCellsAliasRequest.verify|verify} messages. - * @param message UpdateCellsAliasRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IUpdateCellsAliasRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an UpdateCellsAliasRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UpdateCellsAliasRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellsAliasRequest; - - /** - * Decodes an UpdateCellsAliasRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UpdateCellsAliasRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellsAliasRequest; - - /** - * Verifies an UpdateCellsAliasRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an UpdateCellsAliasRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UpdateCellsAliasRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellsAliasRequest; - - /** - * Creates a plain object from an UpdateCellsAliasRequest message. Also converts values to other types if specified. - * @param message UpdateCellsAliasRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.UpdateCellsAliasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UpdateCellsAliasRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UpdateCellsAliasRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an UpdateCellsAliasResponse. */ - interface IUpdateCellsAliasResponse { - - /** UpdateCellsAliasResponse name */ - name?: (string|null); - - /** UpdateCellsAliasResponse cells_alias */ - cells_alias?: (topodata.ICellsAlias|null); - } - - /** Represents an UpdateCellsAliasResponse. */ - class UpdateCellsAliasResponse implements IUpdateCellsAliasResponse { - - /** - * Constructs a new UpdateCellsAliasResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IUpdateCellsAliasResponse); - - /** UpdateCellsAliasResponse name. */ - public name: string; - - /** UpdateCellsAliasResponse cells_alias. */ - public cells_alias?: (topodata.ICellsAlias|null); - - /** - * Creates a new UpdateCellsAliasResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns UpdateCellsAliasResponse instance - */ - public static create(properties?: vtctldata.IUpdateCellsAliasResponse): vtctldata.UpdateCellsAliasResponse; - - /** - * Encodes the specified UpdateCellsAliasResponse message. Does not implicitly {@link vtctldata.UpdateCellsAliasResponse.verify|verify} messages. - * @param message UpdateCellsAliasResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IUpdateCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified UpdateCellsAliasResponse message, length delimited. Does not implicitly {@link vtctldata.UpdateCellsAliasResponse.verify|verify} messages. - * @param message UpdateCellsAliasResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IUpdateCellsAliasResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an UpdateCellsAliasResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns UpdateCellsAliasResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.UpdateCellsAliasResponse; - - /** - * Decodes an UpdateCellsAliasResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns UpdateCellsAliasResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.UpdateCellsAliasResponse; - - /** - * Verifies an UpdateCellsAliasResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an UpdateCellsAliasResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns UpdateCellsAliasResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.UpdateCellsAliasResponse; - - /** - * Creates a plain object from an UpdateCellsAliasResponse message. Also converts values to other types if specified. - * @param message UpdateCellsAliasResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.UpdateCellsAliasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this UpdateCellsAliasResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for UpdateCellsAliasResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateRequest. */ - interface IValidateRequest { - - /** ValidateRequest ping_tablets */ - ping_tablets?: (boolean|null); - } - - /** Represents a ValidateRequest. */ - class ValidateRequest implements IValidateRequest { - - /** - * Constructs a new ValidateRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateRequest); - - /** ValidateRequest ping_tablets. */ - public ping_tablets: boolean; - - /** - * Creates a new ValidateRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateRequest instance - */ - public static create(properties?: vtctldata.IValidateRequest): vtctldata.ValidateRequest; - - /** - * Encodes the specified ValidateRequest message. Does not implicitly {@link vtctldata.ValidateRequest.verify|verify} messages. - * @param message ValidateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateRequest.verify|verify} messages. - * @param message ValidateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateRequest; - - /** - * Decodes a ValidateRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateRequest; - - /** - * Verifies a ValidateRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateRequest; - - /** - * Creates a plain object from a ValidateRequest message. Also converts values to other types if specified. - * @param message ValidateRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateResponse. */ - interface IValidateResponse { - - /** ValidateResponse results */ - results?: (string[]|null); - - /** ValidateResponse results_by_keyspace */ - results_by_keyspace?: ({ [k: string]: vtctldata.IValidateKeyspaceResponse }|null); - } - - /** Represents a ValidateResponse. */ - class ValidateResponse implements IValidateResponse { - - /** - * Constructs a new ValidateResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateResponse); - - /** ValidateResponse results. */ - public results: string[]; - - /** ValidateResponse results_by_keyspace. */ - public results_by_keyspace: { [k: string]: vtctldata.IValidateKeyspaceResponse }; - - /** - * Creates a new ValidateResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateResponse instance - */ - public static create(properties?: vtctldata.IValidateResponse): vtctldata.ValidateResponse; - - /** - * Encodes the specified ValidateResponse message. Does not implicitly {@link vtctldata.ValidateResponse.verify|verify} messages. - * @param message ValidateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateResponse.verify|verify} messages. - * @param message ValidateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateResponse; - - /** - * Decodes a ValidateResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateResponse; - - /** - * Verifies a ValidateResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateResponse; - - /** - * Creates a plain object from a ValidateResponse message. Also converts values to other types if specified. - * @param message ValidateResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateKeyspaceRequest. */ - interface IValidateKeyspaceRequest { - - /** ValidateKeyspaceRequest keyspace */ - keyspace?: (string|null); - - /** ValidateKeyspaceRequest ping_tablets */ - ping_tablets?: (boolean|null); - } - - /** Represents a ValidateKeyspaceRequest. */ - class ValidateKeyspaceRequest implements IValidateKeyspaceRequest { - - /** - * Constructs a new ValidateKeyspaceRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateKeyspaceRequest); - - /** ValidateKeyspaceRequest keyspace. */ - public keyspace: string; - - /** ValidateKeyspaceRequest ping_tablets. */ - public ping_tablets: boolean; - - /** - * Creates a new ValidateKeyspaceRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateKeyspaceRequest instance - */ - public static create(properties?: vtctldata.IValidateKeyspaceRequest): vtctldata.ValidateKeyspaceRequest; - - /** - * Encodes the specified ValidateKeyspaceRequest message. Does not implicitly {@link vtctldata.ValidateKeyspaceRequest.verify|verify} messages. - * @param message ValidateKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateKeyspaceRequest.verify|verify} messages. - * @param message ValidateKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateKeyspaceRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateKeyspaceRequest; - - /** - * Decodes a ValidateKeyspaceRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateKeyspaceRequest; - - /** - * Verifies a ValidateKeyspaceRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateKeyspaceRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateKeyspaceRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateKeyspaceRequest; - - /** - * Creates a plain object from a ValidateKeyspaceRequest message. Also converts values to other types if specified. - * @param message ValidateKeyspaceRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateKeyspaceRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateKeyspaceRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateKeyspaceResponse. */ - interface IValidateKeyspaceResponse { - - /** ValidateKeyspaceResponse results */ - results?: (string[]|null); - - /** ValidateKeyspaceResponse results_by_shard */ - results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); - } - - /** Represents a ValidateKeyspaceResponse. */ - class ValidateKeyspaceResponse implements IValidateKeyspaceResponse { - - /** - * Constructs a new ValidateKeyspaceResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateKeyspaceResponse); - - /** ValidateKeyspaceResponse results. */ - public results: string[]; - - /** ValidateKeyspaceResponse results_by_shard. */ - public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; - - /** - * Creates a new ValidateKeyspaceResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateKeyspaceResponse instance - */ - public static create(properties?: vtctldata.IValidateKeyspaceResponse): vtctldata.ValidateKeyspaceResponse; - - /** - * Encodes the specified ValidateKeyspaceResponse message. Does not implicitly {@link vtctldata.ValidateKeyspaceResponse.verify|verify} messages. - * @param message ValidateKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateKeyspaceResponse.verify|verify} messages. - * @param message ValidateKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateKeyspaceResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateKeyspaceResponse; - - /** - * Decodes a ValidateKeyspaceResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateKeyspaceResponse; - - /** - * Verifies a ValidateKeyspaceResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateKeyspaceResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateKeyspaceResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateKeyspaceResponse; - - /** - * Creates a plain object from a ValidateKeyspaceResponse message. Also converts values to other types if specified. - * @param message ValidateKeyspaceResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateKeyspaceResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateKeyspaceResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateSchemaKeyspaceRequest. */ - interface IValidateSchemaKeyspaceRequest { - - /** ValidateSchemaKeyspaceRequest keyspace */ - keyspace?: (string|null); - - /** ValidateSchemaKeyspaceRequest exclude_tables */ - exclude_tables?: (string[]|null); - - /** ValidateSchemaKeyspaceRequest include_views */ - include_views?: (boolean|null); - - /** ValidateSchemaKeyspaceRequest skip_no_primary */ - skip_no_primary?: (boolean|null); - - /** ValidateSchemaKeyspaceRequest include_vschema */ - include_vschema?: (boolean|null); - } - - /** Represents a ValidateSchemaKeyspaceRequest. */ - class ValidateSchemaKeyspaceRequest implements IValidateSchemaKeyspaceRequest { - - /** - * Constructs a new ValidateSchemaKeyspaceRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateSchemaKeyspaceRequest); - - /** ValidateSchemaKeyspaceRequest keyspace. */ - public keyspace: string; - - /** ValidateSchemaKeyspaceRequest exclude_tables. */ - public exclude_tables: string[]; - - /** ValidateSchemaKeyspaceRequest include_views. */ - public include_views: boolean; - - /** ValidateSchemaKeyspaceRequest skip_no_primary. */ - public skip_no_primary: boolean; - - /** ValidateSchemaKeyspaceRequest include_vschema. */ - public include_vschema: boolean; - - /** - * Creates a new ValidateSchemaKeyspaceRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateSchemaKeyspaceRequest instance - */ - public static create(properties?: vtctldata.IValidateSchemaKeyspaceRequest): vtctldata.ValidateSchemaKeyspaceRequest; - - /** - * Encodes the specified ValidateSchemaKeyspaceRequest message. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceRequest.verify|verify} messages. - * @param message ValidateSchemaKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateSchemaKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceRequest.verify|verify} messages. - * @param message ValidateSchemaKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateSchemaKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateSchemaKeyspaceRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateSchemaKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateSchemaKeyspaceRequest; - - /** - * Decodes a ValidateSchemaKeyspaceRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateSchemaKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateSchemaKeyspaceRequest; - - /** - * Verifies a ValidateSchemaKeyspaceRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateSchemaKeyspaceRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateSchemaKeyspaceRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateSchemaKeyspaceRequest; - - /** - * Creates a plain object from a ValidateSchemaKeyspaceRequest message. Also converts values to other types if specified. - * @param message ValidateSchemaKeyspaceRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateSchemaKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateSchemaKeyspaceRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateSchemaKeyspaceRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateSchemaKeyspaceResponse. */ - interface IValidateSchemaKeyspaceResponse { - - /** ValidateSchemaKeyspaceResponse results */ - results?: (string[]|null); - - /** ValidateSchemaKeyspaceResponse results_by_shard */ - results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); - } - - /** Represents a ValidateSchemaKeyspaceResponse. */ - class ValidateSchemaKeyspaceResponse implements IValidateSchemaKeyspaceResponse { - - /** - * Constructs a new ValidateSchemaKeyspaceResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateSchemaKeyspaceResponse); - - /** ValidateSchemaKeyspaceResponse results. */ - public results: string[]; - - /** ValidateSchemaKeyspaceResponse results_by_shard. */ - public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; - - /** - * Creates a new ValidateSchemaKeyspaceResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateSchemaKeyspaceResponse instance - */ - public static create(properties?: vtctldata.IValidateSchemaKeyspaceResponse): vtctldata.ValidateSchemaKeyspaceResponse; - - /** - * Encodes the specified ValidateSchemaKeyspaceResponse message. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceResponse.verify|verify} messages. - * @param message ValidateSchemaKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateSchemaKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateSchemaKeyspaceResponse.verify|verify} messages. - * @param message ValidateSchemaKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateSchemaKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateSchemaKeyspaceResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateSchemaKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateSchemaKeyspaceResponse; - - /** - * Decodes a ValidateSchemaKeyspaceResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateSchemaKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateSchemaKeyspaceResponse; - - /** - * Verifies a ValidateSchemaKeyspaceResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateSchemaKeyspaceResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateSchemaKeyspaceResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateSchemaKeyspaceResponse; - - /** - * Creates a plain object from a ValidateSchemaKeyspaceResponse message. Also converts values to other types if specified. - * @param message ValidateSchemaKeyspaceResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateSchemaKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateSchemaKeyspaceResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateSchemaKeyspaceResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateShardRequest. */ - interface IValidateShardRequest { - - /** ValidateShardRequest keyspace */ - keyspace?: (string|null); - - /** ValidateShardRequest shard */ - shard?: (string|null); - - /** ValidateShardRequest ping_tablets */ - ping_tablets?: (boolean|null); - } - - /** Represents a ValidateShardRequest. */ - class ValidateShardRequest implements IValidateShardRequest { - - /** - * Constructs a new ValidateShardRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateShardRequest); - - /** ValidateShardRequest keyspace. */ - public keyspace: string; - - /** ValidateShardRequest shard. */ - public shard: string; - - /** ValidateShardRequest ping_tablets. */ - public ping_tablets: boolean; - - /** - * Creates a new ValidateShardRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateShardRequest instance - */ - public static create(properties?: vtctldata.IValidateShardRequest): vtctldata.ValidateShardRequest; - - /** - * Encodes the specified ValidateShardRequest message. Does not implicitly {@link vtctldata.ValidateShardRequest.verify|verify} messages. - * @param message ValidateShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateShardRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateShardRequest.verify|verify} messages. - * @param message ValidateShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateShardRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateShardRequest; - - /** - * Decodes a ValidateShardRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateShardRequest; - - /** - * Verifies a ValidateShardRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateShardRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateShardRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateShardRequest; - - /** - * Creates a plain object from a ValidateShardRequest message. Also converts values to other types if specified. - * @param message ValidateShardRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateShardRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateShardRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateShardResponse. */ - interface IValidateShardResponse { - - /** ValidateShardResponse results */ - results?: (string[]|null); - } - - /** Represents a ValidateShardResponse. */ - class ValidateShardResponse implements IValidateShardResponse { - - /** - * Constructs a new ValidateShardResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateShardResponse); - - /** ValidateShardResponse results. */ - public results: string[]; - - /** - * Creates a new ValidateShardResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateShardResponse instance - */ - public static create(properties?: vtctldata.IValidateShardResponse): vtctldata.ValidateShardResponse; - - /** - * Encodes the specified ValidateShardResponse message. Does not implicitly {@link vtctldata.ValidateShardResponse.verify|verify} messages. - * @param message ValidateShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateShardResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateShardResponse.verify|verify} messages. - * @param message ValidateShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateShardResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateShardResponse; - - /** - * Decodes a ValidateShardResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateShardResponse; - - /** - * Verifies a ValidateShardResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateShardResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateShardResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateShardResponse; - - /** - * Creates a plain object from a ValidateShardResponse message. Also converts values to other types if specified. - * @param message ValidateShardResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateShardResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateShardResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateVersionKeyspaceRequest. */ - interface IValidateVersionKeyspaceRequest { - - /** ValidateVersionKeyspaceRequest keyspace */ - keyspace?: (string|null); - } - - /** Represents a ValidateVersionKeyspaceRequest. */ - class ValidateVersionKeyspaceRequest implements IValidateVersionKeyspaceRequest { - - /** - * Constructs a new ValidateVersionKeyspaceRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateVersionKeyspaceRequest); - - /** ValidateVersionKeyspaceRequest keyspace. */ - public keyspace: string; - - /** - * Creates a new ValidateVersionKeyspaceRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateVersionKeyspaceRequest instance - */ - public static create(properties?: vtctldata.IValidateVersionKeyspaceRequest): vtctldata.ValidateVersionKeyspaceRequest; - - /** - * Encodes the specified ValidateVersionKeyspaceRequest message. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceRequest.verify|verify} messages. - * @param message ValidateVersionKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateVersionKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateVersionKeyspaceRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceRequest.verify|verify} messages. - * @param message ValidateVersionKeyspaceRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateVersionKeyspaceRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateVersionKeyspaceRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateVersionKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionKeyspaceRequest; - - /** - * Decodes a ValidateVersionKeyspaceRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateVersionKeyspaceRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionKeyspaceRequest; - - /** - * Verifies a ValidateVersionKeyspaceRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateVersionKeyspaceRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateVersionKeyspaceRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionKeyspaceRequest; - - /** - * Creates a plain object from a ValidateVersionKeyspaceRequest message. Also converts values to other types if specified. - * @param message ValidateVersionKeyspaceRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateVersionKeyspaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateVersionKeyspaceRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateVersionKeyspaceRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateVersionKeyspaceResponse. */ - interface IValidateVersionKeyspaceResponse { - - /** ValidateVersionKeyspaceResponse results */ - results?: (string[]|null); - - /** ValidateVersionKeyspaceResponse results_by_shard */ - results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); - } - - /** Represents a ValidateVersionKeyspaceResponse. */ - class ValidateVersionKeyspaceResponse implements IValidateVersionKeyspaceResponse { - - /** - * Constructs a new ValidateVersionKeyspaceResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateVersionKeyspaceResponse); - - /** ValidateVersionKeyspaceResponse results. */ - public results: string[]; - - /** ValidateVersionKeyspaceResponse results_by_shard. */ - public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; - - /** - * Creates a new ValidateVersionKeyspaceResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateVersionKeyspaceResponse instance - */ - public static create(properties?: vtctldata.IValidateVersionKeyspaceResponse): vtctldata.ValidateVersionKeyspaceResponse; - - /** - * Encodes the specified ValidateVersionKeyspaceResponse message. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceResponse.verify|verify} messages. - * @param message ValidateVersionKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateVersionKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateVersionKeyspaceResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionKeyspaceResponse.verify|verify} messages. - * @param message ValidateVersionKeyspaceResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateVersionKeyspaceResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateVersionKeyspaceResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateVersionKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionKeyspaceResponse; - - /** - * Decodes a ValidateVersionKeyspaceResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateVersionKeyspaceResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionKeyspaceResponse; - - /** - * Verifies a ValidateVersionKeyspaceResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateVersionKeyspaceResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateVersionKeyspaceResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionKeyspaceResponse; - - /** - * Creates a plain object from a ValidateVersionKeyspaceResponse message. Also converts values to other types if specified. - * @param message ValidateVersionKeyspaceResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateVersionKeyspaceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateVersionKeyspaceResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateVersionKeyspaceResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateVersionShardRequest. */ - interface IValidateVersionShardRequest { - - /** ValidateVersionShardRequest keyspace */ - keyspace?: (string|null); - - /** ValidateVersionShardRequest shard */ - shard?: (string|null); - } - - /** Represents a ValidateVersionShardRequest. */ - class ValidateVersionShardRequest implements IValidateVersionShardRequest { - - /** - * Constructs a new ValidateVersionShardRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateVersionShardRequest); - - /** ValidateVersionShardRequest keyspace. */ - public keyspace: string; - - /** ValidateVersionShardRequest shard. */ - public shard: string; - - /** - * Creates a new ValidateVersionShardRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateVersionShardRequest instance - */ - public static create(properties?: vtctldata.IValidateVersionShardRequest): vtctldata.ValidateVersionShardRequest; - - /** - * Encodes the specified ValidateVersionShardRequest message. Does not implicitly {@link vtctldata.ValidateVersionShardRequest.verify|verify} messages. - * @param message ValidateVersionShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateVersionShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateVersionShardRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionShardRequest.verify|verify} messages. - * @param message ValidateVersionShardRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateVersionShardRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateVersionShardRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateVersionShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionShardRequest; - - /** - * Decodes a ValidateVersionShardRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateVersionShardRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionShardRequest; - - /** - * Verifies a ValidateVersionShardRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateVersionShardRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateVersionShardRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionShardRequest; - - /** - * Creates a plain object from a ValidateVersionShardRequest message. Also converts values to other types if specified. - * @param message ValidateVersionShardRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateVersionShardRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateVersionShardRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateVersionShardRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateVersionShardResponse. */ - interface IValidateVersionShardResponse { - - /** ValidateVersionShardResponse results */ - results?: (string[]|null); - } - - /** Represents a ValidateVersionShardResponse. */ - class ValidateVersionShardResponse implements IValidateVersionShardResponse { - - /** - * Constructs a new ValidateVersionShardResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateVersionShardResponse); - - /** ValidateVersionShardResponse results. */ - public results: string[]; - - /** - * Creates a new ValidateVersionShardResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateVersionShardResponse instance - */ - public static create(properties?: vtctldata.IValidateVersionShardResponse): vtctldata.ValidateVersionShardResponse; - - /** - * Encodes the specified ValidateVersionShardResponse message. Does not implicitly {@link vtctldata.ValidateVersionShardResponse.verify|verify} messages. - * @param message ValidateVersionShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateVersionShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateVersionShardResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateVersionShardResponse.verify|verify} messages. - * @param message ValidateVersionShardResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateVersionShardResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateVersionShardResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateVersionShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVersionShardResponse; - - /** - * Decodes a ValidateVersionShardResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateVersionShardResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVersionShardResponse; - - /** - * Verifies a ValidateVersionShardResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateVersionShardResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateVersionShardResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVersionShardResponse; - - /** - * Creates a plain object from a ValidateVersionShardResponse message. Also converts values to other types if specified. - * @param message ValidateVersionShardResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateVersionShardResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateVersionShardResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateVersionShardResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateVSchemaRequest. */ - interface IValidateVSchemaRequest { - - /** ValidateVSchemaRequest keyspace */ - keyspace?: (string|null); - - /** ValidateVSchemaRequest shards */ - shards?: (string[]|null); - - /** ValidateVSchemaRequest exclude_tables */ - exclude_tables?: (string[]|null); - - /** ValidateVSchemaRequest include_views */ - include_views?: (boolean|null); - } - - /** Represents a ValidateVSchemaRequest. */ - class ValidateVSchemaRequest implements IValidateVSchemaRequest { - - /** - * Constructs a new ValidateVSchemaRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateVSchemaRequest); - - /** ValidateVSchemaRequest keyspace. */ - public keyspace: string; - - /** ValidateVSchemaRequest shards. */ - public shards: string[]; - - /** ValidateVSchemaRequest exclude_tables. */ - public exclude_tables: string[]; - - /** ValidateVSchemaRequest include_views. */ - public include_views: boolean; - - /** - * Creates a new ValidateVSchemaRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateVSchemaRequest instance - */ - public static create(properties?: vtctldata.IValidateVSchemaRequest): vtctldata.ValidateVSchemaRequest; - - /** - * Encodes the specified ValidateVSchemaRequest message. Does not implicitly {@link vtctldata.ValidateVSchemaRequest.verify|verify} messages. - * @param message ValidateVSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateVSchemaRequest message, length delimited. Does not implicitly {@link vtctldata.ValidateVSchemaRequest.verify|verify} messages. - * @param message ValidateVSchemaRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateVSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateVSchemaRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateVSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVSchemaRequest; - - /** - * Decodes a ValidateVSchemaRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateVSchemaRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVSchemaRequest; - - /** - * Verifies a ValidateVSchemaRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateVSchemaRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateVSchemaRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVSchemaRequest; - - /** - * Creates a plain object from a ValidateVSchemaRequest message. Also converts values to other types if specified. - * @param message ValidateVSchemaRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateVSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateVSchemaRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateVSchemaRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ValidateVSchemaResponse. */ - interface IValidateVSchemaResponse { - - /** ValidateVSchemaResponse results */ - results?: (string[]|null); - - /** ValidateVSchemaResponse results_by_shard */ - results_by_shard?: ({ [k: string]: vtctldata.IValidateShardResponse }|null); - } - - /** Represents a ValidateVSchemaResponse. */ - class ValidateVSchemaResponse implements IValidateVSchemaResponse { - - /** - * Constructs a new ValidateVSchemaResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IValidateVSchemaResponse); - - /** ValidateVSchemaResponse results. */ - public results: string[]; - - /** ValidateVSchemaResponse results_by_shard. */ - public results_by_shard: { [k: string]: vtctldata.IValidateShardResponse }; - - /** - * Creates a new ValidateVSchemaResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ValidateVSchemaResponse instance - */ - public static create(properties?: vtctldata.IValidateVSchemaResponse): vtctldata.ValidateVSchemaResponse; - - /** - * Encodes the specified ValidateVSchemaResponse message. Does not implicitly {@link vtctldata.ValidateVSchemaResponse.verify|verify} messages. - * @param message ValidateVSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IValidateVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ValidateVSchemaResponse message, length delimited. Does not implicitly {@link vtctldata.ValidateVSchemaResponse.verify|verify} messages. - * @param message ValidateVSchemaResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IValidateVSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ValidateVSchemaResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ValidateVSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.ValidateVSchemaResponse; - - /** - * Decodes a ValidateVSchemaResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ValidateVSchemaResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.ValidateVSchemaResponse; - - /** - * Verifies a ValidateVSchemaResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ValidateVSchemaResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ValidateVSchemaResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.ValidateVSchemaResponse; - - /** - * Creates a plain object from a ValidateVSchemaResponse message. Also converts values to other types if specified. - * @param message ValidateVSchemaResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.ValidateVSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ValidateVSchemaResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ValidateVSchemaResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a VDiffCreateRequest. */ - interface IVDiffCreateRequest { - - /** VDiffCreateRequest workflow */ - workflow?: (string|null); - - /** VDiffCreateRequest target_keyspace */ - target_keyspace?: (string|null); - - /** VDiffCreateRequest uuid */ - uuid?: (string|null); - - /** VDiffCreateRequest source_cells */ - source_cells?: (string[]|null); - - /** VDiffCreateRequest target_cells */ - target_cells?: (string[]|null); - - /** VDiffCreateRequest tablet_types */ - tablet_types?: (topodata.TabletType[]|null); - - /** VDiffCreateRequest tablet_selection_preference */ - tablet_selection_preference?: (tabletmanagerdata.TabletSelectionPreference|null); - - /** VDiffCreateRequest tables */ - tables?: (string[]|null); - - /** VDiffCreateRequest limit */ - limit?: (number|Long|null); - - /** VDiffCreateRequest filtered_replication_wait_time */ - filtered_replication_wait_time?: (vttime.IDuration|null); - - /** VDiffCreateRequest debug_query */ - debug_query?: (boolean|null); - - /** VDiffCreateRequest only_p_ks */ - only_p_ks?: (boolean|null); - - /** VDiffCreateRequest update_table_stats */ - update_table_stats?: (boolean|null); - - /** VDiffCreateRequest max_extra_rows_to_compare */ - max_extra_rows_to_compare?: (number|Long|null); - - /** VDiffCreateRequest wait */ - wait?: (boolean|null); - - /** VDiffCreateRequest wait_update_interval */ - wait_update_interval?: (vttime.IDuration|null); - - /** VDiffCreateRequest auto_retry */ - auto_retry?: (boolean|null); - - /** VDiffCreateRequest verbose */ - verbose?: (boolean|null); - - /** VDiffCreateRequest max_report_sample_rows */ - max_report_sample_rows?: (number|Long|null); - - /** VDiffCreateRequest max_diff_duration */ - max_diff_duration?: (vttime.IDuration|null); - - /** VDiffCreateRequest row_diff_column_truncate_at */ - row_diff_column_truncate_at?: (number|Long|null); - - /** VDiffCreateRequest auto_start */ - auto_start?: (boolean|null); - } - - /** Represents a VDiffCreateRequest. */ - class VDiffCreateRequest implements IVDiffCreateRequest { - - /** - * Constructs a new VDiffCreateRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IVDiffCreateRequest); - - /** VDiffCreateRequest workflow. */ - public workflow: string; - - /** VDiffCreateRequest target_keyspace. */ - public target_keyspace: string; - - /** VDiffCreateRequest uuid. */ - public uuid: string; - - /** VDiffCreateRequest source_cells. */ - public source_cells: string[]; - - /** VDiffCreateRequest target_cells. */ - public target_cells: string[]; - - /** VDiffCreateRequest tablet_types. */ - public tablet_types: topodata.TabletType[]; - - /** VDiffCreateRequest tablet_selection_preference. */ - public tablet_selection_preference: tabletmanagerdata.TabletSelectionPreference; - - /** VDiffCreateRequest tables. */ - public tables: string[]; - - /** VDiffCreateRequest limit. */ - public limit: (number|Long); - - /** VDiffCreateRequest filtered_replication_wait_time. */ - public filtered_replication_wait_time?: (vttime.IDuration|null); - - /** VDiffCreateRequest debug_query. */ - public debug_query: boolean; - - /** VDiffCreateRequest only_p_ks. */ - public only_p_ks: boolean; - - /** VDiffCreateRequest update_table_stats. */ - public update_table_stats: boolean; - - /** VDiffCreateRequest max_extra_rows_to_compare. */ - public max_extra_rows_to_compare: (number|Long); - - /** VDiffCreateRequest wait. */ - public wait: boolean; - - /** VDiffCreateRequest wait_update_interval. */ - public wait_update_interval?: (vttime.IDuration|null); - - /** VDiffCreateRequest auto_retry. */ - public auto_retry: boolean; - - /** VDiffCreateRequest verbose. */ - public verbose: boolean; - - /** VDiffCreateRequest max_report_sample_rows. */ - public max_report_sample_rows: (number|Long); - - /** VDiffCreateRequest max_diff_duration. */ - public max_diff_duration?: (vttime.IDuration|null); - - /** VDiffCreateRequest row_diff_column_truncate_at. */ - public row_diff_column_truncate_at: (number|Long); - - /** VDiffCreateRequest auto_start. */ - public auto_start?: (boolean|null); - - /** VDiffCreateRequest _auto_start. */ - public _auto_start?: "auto_start"; - - /** - * Creates a new VDiffCreateRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns VDiffCreateRequest instance - */ - public static create(properties?: vtctldata.IVDiffCreateRequest): vtctldata.VDiffCreateRequest; - - /** - * Encodes the specified VDiffCreateRequest message. Does not implicitly {@link vtctldata.VDiffCreateRequest.verify|verify} messages. - * @param message VDiffCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IVDiffCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VDiffCreateRequest message, length delimited. Does not implicitly {@link vtctldata.VDiffCreateRequest.verify|verify} messages. - * @param message VDiffCreateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IVDiffCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VDiffCreateRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VDiffCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffCreateRequest; - - /** - * Decodes a VDiffCreateRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VDiffCreateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffCreateRequest; - - /** - * Verifies a VDiffCreateRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VDiffCreateRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VDiffCreateRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.VDiffCreateRequest; - - /** - * Creates a plain object from a VDiffCreateRequest message. Also converts values to other types if specified. - * @param message VDiffCreateRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.VDiffCreateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VDiffCreateRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VDiffCreateRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a VDiffCreateResponse. */ - interface IVDiffCreateResponse { - - /** VDiffCreateResponse UUID */ - UUID?: (string|null); - } - - /** Represents a VDiffCreateResponse. */ - class VDiffCreateResponse implements IVDiffCreateResponse { - - /** - * Constructs a new VDiffCreateResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IVDiffCreateResponse); - - /** VDiffCreateResponse UUID. */ - public UUID: string; - - /** - * Creates a new VDiffCreateResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns VDiffCreateResponse instance - */ - public static create(properties?: vtctldata.IVDiffCreateResponse): vtctldata.VDiffCreateResponse; - - /** - * Encodes the specified VDiffCreateResponse message. Does not implicitly {@link vtctldata.VDiffCreateResponse.verify|verify} messages. - * @param message VDiffCreateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IVDiffCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VDiffCreateResponse message, length delimited. Does not implicitly {@link vtctldata.VDiffCreateResponse.verify|verify} messages. - * @param message VDiffCreateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IVDiffCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VDiffCreateResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VDiffCreateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffCreateResponse; - - /** - * Decodes a VDiffCreateResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VDiffCreateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffCreateResponse; - - /** - * Verifies a VDiffCreateResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VDiffCreateResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VDiffCreateResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.VDiffCreateResponse; - - /** - * Creates a plain object from a VDiffCreateResponse message. Also converts values to other types if specified. - * @param message VDiffCreateResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.VDiffCreateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VDiffCreateResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VDiffCreateResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a VDiffDeleteRequest. */ - interface IVDiffDeleteRequest { - - /** VDiffDeleteRequest workflow */ - workflow?: (string|null); - - /** VDiffDeleteRequest target_keyspace */ - target_keyspace?: (string|null); - - /** VDiffDeleteRequest arg */ - arg?: (string|null); - } - - /** Represents a VDiffDeleteRequest. */ - class VDiffDeleteRequest implements IVDiffDeleteRequest { - - /** - * Constructs a new VDiffDeleteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IVDiffDeleteRequest); - - /** VDiffDeleteRequest workflow. */ - public workflow: string; - - /** VDiffDeleteRequest target_keyspace. */ - public target_keyspace: string; - - /** VDiffDeleteRequest arg. */ - public arg: string; - - /** - * Creates a new VDiffDeleteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns VDiffDeleteRequest instance - */ - public static create(properties?: vtctldata.IVDiffDeleteRequest): vtctldata.VDiffDeleteRequest; - - /** - * Encodes the specified VDiffDeleteRequest message. Does not implicitly {@link vtctldata.VDiffDeleteRequest.verify|verify} messages. - * @param message VDiffDeleteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IVDiffDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VDiffDeleteRequest message, length delimited. Does not implicitly {@link vtctldata.VDiffDeleteRequest.verify|verify} messages. - * @param message VDiffDeleteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IVDiffDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VDiffDeleteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VDiffDeleteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffDeleteRequest; - - /** - * Decodes a VDiffDeleteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VDiffDeleteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffDeleteRequest; - - /** - * Verifies a VDiffDeleteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VDiffDeleteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VDiffDeleteRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.VDiffDeleteRequest; - - /** - * Creates a plain object from a VDiffDeleteRequest message. Also converts values to other types if specified. - * @param message VDiffDeleteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.VDiffDeleteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VDiffDeleteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VDiffDeleteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a VDiffDeleteResponse. */ - interface IVDiffDeleteResponse { - } - - /** Represents a VDiffDeleteResponse. */ - class VDiffDeleteResponse implements IVDiffDeleteResponse { - - /** - * Constructs a new VDiffDeleteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IVDiffDeleteResponse); - - /** - * Creates a new VDiffDeleteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns VDiffDeleteResponse instance - */ - public static create(properties?: vtctldata.IVDiffDeleteResponse): vtctldata.VDiffDeleteResponse; - - /** - * Encodes the specified VDiffDeleteResponse message. Does not implicitly {@link vtctldata.VDiffDeleteResponse.verify|verify} messages. - * @param message VDiffDeleteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IVDiffDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VDiffDeleteResponse message, length delimited. Does not implicitly {@link vtctldata.VDiffDeleteResponse.verify|verify} messages. - * @param message VDiffDeleteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IVDiffDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VDiffDeleteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VDiffDeleteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffDeleteResponse; - - /** - * Decodes a VDiffDeleteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VDiffDeleteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffDeleteResponse; - - /** - * Verifies a VDiffDeleteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VDiffDeleteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VDiffDeleteResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.VDiffDeleteResponse; - - /** - * Creates a plain object from a VDiffDeleteResponse message. Also converts values to other types if specified. - * @param message VDiffDeleteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.VDiffDeleteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VDiffDeleteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VDiffDeleteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a VDiffResumeRequest. */ - interface IVDiffResumeRequest { - - /** VDiffResumeRequest workflow */ - workflow?: (string|null); - - /** VDiffResumeRequest target_keyspace */ - target_keyspace?: (string|null); - - /** VDiffResumeRequest uuid */ - uuid?: (string|null); - - /** VDiffResumeRequest target_shards */ - target_shards?: (string[]|null); - } - - /** Represents a VDiffResumeRequest. */ - class VDiffResumeRequest implements IVDiffResumeRequest { - - /** - * Constructs a new VDiffResumeRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IVDiffResumeRequest); - - /** VDiffResumeRequest workflow. */ - public workflow: string; - - /** VDiffResumeRequest target_keyspace. */ - public target_keyspace: string; - - /** VDiffResumeRequest uuid. */ - public uuid: string; - - /** VDiffResumeRequest target_shards. */ - public target_shards: string[]; - - /** - * Creates a new VDiffResumeRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns VDiffResumeRequest instance - */ - public static create(properties?: vtctldata.IVDiffResumeRequest): vtctldata.VDiffResumeRequest; - - /** - * Encodes the specified VDiffResumeRequest message. Does not implicitly {@link vtctldata.VDiffResumeRequest.verify|verify} messages. - * @param message VDiffResumeRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IVDiffResumeRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VDiffResumeRequest message, length delimited. Does not implicitly {@link vtctldata.VDiffResumeRequest.verify|verify} messages. - * @param message VDiffResumeRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IVDiffResumeRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VDiffResumeRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VDiffResumeRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffResumeRequest; - - /** - * Decodes a VDiffResumeRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VDiffResumeRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffResumeRequest; - - /** - * Verifies a VDiffResumeRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VDiffResumeRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VDiffResumeRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.VDiffResumeRequest; - - /** - * Creates a plain object from a VDiffResumeRequest message. Also converts values to other types if specified. - * @param message VDiffResumeRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.VDiffResumeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VDiffResumeRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VDiffResumeRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a VDiffResumeResponse. */ - interface IVDiffResumeResponse { - } - - /** Represents a VDiffResumeResponse. */ - class VDiffResumeResponse implements IVDiffResumeResponse { - - /** - * Constructs a new VDiffResumeResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IVDiffResumeResponse); - - /** - * Creates a new VDiffResumeResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns VDiffResumeResponse instance - */ - public static create(properties?: vtctldata.IVDiffResumeResponse): vtctldata.VDiffResumeResponse; - - /** - * Encodes the specified VDiffResumeResponse message. Does not implicitly {@link vtctldata.VDiffResumeResponse.verify|verify} messages. - * @param message VDiffResumeResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IVDiffResumeResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VDiffResumeResponse message, length delimited. Does not implicitly {@link vtctldata.VDiffResumeResponse.verify|verify} messages. - * @param message VDiffResumeResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IVDiffResumeResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VDiffResumeResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VDiffResumeResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffResumeResponse; - - /** - * Decodes a VDiffResumeResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VDiffResumeResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffResumeResponse; - - /** - * Verifies a VDiffResumeResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VDiffResumeResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VDiffResumeResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.VDiffResumeResponse; - - /** - * Creates a plain object from a VDiffResumeResponse message. Also converts values to other types if specified. - * @param message VDiffResumeResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.VDiffResumeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VDiffResumeResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VDiffResumeResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a VDiffShowRequest. */ - interface IVDiffShowRequest { - - /** VDiffShowRequest workflow */ - workflow?: (string|null); - - /** VDiffShowRequest target_keyspace */ - target_keyspace?: (string|null); - - /** VDiffShowRequest arg */ - arg?: (string|null); - } - - /** Represents a VDiffShowRequest. */ - class VDiffShowRequest implements IVDiffShowRequest { - - /** - * Constructs a new VDiffShowRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IVDiffShowRequest); - - /** VDiffShowRequest workflow. */ - public workflow: string; - - /** VDiffShowRequest target_keyspace. */ - public target_keyspace: string; - - /** VDiffShowRequest arg. */ - public arg: string; - - /** - * Creates a new VDiffShowRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns VDiffShowRequest instance - */ - public static create(properties?: vtctldata.IVDiffShowRequest): vtctldata.VDiffShowRequest; - - /** - * Encodes the specified VDiffShowRequest message. Does not implicitly {@link vtctldata.VDiffShowRequest.verify|verify} messages. - * @param message VDiffShowRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IVDiffShowRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VDiffShowRequest message, length delimited. Does not implicitly {@link vtctldata.VDiffShowRequest.verify|verify} messages. - * @param message VDiffShowRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IVDiffShowRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VDiffShowRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VDiffShowRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffShowRequest; - - /** - * Decodes a VDiffShowRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VDiffShowRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffShowRequest; - - /** - * Verifies a VDiffShowRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VDiffShowRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VDiffShowRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.VDiffShowRequest; - - /** - * Creates a plain object from a VDiffShowRequest message. Also converts values to other types if specified. - * @param message VDiffShowRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.VDiffShowRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VDiffShowRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VDiffShowRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a VDiffShowResponse. */ - interface IVDiffShowResponse { - - /** VDiffShowResponse tablet_responses */ - tablet_responses?: ({ [k: string]: tabletmanagerdata.IVDiffResponse }|null); - } - - /** Represents a VDiffShowResponse. */ - class VDiffShowResponse implements IVDiffShowResponse { - - /** - * Constructs a new VDiffShowResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IVDiffShowResponse); - - /** VDiffShowResponse tablet_responses. */ - public tablet_responses: { [k: string]: tabletmanagerdata.IVDiffResponse }; - - /** - * Creates a new VDiffShowResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns VDiffShowResponse instance - */ - public static create(properties?: vtctldata.IVDiffShowResponse): vtctldata.VDiffShowResponse; - - /** - * Encodes the specified VDiffShowResponse message. Does not implicitly {@link vtctldata.VDiffShowResponse.verify|verify} messages. - * @param message VDiffShowResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IVDiffShowResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VDiffShowResponse message, length delimited. Does not implicitly {@link vtctldata.VDiffShowResponse.verify|verify} messages. - * @param message VDiffShowResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IVDiffShowResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VDiffShowResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VDiffShowResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffShowResponse; - - /** - * Decodes a VDiffShowResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VDiffShowResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffShowResponse; - - /** - * Verifies a VDiffShowResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VDiffShowResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VDiffShowResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.VDiffShowResponse; - - /** - * Creates a plain object from a VDiffShowResponse message. Also converts values to other types if specified. - * @param message VDiffShowResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.VDiffShowResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VDiffShowResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VDiffShowResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a VDiffStopRequest. */ - interface IVDiffStopRequest { - - /** VDiffStopRequest workflow */ - workflow?: (string|null); - - /** VDiffStopRequest target_keyspace */ - target_keyspace?: (string|null); - - /** VDiffStopRequest uuid */ - uuid?: (string|null); - - /** VDiffStopRequest target_shards */ - target_shards?: (string[]|null); - } - - /** Represents a VDiffStopRequest. */ - class VDiffStopRequest implements IVDiffStopRequest { - - /** - * Constructs a new VDiffStopRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IVDiffStopRequest); - - /** VDiffStopRequest workflow. */ - public workflow: string; - - /** VDiffStopRequest target_keyspace. */ - public target_keyspace: string; - - /** VDiffStopRequest uuid. */ - public uuid: string; - - /** VDiffStopRequest target_shards. */ - public target_shards: string[]; - - /** - * Creates a new VDiffStopRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns VDiffStopRequest instance - */ - public static create(properties?: vtctldata.IVDiffStopRequest): vtctldata.VDiffStopRequest; - - /** - * Encodes the specified VDiffStopRequest message. Does not implicitly {@link vtctldata.VDiffStopRequest.verify|verify} messages. - * @param message VDiffStopRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IVDiffStopRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VDiffStopRequest message, length delimited. Does not implicitly {@link vtctldata.VDiffStopRequest.verify|verify} messages. - * @param message VDiffStopRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IVDiffStopRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VDiffStopRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VDiffStopRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffStopRequest; - - /** - * Decodes a VDiffStopRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VDiffStopRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffStopRequest; - - /** - * Verifies a VDiffStopRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VDiffStopRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VDiffStopRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.VDiffStopRequest; - - /** - * Creates a plain object from a VDiffStopRequest message. Also converts values to other types if specified. - * @param message VDiffStopRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.VDiffStopRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VDiffStopRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VDiffStopRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a VDiffStopResponse. */ - interface IVDiffStopResponse { - } - - /** Represents a VDiffStopResponse. */ - class VDiffStopResponse implements IVDiffStopResponse { - - /** - * Constructs a new VDiffStopResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IVDiffStopResponse); - - /** - * Creates a new VDiffStopResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns VDiffStopResponse instance - */ - public static create(properties?: vtctldata.IVDiffStopResponse): vtctldata.VDiffStopResponse; - - /** - * Encodes the specified VDiffStopResponse message. Does not implicitly {@link vtctldata.VDiffStopResponse.verify|verify} messages. - * @param message VDiffStopResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IVDiffStopResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VDiffStopResponse message, length delimited. Does not implicitly {@link vtctldata.VDiffStopResponse.verify|verify} messages. - * @param message VDiffStopResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IVDiffStopResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VDiffStopResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VDiffStopResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.VDiffStopResponse; - - /** - * Decodes a VDiffStopResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VDiffStopResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.VDiffStopResponse; - - /** - * Verifies a VDiffStopResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VDiffStopResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VDiffStopResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.VDiffStopResponse; - - /** - * Creates a plain object from a VDiffStopResponse message. Also converts values to other types if specified. - * @param message VDiffStopResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.VDiffStopResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VDiffStopResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VDiffStopResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a WorkflowDeleteRequest. */ - interface IWorkflowDeleteRequest { - - /** WorkflowDeleteRequest keyspace */ - keyspace?: (string|null); - - /** WorkflowDeleteRequest workflow */ - workflow?: (string|null); - - /** WorkflowDeleteRequest keep_data */ - keep_data?: (boolean|null); - - /** WorkflowDeleteRequest keep_routing_rules */ - keep_routing_rules?: (boolean|null); - - /** WorkflowDeleteRequest shards */ - shards?: (string[]|null); - } - - /** Represents a WorkflowDeleteRequest. */ - class WorkflowDeleteRequest implements IWorkflowDeleteRequest { - - /** - * Constructs a new WorkflowDeleteRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflowDeleteRequest); - - /** WorkflowDeleteRequest keyspace. */ - public keyspace: string; - - /** WorkflowDeleteRequest workflow. */ - public workflow: string; - - /** WorkflowDeleteRequest keep_data. */ - public keep_data: boolean; - - /** WorkflowDeleteRequest keep_routing_rules. */ - public keep_routing_rules: boolean; - - /** WorkflowDeleteRequest shards. */ - public shards: string[]; - - /** - * Creates a new WorkflowDeleteRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowDeleteRequest instance - */ - public static create(properties?: vtctldata.IWorkflowDeleteRequest): vtctldata.WorkflowDeleteRequest; - - /** - * Encodes the specified WorkflowDeleteRequest message. Does not implicitly {@link vtctldata.WorkflowDeleteRequest.verify|verify} messages. - * @param message WorkflowDeleteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflowDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WorkflowDeleteRequest message, length delimited. Does not implicitly {@link vtctldata.WorkflowDeleteRequest.verify|verify} messages. - * @param message WorkflowDeleteRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflowDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WorkflowDeleteRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowDeleteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowDeleteRequest; - - /** - * Decodes a WorkflowDeleteRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WorkflowDeleteRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowDeleteRequest; - - /** - * Verifies a WorkflowDeleteRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a WorkflowDeleteRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WorkflowDeleteRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowDeleteRequest; - - /** - * Creates a plain object from a WorkflowDeleteRequest message. Also converts values to other types if specified. - * @param message WorkflowDeleteRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowDeleteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WorkflowDeleteRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WorkflowDeleteRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a WorkflowDeleteResponse. */ - interface IWorkflowDeleteResponse { - - /** WorkflowDeleteResponse summary */ - summary?: (string|null); - - /** WorkflowDeleteResponse details */ - details?: (vtctldata.WorkflowDeleteResponse.ITabletInfo[]|null); - } - - /** Represents a WorkflowDeleteResponse. */ - class WorkflowDeleteResponse implements IWorkflowDeleteResponse { - - /** - * Constructs a new WorkflowDeleteResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflowDeleteResponse); - - /** WorkflowDeleteResponse summary. */ - public summary: string; - - /** WorkflowDeleteResponse details. */ - public details: vtctldata.WorkflowDeleteResponse.ITabletInfo[]; - - /** - * Creates a new WorkflowDeleteResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowDeleteResponse instance - */ - public static create(properties?: vtctldata.IWorkflowDeleteResponse): vtctldata.WorkflowDeleteResponse; - - /** - * Encodes the specified WorkflowDeleteResponse message. Does not implicitly {@link vtctldata.WorkflowDeleteResponse.verify|verify} messages. - * @param message WorkflowDeleteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflowDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WorkflowDeleteResponse message, length delimited. Does not implicitly {@link vtctldata.WorkflowDeleteResponse.verify|verify} messages. - * @param message WorkflowDeleteResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflowDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WorkflowDeleteResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowDeleteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowDeleteResponse; - - /** - * Decodes a WorkflowDeleteResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WorkflowDeleteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowDeleteResponse; - - /** - * Verifies a WorkflowDeleteResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a WorkflowDeleteResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WorkflowDeleteResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowDeleteResponse; - - /** - * Creates a plain object from a WorkflowDeleteResponse message. Also converts values to other types if specified. - * @param message WorkflowDeleteResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowDeleteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WorkflowDeleteResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WorkflowDeleteResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace WorkflowDeleteResponse { - - /** Properties of a TabletInfo. */ - interface ITabletInfo { - - /** TabletInfo tablet */ - tablet?: (topodata.ITabletAlias|null); - - /** TabletInfo deleted */ - deleted?: (boolean|null); - } - - /** Represents a TabletInfo. */ - class TabletInfo implements ITabletInfo { - - /** - * Constructs a new TabletInfo. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.WorkflowDeleteResponse.ITabletInfo); - - /** TabletInfo tablet. */ - public tablet?: (topodata.ITabletAlias|null); - - /** TabletInfo deleted. */ - public deleted: boolean; - - /** - * Creates a new TabletInfo instance using the specified properties. - * @param [properties] Properties to set - * @returns TabletInfo instance - */ - public static create(properties?: vtctldata.WorkflowDeleteResponse.ITabletInfo): vtctldata.WorkflowDeleteResponse.TabletInfo; - - /** - * Encodes the specified TabletInfo message. Does not implicitly {@link vtctldata.WorkflowDeleteResponse.TabletInfo.verify|verify} messages. - * @param message TabletInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.WorkflowDeleteResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TabletInfo message, length delimited. Does not implicitly {@link vtctldata.WorkflowDeleteResponse.TabletInfo.verify|verify} messages. - * @param message TabletInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.WorkflowDeleteResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TabletInfo message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TabletInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowDeleteResponse.TabletInfo; - - /** - * Decodes a TabletInfo message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TabletInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowDeleteResponse.TabletInfo; - - /** - * Verifies a TabletInfo message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a TabletInfo message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TabletInfo - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowDeleteResponse.TabletInfo; - - /** - * Creates a plain object from a TabletInfo message. Also converts values to other types if specified. - * @param message TabletInfo - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowDeleteResponse.TabletInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TabletInfo to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TabletInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of a WorkflowStatusRequest. */ - interface IWorkflowStatusRequest { - - /** WorkflowStatusRequest keyspace */ - keyspace?: (string|null); - - /** WorkflowStatusRequest workflow */ - workflow?: (string|null); - - /** WorkflowStatusRequest shards */ - shards?: (string[]|null); - } - - /** Represents a WorkflowStatusRequest. */ - class WorkflowStatusRequest implements IWorkflowStatusRequest { - - /** - * Constructs a new WorkflowStatusRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflowStatusRequest); - - /** WorkflowStatusRequest keyspace. */ - public keyspace: string; - - /** WorkflowStatusRequest workflow. */ - public workflow: string; - - /** WorkflowStatusRequest shards. */ - public shards: string[]; - - /** - * Creates a new WorkflowStatusRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowStatusRequest instance - */ - public static create(properties?: vtctldata.IWorkflowStatusRequest): vtctldata.WorkflowStatusRequest; - - /** - * Encodes the specified WorkflowStatusRequest message. Does not implicitly {@link vtctldata.WorkflowStatusRequest.verify|verify} messages. - * @param message WorkflowStatusRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflowStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WorkflowStatusRequest message, length delimited. Does not implicitly {@link vtctldata.WorkflowStatusRequest.verify|verify} messages. - * @param message WorkflowStatusRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflowStatusRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WorkflowStatusRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowStatusRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowStatusRequest; - - /** - * Decodes a WorkflowStatusRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WorkflowStatusRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowStatusRequest; - - /** - * Verifies a WorkflowStatusRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a WorkflowStatusRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WorkflowStatusRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowStatusRequest; - - /** - * Creates a plain object from a WorkflowStatusRequest message. Also converts values to other types if specified. - * @param message WorkflowStatusRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowStatusRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WorkflowStatusRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WorkflowStatusRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a WorkflowStatusResponse. */ - interface IWorkflowStatusResponse { - - /** WorkflowStatusResponse table_copy_state */ - table_copy_state?: ({ [k: string]: vtctldata.WorkflowStatusResponse.ITableCopyState }|null); - - /** WorkflowStatusResponse shard_streams */ - shard_streams?: ({ [k: string]: vtctldata.WorkflowStatusResponse.IShardStreams }|null); - - /** WorkflowStatusResponse traffic_state */ - traffic_state?: (string|null); - } - - /** Represents a WorkflowStatusResponse. */ - class WorkflowStatusResponse implements IWorkflowStatusResponse { - - /** - * Constructs a new WorkflowStatusResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflowStatusResponse); - - /** WorkflowStatusResponse table_copy_state. */ - public table_copy_state: { [k: string]: vtctldata.WorkflowStatusResponse.ITableCopyState }; - - /** WorkflowStatusResponse shard_streams. */ - public shard_streams: { [k: string]: vtctldata.WorkflowStatusResponse.IShardStreams }; - - /** WorkflowStatusResponse traffic_state. */ - public traffic_state: string; - - /** - * Creates a new WorkflowStatusResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowStatusResponse instance - */ - public static create(properties?: vtctldata.IWorkflowStatusResponse): vtctldata.WorkflowStatusResponse; - - /** - * Encodes the specified WorkflowStatusResponse message. Does not implicitly {@link vtctldata.WorkflowStatusResponse.verify|verify} messages. - * @param message WorkflowStatusResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflowStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WorkflowStatusResponse message, length delimited. Does not implicitly {@link vtctldata.WorkflowStatusResponse.verify|verify} messages. - * @param message WorkflowStatusResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflowStatusResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WorkflowStatusResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowStatusResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowStatusResponse; - - /** - * Decodes a WorkflowStatusResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WorkflowStatusResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowStatusResponse; - - /** - * Verifies a WorkflowStatusResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a WorkflowStatusResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WorkflowStatusResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowStatusResponse; - - /** - * Creates a plain object from a WorkflowStatusResponse message. Also converts values to other types if specified. - * @param message WorkflowStatusResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowStatusResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WorkflowStatusResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WorkflowStatusResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace WorkflowStatusResponse { - - /** Properties of a TableCopyState. */ - interface ITableCopyState { - - /** TableCopyState rows_copied */ - rows_copied?: (number|Long|null); - - /** TableCopyState rows_total */ - rows_total?: (number|Long|null); - - /** TableCopyState rows_percentage */ - rows_percentage?: (number|null); - - /** TableCopyState bytes_copied */ - bytes_copied?: (number|Long|null); - - /** TableCopyState bytes_total */ - bytes_total?: (number|Long|null); - - /** TableCopyState bytes_percentage */ - bytes_percentage?: (number|null); - } - - /** Represents a TableCopyState. */ - class TableCopyState implements ITableCopyState { - - /** - * Constructs a new TableCopyState. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.WorkflowStatusResponse.ITableCopyState); - - /** TableCopyState rows_copied. */ - public rows_copied: (number|Long); - - /** TableCopyState rows_total. */ - public rows_total: (number|Long); - - /** TableCopyState rows_percentage. */ - public rows_percentage: number; - - /** TableCopyState bytes_copied. */ - public bytes_copied: (number|Long); - - /** TableCopyState bytes_total. */ - public bytes_total: (number|Long); - - /** TableCopyState bytes_percentage. */ - public bytes_percentage: number; - - /** - * Creates a new TableCopyState instance using the specified properties. - * @param [properties] Properties to set - * @returns TableCopyState instance - */ - public static create(properties?: vtctldata.WorkflowStatusResponse.ITableCopyState): vtctldata.WorkflowStatusResponse.TableCopyState; - - /** - * Encodes the specified TableCopyState message. Does not implicitly {@link vtctldata.WorkflowStatusResponse.TableCopyState.verify|verify} messages. - * @param message TableCopyState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.WorkflowStatusResponse.ITableCopyState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TableCopyState message, length delimited. Does not implicitly {@link vtctldata.WorkflowStatusResponse.TableCopyState.verify|verify} messages. - * @param message TableCopyState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.WorkflowStatusResponse.ITableCopyState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TableCopyState message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TableCopyState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowStatusResponse.TableCopyState; - - /** - * Decodes a TableCopyState message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TableCopyState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowStatusResponse.TableCopyState; - - /** - * Verifies a TableCopyState message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a TableCopyState message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TableCopyState - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowStatusResponse.TableCopyState; - - /** - * Creates a plain object from a TableCopyState message. Also converts values to other types if specified. - * @param message TableCopyState - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowStatusResponse.TableCopyState, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TableCopyState to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TableCopyState - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardStreamState. */ - interface IShardStreamState { - - /** ShardStreamState id */ - id?: (number|null); - - /** ShardStreamState tablet */ - tablet?: (topodata.ITabletAlias|null); - - /** ShardStreamState source_shard */ - source_shard?: (string|null); - - /** ShardStreamState position */ - position?: (string|null); - - /** ShardStreamState status */ - status?: (string|null); - - /** ShardStreamState info */ - info?: (string|null); - } - - /** Represents a ShardStreamState. */ - class ShardStreamState implements IShardStreamState { - - /** - * Constructs a new ShardStreamState. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.WorkflowStatusResponse.IShardStreamState); - - /** ShardStreamState id. */ - public id: number; - - /** ShardStreamState tablet. */ - public tablet?: (topodata.ITabletAlias|null); - - /** ShardStreamState source_shard. */ - public source_shard: string; - - /** ShardStreamState position. */ - public position: string; - - /** ShardStreamState status. */ - public status: string; - - /** ShardStreamState info. */ - public info: string; - - /** - * Creates a new ShardStreamState instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardStreamState instance - */ - public static create(properties?: vtctldata.WorkflowStatusResponse.IShardStreamState): vtctldata.WorkflowStatusResponse.ShardStreamState; - - /** - * Encodes the specified ShardStreamState message. Does not implicitly {@link vtctldata.WorkflowStatusResponse.ShardStreamState.verify|verify} messages. - * @param message ShardStreamState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.WorkflowStatusResponse.IShardStreamState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardStreamState message, length delimited. Does not implicitly {@link vtctldata.WorkflowStatusResponse.ShardStreamState.verify|verify} messages. - * @param message ShardStreamState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.WorkflowStatusResponse.IShardStreamState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardStreamState message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardStreamState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowStatusResponse.ShardStreamState; - - /** - * Decodes a ShardStreamState message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardStreamState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowStatusResponse.ShardStreamState; - - /** - * Verifies a ShardStreamState message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardStreamState message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardStreamState - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowStatusResponse.ShardStreamState; - - /** - * Creates a plain object from a ShardStreamState message. Also converts values to other types if specified. - * @param message ShardStreamState - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowStatusResponse.ShardStreamState, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardStreamState to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardStreamState - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a ShardStreams. */ - interface IShardStreams { - - /** ShardStreams streams */ - streams?: (vtctldata.WorkflowStatusResponse.IShardStreamState[]|null); - } - - /** Represents a ShardStreams. */ - class ShardStreams implements IShardStreams { - - /** - * Constructs a new ShardStreams. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.WorkflowStatusResponse.IShardStreams); - - /** ShardStreams streams. */ - public streams: vtctldata.WorkflowStatusResponse.IShardStreamState[]; - - /** - * Creates a new ShardStreams instance using the specified properties. - * @param [properties] Properties to set - * @returns ShardStreams instance - */ - public static create(properties?: vtctldata.WorkflowStatusResponse.IShardStreams): vtctldata.WorkflowStatusResponse.ShardStreams; - - /** - * Encodes the specified ShardStreams message. Does not implicitly {@link vtctldata.WorkflowStatusResponse.ShardStreams.verify|verify} messages. - * @param message ShardStreams message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.WorkflowStatusResponse.IShardStreams, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ShardStreams message, length delimited. Does not implicitly {@link vtctldata.WorkflowStatusResponse.ShardStreams.verify|verify} messages. - * @param message ShardStreams message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.WorkflowStatusResponse.IShardStreams, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ShardStreams message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ShardStreams - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowStatusResponse.ShardStreams; - - /** - * Decodes a ShardStreams message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ShardStreams - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowStatusResponse.ShardStreams; - - /** - * Verifies a ShardStreams message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ShardStreams message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ShardStreams - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowStatusResponse.ShardStreams; - - /** - * Creates a plain object from a ShardStreams message. Also converts values to other types if specified. - * @param message ShardStreams - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowStatusResponse.ShardStreams, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ShardStreams to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ShardStreams - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of a WorkflowSwitchTrafficRequest. */ - interface IWorkflowSwitchTrafficRequest { - - /** WorkflowSwitchTrafficRequest keyspace */ - keyspace?: (string|null); - - /** WorkflowSwitchTrafficRequest workflow */ - workflow?: (string|null); - - /** WorkflowSwitchTrafficRequest cells */ - cells?: (string[]|null); - - /** WorkflowSwitchTrafficRequest tablet_types */ - tablet_types?: (topodata.TabletType[]|null); - - /** WorkflowSwitchTrafficRequest max_replication_lag_allowed */ - max_replication_lag_allowed?: (vttime.IDuration|null); - - /** WorkflowSwitchTrafficRequest enable_reverse_replication */ - enable_reverse_replication?: (boolean|null); - - /** WorkflowSwitchTrafficRequest direction */ - direction?: (number|null); - - /** WorkflowSwitchTrafficRequest timeout */ - timeout?: (vttime.IDuration|null); - - /** WorkflowSwitchTrafficRequest dry_run */ - dry_run?: (boolean|null); - - /** WorkflowSwitchTrafficRequest initialize_target_sequences */ - initialize_target_sequences?: (boolean|null); - - /** WorkflowSwitchTrafficRequest shards */ - shards?: (string[]|null); - - /** WorkflowSwitchTrafficRequest force */ - force?: (boolean|null); - } - - /** Represents a WorkflowSwitchTrafficRequest. */ - class WorkflowSwitchTrafficRequest implements IWorkflowSwitchTrafficRequest { - - /** - * Constructs a new WorkflowSwitchTrafficRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflowSwitchTrafficRequest); - - /** WorkflowSwitchTrafficRequest keyspace. */ - public keyspace: string; - - /** WorkflowSwitchTrafficRequest workflow. */ - public workflow: string; - - /** WorkflowSwitchTrafficRequest cells. */ - public cells: string[]; - - /** WorkflowSwitchTrafficRequest tablet_types. */ - public tablet_types: topodata.TabletType[]; - - /** WorkflowSwitchTrafficRequest max_replication_lag_allowed. */ - public max_replication_lag_allowed?: (vttime.IDuration|null); - - /** WorkflowSwitchTrafficRequest enable_reverse_replication. */ - public enable_reverse_replication: boolean; - - /** WorkflowSwitchTrafficRequest direction. */ - public direction: number; - - /** WorkflowSwitchTrafficRequest timeout. */ - public timeout?: (vttime.IDuration|null); - - /** WorkflowSwitchTrafficRequest dry_run. */ - public dry_run: boolean; - - /** WorkflowSwitchTrafficRequest initialize_target_sequences. */ - public initialize_target_sequences: boolean; - - /** WorkflowSwitchTrafficRequest shards. */ - public shards: string[]; - - /** WorkflowSwitchTrafficRequest force. */ - public force: boolean; - - /** - * Creates a new WorkflowSwitchTrafficRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowSwitchTrafficRequest instance - */ - public static create(properties?: vtctldata.IWorkflowSwitchTrafficRequest): vtctldata.WorkflowSwitchTrafficRequest; - - /** - * Encodes the specified WorkflowSwitchTrafficRequest message. Does not implicitly {@link vtctldata.WorkflowSwitchTrafficRequest.verify|verify} messages. - * @param message WorkflowSwitchTrafficRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflowSwitchTrafficRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WorkflowSwitchTrafficRequest message, length delimited. Does not implicitly {@link vtctldata.WorkflowSwitchTrafficRequest.verify|verify} messages. - * @param message WorkflowSwitchTrafficRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflowSwitchTrafficRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WorkflowSwitchTrafficRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowSwitchTrafficRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowSwitchTrafficRequest; - - /** - * Decodes a WorkflowSwitchTrafficRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WorkflowSwitchTrafficRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowSwitchTrafficRequest; - - /** - * Verifies a WorkflowSwitchTrafficRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a WorkflowSwitchTrafficRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WorkflowSwitchTrafficRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowSwitchTrafficRequest; - - /** - * Creates a plain object from a WorkflowSwitchTrafficRequest message. Also converts values to other types if specified. - * @param message WorkflowSwitchTrafficRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowSwitchTrafficRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WorkflowSwitchTrafficRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WorkflowSwitchTrafficRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a WorkflowSwitchTrafficResponse. */ - interface IWorkflowSwitchTrafficResponse { - - /** WorkflowSwitchTrafficResponse summary */ - summary?: (string|null); - - /** WorkflowSwitchTrafficResponse start_state */ - start_state?: (string|null); - - /** WorkflowSwitchTrafficResponse current_state */ - current_state?: (string|null); - - /** WorkflowSwitchTrafficResponse dry_run_results */ - dry_run_results?: (string[]|null); - } - - /** Represents a WorkflowSwitchTrafficResponse. */ - class WorkflowSwitchTrafficResponse implements IWorkflowSwitchTrafficResponse { - - /** - * Constructs a new WorkflowSwitchTrafficResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflowSwitchTrafficResponse); - - /** WorkflowSwitchTrafficResponse summary. */ - public summary: string; - - /** WorkflowSwitchTrafficResponse start_state. */ - public start_state: string; - - /** WorkflowSwitchTrafficResponse current_state. */ - public current_state: string; - - /** WorkflowSwitchTrafficResponse dry_run_results. */ - public dry_run_results: string[]; - - /** - * Creates a new WorkflowSwitchTrafficResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowSwitchTrafficResponse instance - */ - public static create(properties?: vtctldata.IWorkflowSwitchTrafficResponse): vtctldata.WorkflowSwitchTrafficResponse; - - /** - * Encodes the specified WorkflowSwitchTrafficResponse message. Does not implicitly {@link vtctldata.WorkflowSwitchTrafficResponse.verify|verify} messages. - * @param message WorkflowSwitchTrafficResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflowSwitchTrafficResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WorkflowSwitchTrafficResponse message, length delimited. Does not implicitly {@link vtctldata.WorkflowSwitchTrafficResponse.verify|verify} messages. - * @param message WorkflowSwitchTrafficResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflowSwitchTrafficResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WorkflowSwitchTrafficResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowSwitchTrafficResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowSwitchTrafficResponse; - - /** - * Decodes a WorkflowSwitchTrafficResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WorkflowSwitchTrafficResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowSwitchTrafficResponse; - - /** - * Verifies a WorkflowSwitchTrafficResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a WorkflowSwitchTrafficResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WorkflowSwitchTrafficResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowSwitchTrafficResponse; - - /** - * Creates a plain object from a WorkflowSwitchTrafficResponse message. Also converts values to other types if specified. - * @param message WorkflowSwitchTrafficResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowSwitchTrafficResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WorkflowSwitchTrafficResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WorkflowSwitchTrafficResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a WorkflowUpdateRequest. */ - interface IWorkflowUpdateRequest { - - /** WorkflowUpdateRequest keyspace */ - keyspace?: (string|null); - - /** WorkflowUpdateRequest tablet_request */ - tablet_request?: (tabletmanagerdata.IUpdateVReplicationWorkflowRequest|null); - } - - /** Represents a WorkflowUpdateRequest. */ - class WorkflowUpdateRequest implements IWorkflowUpdateRequest { - - /** - * Constructs a new WorkflowUpdateRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflowUpdateRequest); - - /** WorkflowUpdateRequest keyspace. */ - public keyspace: string; - - /** WorkflowUpdateRequest tablet_request. */ - public tablet_request?: (tabletmanagerdata.IUpdateVReplicationWorkflowRequest|null); - - /** - * Creates a new WorkflowUpdateRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowUpdateRequest instance - */ - public static create(properties?: vtctldata.IWorkflowUpdateRequest): vtctldata.WorkflowUpdateRequest; - - /** - * Encodes the specified WorkflowUpdateRequest message. Does not implicitly {@link vtctldata.WorkflowUpdateRequest.verify|verify} messages. - * @param message WorkflowUpdateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflowUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WorkflowUpdateRequest message, length delimited. Does not implicitly {@link vtctldata.WorkflowUpdateRequest.verify|verify} messages. - * @param message WorkflowUpdateRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflowUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WorkflowUpdateRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowUpdateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowUpdateRequest; - - /** - * Decodes a WorkflowUpdateRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WorkflowUpdateRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowUpdateRequest; - - /** - * Verifies a WorkflowUpdateRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a WorkflowUpdateRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WorkflowUpdateRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowUpdateRequest; - - /** - * Creates a plain object from a WorkflowUpdateRequest message. Also converts values to other types if specified. - * @param message WorkflowUpdateRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowUpdateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WorkflowUpdateRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WorkflowUpdateRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a WorkflowUpdateResponse. */ - interface IWorkflowUpdateResponse { - - /** WorkflowUpdateResponse summary */ - summary?: (string|null); - - /** WorkflowUpdateResponse details */ - details?: (vtctldata.WorkflowUpdateResponse.ITabletInfo[]|null); - } - - /** Represents a WorkflowUpdateResponse. */ - class WorkflowUpdateResponse implements IWorkflowUpdateResponse { - - /** - * Constructs a new WorkflowUpdateResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflowUpdateResponse); - - /** WorkflowUpdateResponse summary. */ - public summary: string; - - /** WorkflowUpdateResponse details. */ - public details: vtctldata.WorkflowUpdateResponse.ITabletInfo[]; - - /** - * Creates a new WorkflowUpdateResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowUpdateResponse instance - */ - public static create(properties?: vtctldata.IWorkflowUpdateResponse): vtctldata.WorkflowUpdateResponse; - - /** - * Encodes the specified WorkflowUpdateResponse message. Does not implicitly {@link vtctldata.WorkflowUpdateResponse.verify|verify} messages. - * @param message WorkflowUpdateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflowUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WorkflowUpdateResponse message, length delimited. Does not implicitly {@link vtctldata.WorkflowUpdateResponse.verify|verify} messages. - * @param message WorkflowUpdateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflowUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WorkflowUpdateResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowUpdateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowUpdateResponse; - - /** - * Decodes a WorkflowUpdateResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WorkflowUpdateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowUpdateResponse; - - /** - * Verifies a WorkflowUpdateResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a WorkflowUpdateResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WorkflowUpdateResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowUpdateResponse; - - /** - * Creates a plain object from a WorkflowUpdateResponse message. Also converts values to other types if specified. - * @param message WorkflowUpdateResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowUpdateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WorkflowUpdateResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WorkflowUpdateResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace WorkflowUpdateResponse { - - /** Properties of a TabletInfo. */ - interface ITabletInfo { - - /** TabletInfo tablet */ - tablet?: (topodata.ITabletAlias|null); - - /** TabletInfo changed */ - changed?: (boolean|null); - } - - /** Represents a TabletInfo. */ - class TabletInfo implements ITabletInfo { - - /** - * Constructs a new TabletInfo. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.WorkflowUpdateResponse.ITabletInfo); - - /** TabletInfo tablet. */ - public tablet?: (topodata.ITabletAlias|null); - - /** TabletInfo changed. */ - public changed: boolean; - - /** - * Creates a new TabletInfo instance using the specified properties. - * @param [properties] Properties to set - * @returns TabletInfo instance - */ - public static create(properties?: vtctldata.WorkflowUpdateResponse.ITabletInfo): vtctldata.WorkflowUpdateResponse.TabletInfo; - - /** - * Encodes the specified TabletInfo message. Does not implicitly {@link vtctldata.WorkflowUpdateResponse.TabletInfo.verify|verify} messages. - * @param message TabletInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.WorkflowUpdateResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TabletInfo message, length delimited. Does not implicitly {@link vtctldata.WorkflowUpdateResponse.TabletInfo.verify|verify} messages. - * @param message TabletInfo message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.WorkflowUpdateResponse.ITabletInfo, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TabletInfo message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TabletInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowUpdateResponse.TabletInfo; - - /** - * Decodes a TabletInfo message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TabletInfo - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowUpdateResponse.TabletInfo; - - /** - * Verifies a TabletInfo message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a TabletInfo message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TabletInfo - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowUpdateResponse.TabletInfo; - - /** - * Creates a plain object from a TabletInfo message. Also converts values to other types if specified. - * @param message TabletInfo - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowUpdateResponse.TabletInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TabletInfo to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TabletInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of a GetMirrorRulesRequest. */ - interface IGetMirrorRulesRequest { - } - - /** Represents a GetMirrorRulesRequest. */ - class GetMirrorRulesRequest implements IGetMirrorRulesRequest { - - /** - * Constructs a new GetMirrorRulesRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetMirrorRulesRequest); - - /** - * Creates a new GetMirrorRulesRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns GetMirrorRulesRequest instance - */ - public static create(properties?: vtctldata.IGetMirrorRulesRequest): vtctldata.GetMirrorRulesRequest; - - /** - * Encodes the specified GetMirrorRulesRequest message. Does not implicitly {@link vtctldata.GetMirrorRulesRequest.verify|verify} messages. - * @param message GetMirrorRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetMirrorRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetMirrorRulesRequest message, length delimited. Does not implicitly {@link vtctldata.GetMirrorRulesRequest.verify|verify} messages. - * @param message GetMirrorRulesRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetMirrorRulesRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetMirrorRulesRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetMirrorRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetMirrorRulesRequest; - - /** - * Decodes a GetMirrorRulesRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetMirrorRulesRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetMirrorRulesRequest; - - /** - * Verifies a GetMirrorRulesRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetMirrorRulesRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetMirrorRulesRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetMirrorRulesRequest; - - /** - * Creates a plain object from a GetMirrorRulesRequest message. Also converts values to other types if specified. - * @param message GetMirrorRulesRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetMirrorRulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetMirrorRulesRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetMirrorRulesRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a GetMirrorRulesResponse. */ - interface IGetMirrorRulesResponse { - - /** GetMirrorRulesResponse mirror_rules */ - mirror_rules?: (vschema.IMirrorRules|null); - } - - /** Represents a GetMirrorRulesResponse. */ - class GetMirrorRulesResponse implements IGetMirrorRulesResponse { - - /** - * Constructs a new GetMirrorRulesResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IGetMirrorRulesResponse); - - /** GetMirrorRulesResponse mirror_rules. */ - public mirror_rules?: (vschema.IMirrorRules|null); - - /** - * Creates a new GetMirrorRulesResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns GetMirrorRulesResponse instance - */ - public static create(properties?: vtctldata.IGetMirrorRulesResponse): vtctldata.GetMirrorRulesResponse; - - /** - * Encodes the specified GetMirrorRulesResponse message. Does not implicitly {@link vtctldata.GetMirrorRulesResponse.verify|verify} messages. - * @param message GetMirrorRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IGetMirrorRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GetMirrorRulesResponse message, length delimited. Does not implicitly {@link vtctldata.GetMirrorRulesResponse.verify|verify} messages. - * @param message GetMirrorRulesResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IGetMirrorRulesResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GetMirrorRulesResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GetMirrorRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.GetMirrorRulesResponse; - - /** - * Decodes a GetMirrorRulesResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GetMirrorRulesResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.GetMirrorRulesResponse; - - /** - * Verifies a GetMirrorRulesResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GetMirrorRulesResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GetMirrorRulesResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.GetMirrorRulesResponse; - - /** - * Creates a plain object from a GetMirrorRulesResponse message. Also converts values to other types if specified. - * @param message GetMirrorRulesResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.GetMirrorRulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GetMirrorRulesResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GetMirrorRulesResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a WorkflowMirrorTrafficRequest. */ - interface IWorkflowMirrorTrafficRequest { - - /** WorkflowMirrorTrafficRequest keyspace */ - keyspace?: (string|null); - - /** WorkflowMirrorTrafficRequest workflow */ - workflow?: (string|null); - - /** WorkflowMirrorTrafficRequest tablet_types */ - tablet_types?: (topodata.TabletType[]|null); - - /** WorkflowMirrorTrafficRequest percent */ - percent?: (number|null); - } - - /** Represents a WorkflowMirrorTrafficRequest. */ - class WorkflowMirrorTrafficRequest implements IWorkflowMirrorTrafficRequest { - - /** - * Constructs a new WorkflowMirrorTrafficRequest. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflowMirrorTrafficRequest); - - /** WorkflowMirrorTrafficRequest keyspace. */ - public keyspace: string; - - /** WorkflowMirrorTrafficRequest workflow. */ - public workflow: string; - - /** WorkflowMirrorTrafficRequest tablet_types. */ - public tablet_types: topodata.TabletType[]; - - /** WorkflowMirrorTrafficRequest percent. */ - public percent: number; - - /** - * Creates a new WorkflowMirrorTrafficRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowMirrorTrafficRequest instance - */ - public static create(properties?: vtctldata.IWorkflowMirrorTrafficRequest): vtctldata.WorkflowMirrorTrafficRequest; - - /** - * Encodes the specified WorkflowMirrorTrafficRequest message. Does not implicitly {@link vtctldata.WorkflowMirrorTrafficRequest.verify|verify} messages. - * @param message WorkflowMirrorTrafficRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflowMirrorTrafficRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WorkflowMirrorTrafficRequest message, length delimited. Does not implicitly {@link vtctldata.WorkflowMirrorTrafficRequest.verify|verify} messages. - * @param message WorkflowMirrorTrafficRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflowMirrorTrafficRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WorkflowMirrorTrafficRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowMirrorTrafficRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowMirrorTrafficRequest; - - /** - * Decodes a WorkflowMirrorTrafficRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WorkflowMirrorTrafficRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowMirrorTrafficRequest; - - /** - * Verifies a WorkflowMirrorTrafficRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a WorkflowMirrorTrafficRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WorkflowMirrorTrafficRequest - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowMirrorTrafficRequest; - - /** - * Creates a plain object from a WorkflowMirrorTrafficRequest message. Also converts values to other types if specified. - * @param message WorkflowMirrorTrafficRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowMirrorTrafficRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WorkflowMirrorTrafficRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WorkflowMirrorTrafficRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a WorkflowMirrorTrafficResponse. */ - interface IWorkflowMirrorTrafficResponse { - - /** WorkflowMirrorTrafficResponse summary */ - summary?: (string|null); - - /** WorkflowMirrorTrafficResponse start_state */ - start_state?: (string|null); - - /** WorkflowMirrorTrafficResponse current_state */ - current_state?: (string|null); - } - - /** Represents a WorkflowMirrorTrafficResponse. */ - class WorkflowMirrorTrafficResponse implements IWorkflowMirrorTrafficResponse { - - /** - * Constructs a new WorkflowMirrorTrafficResponse. - * @param [properties] Properties to set - */ - constructor(properties?: vtctldata.IWorkflowMirrorTrafficResponse); - - /** WorkflowMirrorTrafficResponse summary. */ - public summary: string; - - /** WorkflowMirrorTrafficResponse start_state. */ - public start_state: string; - - /** WorkflowMirrorTrafficResponse current_state. */ - public current_state: string; - - /** - * Creates a new WorkflowMirrorTrafficResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowMirrorTrafficResponse instance - */ - public static create(properties?: vtctldata.IWorkflowMirrorTrafficResponse): vtctldata.WorkflowMirrorTrafficResponse; - - /** - * Encodes the specified WorkflowMirrorTrafficResponse message. Does not implicitly {@link vtctldata.WorkflowMirrorTrafficResponse.verify|verify} messages. - * @param message WorkflowMirrorTrafficResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: vtctldata.IWorkflowMirrorTrafficResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified WorkflowMirrorTrafficResponse message, length delimited. Does not implicitly {@link vtctldata.WorkflowMirrorTrafficResponse.verify|verify} messages. - * @param message WorkflowMirrorTrafficResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: vtctldata.IWorkflowMirrorTrafficResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a WorkflowMirrorTrafficResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowMirrorTrafficResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): vtctldata.WorkflowMirrorTrafficResponse; - - /** - * Decodes a WorkflowMirrorTrafficResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns WorkflowMirrorTrafficResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): vtctldata.WorkflowMirrorTrafficResponse; - - /** - * Verifies a WorkflowMirrorTrafficResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a WorkflowMirrorTrafficResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns WorkflowMirrorTrafficResponse - */ - public static fromObject(object: { [k: string]: any }): vtctldata.WorkflowMirrorTrafficResponse; - - /** - * Creates a plain object from a WorkflowMirrorTrafficResponse message. Also converts values to other types if specified. - * @param message WorkflowMirrorTrafficResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: vtctldata.WorkflowMirrorTrafficResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this WorkflowMirrorTrafficResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for WorkflowMirrorTrafficResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) } } diff --git a/web/vtadmin/src/proto/vtadmin.js b/web/vtadmin/src/proto/vtadmin.js index 27c327929bb..26d7615b830 100644 --- a/web/vtadmin/src/proto/vtadmin.js +++ b/web/vtadmin/src/proto/vtadmin.js @@ -89874,11 +89874,7 @@ $root.vtctldata = (function() { * @property {Array.|null} [ignore_replicas] EmergencyReparentShardRequest ignore_replicas * @property {vttime.IDuration|null} [wait_replicas_timeout] EmergencyReparentShardRequest wait_replicas_timeout * @property {boolean|null} [prevent_cross_cell_promotion] EmergencyReparentShardRequest prevent_cross_cell_promotion -<<<<<<< HEAD -======= - * @property {boolean|null} [wait_for_all_tablets] EmergencyReparentShardRequest wait_for_all_tablets * @property {topodata.ITabletAlias|null} [expected_primary] EmergencyReparentShardRequest expected_primary ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) */ /** @@ -89945,16 +89941,6 @@ $root.vtctldata = (function() { */ EmergencyReparentShardRequest.prototype.prevent_cross_cell_promotion = false; - /** -<<<<<<< HEAD -======= - * EmergencyReparentShardRequest wait_for_all_tablets. - * @member {boolean} wait_for_all_tablets - * @memberof vtctldata.EmergencyReparentShardRequest - * @instance - */ - EmergencyReparentShardRequest.prototype.wait_for_all_tablets = false; - /** * EmergencyReparentShardRequest expected_primary. * @member {topodata.ITabletAlias|null|undefined} expected_primary @@ -89964,7 +89950,6 @@ $root.vtctldata = (function() { EmergencyReparentShardRequest.prototype.expected_primary = null; /** ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) * Creates a new EmergencyReparentShardRequest instance using the specified properties. * @function create * @memberof vtctldata.EmergencyReparentShardRequest @@ -90001,13 +89986,8 @@ $root.vtctldata = (function() { $root.vttime.Duration.encode(message.wait_replicas_timeout, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); if (message.prevent_cross_cell_promotion != null && Object.hasOwnProperty.call(message, "prevent_cross_cell_promotion")) writer.uint32(/* id 6, wireType 0 =*/48).bool(message.prevent_cross_cell_promotion); -<<<<<<< HEAD -======= - if (message.wait_for_all_tablets != null && Object.hasOwnProperty.call(message, "wait_for_all_tablets")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.wait_for_all_tablets); if (message.expected_primary != null && Object.hasOwnProperty.call(message, "expected_primary")) $root.topodata.TabletAlias.encode(message.expected_primary, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return writer; }; @@ -90042,7 +90022,6 @@ $root.vtctldata = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { -<<<<<<< HEAD case 1: message.keyspace = reader.string(); break; @@ -90063,42 +90042,9 @@ $root.vtctldata = (function() { case 6: message.prevent_cross_cell_promotion = reader.bool(); break; -======= - case 1: { - message.keyspace = reader.string(); - break; - } - case 2: { - message.shard = reader.string(); - break; - } - case 3: { - message.new_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); - break; - } - case 4: { - if (!(message.ignore_replicas && message.ignore_replicas.length)) - message.ignore_replicas = []; - message.ignore_replicas.push($root.topodata.TabletAlias.decode(reader, reader.uint32())); - break; - } - case 5: { - message.wait_replicas_timeout = $root.vttime.Duration.decode(reader, reader.uint32()); - break; - } - case 6: { - message.prevent_cross_cell_promotion = reader.bool(); - break; - } - case 7: { - message.wait_for_all_tablets = reader.bool(); - break; - } - case 8: { - message.expected_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); - break; - } ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) + case 8: + message.expected_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -90162,17 +90108,11 @@ $root.vtctldata = (function() { if (message.prevent_cross_cell_promotion != null && message.hasOwnProperty("prevent_cross_cell_promotion")) if (typeof message.prevent_cross_cell_promotion !== "boolean") return "prevent_cross_cell_promotion: boolean expected"; -<<<<<<< HEAD -======= - if (message.wait_for_all_tablets != null && message.hasOwnProperty("wait_for_all_tablets")) - if (typeof message.wait_for_all_tablets !== "boolean") - return "wait_for_all_tablets: boolean expected"; if (message.expected_primary != null && message.hasOwnProperty("expected_primary")) { - let error = $root.topodata.TabletAlias.verify(message.expected_primary); + var error = $root.topodata.TabletAlias.verify(message.expected_primary); if (error) return "expected_primary." + error; } ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return null; }; @@ -90214,16 +90154,11 @@ $root.vtctldata = (function() { } if (object.prevent_cross_cell_promotion != null) message.prevent_cross_cell_promotion = Boolean(object.prevent_cross_cell_promotion); -<<<<<<< HEAD -======= - if (object.wait_for_all_tablets != null) - message.wait_for_all_tablets = Boolean(object.wait_for_all_tablets); if (object.expected_primary != null) { if (typeof object.expected_primary !== "object") throw TypeError(".vtctldata.EmergencyReparentShardRequest.expected_primary: object expected"); message.expected_primary = $root.topodata.TabletAlias.fromObject(object.expected_primary); } ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return message; }; @@ -90248,11 +90183,7 @@ $root.vtctldata = (function() { object.new_primary = null; object.wait_replicas_timeout = null; object.prevent_cross_cell_promotion = false; -<<<<<<< HEAD -======= - object.wait_for_all_tablets = false; object.expected_primary = null; ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) } if (message.keyspace != null && message.hasOwnProperty("keyspace")) object.keyspace = message.keyspace; @@ -90269,13 +90200,8 @@ $root.vtctldata = (function() { object.wait_replicas_timeout = $root.vttime.Duration.toObject(message.wait_replicas_timeout, options); if (message.prevent_cross_cell_promotion != null && message.hasOwnProperty("prevent_cross_cell_promotion")) object.prevent_cross_cell_promotion = message.prevent_cross_cell_promotion; -<<<<<<< HEAD -======= - if (message.wait_for_all_tablets != null && message.hasOwnProperty("wait_for_all_tablets")) - object.wait_for_all_tablets = message.wait_for_all_tablets; if (message.expected_primary != null && message.hasOwnProperty("expected_primary")) object.expected_primary = $root.topodata.TabletAlias.toObject(message.expected_primary, options); ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return object; }; @@ -102712,12 +102638,7 @@ $root.vtctldata = (function() { * @property {topodata.ITabletAlias|null} [new_primary] PlannedReparentShardRequest new_primary * @property {topodata.ITabletAlias|null} [avoid_primary] PlannedReparentShardRequest avoid_primary * @property {vttime.IDuration|null} [wait_replicas_timeout] PlannedReparentShardRequest wait_replicas_timeout -<<<<<<< HEAD -======= - * @property {vttime.IDuration|null} [tolerable_replication_lag] PlannedReparentShardRequest tolerable_replication_lag - * @property {boolean|null} [allow_cross_cell_promotion] PlannedReparentShardRequest allow_cross_cell_promotion * @property {topodata.ITabletAlias|null} [expected_primary] PlannedReparentShardRequest expected_primary ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) */ /** @@ -102775,24 +102696,6 @@ $root.vtctldata = (function() { */ PlannedReparentShardRequest.prototype.wait_replicas_timeout = null; - /** -<<<<<<< HEAD -======= - * PlannedReparentShardRequest tolerable_replication_lag. - * @member {vttime.IDuration|null|undefined} tolerable_replication_lag - * @memberof vtctldata.PlannedReparentShardRequest - * @instance - */ - PlannedReparentShardRequest.prototype.tolerable_replication_lag = null; - - /** - * PlannedReparentShardRequest allow_cross_cell_promotion. - * @member {boolean} allow_cross_cell_promotion - * @memberof vtctldata.PlannedReparentShardRequest - * @instance - */ - PlannedReparentShardRequest.prototype.allow_cross_cell_promotion = false; - /** * PlannedReparentShardRequest expected_primary. * @member {topodata.ITabletAlias|null|undefined} expected_primary @@ -102802,7 +102705,6 @@ $root.vtctldata = (function() { PlannedReparentShardRequest.prototype.expected_primary = null; /** ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) * Creates a new PlannedReparentShardRequest instance using the specified properties. * @function create * @memberof vtctldata.PlannedReparentShardRequest @@ -102836,15 +102738,8 @@ $root.vtctldata = (function() { $root.topodata.TabletAlias.encode(message.avoid_primary, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.wait_replicas_timeout != null && Object.hasOwnProperty.call(message, "wait_replicas_timeout")) $root.vttime.Duration.encode(message.wait_replicas_timeout, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); -<<<<<<< HEAD -======= - if (message.tolerable_replication_lag != null && Object.hasOwnProperty.call(message, "tolerable_replication_lag")) - $root.vttime.Duration.encode(message.tolerable_replication_lag, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.allow_cross_cell_promotion != null && Object.hasOwnProperty.call(message, "allow_cross_cell_promotion")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.allow_cross_cell_promotion); if (message.expected_primary != null && Object.hasOwnProperty.call(message, "expected_primary")) $root.topodata.TabletAlias.encode(message.expected_primary, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return writer; }; @@ -102879,7 +102774,6 @@ $root.vtctldata = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { -<<<<<<< HEAD case 1: message.keyspace = reader.string(); break; @@ -102895,40 +102789,9 @@ $root.vtctldata = (function() { case 5: message.wait_replicas_timeout = $root.vttime.Duration.decode(reader, reader.uint32()); break; -======= - case 1: { - message.keyspace = reader.string(); - break; - } - case 2: { - message.shard = reader.string(); - break; - } - case 3: { - message.new_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); - break; - } - case 4: { - message.avoid_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); - break; - } - case 5: { - message.wait_replicas_timeout = $root.vttime.Duration.decode(reader, reader.uint32()); - break; - } - case 6: { - message.tolerable_replication_lag = $root.vttime.Duration.decode(reader, reader.uint32()); - break; - } - case 7: { - message.allow_cross_cell_promotion = reader.bool(); - break; - } - case 8: { - message.expected_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); - break; - } ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) + case 8: + message.expected_primary = $root.topodata.TabletAlias.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -102985,22 +102848,11 @@ $root.vtctldata = (function() { if (error) return "wait_replicas_timeout." + error; } -<<<<<<< HEAD -======= - if (message.tolerable_replication_lag != null && message.hasOwnProperty("tolerable_replication_lag")) { - let error = $root.vttime.Duration.verify(message.tolerable_replication_lag); - if (error) - return "tolerable_replication_lag." + error; - } - if (message.allow_cross_cell_promotion != null && message.hasOwnProperty("allow_cross_cell_promotion")) - if (typeof message.allow_cross_cell_promotion !== "boolean") - return "allow_cross_cell_promotion: boolean expected"; if (message.expected_primary != null && message.hasOwnProperty("expected_primary")) { - let error = $root.topodata.TabletAlias.verify(message.expected_primary); + var error = $root.topodata.TabletAlias.verify(message.expected_primary); if (error) return "expected_primary." + error; } ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return null; }; @@ -103035,21 +102887,11 @@ $root.vtctldata = (function() { throw TypeError(".vtctldata.PlannedReparentShardRequest.wait_replicas_timeout: object expected"); message.wait_replicas_timeout = $root.vttime.Duration.fromObject(object.wait_replicas_timeout); } -<<<<<<< HEAD -======= - if (object.tolerable_replication_lag != null) { - if (typeof object.tolerable_replication_lag !== "object") - throw TypeError(".vtctldata.PlannedReparentShardRequest.tolerable_replication_lag: object expected"); - message.tolerable_replication_lag = $root.vttime.Duration.fromObject(object.tolerable_replication_lag); - } - if (object.allow_cross_cell_promotion != null) - message.allow_cross_cell_promotion = Boolean(object.allow_cross_cell_promotion); if (object.expected_primary != null) { if (typeof object.expected_primary !== "object") throw TypeError(".vtctldata.PlannedReparentShardRequest.expected_primary: object expected"); message.expected_primary = $root.topodata.TabletAlias.fromObject(object.expected_primary); } ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return message; }; @@ -103072,12 +102914,7 @@ $root.vtctldata = (function() { object.new_primary = null; object.avoid_primary = null; object.wait_replicas_timeout = null; -<<<<<<< HEAD -======= - object.tolerable_replication_lag = null; - object.allow_cross_cell_promotion = false; object.expected_primary = null; ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) } if (message.keyspace != null && message.hasOwnProperty("keyspace")) object.keyspace = message.keyspace; @@ -103089,15 +102926,8 @@ $root.vtctldata = (function() { object.avoid_primary = $root.topodata.TabletAlias.toObject(message.avoid_primary, options); if (message.wait_replicas_timeout != null && message.hasOwnProperty("wait_replicas_timeout")) object.wait_replicas_timeout = $root.vttime.Duration.toObject(message.wait_replicas_timeout, options); -<<<<<<< HEAD -======= - if (message.tolerable_replication_lag != null && message.hasOwnProperty("tolerable_replication_lag")) - object.tolerable_replication_lag = $root.vttime.Duration.toObject(message.tolerable_replication_lag, options); - if (message.allow_cross_cell_promotion != null && message.hasOwnProperty("allow_cross_cell_promotion")) - object.allow_cross_cell_promotion = message.allow_cross_cell_promotion; if (message.expected_primary != null && message.hasOwnProperty("expected_primary")) object.expected_primary = $root.topodata.TabletAlias.toObject(message.expected_primary, options); ->>>>>>> 945124a853 (Support specifying expected primary in ERS/PRS (#16852)) return object; }; From 5c24c2cda4210ca05f89c65e3c5e108aa8cd76d2 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Wed, 9 Oct 2024 20:24:19 +0200 Subject: [PATCH 3/3] fix v15 tests Signed-off-by: Tim Vaillancourt --- go/vt/vtctl/reparentutil/emergency_reparenter_test.go | 2 +- go/vt/vtctl/reparentutil/planned_reparenter_flaky_test.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go/vt/vtctl/reparentutil/emergency_reparenter_test.go b/go/vt/vtctl/reparentutil/emergency_reparenter_test.go index 93ea7defc7c..1803bf9d19a 100644 --- a/go/vt/vtctl/reparentutil/emergency_reparenter_test.go +++ b/go/vt/vtctl/reparentutil/emergency_reparenter_test.go @@ -1940,7 +1940,7 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) { }, keyspace: "testkeyspace", shard: "-", - cells: []string{"zone1"}, + ts: memorytopo.NewServer("zone1"), shouldErr: true, errShouldContain: "primary zone1-0000000100 is not equal to expected alias zone1-0000000101", }, diff --git a/go/vt/vtctl/reparentutil/planned_reparenter_flaky_test.go b/go/vt/vtctl/reparentutil/planned_reparenter_flaky_test.go index 9828bb17196..20804a0b625 100644 --- a/go/vt/vtctl/reparentutil/planned_reparenter_flaky_test.go +++ b/go/vt/vtctl/reparentutil/planned_reparenter_flaky_test.go @@ -3278,6 +3278,7 @@ func TestPlannedReparenter_reparentShardLocked(t *testing.T) { }, { name: "expected primary mismatch", + ts: memorytopo.NewServer("zone1"), tmc: &testutil.TabletManagerClient{}, shards: []*vtctldatapb.Shard{ { @@ -3347,7 +3348,7 @@ func TestPlannedReparenter_reparentShardLocked(t *testing.T) { }, tt.tablets...) if len(tt.shards) > 0 { - testutil.AddShards(ctx, t, ts, tt.shards...) + testutil.AddShards(ctx, t, tt.ts, tt.shards...) } if !tt.unlockTopo {